blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
3433b0ac987868e12981454b8a1b3fd78ffbbaeb | e56c25e5c06b392f841f1b089ec36a372efaecd5 | /first_script.R | 46cd8eda3cf2d2486e3c7873a3787747fe92fc8e | [] | no_license | krstout/test | faf6726e38677afc235819ee57bfca96fe23aa18 | d775ea305dbea69a03548346b6e4a5ebfe4c2ed8 | refs/heads/master | 2020-08-04T12:59:29.818328 | 2019-10-01T16:51:53 | 2019-10-01T16:51:53 | 212,143,946 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8 | r | first_script.R | d <- 2^2 |
31138fac068a24b8beec0ada3aa56aa76714e6d0 | 263511c73655f2f4ae96e7b988b25375bfbffc82 | /tests/test_prioritizr_nodata.R | ed710fda9a91edee952d90b4fd9c66c8824c1923 | [
"LicenseRef-scancode-unknown-license-reference",
"MIT"
] | permissive | VUEG/priocomp | 1f05c31e20bdb39a9c51128f055bfcedd667a726 | 16b40077efb239bcefb7f2f463d3e2dcb328918d | refs/heads/master | 2021-01-23T21:46:02.871833 | 2016-12-20T09:30:16 | 2016-12-20T09:30:16 | 57,879,702 | 1 | 3 | null | 2016-06-03T07:19:06 | 2016-05-02T09:51:18 | HTML | UTF-8 | R | false | false | 953 | r | test_prioritizr_nodata.R | library(prioritizr)
library(raster)
z_tutorial_dir <- "~/dev/git-data/zonation-tutorial"
z_tutorial_data_dir <- file.path(z_tutorial_dir, "data")
tutorial_files <- list.files(path = z_tutorial_data_dir,
pattern = "species.+\\.tif",
full.names = TRUE)
sp_rasters... |
2d21f1d315489f4b3184e36d30f0fb8281e74419 | d0d061329421401283a3db1f8e7aa016e61888d7 | /man/tclust.Rd | 0a61ee4b08fa577e187cb2656e1db2754c4d2942 | [
"MIT"
] | permissive | boopsboops/spider | 87885b53570a98aece6e7ca1ce600330d9b95d25 | e93c5b4bc7f50168b8a155a6dca7c87dfbdef134 | refs/heads/master | 2021-05-12T07:38:37.413486 | 2019-03-07T21:43:43 | 2019-03-07T21:43:43 | 117,250,046 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,206 | rd | tclust.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tclust.R
\name{tclust}
\alias{tclust}
\title{Clustering by a threshold}
\usage{
tclust(distobj, threshold = 0.01)
}
\arguments{
\item{distobj}{A distance object (usually from \code{\link{dist.dna}}).}
\item{threshold}{Distance cutoff for clu... |
6822343bc6bcebac3ec51cc0f234d30ebac290dd | 063c28143308d5b8029bf6111dca8ff248cdeb86 | /cachematrix.R | 023b244d7f3748fd08114985b2c6c46b6b649e26 | [] | no_license | jayantamukherjee1980/ProgrammingAssignment2 | 30004e242c7b3d1860ee6f152a093891c45a472c | 623dd4fff8ac05e753eb2bfbe5bd79f405a70a64 | refs/heads/master | 2020-04-03T03:11:15.273734 | 2018-10-27T15:33:00 | 2018-10-27T15:33:00 | 154,978,961 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,432 | r | cachematrix.R | ## Two functions, one is to create the cache and
## the other is to populate and/or fetch the inverse from the cache
## The function below creates a structure to hold the matrix and its inverse
makeCacheMatrix <- function(x = matrix()) {
mat_inv <- NULL #initialize inverse with null
set <- function(... |
9bfd564f942ba795e4cd4ef046dcfe308e080450 | 7a70a074f64227b1a09d9e8c6f93002d4a2de76c | /R/match_ordi_method.R | 029ffd5acc9c861820f83c8bdf4cecd858583fef | [] | no_license | krisrs1128/mvarVis | 6df5166dfb36d400e37fc71c41ebcf517a40076c | f41fa56e80cb15be7875b78fde69cb3a0ce167f8 | refs/heads/master | 2020-12-25T16:59:16.317405 | 2019-10-13T22:02:03 | 2019-10-13T22:02:03 | 33,798,105 | 5 | 2 | null | 2017-11-20T20:03:00 | 2015-04-12T00:52:47 | R | UTF-8 | R | false | false | 1,585 | r | match_ordi_method.R | #' @title Search Vegan and ade4 for matching method
#'
#' @description Given a character string describing an ordination method
#' from ade4 or vegan, return the actual function for that method.
#'
#' @param A string describing the function to return. The currently accepted
#' strings, along with the functions they r... |
1b406f9a12d901dd00e8811bdf2ca74b3dd012cf | c2f2c0fdaf739be514b0ac8fee7095b00eb307ea | /aula visualização e diagnostico I.R | 4247b7fa2a4232b51229dc8b64a7a7324eae6e0d | [] | no_license | wagnerLM/quanti2 | 56d864f0e7ea34bc23ad4be33203e20128d09581 | 3a753e3871847b5f3cc7cc751dbe5c57a9a00225 | refs/heads/master | 2021-07-03T19:10:19.817228 | 2020-11-24T16:06:32 | 2020-11-24T16:06:32 | 202,057,247 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 1,873 | r | aula visualização e diagnostico I.R | ## Visualização e diagnóstico de variáveis
# instalando pacotes necessários
installpackages("mgm")
install.packages("psych")
# ativando os pacotes
library(mgm)
library(psych)
# banco de dados exemplo
# reconhecer o nível de mensuração de cada variável:
View(autism)
?autism_data
View(autism_names)
# arti... |
462e41f25d5022ac7e9930d5ebf4f7c54812ac83 | 62792b978ab0f64caf95ec6913f0fce8c07d2985 | /inst/doc/part04-analyze-zoom-video-data.R | 336c2ee20ebbaed19711d84013e11a12021ad8b1 | [] | no_license | cran/zoomGroupStats | 206e6f3709d5261a7ee07d1330a389a4038e4c97 | 8431abd407a0da6daa95e2a6feaa22a30f7b25c1 | refs/heads/master | 2023-04-21T00:18:29.718618 | 2021-05-13T08:20:02 | 2021-05-13T08:20:02 | 367,098,029 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 963 | r | part04-analyze-zoom-video-data.R | ## ---- include = FALSE---------------------------------------------------------
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>"
)
## ---- eval=FALSE--------------------------------------------------------------
# batchOut = batchProcessZoomOutput(batchInput="./myMeetingsBatch.xlsx")
## ---- eval=FALSE, e... |
8d6d73239d9f0670ec9f15aa8dc373c21abb21ee | a6d89b1eddfb3a32abed2abae0530acd4226ccb1 | /PlotsCategoricalVar.R | 27b33739bc8ff037feb22e3ca7be1e9bab3bf80c | [] | no_license | akhilK17/Data-Science-with-R | 2144aeb9cb51378cff2ccfba43a92944f38efd8d | 10578dccec218885a322c4a8158d61734d6c9883 | refs/heads/master | 2020-03-22T15:57:49.703091 | 2018-09-10T17:32:49 | 2018-09-10T17:32:49 | 140,292,510 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,184 | r | PlotsCategoricalVar.R | # This script is to find the distribution of the chick weight according to type of feed using bar plot and pie chart visualization
# About the data: An experiment was conducted to measure and compare the effectiveness of various feed supplements on the growth rate of chickens.
require("datasets") # attach package dat... |
568f1fc1ac51e52c999a8fc4d41bb5d36f7f80a9 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Amendola-Ricca-Truszczynski/wgrowing/ctrl.e#1.a#3.E#128.A#48.c#.w#7.s#32.asp/ctrl.e#1.a#3.E#128.A#48.c#.w#7.s#32.asp.R | 27f653d362ba45b523e758a29e8160a4d95c8f17 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 91 | r | ctrl.e#1.a#3.E#128.A#48.c#.w#7.s#32.asp.R | 454fcbfc8fe2b17363896366c203c60a ctrl.e#1.a#3.E#128.A#48.c#.w#7.s#32.asp.qdimacs 7343 21502 |
7bfa22914f84921158223c930bc933d8847dac5d | d20145e080798319e0028a4c9d8851f619285c29 | /Rprofile.R | 0baa9d2a0f0ce5dfe7a0d6513192611fe5a75016 | [] | no_license | friendly/VCDR | da441b8306969fd6469a3bbc6a4475e028c61e29 | 818156ee0a26943a656ae915d924773c87654cec | refs/heads/master | 2023-02-18T08:40:28.634897 | 2014-12-05T13:24:55 | 2014-12-05T13:24:55 | 16,708,002 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,369 | r | Rprofile.R | # from http://biostat.mc.vanderbilt.edu/wiki/Main/KnitrHowto
# this from Frank Harrell -- no longer useful. Remove all uses
spar <- function(mar=if(!axes)
c(2.25+bot-.45*multi,2+left,.5+top+.25*multi,.5+rt) else
c(3.25+bot-.45*multi,3.5+left,.5+top+.25*multi,.5+rt),
... |
85a3eff530ef9b6adf84871ee80a758fe4ab0147 | 982415a4fbff0d1291926e3a857f322531fa9a98 | /man/noaaParameters.Rd | 9824c7242ce7a8288f746575e9f10d0aba4b00cf | [] | no_license | ScenicVerve/VulnToolkit | 89554775667054ae0cccd3dc9e596fc02a544713 | e18da64ea4ca633eb49519473c4df1f3a0b4eee6 | refs/heads/master | 2021-01-17T22:28:51.142893 | 2015-08-12T13:26:28 | 2015-08-12T13:26:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 870 | rd | noaaParameters.Rd | \name{noaa.parameters}
\alias{noaa.parameters}
\title{Reports data available for a NOAA station}
\description{
noaa.parameters reports the parameters (meteorological and tidal) available for a specified NOAA station.
}
\usage{
noaa.parameters(stn = 8518750)
}
\arguments{
\item{stn}{NOAA station number (note that ... |
fbaadc743e750a158b61ddcbe46590be98d1460f | e57486b58f1c5218c9fdf620fbeb961df194e2a0 | /man/q_growth_ratios.Rd | 3ffe087450029cf4027fdf87f8d698210a74e9dd | [] | no_license | zac-garland/eqdata | 1f0b3b2e00967ac2765aa9c647cabc57e4d975bc | a258ccebc941aa91d4174f6cfbd37cc045a68416 | refs/heads/master | 2022-04-24T03:55:59.262519 | 2020-04-24T15:27:46 | 2020-04-24T15:27:46 | 257,068,325 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 266 | rd | q_growth_ratios.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/q_growth_ratios.R
\name{q_growth_ratios}
\alias{q_growth_ratios}
\title{q_growth_ratios}
\usage{
q_growth_ratios(ticker, freq = c("quarterly", "annual"))
}
\description{
q_growth_ratios
}
|
6cccc9897906490cf4e67a04492534c17dad8ad8 | 8691ae0b068ca49236c1ecd238ea646952d19e83 | /dayMid2_1.R | bd356f0120fc1aeef0fe85cc6d003ff815f7db25 | [] | no_license | ktabata117/classmaterial_public | 0751fa738cf38dc1e66e06f8738bdde56ed38025 | 605c159a61b9622a1007d69b2f3ab531b66683a0 | refs/heads/master | 2023-05-12T21:06:01.481629 | 2021-06-04T10:42:15 | 2021-06-04T10:42:15 | 262,516,513 | 0 | 0 | null | 2020-12-02T10:20:59 | 2020-05-09T07:38:06 | R | UTF-8 | R | false | false | 1,424 | r | dayMid2_1.R | library(igraph)
(twitter <- read.csv("twitter-following.csv",
stringsAsFactors=FALSE))
# 文字列をファクタとみなす(変換する)」stringsAsFactors=TRUE
senator <- read.csv("twitter-senator.csv",
stringsAsFactors=FALSE)
n <- nrow(senator)
twitter.adj <- matrix(0, nrow=n,ncol=n)
#nn行列、要素は全部ゼロ... |
927386334d29b73ddc539aefa24ea620b8a3f600 | 67f6ca6dd3f8fb1d3104f931546c50445846083c | /src/main/R/multi-day-plans.R | e7a172809a9756130f953950e9fab9725749dcb9 | [
"BSD-3-Clause-LBNL"
] | permissive | LBNL-UCB-STI/beam | 7e63cf28854a0b78e5f123629f5ff84966d75deb | ca433c85c592285cf4ff6c28620b3538fe9cc9ba | refs/heads/develop | 2023-09-01T03:51:59.353627 | 2023-08-31T15:04:26 | 2023-08-31T15:04:26 | 73,118,824 | 142 | 71 | NOASSERTION | 2023-09-11T14:53:58 | 2016-11-07T20:38:29 | Jupyter Notebook | UTF-8 | R | false | false | 7,956 | r | multi-day-plans.R | load.libraries(c('XML'))
do.or.load('/Users/critter/Documents/beam/input/run0-201-leg-data.Rdata',function(){
legs <- data.table(read.csv('/Users/critter/Documents/matsim/input/run0.201.leg.data.csv',stringsAsFactors=F,header=F))
legs[V2=='',V2:=NA]
legs[V3=='',V3:=NA]
legs[,num.na:=is.na(V2)+is.na(V3)+is.na(V... |
5ff259ac71fa34bb70948cac113b13f8cc081c0e | 7b386cda02570ca54536a5a352881f4ac954ce78 | /app/app.R | 77c4bc266bff4313544c44b8045d9fc91190e11c | [
"MIT"
] | permissive | JacobYunker/DevOps-Data-Science-GHC-2020 | 5e72b399590fff81622d288a22dc6a0bc7147062 | 5a29a572cfc8391a5a6353eae601f7dadf51caa0 | refs/heads/master | 2022-12-07T13:49:55.647226 | 2020-08-31T23:08:51 | 2020-08-31T23:08:51 | 291,738,316 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,008 | r | app.R | library(shiny)
library(tidyverse)
housing<-read.csv("BostonHousing.csv", header=TRUE)
ui<-fluidPage(
titlePanel("Boston Housing Data Visualization"),
sidebarLayout(
sidebarPanel(
h4("Filter"),
selectInput(inputId = "y",
label = "Y-Axis:",
choi... |
c40d8b868e4ddff03dc73ca5c2df4cd1c112ef20 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/SpATS/examples/summary.SpATS.Rd.R | a666afe6de405af37074d46f41fd55158eb4bf24 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 753 | r | summary.SpATS.Rd.R | library(SpATS)
### Name: summary.SpATS
### Title: Summary method for 'SpATS' objects
### Aliases: summary.SpATS
### ** Examples
library(SpATS)
data(wheatdata)
summary(wheatdata)
# Create factor variable for row and columns
wheatdata$R <- as.factor(wheatdata$row)
wheatdata$C <- as.factor(wheatdata$col)
m0 <- SpATS... |
36c170c069a4c68ae6656ac1047835bddbd9f2fc | 0ce902a366b310ea7f3e40700a04abb3a7e73fa4 | /myplot.R | cfe861dca83d17fbdbfda9b50245e460f24e6604 | [] | no_license | sophieberkhout/thesis-edges-parsimony | 38de4e8b69c72c5a4cff92579e1cc7ae848dd780 | 8bb6383468a37b9bc46f577d2fc0038a7dc06a6f | refs/heads/master | 2022-11-16T18:34:00.749366 | 2020-06-30T19:33:52 | 2020-06-30T19:33:52 | 257,295,430 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,015 | r | myplot.R | myplot <- function(df, title = "", type = "preacher"){
if(type == "preacher"){
cols <- c("blue", "red", "black")
labs <- c("A", "B", "Full")
xlab <- "LL"
}
if(type == "mimicry"){
cols <- c("blue", "red")
labs <- expression(A[b]-B[b], B[a]-A[a])
xlab <- expression(Delta*LL)
}
ggp... |
bfc985322003201d1c10dbb5cd075b0a058edb11 | 3ae85ad5599681390f59838210c0a733e39496a5 | /01_lyrics_scraping.R | e5bf4a75012582be81bcf49c6dc52e3bb77d5548 | [] | no_license | jason-j-kim/melonchartlyrics | ec14324f5819eb6d667d10a454bb87b9d7b0ae0d | 0790ebc02e6f1ac98523df7a37f0696d401f01f9 | refs/heads/master | 2021-03-27T14:41:59.457919 | 2017-11-11T23:36:43 | 2017-11-11T23:36:43 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,556 | r | 01_lyrics_scraping.R | devtools::install_github("johndharrison/wdman")
install.packages("RSelenium")
install.packages("rvest")
install.packages("tidyverse")
install.packages("stringr")
install.packages("httr")
library(wdman)
library(RSelenium)
library(rvest)
library(tidyverse)
library(stringr)
library(httr)
rD <- rsDriver(verbose = FALSE)
... |
c5f5a9bdd99abf74ff1c4b01151b2dd7b958dce8 | 0eb29689bbfd02d2d7708c9a4c82b8dad7184387 | /programs/bmMethods.R | c21f53d131691608c013e743948a30bb48e2bd36 | [] | no_license | bigdata-ufsc/ferrero-2018-movelets | 11647807a111c0c9237f2d3c9d386b98d7101838 | a5cd12d84b408154b0c3129815f9c5f5d9705a47 | refs/heads/master | 2022-06-03T06:54:53.298871 | 2019-11-07T15:09:33 | 2019-11-07T15:09:33 | 220,263,536 | 0 | 1 | null | 2022-05-20T21:15:11 | 2019-11-07T15:05:17 | Java | UTF-8 | R | false | false | 9,783 | r | bmMethods.R | require(data.table)
# -----------------------------------------------------------------------
# -----------------------------------------------------------------------
error.fun.wF <- function (true, predicted){
1 - fmeasure(predicted,true)
}
fmeasure <- function (predicted, true){
levels <- levels(true)
... |
0d2817a1fbf1c56457593e141c99d4949717ebf9 | 3b1f27002a1aad5f2a8acf88402ccc1c3b0cd014 | /tf/run.fraig.all.r | 480977daad45e28d59bcdd61b3a96d294a7e3c15 | [] | no_license | Splend1d/FRAIG | ea3c77636197ee9237ed8a1cc8fa61201a7aea0c | cd0a0319e2408775a0223f28ca20abfd0293c0e8 | refs/heads/master | 2020-12-18T19:05:11.837571 | 2020-04-05T10:52:19 | 2020-04-05T10:52:19 | 235,491,015 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 255 | r | run.fraig.all.r | ./run.fraig.r 01
./run.fraig.r 02
./run.fraig.r 03
./run.fraig.r 04
./run.fraig.r 05
./run.fraig.r 06
./run.fraig.r 07
./run.fraig.r 08
./run.fraig.r 09
./run.fraig.r 10
./run.fraig.r 11
./run.fraig.r 12
./run.fraig.r 13
./run.fraig.r 14
./run.fraig.r 15
|
c13c364f2e33b47a0b613f8b5b676ec3b6b3d395 | 7bcc9e2b4084aeef92947498343be7e35ef620dc | /man/fd_page.Rd | 0d685399e5d697613b5039ce0130501dc27958e8 | [] | no_license | Jamamel/shinyfoundation | f406006cc8625725c29da85f2c34315f4235db10 | a8018c538d34f21e7b728a924c43fbc73ae0490a | refs/heads/master | 2022-03-14T01:03:21.447771 | 2019-10-15T21:08:37 | 2019-10-15T21:08:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 462 | rd | fd_page.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/page.R
\name{fd_page}
\alias{fd_page}
\title{Basic Page for Foundation UI}
\usage{
fd_page(..., header = NULL, footer = NULL)
}
\arguments{
\item{...}{The contents of the document body.}
\item{header}{The contents of the document header}
\i... |
0700cca98e8d55f72c92fded8d975bcaacd61763 | a8223bdceb0a16fc162d6af299c9f830b01be66a | /TR_ORF_CRF.R | 29cac02aba28e13d2a232be82e883862abbc3f09 | [] | no_license | xanthexu/ribosome-profiling | be24d8b32d2519a7aec8fb4852d06a0c6f8bf0f6 | ab060f05bb72fe6a32812a5d9ea449cd237755a8 | refs/heads/master | 2020-03-21T19:53:39.116347 | 2018-06-28T06:42:45 | 2018-06-28T06:42:45 | 138,976,194 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,703 | r | TR_ORF_CRF.R | #!/usr/bin/env Rscript
###################################################################
# This file is part of RiboWave.
# RiboWave is powerful Ribo-seq analysis tool that is able to
# denoise the Ribo-seq data and serve for multiple functions.
#
# RiboWave can be used for multiple purposes:
# ... |
953c9c1d9227cc9f424ea4553dd0b370a9a3e9b1 | c56511aab076a84c78e5449156480180245c0b51 | /Wine Project.R | f20430da1ed8c5fed5a67ed2a946ed8625a96a49 | [] | no_license | davidkeim/Wine-Project | 21069bc1f173458b78d851810a30169abbbcc67e | 10af582e6b26ecd0e15ef13630dada6aaacc38e6 | refs/heads/master | 2020-12-01T00:56:13.084054 | 2019-12-30T02:39:33 | 2019-12-30T02:39:33 | 230,527,031 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,338 | r | Wine Project.R | if (!require(dplyr)) install.packages('dplyr')
library(dplyr)
if (!require(ggplot2)) install.packages('ggplot2')
library(ggplot2)
if (!require(ggthemes)) install.packages('ggthemes')
library(ggthemes)
if (!require(caret)) install.packages('caret')
library(caret)
if (!require(e1071)) install.packages('e1071')
library(e1... |
192018c07f480c66a7a76dcea0279e000801e4f7 | bcaaeb83862dab0045fd83ce033c65f373ffad7d | /dailydata/data_scripts/filter_ops.R | 144da9e09e2bc301d797b2565c08ecf7e3244daa | [] | no_license | anthonymorast/lstm-lstm | 7481df0f179740357a489a0497a29f4a25cfb55f | 5eadfbdab32aa5143a2b63856cdcebb1b660b64a | refs/heads/master | 2021-03-22T05:11:46.390172 | 2019-03-31T22:08:38 | 2019-03-31T22:08:38 | 112,763,473 | 6 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,003 | r | filter_ops.R | ##
## Below are the operations performed to read and filter the data to contain the
## same rows as the forex data frame. This example uses silver and applies to PERTH
## datasets.
##
# silver <- read.csv("commodities/PERTH-SLVR_USD_D.csv")
# silver.filter <- silver[silver$Date %in% forex$Date, ]
# plot(silver$Bid.Ave... |
375fa2f865f6e923a49cd216860dc79506df49af | 35d5f82fc5fa6ea9783b7a8e50c06703bee649d6 | /processEngineeredFeatures.R | a2d24bb814ece8d238ac786b7ddad136099aade3 | [] | no_license | tboats/AirBNB-competition | cee54d9df3e2c03df535d8d614b6b2151f86cdee | d2f376afe7b0ccda349f4aa0b85f1b13bcf50104 | refs/heads/master | 2021-01-10T02:53:59.220497 | 2016-03-07T06:52:28 | 2016-03-07T06:52:28 | 53,273,582 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,389 | r | processEngineeredFeatures.R | ## Goal: apply cross validation to determine tuning parameters
###########################################################################
## load libraries
library(xgboost)
library(stringr)
library(caret)
library(plyr)
library(dplyr)
library(lubridate)
source('E:/Dropbox/R/general/timestamp.R')
ndcg5 <- function(pre... |
a7f5e83714e1fb7deed77ec899b77385fda84f3f | e2b59ecade22df23781a7f6d2bd6bb559d4b01bc | /R/boxplot.R | 6f211a314c720736df5351082dca032014fb4a91 | [
"MIT"
] | permissive | artedison/ensRadaptor | 2838d1740b5add8b1f348b14a1cc576e571bb789 | bf3911a29812120cfe3965148a9e21f98e350212 | refs/heads/master | 2021-08-20T08:01:24.766312 | 2020-12-07T01:09:18 | 2020-12-07T01:09:18 | 232,164,615 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,086 | r | boxplot.R | #' boxplot of multiple species and different experiments
#'
#' can be parameters or intial value
#' prior range of species can be also presented
#'
#' @param list.spe list. data.list. must be provided
#' @param path string. result location. must be provided
#' @param rank array. rank of presenting the data. must be pro... |
0f0a7f3f517fc5407f54ec28395e3532446a6e87 | 85c772f3db8c3fa6928341bfd97b5a57c9bcc961 | /C2/gg-area.R | 8abb44c5f0278ff0d59360a2ec310cf309ca400f | [] | no_license | DUanalytics/BARtaxila | e0efe470fd7a0eeb9a5dedc0f2254cd83efb6075 | 0c76fad59a2e6f565277f52d080b48561a09eed6 | refs/heads/master | 2020-07-26T17:04:30.853751 | 2020-02-16T12:02:17 | 2020-02-16T12:02:17 | 208,712,611 | 77 | 3 | null | null | null | null | UTF-8 | R | false | false | 630 | r | gg-area.R | #ggplot - Area
df=mtcars
catcols = c('cyl', 'vs', 'am', 'gear', 'carb')
df[,catcols] = lapply(df[,catcols], as.factor)
g1 <- ggplot(df, aes(x=mpg))
# Basic area plot
g1 + geom_area(stat = "bin")
# y axis as density value
g1 + geom_area(aes(y = ..density..), stat = "bin")
# Add mean line
g1 + geom_area(stat = "bin",... |
471b20f6bb9c19fdd55f42f07ccd03e23648fe94 | 1230124bdac62ce04a7f62d43adca3452881edb1 | /examples/whole_blood/generate_rnb_set_with_samplesheet_and_idatfiles.R | 62a858c4471c545fc0bbce0307a48ac90b5d4c9e | [] | no_license | lutsik/DecompPipeline | 732639b94cf5766f28489ee759a79cbd7a3c7789 | e38e3311391d8afc4fe035cfdf71760e5390e001 | refs/heads/master | 2020-09-16T00:22:46.675862 | 2019-10-11T13:57:26 | 2019-10-11T13:57:26 | 89,242,755 | 1 | 1 | null | 2019-04-10T14:58:46 | 2017-04-24T13:22:28 | R | UTF-8 | R | false | false | 1,690 | r | generate_rnb_set_with_samplesheet_and_idatfiles.R | # cd /home/guptad/divanshu
# mkdir exp %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# cd exp%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
# mkdir temp
# mkdir datasets
# cd datasets
# wget '%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%'
# mv '%%%%%%%%%%%%%%%%%%%%%%%%%5' &&&&&&&&&&.tar
# tar -xvf %%%%%%%.tar
# gunz... |
37f98695b9cf42e0a23899f307b38851b35a5b21 | 8de7c88fd3ce03591c538694b3361f6b6c7fbf61 | /R/phyloVar.R | d5a704398ba29537c874fd5ae9f3f63178efb330 | [] | no_license | ghthomas/motmot | b093742a4ed264076ca41bbc4fddf29d3cc00a93 | c24372f5d5efbfbee6196c5459d0def31d547e54 | refs/heads/master | 2021-01-01T17:57:38.949773 | 2018-07-30T10:12:35 | 2018-07-30T10:12:35 | 10,839,257 | 3 | 0 | null | null | null | null | UTF-8 | R | false | false | 967 | r | phyloVar.R | phyloVar <-
function(rateData, rate=NULL, common.mean=FALSE, lambda.est=TRUE, lambda=1, meserr=FALSE) {
if(is.null(rate)) { rate <- c(rep(1,length(rateData$Vmat))) } else { rate <- rate }
if(length(rate) != length(rateData$Vmat)){stop("The number of rates defined differs from the number of rate matrices")}
... |
b0f6afd36e544c1be50862586c654fffd8ae682d | 1dfe802713de5a2a5cc08e8be4b8e5ac47b7d7cc | /snpCyto.R | 390cd8f56ce186ab2b29049adcf3d362b101d418 | [
"BSD-3-Clause"
] | permissive | KieberLab/Mutagenomics | 91a9c1f1c2b93aaeef6f8bfd008b6b0c095738ce | 3cf88522aad2b1b60cc93f986a937b79f857ce0b | refs/heads/master | 2021-07-08T17:20:23.970280 | 2020-08-07T16:37:05 | 2020-08-07T16:37:05 | 143,743,258 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 588 | r | snpCyto.R | options(stringsAsFactors=FALSE)
library(RCy3)
ck <- read.delim("output.hom/Moderate.shared.txt")
ck$from <- as.character(ck$from) #important for making networks, source and target need to be character, not integers
ckCut <- ck[c(1,3)]
names(ckCut) <- c("source","target")
ckNet <- createNetworkFromDataFrames(edges=ckCut... |
f625c79212633578dee519d287e72f63d0b4925e | 1d1e6b4e32594a6a5b4a3f23723abee28c629f10 | /R/check_feature_independence.R | 1d631204c8e0df2743ffe380af1ef14814c7d219 | [] | no_license | darshanmeel/LV | 62e7e01dd29c143cd92f443b837e4f5874644fa1 | 844ac42a4ce81538477c7443082ffb5c77249591 | refs/heads/master | 2021-01-19T13:49:19.533404 | 2015-03-24T08:21:08 | 2015-03-24T08:21:08 | 30,870,458 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,383 | r | check_feature_independence.R | # This file will find all the columns which are correlated to each other.
# Numeric columns will be shown based on the correaltaion whereas factor columns will be shown based on the chi square.
# Numeric columns can be converted to factor columns before checking independence of fact columns but these might need to disc... |
3c6b2a0a08d0e4d157ffa149b92bb0587281ccf0 | b69cc5de123d0f6e9de659c933a418de2129f6f0 | /R/Spatial Tidying.R | ab45f9a1468688a9d73ada3556418cbd499d5852 | [] | no_license | NeilHobbs/sri_lanka_snakebite | c43b31c8e9ac4ec290ae46e7a1e734f2028a70ac | 605d2c4f2c8afef459d3adf72b645560e110c493 | refs/heads/main | 2023-01-01T05:29:37.020122 | 2020-10-19T14:44:46 | 2020-10-19T14:44:46 | 305,411,919 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,191 | r | Spatial Tidying.R | library(stringr)
library(dplyr)
library(readxl)
hospital_coordinates = read_excel("./Hospitals_SL_update.xlsx")
hospital_coordinates = hospital_coordinates%>%
rename(Hospital = Name)
#Find the hospitals with the codes before the names.
Hosp_Coords1 = hospital_coordinates%>%
filter(str_detect(Hospital, "BHA|BHB|... |
05d04c8d4000f0160f78c097f12ca9fdf5ac81ab | 315e904bb62f434ed3ffffc7a7ede67a94df1d5c | /R/compute_ssd.R | 0c16331ef9722344e58fa87107813fb9ada0d7c5 | [] | no_license | ChengLiLab/markov3d | 8fa7ae37ea207c4cf05592c9a7e43881b2245f39 | e26c7261f05793c4f57ad54cb64eb4530f359724 | refs/heads/master | 2021-01-11T09:58:36.831283 | 2017-01-03T05:54:24 | 2017-01-03T05:54:24 | 77,888,214 | 1 | 0 | null | 2017-01-03T05:56:39 | 2017-01-03T05:56:39 | null | UTF-8 | R | false | false | 753 | r | compute_ssd.R | # Rcpp::sourceCpp("computeSSD.cpp")
compute_ssd <- function(transition.mat, iter.epsilon = 1e-8, iter.max = 1e5) {
#' compute steady-state distribution from transition matrix
#'
#' @param transition.mat Matrix, transition matrix.
#' @param iter.epsilon Float, the tolerance of iterative computation of SSD
#' @... |
3e78eb5ccf9995d53ac26fe59e5739997db85fab | 70000c0b41bfa6a711a953e7ea77a0a35dce425a | /R/run_seminribm.R | 4f228ecea508bcdd596e2e0a9ccb55a2fb5dbec6 | [
"MIT"
] | permissive | davidchampredon/seminribm | a46972481fb8ae1f2bcea4a5082a890a721e0b1a | cd327a16a9587ac861694e7c0e54392bb276ed6f | refs/heads/master | 2021-05-14T11:37:11.405019 | 2018-01-10T15:22:04 | 2018-01-10T15:22:05 | 116,387,422 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,159 | r | run_seminribm.R |
#' Run one simulation of a stochastic SEmInR model
#'
#' @description Stochastic, individual-based, SEIR model with respectively m and n 'E' and 'I' chained compartments. Use Gillespie algorithm, with or without the tau-leap approximation.
#' @param horizon Numeric. Time horizon of the simulation.
#' @param popSize... |
e620005a7e782d2dad58694bc255550ddb4b3d55 | cebdfafd0b197990e4b78ad50b124c8da9383143 | /data/MLPAvalidation.R | d313169d55bf43854ce7940e3acfde9dd7f50b6b | [] | no_license | cran/MLPAstats | 0e74630f5191fdf5dfec8ae7baac5f936f012fa7 | 899bf5e9737526e026fd1e7cbe13c5e3ed56b163 | refs/heads/master | 2021-01-23T16:41:05.075290 | 2011-02-11T00:00:00 | 2011-02-11T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 11,951 | r | MLPAvalidation.R | `controls` <-
structure(list(Sample = structure(c(1L, 1L, 1L, 2L, 2L, 2L, 3L,
3L, 3L, 4L, 4L, 4L, 5L, 5L, 5L, 6L, 6L, 6L, 7L, 7L, 7L, 8L, 8L,
8L, 9L, 9L, 9L, 10L, 10L, 10L, 11L, 11L, 11L, 12L, 12L, 12L,
13L, 13L, 13L, 14L, 14L, 14L, 15L, 15L, 15L, 16L, 16L, 16L, 17L,
17L, 17L, 18L, 18L, 18L, 19L, 19L, 19L, 20L... |
6cc26625b306f202d280879f65fbfef42c72ebcd | e0877a3b598fcdcea8f07a02e48f8aa490bf01be | /store.returns.R | 8fff168963251900e08120bb47d091efdfb6df1e | [] | no_license | lotterdata/proj_2_bootcamp | a1b8cffdabe864370f001d0b00c42acf8ff8011a | 03e39dd40b4e2329c31d9f7ec82d1a2c21be15c1 | refs/heads/master | 2021-01-10T07:35:23.427915 | 2015-10-18T03:27:38 | 2015-10-18T03:27:38 | 43,725,182 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 380 | r | store.returns.R | source("eff_front_app/helpers.R")
library(stringr)
full.list <- portfolioReturns(c('PFE','NVS','MRK','LLY',
'GS','JPM','MS','PNC',
'TWX','CMCSA','DIS','DISCA',
'WMT','TGT','HD','COST'))
full.list$date <- str_sub(full.list$... |
fb2d5b6f07586c524c9ae781968ff981bde2afe6 | d2283754044515dbef6c729a5b6ffe236f9e4bfb | /R/facet_plot.R | 089ab1fb0acda75231fcffe36f2c7eb6f3a0ad47 | [] | no_license | funkhou9/editTools | 24e311cdf4928d0c9b3048d5fc39def5816d120c | e8bcd8595942c98286dd94a57b0f90c6c6681e6b | refs/heads/master | 2020-05-30T06:42:40.951785 | 2018-09-12T01:43:06 | 2018-09-12T01:43:06 | 39,027,824 | 1 | 3 | null | null | null | null | UTF-8 | R | false | false | 2,269 | r | facet_plot.R | #' Turns two or more plots of edit_tables into a facet plot
#'
#'
#' @param ... any number data.frames resulting from plot.edit_table(plot = FALSE)
#' @param names character vector for each sample provided in
#' @param text_size numeric changing the appearence of text in the plot
#' @param group character providing t... |
da63a2d061b82a6fb0ad51a99e005b1be0cf6a0f | d0295bf5fdddd589d8026b600c8132bf846629c3 | /exercises/final_project/sdsfinal_KC.R | 98c73d7965ce833ae7eda21dcc848cbb48160972 | [] | no_license | tsecrystal/SDS-323 | 77d08c928f4564d0743c6e6db868992df24de08a | 732b44ad351d71cad8a7bac37d266ccaa5593031 | refs/heads/master | 2023-05-03T00:49:13.403568 | 2021-05-22T01:53:53 | 2021-05-22T01:53:53 | 254,649,229 | 1 | 2 | null | null | null | null | UTF-8 | R | false | false | 8,493 | r | sdsfinal_KC.R |
packs <- c("tidyverse","tidyr","corrplot","caret","cluster","mosaic","glmnet","gamlr","dplyr","lubridate",
"dendextend","kableExtra","ggcorrplot","mosaic","psych","gridExtra","LICORS","forcats","naniar",
"randomForest","pdp","gmodels","ROCR", "yardstick","funModeling","lime","recipes","rsample",
... |
ff58bfbe19c1dd38d84ba07ab9744fe9298ad1df | db4118bc4c3fa27bce4c2d5039facbb9072479c0 | /coevo/raw_data.n5/raw_data.n5.R | ce655b4a978f0c42ad51846c9942414def954ec0 | [] | no_license | yaotli/Packaging_Type | 166d4a4b6b8d20daab88612bc497e02d9e8fc038 | 4dba547aed7105c13f5bf4042c121f2289081ae1 | refs/heads/master | 2021-01-23T01:26:21.502910 | 2019-06-17T03:44:33 | 2019-06-17T03:44:33 | 85,908,055 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,368 | r | raw_data.n5.R | source( "./function.coevo.R" )
# database download ------------
#
# GISAID -> 35 isolates ( 35 in the file)
# 1. type 'A'; 2. N '5'
# 3. host undo 'Lab derived, Unknown, NA'
# 4. location 'all'
# 5. required seqments 'HA, NA'
# 6. mim length '1000'; 7. only GISAID
# format 'Isolate name Type Collection date Isolate... |
60327298d6ef274c9ddc491bcd17307d4ddfe3dc | 74b5687987d31caad451f13a1fa5099ba939a63f | /load.R | 2aa258fb461c254d26caf4bc1e01afa7a8b38297 | [] | no_license | RemkoDuursma/eucfacelaipaper | a4f35bfedc15677c84f40ac91a713f0696091abf | f83ba8e23fed9c89c2f1be81213ccac046f8a83b | refs/heads/master | 2020-05-20T05:55:51.143622 | 2017-10-19T23:20:49 | 2017-10-19T23:20:49 | 41,735,145 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 718 | r | load.R |
source("R/utils.R")
Library(dplyr) # summarize, group_by
Library(doBy) # summaryBy
Library(gplots) # plotCI
Library(mgcv) # gam
Library(stringr) # str_trim
Library(Hmisc) # approxExtrap
Library(lubridate)
Library(rmarkdown) # render
Library(broom) # tidy; glance
Library(lme4) # lmer
Library(l... |
95f767529878a2604e6e154780d147fdea68cd40 | cf2abbc30840891c91221a91a370700cdc4c91d5 | /02_r_programming/week2/corr.R | 6f14813f069261e56f2c4caaaa7ec92087f98730 | [] | no_license | ck-unifr/coursera-data-science-specialization | 00c73f18f1f37a720bffb74d0a33e00c4a4e7c6a | 61b0d4b37db5f4c2d77e0b0256d86eb5c3d7c461 | refs/heads/master | 2021-05-05T13:12:24.783972 | 2018-01-21T11:11:22 | 2018-01-21T11:11:22 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,436 | r | corr.R | #https://www.coursera.org/learn/r-programming/supplement/amLgW/programming-assignment-1-instructions-air-pollution
corr <- function(directory, threshold = 0) {
## 'directory' is a character vector of length 1 indicating
## the location of the CSV files
## 'threshold' is a numeric vector of length 1 in... |
81edeba4b658d1af4b8b03389a0356594c8ed639 | 37bb83711a55e27b1893c514fe18140b3e510504 | /R/Class_tskrrHomogenousImpute.R | e386c5e855f75419079969019b50228ca5180ac6 | [] | no_license | MichielStock/xnet | 147712a796d59fb6b35237b138e93cfb0cd507fb | 76f0cb11c4078efd15a346f31ad4a5188409a9c6 | refs/heads/master | 2020-07-19T20:34:03.965482 | 2019-04-10T14:46:59 | 2019-04-10T14:46:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,669 | r | Class_tskrrHomogenousImpute.R | #' Class tskrrHomogenousImpute
#'
#' The class \code{tskrrHomogenousImpute} is a subclass of the
#' class \code{\link[xnet:tskrrHomogenous-class]{tskrrHomogenous}} and
#' \code{\link[xnet:tskrrImpute-class]{tskrrImpute}}
#' specifically for homogenous networks with imputed values. It is
#' the result of the function \c... |
026e73296ddf5d6f84e338509df4510fcc42ec39 | 22bef0c6a526c05600d60d471c0af715c6c78f8a | /code_function/get.msg_format_err.R | 4cbf8500f2d9532b32a787f8e20466cca964ff55 | [] | no_license | littlefish0331/LINE_record2datatable | 8a68901f554998b45e36e461c82fd527fd1f9bc4 | f8be937c8640ce9d0218d2c46647b650cf63d727 | refs/heads/master | 2023-01-08T20:34:54.814168 | 2020-11-11T08:20:09 | 2020-11-11T08:20:09 | 300,217,986 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 228 | r | get.msg_format_err.R | get.msg_format_err <- function(x){
t1 <- x %>% pattern.count(., pattern = "\t")
msg_format_err <- NULL
if (sum(t1==1)>0){
idx <- which(t1==1)
msg_format_err <- x[idx]
}
res <- msg_format_err
return(res)
}
|
efd6e027b7da26133d78b6c2d7a51308d70d7166 | 57044c7c31b292a9b28c0b983b3d46804a3d2d72 | /tests/test-all.R | 3e29ec27c7dfbeabf00df694464e8218e85b8fdb | [
"Apache-2.0"
] | permissive | hrbrmstr/cspy | d45c41b82e17e3a14610be0baecf9296a1f4f640 | b6a81ff24878fd53c7f310e826eb64408657bbbb | refs/heads/master | 2020-04-27T07:59:20.467444 | 2019-03-10T20:24:20 | 2019-03-10T20:24:20 | 174,155,395 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 37 | r | test-all.R | library(testthat)
test_check("cspy")
|
01a4a98fd0d582a69047ea5fc0c70dcb29a18988 | dacd3c8c5533768580f681115607c724e2ba034b | /R/compute_P.R | 89c8e3f02c7d92507475316381176990efad687a | [] | no_license | ShunsukeMatsuno/NumbersGame | 1bd94f6d083419e9e8e4fc8710907280fee9f7d6 | 8f6f8dac231ee6759b2bb7104ba48a22b874eb04 | refs/heads/master | 2023-08-16T20:32:58.482509 | 2021-09-28T22:37:42 | 2021-09-28T22:37:42 | 268,521,337 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,121 | r | compute_P.R | compute_P <- function(theta, S = 1000, parallel = TRUE){
e_vec <- -20:20 # each state (bin)
result <- array(dim = c(S, length(e_vec))) # S x 41 array
# compute m_opt for each e (b)
if(parallel == TRUE){
# parallel computation
## register
library(doParallel)
cl <- parallel::makePSOC... |
3466c8e206b13b82a1756fee0b05102e4bcd7570 | da80cc590a53b6e3956df26fd836d3e9bc8af698 | /R/genlogistic.R | 3dbc67a83909a8787d211de1cd351882f7f3fcbb | [] | no_license | cran/L0Learn | e1dfd1990f7dbcee3e90a7c0981da7acaff5cbe8 | 3912974251d8192bded47a655e08b9bcd8bac95b | refs/heads/master | 2023-03-17T14:43:44.441721 | 2023-03-07T07:00:18 | 2023-03-07T07:00:18 | 145,894,788 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,005 | r | genlogistic.R | #' @importFrom stats rnorm rbinom
#' @importFrom MASS mvrnorm
#' @title Generate Logistic Synthetic Data
#'
#' @description Generates a synthetic dataset as follows: 1) Generate a data matrix,
#' X, drawn from a multivariate Gaussian distribution with mean = 0, sigma = Sigma
#' 2) Generate a vector B with k entries se... |
53f87fcdb7c3537540912419e3f9f616d1306c61 | 18f3e432f4c82d2a6f66789393668d31a1e9a175 | /man/signifString.Rd | f5143f1d51968f61791db053c31b52fd8d068fba | [] | no_license | ksl31/pknca | 39490c48c87a41127582706acc7d007fc8664b2a | 5f2743cd46b33a67c2da7f78a928447e1fd0d895 | refs/heads/master | 2021-04-26T23:28:19.193889 | 2018-02-17T21:58:38 | 2018-02-17T21:58:38 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 918 | rd | signifString.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/general.functions.R
\name{signifString}
\alias{signifString}
\alias{signifString.data.frame}
\alias{signifString.default}
\title{Round a value to a defined number of significant digits printing out trailing
zeros, if applicable.}
\usage{
sign... |
5825d78837ab4112dd910b3cd7dec79e664e2813 | b9f391a847085413f6059ad88392be2b9b874ce2 | /TCSHackathon.R | 491d547c2c0848543b4a73c768675519a1b9c103 | [] | no_license | SupriyaShinde11/DISQHACKATHON | 3890c8da61c411d9bfb2e09a3a92a24ffe87fbb7 | 1c39b7e12c15a3e948cd293c40216c54b15b84c6 | refs/heads/master | 2020-06-20T06:36:12.154387 | 2020-05-06T06:56:02 | 2020-05-06T06:56:02 | 74,876,180 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,847 | r | TCSHackathon.R | setwd("D:/RdataWork")
getwd()
data<- read.csv(file="matches.csv",head=TRUE,sep=",")
data
data1<- read.csv(file="Deliveries.csv",head=TRUE,sep=",")
data1
install.packages("ggplot2")
install.packages("tm")
install.packages("sentiment.tar.gz", repos=NULL, type="source")
library("sentiment")
library("Rst... |
655eddf4c107cbedd471fd351dd90474ef87e3fc | c9555ae7694cf75e459a4b7026c1a003033dd83b | /website/agVizTool/ui.R | d69d6d196998fd4119ad3aefa389f0a5c5c4f071 | [
"MIT"
] | permissive | YutingYao/Ag | 4285fa9d1c942448ed072200e798dc5f51fd9f29 | fe73916f6e549ff6cc20bfed96a583e3919ac115 | refs/heads/master | 2023-06-17T21:58:14.849291 | 2021-07-20T17:28:30 | 2021-07-20T17:28:30 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,494 | r | ui.R | library(leaflet)
library(shinyBS)
library(shiny)
library(plotly)
library(shinydashboard)
# Map menu
overlays <-c(
"Satellite"="Satellite",
"Topographic"="Topographic",
"Basic"="Basic"
)
boundaries <- c(
"State"="State",
"County"="County",
"District"="District"
)
indicators <- c(
"Net Primary Produc... |
d325be6f01adbcc9584914c8f511be7bd34e2058 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.networking/man/apigateway_create_model.Rd | 76500044664c68473fb34a90a51996748ad3258f | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 938 | rd | apigateway_create_model.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/apigateway_operations.R
\name{apigateway_create_model}
\alias{apigateway_create_model}
\title{Adds a new Model resource to an existing RestApi resource}
\usage{
apigateway_create_model(
restApiId,
name,
description = NULL,
schema = NU... |
66dd41330f221f5d48a191819e5aedb4bdc36250 | daeb0283ea20e5dd187d6130d39b2b4c52fe6af4 | /R/headline-index.R | 441a50cd91acc838eef306eb3ba6ca8b65c3b04e | [] | no_license | davidallen02/ism-manufacturing | 1fbabdf77b009c0b75aa7f49f03ecaf5145c8431 | 4937b20231297821198206e87c6baed03112fde4 | refs/heads/master | 2020-12-04T07:02:13.575445 | 2020-10-19T03:49:51 | 2020-10-19T03:49:51 | 231,667,893 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 323 | r | headline-index.R | library(magrittr)
dat <- pamngr::get_data("napmpmi") %>%
tidyr::pivot_longer(cols = -dates, names_to = "variable") %>%
dplyr::slice_max(dates, n = 60)
p <- dat %>%
pamngr::lineplot() %>%
pamngr::pam_plot(
plot_title = "ISM Manufacturing PMI",
show_legend = FALSE
)
p %>% pamngr::all_output("headline... |
b6948b35ca0931c836c04263f6a53a512c2683e5 | 0a906cf8b1b7da2aea87de958e3662870df49727 | /grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610051353-test.R | 0d6f80b2df80c9a9a7bb783316079e2a6cff6026 | [] | no_license | akhikolla/updated-only-Issues | a85c887f0e1aae8a8dc358717d55b21678d04660 | 7d74489dfc7ddfec3955ae7891f15e920cad2e0c | refs/heads/master | 2023-04-13T08:22:15.699449 | 2021-04-21T16:25:35 | 2021-04-21T16:25:35 | 360,232,775 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 948 | r | 1610051353-test.R | testlist <- list(rates = c(5.74790139408988e+199, -7.40507430175477e-171, NaN, -2.11940804072454e-289, 2.00877667922351e-139, -9.5885701929841e-292, -9.77719780333789e-292, -9.77719780333789e-292, -9.77719780333789e-292, -9.77719780333789e-292, -9.77719780333789e-292, -9.77719780333789e-292, 4.95224540605997e-303, ... |
a9e4dfcc3fee3ec57a0fb798a94d4928a8e4f359 | 8ccc8ab383a17439249146ae58b1d6b9808b38d4 | /server/server_description.R | 5494932ec005d77fc45144c689b3f128d728ad43 | [] | no_license | GillesDeLille/mlExplore | f475178a8e80d79b0adcc5e594241d0955c06254 | 8743a4f5d7f038c0101d50162daaeb964f671c1b | refs/heads/main | 2023-02-21T03:16:21.135312 | 2020-08-27T18:17:57 | 2020-08-27T18:17:57 | 263,023,106 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 786 | r | server_description.R |
# ---------------------------------------------------------------------------------------------------------------------------------------------------
output$uiModeles <- renderUI({
impl=fread('implementations.csv')
liste_modeles=impl$modele %>% unique()
selectInput('modele','Modèles disponibles', choices = liste... |
1df929ef7e536e52333d4039858079c8686bd369 | 9913e092ad2b819ffbb1ecf5a9d2428f7e9c3ec6 | /Lesson_1/Factors/initLesson.R | 1e2a2b12102dc7ae8192caee6476bd93c30432c9 | [
"CC0-1.0",
"X11",
"LicenseRef-scancode-public-domain",
"CC-BY-4.0"
] | permissive | cimentadaj/Rseminars | 4942660f132987be42d2df75927a975591f86217 | b4fd63306f5cc16ab700b5c05ffa963bf9c8ee8f | refs/heads/master | 2020-04-16T02:30:16.704785 | 2018-06-29T07:20:41 | 2018-06-29T07:20:41 | 53,986,913 | 3 | 4 | null | 2016-05-05T07:02:50 | 2016-03-15T23:53:25 | R | UTF-8 | R | false | false | 273 | r | initLesson.R | # Code placed in this file fill be executed every time the
# lesson is started. Any variables created here will show up in
# the user's working directory and thus be accessible to them
# throughout the lesson.
gender <- sample(c(1, 0), 100, replace = T)
|
47abb40a5afc0ad23e3623cd302051f4acbae52e | da785507ed522cb8d1864f18757248739caacdf5 | /week3/loan.R | 12b13ed297931c6ff79180985a6fcba76b0e887c | [] | no_license | hkreeves/AnalyticsEdgeR | acba4ec1cbd1b04c61beea0a539482bcd15b4516 | 24fe1c798ceacef0a49888b2ead29e5be0e8460c | refs/heads/master | 2016-09-10T04:40:51.435044 | 2014-04-23T21:00:07 | 2014-04-23T21:00:07 | 17,723,750 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,605 | r | loan.R | ##
## Week3 HW: Loan
##
loan <- read.csv("loans.csv")
str(loan)
summary(loan)
prop.table(table(loan$not.fully.paid))
# how many complete cases
complete <- complete.cases(loan)
table(complete)
table(loan$not.fully.paid[complete])
table(loan$not.fully.paid[!complete])
# multiple imputation
library(mice)
set.seed(144... |
32902ba4a1656e4b436d20d708a7628396a9d9ca | f401bed3c72cb7e5ffbf4a465b0a0cd1fe38b301 | /fig1/reddit/plot.comments.and.uniqueness.r | 74f73fe64af5ea89660443c17baf62f986d7211e | [] | no_license | SinaEghbal/online-diversity | 994eaf00a5c7a3312d3d2ce3d0b5cd5c5ccbd041 | fee8ec2faffb534a67cec4387fce3e70e94d3dda | refs/heads/master | 2021-03-30T00:26:26.221316 | 2020-11-27T05:40:53 | 2020-11-27T05:40:53 | 85,516,632 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,397 | r | plot.comments.and.uniqueness.r | #!/usr/bin/Rscript
rm (list = ls ())
load ('data/reddit-volume.dat')
pdf ('comments.pdf')
max_y <- max (as.numeric (reddit['total.comments',]))
plot (reddit['total.comments',], type = 'l', xaxt = 'n', xlab = rep ('', ncol (reddit)), ylab = 'comments', col = 'blue',
ylim = c (0, max_y + 5))
par (new = TRUE)
plot (re... |
40614c2aab612a3690fdfa7ffb415f5c09b793a8 | d78076c589a0de633474ee3309fe049c8a805e07 | /src/assignTax.R | 995dac756f088f44c1b5765356bf2797d10a6466 | [] | no_license | NielInfante/Hawkins_18S | 35ab2bb62f3f49c624ef454095390a358c0daea8 | 2f0976beb0fa9b6b2f60403e1b930eb19365bbf7 | refs/heads/master | 2020-04-09T00:51:39.870863 | 2019-05-09T00:33:36 | 2019-05-09T00:33:36 | 159,884,035 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,675 | r | assignTax.R | # script to classify 28S amplicon data
#library(DECIPHER)
library(dada2)
setwd('~/depot/projects/Hawkins/Metagenomics_Brzostek/MyGo/18S_fromGit/')
taxa <- assignTaxonomy(seqtab, 'Data/fromJen/taxa.fa',multithread = T)
# Try using https://zenodo.org/record/835855#.XLSFbFNKi5M
seqtab <- readRDS('Data/seqtab.rds'... |
dfe279e30b49dcbc9f514b7ef467034767b3bbdb | 4596714df6b860874bd4acd6db97c2623de58739 | /man/VIMGUI.Rd | 7d606ad94d77cccc14fda3eebf09feed871592ae | [] | no_license | alexkowa/VIMGUI | e44f3524b59cfa2c4074fe5f7a661fdfb42a54d2 | bf04b307f219a9672755b1a6d9d7c327ee0ac807 | refs/heads/master | 2021-01-18T23:09:25.240596 | 2016-10-18T08:42:54 | 2016-10-18T08:42:54 | 12,780,463 | 5 | 1 | null | 2016-07-13T06:39:33 | 2013-09-12T09:59:50 | Tcl | UTF-8 | R | false | true | 884 | rd | VIMGUI.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/VIMGUI.R
\name{VIMGUI}
\alias{VIMGUI}
\title{GUI for Visualization and Imputation of Missing Values}
\usage{
VIMGUI(startupObject = NULL)
}
\arguments{
\item{startupObject}{Object loaded at the start of the GUI}
}
\description{
Gr... |
5573e15a14f9cc235c5adfe5a3b7ee84800b77af | e6d1995424ead9ea3313e3a9453ace4609085657 | /public/R/analisis_kmeans1.R | 4bdb6dbc1bfde687dd4238527970e846d6b99135 | [
"MIT"
] | permissive | ReynaldoBP/fci-prueba | 72cd1c4f48a04168ff667956165526de64aea4de | 39014df3bc3e2aa193be435931dc44f301d3d9e5 | refs/heads/master | 2020-03-27T18:23:44.496984 | 2018-08-31T06:22:39 | 2018-08-31T06:22:39 | 146,919,655 | 0 | 0 | null | 2018-08-31T16:54:10 | 2018-08-31T16:54:10 | null | UTF-8 | R | false | false | 999 | r | analisis_kmeans1.R | library(DBI)
library(RPostgres)
args <- commandArgs(TRUE)
#parametros
usuario <- args[1]
cluster <- args[2]
#conexion a la base
conn=dbConnect(RPostgres :: Postgres (),host="52.38.27.79",port="5432",dbname="datos_gye",user="postgres",password="admin1234")
#Concatenar usuario
query<-"SELECT latitud,longitud FROM pub... |
41d59b048fdee794517aab5d7c2a10a417daa5b9 | b2f61fde194bfcb362b2266da124138efd27d867 | /code/dcnf-ankit-optimized/Results/PCNF-TRACK-2018/E1/Database/cycle_sched_6_7_1.sat/cycle_sched_6_7_1.sat.R | 68259127ff3908940d7549ac841f207747d6f2d5 | [] | no_license | arey0pushpa/dcnf-autarky | e95fddba85c035e8b229f5fe9ac540b692a4d5c0 | a6c9a52236af11d7f7e165a4b25b32c538da1c98 | refs/heads/master | 2021-06-09T00:56:32.937250 | 2021-02-19T15:15:23 | 2021-02-19T15:15:23 | 136,440,042 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 73 | r | cycle_sched_6_7_1.sat.R | c82acbc0ee119805950ca5c55240b862 cycle_sched_6_7_1.sat.qdimacs 6733 20351 |
a69d3ca7977f0be3ae2a821905e122c382c1bd6d | 0982fb077cd59436811077b505d4377f7c3a3311 | /man/skcm.melgene.Rd | 912de96c59ca0552b1b30b3718081de29e0771b5 | [] | no_license | teazrq/orthoDr | c87a851477b84693b81905423cc7db32659dd795 | b009267a5b0124008711f556f1642f9fb880a5f2 | refs/heads/master | 2023-07-06T23:52:36.724019 | 2022-07-19T21:14:17 | 2022-07-19T21:14:17 | 106,500,687 | 7 | 8 | null | 2023-06-22T04:16:27 | 2017-10-11T03:24:50 | C++ | UTF-8 | R | false | true | 1,397 | rd | skcm.melgene.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/skcm.r
\docType{data}
\name{skcm.melgene}
\alias{skcm.melgene}
\title{Genes associated with Melanoma given by the MelGene Database}
\format{
Each row contains one subject, subject ID is indicated by row name.
Gene names in the columns. The co... |
c78096ec9a33172716b66a2c4c907a195cb26d59 | 42f0456d16992dfce9f767de1ab1fccd91f8abbd | /topics.R | fe4bc97f3785ee33ff00e5001b0bd0f1f9261ba5 | [] | no_license | matsuim/packages | 674f22340cc4ed68c43c61c7b46c853c278c5c92 | 0efca58a4b2a4b6c416aae57265e7af1c849598e | refs/heads/master | 2021-01-01T03:44:04.821665 | 2016-06-09T20:03:00 | 2016-06-09T20:03:00 | 59,582,143 | 1 | 4 | null | null | null | null | UTF-8 | R | false | false | 2,138 | r | topics.R | ## get descriptions
load("index.Rdata")
desc <- character(100)
library(RCurl)
for(i in 1:100){
url <- paste('https://cran.r-project.org/package=', index$package[i],sep='')
if(url.exists(url)){
cranpage <- readLines(url)
if(FALSE==TRUE %in% grepl("removed from the CRAN repository",cranpage)){
a<-grep('... |
a0592f255e20297d1d61b2363fc368122ad0c8f7 | 29585dff702209dd446c0ab52ceea046c58e384e | /CorReg/R/mixmod_adapter.R | 6def5e4ef784e7c124f37eb4e6b1a261aa224a4b | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 369 | r | mixmod_adapter.R | # 'adapting mixmod object to be more efficient in C++
# ' @param list from calcul_mixmod
mixmod_adapter<-function(mixmod){
res=mixmod
if(!is.null(res$details)){
mat=res$details[[1]]
if(length(res$details)>1){
for (i in 2:length(res$details)){
mat=rbind(mat,res$details[[i]])
}
... |
ea52e1706138348ebc68f4610566349d861ddeab | 36bace661ae4a427344d83ce6c5689f6c33c976f | /Experiment_2/Past_analyses/F6_BE_MS.R | 7dfb579eeebbaf6e8bc26ff86d984f0f0160647c | [] | no_license | rettopnivek/Gabor-priming-experiments | 0e204dd6f6d56ed1eefa3191509067231828843a | 38dde0c4194d00fd37d9245fa44f18f449780544 | refs/heads/master | 2020-04-15T09:43:43.716351 | 2019-01-09T01:17:34 | 2019-01-09T01:17:34 | 164,562,847 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,247 | r | F6_BE_MS.R | #---------------------------#
# Sequential sampling model #
# using hierarchical BE #
# Kevin Potter #
# 05/29/2016 #
#---------------------------#
###
### Initial set-up
###
# Clear workspace
rm(list = ls())
# Lookup - 01
Pilot = T
source('F3_Setup.R')
# Load in useful functions
lib... |
39a8e9605d77b1c23735f14304945936c6482aab | 2fa07606b645d93511efe906e54be8b84811d33b | /00_data_prep.R | 986a869a0b67d51d16f166707841794bedd143a3 | [] | no_license | kurtzx/Google-Analytics-Customer-Revenue-Prediction | 4b5234dd1e22559d48a78f8e7f73a04f2bc22b71 | 788635fd92d384ca785b0efeabf473f8fa4d64dd | refs/heads/master | 2020-03-28T19:47:45.220650 | 2018-10-08T17:03:54 | 2018-10-08T17:03:54 | 149,010,356 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 974 | r | 00_data_prep.R | library(jsonlite)
library(dplyr)
library(purrr)
library(tidyr)
raw_data <- read.csv("Raw Data/train.csv", stringsAsFactors = FALSE)
#device
df_device <- raw_data %>%
select(fullVisitorId, device)
df_device_p <- df_device %>%
mutate(device = map(device, ~ fromJSON(.) %>% as.data.frame())) %>%
unnest(device)
save... |
ec898edd732f5f7cf9cce8c7dcb89841a4a4ae19 | 80d053a041d0e7db3092ec636a02e0d222c661f6 | /randomforest/RandomForest_clean.r | f97e28ad6c37e25fcb0fe938e5fc302277480777 | [] | no_license | abenc/MachineLearningProject | a2793902ed6e526f7a955f30ba03bd503513adf4 | 2960ff83699a8384b111b3b82b426f72d443b82f | refs/heads/master | 2021-01-12T01:16:00.733590 | 2017-01-09T19:29:05 | 2017-01-09T19:29:05 | 78,361,216 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,568 | r | RandomForest_clean.r |
library(data.table)
library(caret)
library(pROC)
load("../data_processed/projetDataBase.Rda")
projetTrain = sub.projetTrain.base
projetValid = sub.projetValid.base
set.seed(30)
split = sample(nrow(projetTrain), floor(0.1*nrow(projetTrain)))
sub.train = projetTrain[split,]
sub.test = projetTrain[-split,]
cont... |
e3d67d472d5ca5675156a9ef8c766d71106de6b5 | 28750d2d90cb45173a956cc8542ebda0d076e6dd | /Regressions.R | fbe4b4a9621e02ad5d462d207ea62dd75d0a0f81 | [] | no_license | DrSnowtree/MINCOME | 994e1060e84aba0d5944b8ead720b4eae8512534 | aa8f41cae82b995e3290e56a6487dc9c71ca04e9 | refs/heads/master | 2021-07-25T20:26:21.767288 | 2020-09-22T13:50:57 | 2020-09-22T13:50:57 | 220,972,475 | 0 | 0 | null | 2019-11-19T13:51:34 | 2019-11-11T12:04:15 | null | UTF-8 | R | false | false | 1,089 | r | Regressions.R | #Regressions
library("aod")
library("compareGroups")
library("data.table")
library("gtools")
library("haven")
library("dplyr")
library("tidyr")
library("tidyverse")
library("lubridate")
library("data.table")
library("foreign")
library("quantmod")
library("zoo")
library("plm")
library("gplots")
library("stargazer")... |
e3ebd0c3295cf3d31ffc07caa2242c56c27ca99c | 60dffdc12c12478b469d78cf4cfe5ee148107dd4 | /man/expandBound.Rd | 1c7b47c07df355bbfa0824d8ab6942ae42d09dce | [] | no_license | cran/evian | dab851281636703b01c062b148327ceed16b7c28 | e65295408da03281978691febd50c92657d972ea | refs/heads/master | 2020-03-27T03:58:07.273598 | 2019-05-23T15:30:03 | 2019-05-23T15:30:03 | 145,902,356 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,244 | rd | expandBound.Rd | \name{expandBound}
\alias{expandBound}
\title{A recursive function that expands the grid search for MLE.}
\description{
This is an internal function that finds the proper boundary of the grid.
}
\usage{
expandBound(data,bse,parameters,formula,m,k,family)
}
\arguments{
\item{data}{a data frame inputted from the ma... |
b550858455e049e2c55f74bc70ca921fc33e8ebf | 16f9d05fa1d0b6aadd313cc2896d7730d0e0d7c6 | /RGtkGen/man/generate.Rd | bb3602e662f2bcd2a9fe10e8bb2d92f0f99e3b16 | [] | no_license | statTarget/RGtk2 | 76c4b527972777c567fb115587418f9dea61bf29 | 42c2d5bc7c8a462274ddef2bec0eb0f51dde1b53 | refs/heads/master | 2023-08-24T05:13:35.291365 | 2021-10-24T18:27:46 | 2021-10-24T19:24:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,671 | rd | generate.Rd | \name{genCEnum}
\alias{genCEnum}
\alias{genFieldAccessor}
\alias{genFieldAccessorRCode}
\alias{genFieldAccessorCCode}
\alias{genFieldAccessors}
\title{Generate C code for accessors and enumeration elements}
\description{
These functions generate code S and C code to
acess slots or fields in a Gtk object from S.
}
\... |
ba81b70e8daf3bd30c0304bafeec6f3693063f30 | 5f790f7eda54dce691ebdcf8ddd0d19387697537 | /man/f.power.Rd | 764cf940c44209107472c1ab9293657657318b09 | [] | no_license | cran/haplo.stats | 7a86d3ee085a15cc82064b107d20a67299c14a4a | c62af35927ec027d06787467d53dffdb31081f14 | refs/heads/master | 2023-01-27T13:37:05.945272 | 2023-01-20T21:20:10 | 2023-01-20T21:20:10 | 17,696,595 | 1 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,022 | rd | f.power.Rd | \name{f.power}
\alias{f.power}
\alias{f.power.dif}
\alias{f.sample.size}
\title{
Power and sample size for the F distribution
}
\description{
Power and sample size for the F distribution given
non-centrality, degrees of freedom, alpha, N (for f.power), and
power (for f.sample.size)
}
\usage{
f.power(n, nc, df1, alph... |
95f7d7aeec7443b402fd3816abfaa92fab25cd13 | 8f913f0030270f754295256bf22ce6639385ea90 | /todo_cleansewithfire/singletrial_check/rangetie_rangeofcalcsd.R | 535c86475128119710e0bf7c31f1f7e6e24e9f30 | [] | no_license | stevenlangsford/contextprefs | da7ef74d68ff44b182fc21060af91cfb0da22dfb | 2b28f8fee3dd5dce91134e4270e80584398a4b22 | refs/heads/master | 2021-05-12T19:41:54.857330 | 2018-03-30T14:41:43 | 2018-03-30T14:41:43 | 117,043,068 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,313 | r | rangetie_rangeofcalcsd.R | rm(list=ls())
library(tidyverse)
library(jsonlite) #name clash with purrr 'flatten'
library(rwebppl)
##agentparams: fix for each trial
ppnt_calcsd = 5
ppnt_tolerance_prob = .011
ppnt_tolerance_payoff = 1.1
ppnt_orderror =.15
##modelparams: passed in with each row, just to avoid having multiple model files.
useord = TR... |
310e0a24fc829c2c1cee986a9c8e169b43bdcf58 | f94d3f773c156ade2ff9bde4853ec1b5ccbf4567 | /generalFunctions.R | 811f1794f9ced7c43002496c3a7345d1b086d4a2 | [
"MIT"
] | permissive | filipok/2012ROElections | 7dc00e3259e12381b66353586382aac6985d2151 | a2ad7c3257df8194e7cc064fb45f45e5d9a036b9 | refs/heads/master | 2021-06-04T21:19:24.442975 | 2017-12-18T15:12:46 | 2017-12-18T15:12:46 | 13,176,827 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 952 | r | generalFunctions.R | library("R2HTML")
vezi = function (x) {
#de la Georgian
file.remove( 'test.html');
HTML(x, file='test.html', row.names=TRUE, innerBorder=1);
system(' "C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe" "C:\\Users\\Filip\\Dropbox\\R_Work\\2012AlegeriRomania\\test.html" ', wait=FALSE )
}
beep = functi... |
ef579edaa6b0ba187ac477637d215f42eaa685ec | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/hypervolume/examples/hypervolume_threshold.Rd.R | ffa5d5d13e9aa64d3242534372a7aa79b54c6695 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 811 | r | hypervolume_threshold.Rd.R | library(hypervolume)
### Name: hypervolume_threshold
### Title: Thresholds hypervolume and calculates volume quantile statistics
### (empirical cumulative distribution function)
### Aliases: hypervolume_threshold
### ** Examples
## Not run:
##D data(iris)
##D hv = hypervolume_gaussian(data=subset(iris, Species==... |
34581e963b22e9039d9ee9deb8c038a88c8083f9 | 570e591d60bf106ee716b2e45c8d1ae40b057496 | /20180814_PersonalNetworks_cleandata1_code.R | 9d3ed5535fdb579e691ad64d750a23b0bc2ce6f1 | [] | no_license | AmarDhand/PersonalNetworks | 0d6e02d2bf75c6f8da0ed2fec8e2da7897e357ba | dd9556b06b1690b5258643711fd245bf3e8a0933 | refs/heads/master | 2022-01-31T00:24:55.853792 | 2020-05-12T13:31:53 | 2020-05-12T13:31:53 | 143,941,834 | 7 | 11 | null | 2021-10-13T19:27:46 | 2018-08-08T00:45:51 | R | UTF-8 | R | false | false | 12,694 | r | 20180814_PersonalNetworks_cleandata1_code.R | ################################################################################
# PROJECT: PersonalNetworks
# PURPOSE: Import raw data in REDCap form and convert it to R
# DIR: "~/Desktop/PersonalNetworks"
# INPUTS: Fake data created in REDCap ("20180806_PersonalNetwork_data.csv")
# Can be replaced wit... |
ac95beb6493089b73b1838d63398f71ceb34176e | e91cbf316b0a04cfbeada276c66fdd859ce6c565 | /R/AllClasses.R | 7dc7094f1af466e12dc44bcd95f1470041109d44 | [] | no_license | cran/nplr | 4549ed6b190e4c4f83a62f1b0fb6f743644a736c | 1cf4cda4e9bc29156f5eccd690a9488d66a45110 | refs/heads/master | 2021-01-13T01:35:47.637006 | 2016-12-28T15:38:22 | 2016-12-28T15:38:22 | 19,420,602 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,041 | r | AllClasses.R | # -------------------------------------------------------
## DEFINE nplr CLASS
# -------------------------------------------------------
setClass(
Class='nplr',
representation(
weightMethod='ANY',
x='numeric',
y='numeric',
w='numeric',
useLog='logical',
npars='numeric',
LPweight='nume... |
f8f0046bf0d4e12db35de4d032df35cb4c353698 | 82452e98d0c821491d36cec7c2e5d8977c0c45a2 | /functions/benchmark.R | 77fb9148a9f20874666f242e945dabf862ee17c4 | [] | no_license | LisaNicvert/EcoNetwork_public | 943b04e2a40451b5b25d5e4157e1dcb149684562 | 3081018355eda1a340dab840f9189bfc93c979c6 | refs/heads/master | 2022-07-19T11:41:04.456837 | 2020-05-28T14:36:38 | 2020-05-28T14:36:38 | 267,587,453 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,736 | r | benchmark.R | ########################################################
# Functions for model benchmark (synthetic data)
########################################################
library(igraph)
library(MASS)
library(PLNmodels)
generate_precmat <- function(n = 20, m = 3, u = .1, v = .3,
gr, names){
# ... |
64343cec751caa636166f64e57910d75255cbf83 | fde3ff3a39c60bcf5b7537ff3adf24c40055c410 | /mona.R | a9b28c4bda1967bced2ea25f2c8f4fd23990ec09 | [] | no_license | jrevenaugh/Shiny | cb04ebebbb86513fc7c24ad6e83d72c171aeb669 | 3e69759d6470ccd487514e788d7c89d5dc417531 | refs/heads/master | 2020-03-29T08:27:19.779486 | 2017-06-22T21:26:08 | 2017-06-22T21:26:08 | 94,667,027 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,188 | r | mona.R | # Mona - Shiny app illustrating the use of the SVD as a 2D filter.
# Useful for demonstrating principal components.
#
load( file = "~/R-Studio/Projects/Shiny/Mona Lisa/mona_mat" )
require( tidyverse, quiet = TRUE )
require( shiny, quiet = TRUE )
theme_set( theme_bw() )
options( warn = -1 )
pal <- gray.colors(... |
5d75d7f7fd55f03690ff0ab77a66b58705364c55 | edd3c6adae39948e5a3820b8f8e86bd8c7df5585 | /errorRateFromBg/numberOfTCConversionsPerStage.R | 020e7b96717a1186c1dda7a63f5d0d700b9578bb | [] | no_license | poojabhat1690/dr_annotation_errorcorrection | 7317173e7d6b491147351b186462c8366b725943 | 26515f03b79de0d92ea3e017a9749c2f88b3bc63 | refs/heads/master | 2020-03-28T13:56:08.090229 | 2018-09-12T11:54:04 | 2018-09-12T11:54:04 | 148,443,162 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 18,097 | r | numberOfTCConversionsPerStage.R |
library(RColorBrewer)
#### finds the number of reads with TCs in the untreated samples
####### it is better to run the first part on the cluster.
# untreatedFiles = list.files(path ="////groups/ameres/Pooja/Projects/zebrafishAnnotation/sequencingRun_december2017/analysis/annotation/stageSpecific/outputs/probabilit... |
f40400bea05867f6061e8e111dfd5e9451c25145 | 851e9aa210c2e711ad2813b4c145dbeeed482085 | /tests/testthat/test_radioactivePlumes.R | ae121d6a9a32c761a4323a7b9c13bc6f42d83f6f | [] | no_license | KristinaHelle/sensors4plumesTests | 6f7b9a77ebc6e47ad9020b8929ba8fe172ef7c94 | ca8ee8e2d34044190db769512c44f38403c7502d | refs/heads/master | 2020-12-31T00:01:17.838547 | 2017-03-29T13:16:14 | 2017-03-29T13:16:14 | 86,583,351 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 324 | r | test_radioactivePlumes.R | #################################################################
# test radioactivePlumes_area #
# test radioactivePlumes_local #
#################################################################
data(radioactivePlumes_area)
data(radioactivePlumes_loca... |
95e29836504ca43b0bcad3a479b80906b0131a2e | 246995b2eed46fdc5fe53d6b398ac34020b1c7fe | /App/server.R | fbf520e163d014822cccbb6a1fd63a3197676a70 | [] | no_license | aspeijers/AB-testing | c04e2802fb72f28bafed0e8cca7666816744e3b8 | c46c9c8d0b615ba8ca64238c8c8c67040d5096ab | refs/heads/master | 2020-07-02T09:53:23.293828 | 2016-11-30T14:11:27 | 2016-11-30T14:11:27 | 74,311,738 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,177 | r | server.R | # load packages
if (!require("ggplot2")) install.packages("ggplot2"); library(ggplot2)
shinyServer(function(input, output, session) {
# calc sample size
n <- reactive({
( qnorm(1-input$signif/100)*sqrt(input$p1/100*(1-input$p1/100)) -
qnorm(1-input$rel/100)*sqrt(input$p2/100*(1-inpu... |
52b63fc71312dcb1d282d20a055cd3fdc55980ef | ea27a419137fd54440b795e2a530605b62e83e70 | /flashdrive/Workshop2015 morning/script-03__plot-six-vars-at-once.R | 7fb97a1a007d0330bcb746901b71f32eebb2a82f | [] | no_license | fawda123/swmp_workshop_2015 | aec33e2865caf21e30beda0e6df93a649c89a0b6 | 7f2a08aabca0d52eb3cdaa506271092e71da6395 | refs/heads/master | 2021-01-10T19:16:30.024857 | 2016-11-11T01:04:41 | 2016-11-11T01:04:41 | 42,066,683 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,110 | r | script-03__plot-six-vars-at-once.R |
# CLEAR OLD GRAPHICS ... from the plot window only if the length of the device list (# of plots) is > 0
# Todd is only doing this to get rid of any old plots.
if ( length(dev.list()) > 0 ) { dev.off(dev.list()["RStudioGD"]) }
WQB <- read.csv("data_WQBCR.csv", header=TRUE)
#WQB <- read.csv("data_ACEBB.csv", header=T... |
649ee87162eb4aa1767ec95f21ee951e7bfa5843 | 093cf42c7d4bee93e30a19382f3748d1bddc5adc | /week07/2_1_knn.R | e1b793014a14538d065ce11215d30d9b1dad8f6d | [] | no_license | Huride/radsp | 262dfa0e1888c240a59771d3390c14188e778ee7 | 23e3713d1f9b3891cdae5f89b8021905b4feedbb | refs/heads/master | 2022-12-05T16:02:11.174257 | 2020-08-19T09:58:44 | 2020-08-19T09:58:44 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,277 | r | 2_1_knn.R | # Visualising the Training set results
library(ElemStatLearn)
set = training_set
X1 = seq(min(set[, 1]) - 1, max(set[, 1]) + 1, by = 0.01)
X2 = seq(min(set[, 2]) - 1, max(set[, 2]) + 1, by = 0.01)
grid_set = expand.grid(X1, X2)
colnames(grid_set) = c('Age', 'EstimatedSalary')
y_grid = knn(train = training_set[, -3], te... |
4fb55557ae968ab48bf1e17bf841b1e69b7553a6 | ad43c7ffa288bd28ea6fcf77a2b70cff9632a55c | /classifier/analyse-decision-trees-nature.R | 76a71302bd7ffa2be800d54f862f0f692d61f264 | [] | no_license | plsm/assisi-domset-demonstrator | 9aad5acaf8484ab261e51a8fe444258ecaf02a03 | 9a5ef63224bd29a23d0b77a328e315bad7be6c57 | refs/heads/master | 2021-07-05T07:24:40.304924 | 2018-12-04T12:22:04 | 2018-12-04T12:22:04 | 131,604,714 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,810 | r | analyse-decision-trees-nature.R | library ("data.table")
library ("ggplot2")
analysis <- fread ("analysis.csv")
read.repeat.data <- function (
filename
) {
cat (sprintf ("Reading %s\n", filename))
result <- fread (
input = filename,
col.names = c (
"time",
"run",
"criterion",
"max.depth",
... |
a38c3f691ebf97b0b47b555e10960a3ba8f81827 | fe9692171a1235ee5fd37ae4cf27e4498505cfe9 | /parFunctions.R | 206eb0ebcfb66edaa09119113ea80bb48bdf8a43 | [] | no_license | samueldnj/SableIBM | d13c21fa0ae001b8c76ee4ef7aa446184b1d85d8 | 1377ca15b3fed19bfde0ed79919c2b73ea148428 | refs/heads/master | 2020-04-04T00:00:53.865174 | 2015-10-28T15:24:29 | 2015-10-28T15:24:29 | 33,518,554 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 26,211 | r | parFunctions.R | #--------------------`-------------------------------------------------
#
# REM612 Project Script - parallel functions
#
# Author: Samuel Johnson
# Date: 19/1/15
#
# This script contains the functions used inside parallel processes
# for the fishing script.
#
#-------------------------------------------------------... |
02b2f86f3a8f061a1385defa2d06bcd3fd017567 | 93de29e4e74c3858bdee8830ac5c929badfea54d | /inst/Bootstrap/app-orig.R | d35c1b07359bf13aa45089bed3d8d365273ac214 | [] | no_license | dtkaplan/LittleApp2 | cab5fff8cbf28eb1d117fbd63edf5ae599748d11 | 5206c42537e4c54f27480fd6e954d91962ed958c | refs/heads/master | 2021-06-30T03:25:26.777628 | 2020-06-26T17:58:03 | 2020-06-26T17:58:03 | 238,554,054 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 913 | r | app-orig.R | library(shiny)
library(shinyWidgets)
library(shinyjs)
library(miniUI)
library(ggplot2)
library(ggformula)
library(LittleApp2)
library(dplyr)
library(triola)
library(sullystats6e)
library(mosaicData)
library(StatsUsingTechnologyData)
library(openintro)
library(Lock5Data)
options(warn = -1) # suppress warnings so log d... |
4909cffa3c0c39ef851d1bac4a68cd7213c3db0e | 536309765aee39452c0c896ab7deb082b453b844 | /meta-analysis-generation_new.R | 05ae62263504af7ead05355f05bbaa633e147128 | [] | no_license | sachsmc/MultipleImputationForSurrogates | 52c8a0b885d49f385110138b35ede6c3069b8fba | 0ad40a50bc142744660684c04f636f1ae8a02780 | refs/heads/master | 2021-01-01T06:55:14.215500 | 2013-09-15T17:10:40 | 2013-09-15T17:10:40 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,994 | r | meta-analysis-generation_new.R |
samp.data.binary <- function(TE, sigma = c(1, 1, 1), mu = c(0,2,2), inc.placebo, nnn, beta.S.0.0=0, beta.S.0.1=0, beta.S.1.0, beta.S.1.1, beta.W.0=0, beta.W.1=0, rhos1W, rhos1s0, rhosoW){
require(MASS)
Sigma <- matrix(c(sigma[1]^2, rhos1s0*sigma[1]*sigma[2], rhosoW*sigma[1]*sigma[3], rhos1s0*sigma[1]*sigma[2],sigm... |
348e708e215499d0fecc067a62cdb2cac837204e | e5496bc9088c66ba5b9aba0b21df987f190847d8 | /R/classify.R | 099a19f036e7e519d2cdfdb285525d15b5d4f5bd | [] | no_license | LeoPete83/minds_eye_forest | 62abdd8014ab246867c1e50d98d650b2f755dd0e | 303973f2bcf14a6f7e4d392b01e170e40d3ffa0b | refs/heads/master | 2018-03-07T12:06:05.688807 | 2008-10-30T04:42:06 | 2008-10-30T04:42:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,956 | r | classify.R | # assumptions:
# images_folder -- contains the name of folder of images we're going to classify
# forests_folder -- contains the name of the folder containing the group of forests we're going to use
# r_directory -- the base folder for the R scripts used in this script
# results_folder -- folder to store the r... |
8cde4672952d17965c1107ef86702932f9b8303c | d4d79819bd7250d08ff805eb7415db8e356f9344 | /man/train.Rd | 449ec7abe942694081b821c5435d1d1aeb61869f | [] | no_license | mvaniterson/wbccPredictor | aba43dfa4a6e4cc354b10a317b400317de63b201 | a4082a7b4c934917714bf0da3eca103894298fc1 | refs/heads/master | 2019-08-09T12:41:50.419181 | 2017-11-20T13:31:49 | 2017-11-20T13:31:49 | 111,414,168 | 3 | 0 | null | null | null | null | UTF-8 | R | false | true | 903 | rd | train.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/training.R
\name{train}
\alias{train}
\title{train}
\usage{
train(data, covariates, cellPercentages, model = formula(cellPercentages ~
covariates + data), ncomp = 50, keep.model = FALSE, ...)
}
\arguments{
\item{data}{matrix with gene expre... |
5293d046ac691bcf518af9cd65323ba9c31f7d05 | d7629ee49c54708846411299b9efe174cffae655 | /tests/testthat/test-get_stations_info.R | f5def8e1249365e2f9d9239b092e38279143998e | [
"MIT"
] | permissive | dbandrews/noaastnr | 9d1a12b4ca2ef710919ab7943908e86caaeff21d | 522026593c2178a288120809cbcc55ea46c19e6e | refs/heads/main | 2023-03-24T04:56:21.208947 | 2021-03-20T19:33:24 | 2021-03-20T19:33:24 | 350,523,680 | 0 | 0 | NOASSERTION | 2021-03-22T23:53:10 | 2021-03-22T23:53:10 | null | UTF-8 | R | false | false | 3,094 | r | test-get_stations_info.R | usaf_len <- 6
wban_len <- 5
country_len <- 2
state_len <- 2
latitude_len <- 7
longitude_len <- 8
elevation_len <- 7
n_col <- 11
for (col_id in c("all", "US")){
stations_df <- get_stations_info(country=col_id)
row_id <- sample(c(1: nrow(stations_df)), 1)
print(row_id)
test_that("Dataframe should have 11 col... |
27a5e6c18e3f23427d10a087f12c9a1be42e67c6 | e5bddc0f7ae75dcf8f93ff3d620075077f93f00c | /hands on 1.R | 23a2901e9332b693a012a5cd8c7cfd83f194add1 | [] | no_license | AlinaKosiakova/namudarbas | b3000bb58c858feafd0f3d9c49b64b274ccf3e5c | 5685b5b1f981b756c8d5378c5b34505e1c212f91 | refs/heads/master | 2020-05-29T15:44:18.158237 | 2019-05-29T13:19:16 | 2019-05-29T13:19:16 | 189,229,407 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 683 | r | hands on 1.R | library(eurostat)
duomenys <- get_eurostat("namq_10_gdp", stringsAsFactors = FALSE)
library(dplyr)
duomenys_apdorotos <- duomenys %>%
filter(geo == "LT"|
geo == "LV"|
geo == "EE",
time >= "2004-01-01",
na_item == "B1GQ",
s_adj == "SCA",
unit == "CLV_I10"
)
... |
658a220c61398bf770cc12d839abb44715f39416 | 219bef690be341dd3da13958d25c7e4fda53a763 | /tourism_russia.R | 97d44af82a3859c8b2ae4c41320ed79f7e3fbf10 | [] | no_license | Temurgugu/tourism_transformation | 6a169b60bc0895a9141a541c5408d524db98e0cf | fba73c812d7600a92e26d66acfb5e96a54d87aba | refs/heads/main | 2023-08-25T11:38:07.852163 | 2021-10-02T17:43:45 | 2021-10-02T17:43:45 | 355,254,215 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,370 | r | tourism_russia.R | rm(list=ls()) # clear the workspace
#=== Temur Gugushvii ===
library(tidyr)
library(ggplot2)
library(tidyverse)
library(readxl)
library(hrbrthemes)
library(viridis)
library(plotly)
library(lubridate)
library(facetscales)
library(data.table)
event_names <- c(`i` = "",
`ii` = "",
... |
3321e06214438d2bc04e8eba6cf189ce9416b10c | db12b990924703cd74748d8585cd9c11fafa6746 | /h2o-r/h2o-package/R/datasets.R | a632c2e35dedce55841163a91afb220d8f829076 | [
"Apache-2.0"
] | permissive | h2oai/h2o-3 | 919019a8f297eec676011a9cfd2cc2d97891ce14 | d817ab90c8c47f6787604a0b9639b66234158228 | refs/heads/master | 2023-08-17T18:50:17.732191 | 2023-08-17T16:44:42 | 2023-08-17T16:44:42 | 17,371,412 | 6,872 | 2,345 | Apache-2.0 | 2023-09-14T18:05:40 | 2014-03-03T16:08:07 | Jupyter Notebook | UTF-8 | R | false | false | 3,075 | r | datasets.R | #' Australia Coastal Data
#'
#' Temperature, soil moisture, runoff, and other environmental measurements from
#' the Australia coast. The data is available from https://cs.colby.edu/courses/S11/cs251/labs/lab07/AustraliaSubset.csv.
#'
#' @docType data
#' @keywords datasets
#' @name australia
#' @format A data frame w... |
eb84ebf2881ddbd24dd9838a7f8adc525c63ab5a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/cpk/examples/cmax.fn.Rd.R | eea67c834b75a0d3fdcbbbcd169b6ac6ee288566 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 192 | r | cmax.fn.Rd.R | library(cpk)
### Name: cmax.fn
### Title: *cmax* function
### Aliases: cmax.fn
### ** Examples
f = 0.74; dpo <- 3440; vd = 2.8; ar = 2.4; wtkg=86;
cmax <- cmax.fn(f, dpo, vd, ar, wtkg)
|
a59a4891063195c127b0af52220ec673aecc480d | 4cb331b1a36fc2e9e972cd00b09669e38b10bf7e | /R/ROAD.R | 1a52f3ae4073dd2877fce7fa1114495b509a1755 | [] | no_license | cran/TULIP | b199c02c7e00fcb0acb5f2e90c6af58beea31064 | 0b771e74a228909ea4c3d087655d56e1bb36f220 | refs/heads/master | 2021-06-22T04:41:48.775140 | 2021-01-04T16:10:06 | 2021-01-04T16:10:06 | 180,469,922 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 679 | r | ROAD.R | ROAD <- function(x, y, standardize = FALSE, lambda = NULL, eps = 1e-07){
obj <- dsda(x, y=y, standardize=standardize, lambda=lambda, alpha=1, eps=eps)
p <- dim(x)[2]
n <- length(y)
nlambda <- length(obj$lambda)
beta <- obj$beta[2:(p+1),]
lambda <- obj$lambda
newbeta <- beta
newlambda <- lambda
m... |
c4fb7f8df0d8596d328d46b5cad34d71c03fae13 | 4113f644f89d87cd5355db807a414e0fe669577b | /R/Sum.R | 3eb8496f4632547a72ca0d9c3edfda433c553e3b | [] | no_license | Aulide81/Descriptives | 42784cc05c935675246a2764959aa4a855bd12ca | 86ed1d9dd33fec577208cdfe15bd06860460c8ca | refs/heads/master | 2021-05-15T04:19:47.743179 | 2018-02-08T13:46:11 | 2018-02-08T13:46:11 | 119,438,697 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 93 | r | Sum.R | Sum<-function(x,w){
if(missing(w)){
sum(x,na.rm=T)
}else{
sum(x*w,na.rm=T)
}
}
|
90e100b466b6671c7520b261fb4c5d22bc3f20b0 | 4cb026d08546b07985505db16871ffb5a9e6a915 | /man/cctcat.Rd | 7286b34f3845f4d81be411ef13afff8c776c2726 | [] | no_license | cran/CCTpack | da689021e33c1cf7c37bd5cf55626ceff177ba9c | 37e284813e8d7fa882c8767b71ed9487e150ffc7 | refs/heads/master | 2021-03-13T00:05:34.595876 | 2017-10-10T10:09:58 | 2017-10-10T10:09:58 | 17,678,242 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 859 | rd | cctcat.Rd | \name{cctcat}
\alias{cctcat}
%- Also NEED an '\alias' for EACH other topic documented here.
\title{
Accessor function for the model-estimated category boundaries (obtained from the model applied to the data). Applicable for the LTRM model only.
}
\description{
Outputs a table read out of the category boundary p... |
eb4180e06234ab76e0080c9559930d3ad6fffa25 | 582ced3e41fa163afa55dc913c48ed6ed87472ac | /R/incomp.R | 0bbd27920dac4975b72d8593222a69d0a1fde6c5 | [] | no_license | cran/parsec | 70c8651b851fdf0ffbda532ee8c8b6d16571f929 | a92f381f2df1aa8c058c26eb6da052910bc64756 | refs/heads/master | 2023-09-06T06:50:44.609182 | 2023-08-19T13:40:02 | 2023-08-19T14:30:52 | 37,854,653 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 44 | r | incomp.R | incomp <-
function(z) UseMethod("incomp")
|
3b61f39cff98f88e35baf0ef810b14d44d4d1f2b | c832ad6abdd00ded197d9661b7958cf5e7b19d05 | /r/fatmed.R | 37588f5915b288688e70537bf67fbd41b5787f8f | [] | no_license | tuhulab/bfi-wholegrain | e0c1472f2e7ac108caedaa93e5d97b7281730dc8 | bba047bf9a1b234a7a947352fef5cff6a73573c7 | refs/heads/master | 2022-03-13T15:22:52.932704 | 2019-10-01T19:43:07 | 2019-10-01T19:43:07 | 159,833,198 | 0 | 1 | null | 2019-04-25T14:25:47 | 2018-11-30T14:14:52 | TeX | UTF-8 | R | false | false | 2,977 | r | fatmed.R | #.libPaths("C:/Program Files/R/R-3.5.3/library")
library(tidyverse)
library(xcms)
library(readxl)
#configure parallel computing
# registered()
# register(SerialParam())
###########configure parallel computing###########
register(SerialParam())
#register(SnowParam(workers = 6))
######################################... |
c84b0bd7d19aa146cd79a5ffac1dc4a4f0dfbf58 | b81875d1dc66033329e6e82914cd08727dffc8bf | /R/normgcp.r | ec45024b1386b0c2e9509e3a8b00dac0bcf26116 | [] | no_license | cran/Bolstad | b4cb3d49c8edca8ebcc51fe89539a3d144e8de32 | 3dc15d83e44e4e5e120e91465ae7ca213ba4e699 | refs/heads/master | 2021-01-21T00:52:47.450624 | 2020-10-05T05:50:02 | 2020-10-05T05:50:02 | 17,678,157 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,308 | r | normgcp.r | #' Bayesian inference on a normal mean with a general continuous prior
#'
#' Evaluates and plots the posterior density for \eqn{\mu}{mu}, the mean of a
#' normal distribution, with a general continuous prior on \eqn{\mu}{mu}
#'
#'
#' @param x a vector of observations from a normal distribution with unknown
#' mean a... |
acadc5e401e8de9314bfa82b6f6b0cad5502b424 | 6b8ca121b708901a0014cdbbd9a45d3d8a129bc3 | /man/stk.Rd | 16a3cb7f20876baa12b6240412d1fa26e03fade9 | [] | no_license | KVIsweco/DataBlauwgraslandRome | 1633c6a808bbb44a3f942d2fe7456e8df16b02d1 | f87fc6e563e39bf1f1bec12c76986d9c3d1119bc | refs/heads/master | 2022-08-22T13:09:30.718995 | 2020-05-25T07:11:31 | 2020-05-25T07:11:31 | 263,053,132 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,060 | rd | stk.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{stk}
\alias{stk}
\title{stk}
\format{
An object of class \code{RasterStack} of dimension 771 x 386 x 9.
}
\usage{
stk
}
\description{
Kaarten met informatie over het gebied 'Rome' (Friesland).
}
\details{
\itemize{... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.