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
ba46edb97b7335f3623e4a22265e6450c3e1911f
e7723850062b82014898b1626e1c6353b407d5e8
/man/extract_model.Rd
5e88eb414d1820d1745ac4a885f29b0b38dcb8b7
[]
no_license
d3m-purdue/d3mLm
79431d0ca62c1a8a7a0b18a0700c4ca88c16b526
11f9f3d7daa2c60fb69844868d9fad436494ffb7
refs/heads/master
2021-01-20T18:04:14.601327
2017-09-21T15:04:15
2017-09-21T15:04:15
90,900,432
1
0
null
null
null
null
UTF-8
R
false
true
649
rd
extract_model.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lm.R \name{extract_model} \alias{extract_model} \title{Extract linear model diagnostics} \usage{ extract_model(x, ..., data = stats::model.frame(x)) } \arguments{ \item{x}{linear model object of class 'lm'} \item{...}{items passed to update_...
d69022ca27297bdf5526e7606d795dbb1f3ba8f3
96f7ffe9c1e24aae5f45a4de15b0e2d6e68ee477
/ex_14_4.R
b503fdd32017971cd1ae34bc9de4e215f4dc5e3b
[]
no_license
lukaszgatarek/bayesianEconometricMethodsKoop
67fa714750098d71f2a3426d2d327ea3a893d8c3
cf08856d6f238841f1da5533b4d93ec84bd1a053
refs/heads/master
2020-03-15T01:10:41.004438
2018-05-17T17:51:53
2018-05-17T17:51:53
131,887,182
0
0
null
null
null
null
UTF-8
R
false
false
5,493
r
ex_14_4.R
# implementation of exercise 14.4 from Koop et al. Bayesian Econometric Methods ## posterior simulation in the panel probit model rm(list = ls()) require(mvtnorm) require(msm) require("PerformanceAnalytics") # simulate from the data generating process T <- 50 # number of explanatory variables in latent variable equat...
b11c3a1ee8141febd951a4064aeb42713d72f072
94304ae0875d0c6164922de503a12b13add2d2d1
/R/check_that_compiled.R
695974c88ecae7e9c6c184f15aaa54cf7dbdd3d9
[]
no_license
alexander-pastukhov/eyelinkReader
279482e7de0ef456bfde2b8fda56b27370eee385
e915798bb56b2ce46883536a379d4127812fef8b
refs/heads/master
2022-10-19T22:09:20.088415
2022-09-27T08:53:41
2022-09-27T08:53:41
134,551,196
9
2
null
2023-09-05T15:58:07
2018-05-23T10:10:00
R
UTF-8
R
false
false
946
r
check_that_compiled.R
#' Checks whether EDF API library was present and #' interface was successfully be compiled #' #' @param fail_loudly logical, whether lack of compiled library means #' error (\code{TRUE}), just warning (\code{FALSE}), or silent (\code{NA}, #' for test use only). #' #' @export #' @return No return value. Stops the compu...
38d402366f189f2ee413993179c70638fede6c70
4c0d6f649306f4800bb7164e1daf04b86dcc5358
/IM4D_Voronoi_HSR.R
de457a5416b2407041bc4bbb61177574231c133b
[]
no_license
TANGJunPro/IM4D
61518867f1b3d83daf0575dead19898ecff4975c
e3a836bae45b7556a3823bd1873cef0e3cad3f36
refs/heads/master
2022-11-25T08:24:11.494023
2020-07-29T04:03:04
2020-07-29T04:03:04
null
0
0
null
null
null
null
UTF-8
R
false
false
2,201
r
IM4D_Voronoi_HSR.R
##################################### # Dummy for Dummies---Lecture 3 # # Voronoi Diagram # # Lecturer: SHI Shuang # ##################################### #install.packages("ggvoronoi") #https://dataverse.harvard.edu/dataset.xhtml?persistentId=doi:10.7910/DVN/JIISNB library(tidyverse) library(readxl) libra...
f5f0aa65967b99c185cb8bc3bda495b8fda6b650
7a816abc129b2353103cb1098555ca81e1873c44
/tests/testthat/test_get_gage_forecast.R
e0428e191be1e701abcec852439a4129fc7c0e25
[ "CC0-1.0" ]
permissive
mpdougherty/rahps
22e45ef78832ba3427db082506ad90b6bdeb235e
b3dc72527d73aa15b62db3848e7cf985588894e5
refs/heads/main
2023-04-12T11:16:08.934332
2021-05-18T22:20:56
2021-05-18T22:20:56
368,174,811
0
0
null
null
null
null
UTF-8
R
false
false
391
r
test_get_gage_forecast.R
library(rahps) library(XML) library(xml2) library(dplyr) gage_id <- "canm7" gage_file <- file.path(system.file("extdata", "canm7.xml", package = "rahps")) gage_forecast_df <- get_gage_forecast(gage_id, gage_file) test_that("check data structure", { expect_true(is.data.frame(gage_...
d468b32f324121a313e2e017ef26074c61da4028
eb07a38895136311fe2e83789d010b42f4b73947
/mike/modelbased/pheno2numeric.R
78b4b2d066ad543e8b72b09427abaa8c5d35e204
[]
no_license
samesense/tozerenlab
6f1fb94e14fe2d2f27e6ff687365e8c19f5f60c4
bac483ccf8fb00f7f170e789c39c9ed2f3cd75e5
refs/heads/master
2021-01-10T18:44:28.575988
2010-05-16T05:03:35
2010-05-16T05:03:35
32,263,874
0
0
null
null
null
null
UTF-8
R
false
false
544
r
pheno2numeric.R
pheno2numeric<-function(phenotype){ #Convert phenotype information from string format to numeric #Inputs #phenotype[n,1] = phenotype information for all samples #Outputs #List with two components: #pheno[n] = phenotype in numeric format #types[nphenotypes] = key linking number to string #nphenotypes = n...
b5e28c7bd4d8b49b24311e83370e0778ffb3b8d4
8289fd6c2315dd84a2abc443e56c33eb09fd6346
/Applied Econometrics/maxwell/replication/1_samples.R
c99bb03b196f39aa0bc483c0fdb1a34e8d3b8e32
[]
no_license
elmerli/econometrics-essential
826f9f2f3d2f46a1d1f3b262cf25fb0161b16025
45d6f8d0e21c9393a97312bdaf65d19f1c3a6024
refs/heads/master
2023-08-05T00:10:56.285099
2020-05-14T03:16:55
2020-05-14T03:16:55
null
0
0
null
null
null
null
UTF-8
R
false
false
5,013
r
1_samples.R
# 1_samples.R # Maxwell Austensen # AEM Replication # NYU Wagner # 19-12-2016 library(tidyverse) library(haven) library(stringr) library(feather) library(knitr) library(broom) library(sandwich) # load function to assign poverty threshold source("get_pov_threshold_1990.R") raw <- read_stata(str_c(raw...
38d360ca44aa86b7c24d522dba977274e2dfcc37
35dd8e7238c83180c5b025d4994271627264b5f9
/functions.R
fd9d1a1ff336e00254c21213d3cfba28df475f49
[ "Apache-2.0" ]
permissive
finarb/k3d3
d07ac0ca66fb67640d25b2322542840f869f7543
c6c5520fead2817746ac9b7e8ce6087cee4408ed
refs/heads/master
2022-04-28T08:25:00.214855
2022-04-14T05:24:54
2022-04-14T05:24:54
83,480,892
0
0
null
2017-02-28T21:27:29
2017-02-28T21:27:29
null
UTF-8
R
false
false
1,096
r
functions.R
findValues <- function(df){ #dframe <- as.data.frame(rep(1,length(which(df$parent_name == df$node_name[1])))) dframe <- as.data.frame(df$node_name[2:(length(which(df$parent_name == df$node_name[1]))+1)]) colnames(dframe) <- "name" dframe$name <- as.character(dframe$name) # Go through each node, fi...
d48642b26c6eb42868cf3b705e36b7abd386f0ff
7e57133cd2ace6c4d7673274f776696a73435712
/Lab6/R/Lab6-internal.R
ffb23e2fd5aebf260963347f4846a8e897dc27ec
[]
no_license
5uriya/Lab6
612ff626077026df0ad6403f95ab2b18c9b99142
e1181ff15256f3bf29b0a4997d1fd236ace372c8
refs/heads/master
2021-07-21T16:34:53.159669
2017-10-30T15:59:12
2017-10-30T15:59:12
106,200,058
0
0
null
null
null
null
UTF-8
R
false
false
8,259
r
Lab6-internal.R
.Random.seed <- c(403L, 10L, -237827430L, 1848592613L, -1317946753L, -2060409850L, 1184675728L, 1210546739L, 512143825L, 2117579648L, -668766626L, 944788905L, -1587530661L, -388723606L, -1854450420L, 1941321551L, 699376645L, -2020844868L, -910169198L, -86644595L, -1344835897L, 368437166L, 984314376L, 1135572491L, -...
6830f895a78495e749e6ee7abf300de0d5a8267c
c9e0c41b6e838d5d91c81cd1800e513ec53cd5ab
/man/gdkDisplayPointerIsGrabbed.Rd
dd53ce12c69ad4addaf0c7c0fc6cc239e554dacc
[]
no_license
cran/RGtk2.10
3eb71086e637163c34e372c7c742922b079209e3
75aacd92d4b2db7d0942a3a6bc62105163b35c5e
refs/heads/master
2021-01-22T23:26:26.975959
2007-05-05T00:00:00
2007-05-05T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
448
rd
gdkDisplayPointerIsGrabbed.Rd
\alias{gdkDisplayPointerIsGrabbed} \name{gdkDisplayPointerIsGrabbed} \title{gdkDisplayPointerIsGrabbed} \description{Test if the pointer is grabbed.} \usage{gdkDisplayPointerIsGrabbed(object)} \arguments{\item{\code{object}}{[\code{\link{GdkDisplay}}] a \code{\link{GdkDisplay}}}} \details{ Since 2.2} \value{[logical...
0dd78213a481911b013d3b851624a01ac1ca5e12
ece0486d37f96aa4b1d1537b04320b1fd427d51d
/R/select.cov.R
ea7ff7659ffb9d71a15312be1bcc60d3c00aba94
[]
no_license
superggbond/multilinear
55e258a41b32fe18bfe9d7cd8a0f5d7d09124696
f3d4ae04a9eb81b664df1487537916973d8bfabd
refs/heads/master
2023-01-22T14:43:18.801191
2020-11-27T02:31:07
2020-11-27T02:31:07
316,322,015
0
1
null
null
null
null
UTF-8
R
false
false
538
r
select.cov.R
#'select.cov #' #'Select covariates passing a given threshold of significance #' #'@param res the result object from mlr function #'@param alpha the given threshold of p-value, default is 0.05 #' #'@return A vector of names of selected covariates #' #'@examples #'data(longley) #'obj = mlr("Employed", c("GNP.deflator","...
b8399eb6289b76d052b9b52360588f5b85ad8640
63caf4d9e0f4b9c9cb5ab101f5795a94f27d575d
/man/swSoundAbsorption.Rd
571e99114785e4f9a71bdb1103978bf07a34bd87
[]
no_license
marie-geissler/oce
b2e596c29050c5e2076d02730adfc0c4f4b07bb4
2206aaef7c750d6c193b9c6d6b171a1bdec4f93d
refs/heads/develop
2021-01-17T20:13:33.429798
2015-12-24T15:38:23
2015-12-24T15:38:23
48,561,769
1
0
null
2015-12-25T01:36:30
2015-12-25T01:36:30
null
UTF-8
R
false
false
2,161
rd
swSoundAbsorption.Rd
% vim:textwidth=80:expandtab:shiftwidth=2:softtabstop=2 \name{swSoundAbsorption} \alias{swSoundAbsorption} \title{Seawater sound absorption in dB/m} \description{Compute the sound absorption of seawater, in dB/m} \usage{swSoundAbsorption(frequency, salinity, temperature, pressure, pH=8, formulation=c("fisher-si...
3187e0a28e885b43685f8b0607b61206a08bdc9c
f6d161ff467ede155da635bb9e69ba99cc53b601
/man/bball.Rd
dfe2616c03eaf6f1e81e2f36f7d7bda238400c9d
[]
no_license
jalapic/ratingsR
09ea74787c952b07fbedcd6e26ac5e012f3c4e0b
e3acadb745838c5e297ed4ce28eaa11efbd6bd3c
refs/heads/master
2020-05-22T05:33:36.742972
2017-03-11T20:27:07
2017-03-11T20:27:07
84,674,052
1
0
null
null
null
null
UTF-8
R
false
true
494
rd
bball.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bball.R \docType{data} \name{bball} \alias{bball} \title{Example Basketball Results dataframe} \format{A dataframe with 10 rows and 4 variables: \describe{ \item{team1}{Home team name} \item{team2}{Visiting team name} \item{t1}{Points s...
713856a98bb930e5b23ef8940e0d4152c7bcb6eb
3b62fb6cfb2a9de90945a98849fd9354751d4432
/results/assignments/Assignmnent_corrected.R
06b6a17191f77c50a39509a8e8d930f57ea68261
[]
no_license
Rajani462/eda_rhine
490b2e9e55eaabff28103b91285f81d1979edf3e
95cdefc003f26c49e4d948d0716845d4fd527f67
refs/heads/master
2022-05-10T11:57:15.604207
2022-03-23T08:53:54
2022-03-23T08:53:54
253,453,477
0
0
null
2020-04-06T09:36:45
2020-04-06T09:36:44
null
UTF-8
R
false
false
3,599
r
Assignmnent_corrected.R
#rewtite in a claen code format library(data.table) temperatures <- c(3,6,10,14) weights <- c(1,0.8,1.2,1) multiplier <- function(x, y) { x * y } temp_wgt <- multiplier(temperatures,weights) #Explorer’s Questions Answers #1.How big is the Rhine catchment (km2)? catchment_area <- 185000 #km2 catchment_area <- ...
968411ce615b01f4fb1ddda75f1f522f5f088940
8cad150740551138011a538485bd487163de2562
/Modulo 3 (Aplicaciones Interactivas Web)/Clase 1/Ejemplo3/app.R
b306c9f85847902350f38e990fef1f6319008692
[]
no_license
MathConsultoresEcuador/Escuela-de-Software-Libre-EPN-
9d4fd7c5316abb819bb6561f2a440760d67ddc6c
4b0ff9bdd28ba1a4564268d0282a9574700d4d11
refs/heads/master
2021-04-26T23:46:47.285808
2018-05-21T04:37:55
2018-05-21T04:37:55
123,854,651
2
3
null
null
null
null
UTF-8
R
false
false
222
r
app.R
library(shiny) ui = fluidPage( titlePanel("Titulo de la App"), fluidRow( column(6,wellPanel("Entrada prueba")), column(6,"Salida prueba") ) ) server= function(input,output){ } shinyApp(ui,server)
f1d50604be3372419b27827fc105fd08aed7df6a
8d3802e95db4894cb52c6070be475476d49c6cd5
/aaplKmean.R
7dc70e2df00b4419f91a0f8b809486897bd25fe3
[]
no_license
c3h3/RSummer
31c82001bf516acc81b70e8fe424df2f6ce9b67e
693b8b69dc2d69612d9b7da047499f4206a965a6
refs/heads/master
2020-04-30T18:58:47.358593
2016-07-18T14:28:53
2016-07-18T14:28:53
63,615,446
1
2
null
2016-07-18T15:36:23
2016-07-18T15:36:23
null
UTF-8
R
false
false
550
r
aaplKmean.R
AAPL = read.csv("AAPL.csv") K = 3 id = c(2,6) X = AAPL[,id] for( i in 1:length(X[1,])) { X[,i] = (X[,i] - mean(X[,i])) / sd(X[,i]) } centers = X[1:K,] result = kmeans(X, centers, algorithm = "MacQueen") print(result$centers) mat = data.frame() mat = cbind(X, result$cluster) for( i in 1:K ) { id = which(mat$`resul...
c3429abc66ddfb2eca2ba09f3838260a7f9e1174
c0f05ce4420f75549c7fa080c288765274c864a0
/data.R
d8e8bbd84b2099e48591bf82d61e8ec51eeea9ac
[]
no_license
xulong82/Lupus
2040bffe26acdf492e71895ca55236d41fcfb48d
34bae6cb5722cefb8ed5e6cea429c1918af5e748
refs/heads/master
2021-01-10T21:56:33.582643
2018-05-24T15:55:20
2018-05-24T15:55:20
30,125,168
0
0
null
null
null
null
UTF-8
R
false
false
2,557
r
data.R
rm(list = ls()) setwd("~/Dropbox/GitHub/Lupus") fname <- list.files(path = "/data/xwang/Lupus/RSEM_BXSB", pattern = "*.genes.results") fname <- list.files(path = "/data/xwang/Lupus/RSEM_B6", pattern = "*.genes.results") gene_expression <- lapply(fname, function(x) { cat(x, "\n") # filepath = file.path("/data/xwang/L...
6557de1252ad53c90fcca40fe510e1ce35b95c17
d161a144cca6f876557c5f716d43e4fc40fe0eb9
/tests/testthat/test_prior_precision.R
c35be3ee39f2a3e91c536910d448bdd7a0bb1b6b
[]
no_license
SimoneTiberi/BANDITS
d57c02cf85ec56c87900265ed3264d106480640d
3c42091edf5533197695b2d8bf2a1e22d7cc754d
refs/heads/master
2022-06-19T01:23:45.396288
2022-05-20T14:56:55
2022-05-20T14:56:55
178,011,248
19
2
null
null
null
null
UTF-8
R
false
false
648
r
test_prior_precision.R
test_that("prior_precision() works faultlessly.", { gene = rep(LETTERS[1:2], each = 3) transcript = LETTERS[1:6] gene_tr_id = data.frame(gene = gene, transcript = transcript) # 2 samples, 6 transcripts counts <- 10 * matrix(1:6, nrow=6, ncol=2, byrow = FALSE) rownames(counts) = transcript precision ...
8a633645c61324b0b7b9303e1be25e2a09bc1c50
ad5087b0c611e7cd4295d24360ae5cff1aac13b3
/R/draw_graphs_top200.R
5a40a604b15d6097c255e2303442ae7a82c8ee28
[]
no_license
SGMAP-AGD/exploreDataGouv
600e193cb5966b89edbeb7f1445a0bdd8ebc4e59
0fe91a42103522b7c5bc26fa841b1dac38638f65
refs/heads/master
2021-04-26T14:31:25.199179
2016-02-11T17:27:46
2016-02-11T17:27:46
51,451,641
0
0
null
null
null
null
UTF-8
R
false
false
727
r
draw_graphs_top200.R
library(ggplot2) load("data/df_data_top200.Rda") gg_data_followers_top20 <- df_data_top200 %>% mutate(followers_n_rank = rank(-followers_n, ties.method = "first")) %>% arrange(desc(followers_n)) %>% slice(1:20) %>% ggplot() + geom_point( mapping = aes( x = followers_n, y = reorder(datase...
f7ec3af4a5059d124548e5985c24b89c1938abf0
2b106b4488e294b561de4cdd8492d5341229d6d4
/man/set_freeze_model.Rd
b906e7c7a7b54c28d9102a6d573db8fc50cea24a
[ "Apache-2.0" ]
permissive
ysnghr/fastai
120067fcf5902b3e895b1db5cd72d3b53f886682
b3953ad3fd925347362d1c536777e935578e3dba
refs/heads/master
2022-12-15T17:04:53.154509
2020-09-09T18:39:31
2020-09-09T18:39:31
292,399,169
0
0
Apache-2.0
2020-09-09T18:34:06
2020-09-02T21:32:58
R
UTF-8
R
false
true
266
rd
set_freeze_model.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/GAN.R \name{set_freeze_model} \alias{set_freeze_model} \title{set_freeze_model} \usage{ set_freeze_model(m, rg) } \arguments{ \item{m}{m} \item{rg}{rg} } \description{ set_freeze_model }
93546d2f75f3329148b12803a183611afedf0fa8
914b474ae1536940fed953c14659ec3b3c1ca2e2
/man/reorderFactors.Rd
a71fc83facb1d8f373cdfa004f6c26250c0ce6a2
[]
no_license
neuhier/rospd
74a16cd4b2cbce36fd954272e9eba157bb076f2a
503b6e9fcbf856559e53507312f1d03370f75c8c
refs/heads/master
2020-04-01T20:14:33.460189
2018-10-29T14:23:37
2018-10-29T14:23:37
153,595,141
1
0
null
null
null
null
UTF-8
R
false
true
719
rd
reorderFactors.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/doeDesign.R \name{reorderFactors} \alias{reorderFactors} \title{Function to reorder the factors in a DOE from hard to change to easy to change.} \usage{ reorderFactors(doe) } \arguments{ \item{doe}{An object of class \code{\link{doeD...
3af000551e87b006c5fb8229c41a396556bdf55f
ae2163d4f32495d07d1405b69a27f51c7ea77bd1
/run_analysis.R
1266ac86ceedf3c5adbdfc591435c50faf383184
[]
no_license
ehines623/GettingAndCleaningDataCourseProject
cc5d827fc4f31d99ec66e8a5ac9af48bd8722a87
56a55178bae4f6789f03660ac4a0a39f9631c771
refs/heads/master
2020-03-28T19:41:58.444055
2014-12-22T00:17:34
2014-12-22T00:17:34
null
0
0
null
null
null
null
UTF-8
R
false
false
2,048
r
run_analysis.R
## run_analysis.R ## Script to run analysis for programming assignment for Getting and Cleaning ## Data course library(dplyr) #read in all of the data X_test <- read.table("./data/test/X_test.txt") Y_test <- read.table("./data/test/y_test.txt") subject_test <- read.table("./data/test/subject_test.txt") X_train <- re...
ade33c17250787ace775d26043c71444f1556c23
cea7b5b1a105534c57ddbfb9382553758f94ab0f
/Lectures/Week 8/Gompertz_example_0.R
38fe51c39e0b53d13db3b37777af0fa7e6aa1dc9
[]
no_license
YanVT/atsa2017
973ed4dc7fe812d0794421c516225da668cf6477
60313ca2e5a3aae47de68e1adb4f32c9c5cef4e0
refs/heads/master
2023-08-31T08:47:02.631251
2019-05-09T02:46:04
2019-05-09T02:46:04
null
0
0
null
null
null
null
UTF-8
R
false
false
2,041
r
Gompertz_example_0.R
################################################################# ## Discrete Gompertz ## Example 0. Observation error leads to spurious dens-dep ################################################################# require(MARSS) library(forecast) #----- set.seed(123) #----- ##A mean-reverting model K=log(2000) u=1 ...
d9fdcf506af9e2c51326b36161856554d6585e68
98736320ccfeb5b0baac8fd6a0ac49e0c7de1953
/mainIPI.R
5ee3982b9067318e74c6bf4c0e8378ce74c81519
[]
no_license
frehbach/rebo19a
cc62305ed7d00edcd22687bb2906177fc4d00a9a
2597b095506f6bc4372905aab3601a9663d6f316
refs/heads/master
2022-04-23T15:28:13.470982
2020-04-21T14:13:26
2020-04-21T14:13:26
257,517,246
0
0
null
null
null
null
UTF-8
R
false
false
3,272
r
mainIPI.R
library(SPOT) source("runBBOB.R") source("readBBOB.R") source("wrapExternalFunction.R") library(dplyr) source("funRobots.R") args = commandArgs(trailingOnly=TRUE) ### RUN Parameters ######################################### # 1) Instance ID # 2) Seed / Repeat # 3) Function ID of BBOB set # 4) nDim - Amount of dimens...
4345da8e7bfb71db4affaad12f308d1449b1198f
1ca04513e59d6184c6d8d9a06c6929b33e8cb42e
/Test.R
90d532109326c7d5ada3f389f1858e3a70d932f1
[]
no_license
zhangyingalice/Prediction-Assignment-Writeup
fd8ab76ae26309538e07a92ba45d26d93ecb9ab5
0c0de7f1a8e23b5bf0ce70501ba94883e07a7390
refs/heads/master
2020-04-02T15:38:10.315320
2018-10-24T22:31:25
2018-10-24T22:31:25
154,576,142
0
0
null
null
null
null
UTF-8
R
false
false
3,129
r
Test.R
rm(list = ls()) library(caret) #Load datasets training= read.csv("C:/YZ_R/Data/pml-training.csv",na.strings=c("NA","#DIV/0!","")) testing= read.csv("C:/YZ_R/Data/pml-testing.csv", na.strings=c("NA","#DIV/0!","")) ########################################################################################## ######...
2d2c1a301c3bc06999603f92654696beb8588734
84c3e18e0e28d7494d2a3aa34cf2b62376368157
/man/ggsave-tk.rd
44c3ad1c385989a2a566a03a2d293d7b7c14099a
[]
no_license
genome-vendor/r-cran-ggplot2
01859b20e506b1b4e282b3d321afd92fb5628a86
6430a6765bc27a9d68a4c2e70530f1cd4718aebc
refs/heads/master
2021-01-01T20:05:23.558551
2012-07-17T19:48:36
2012-07-17T19:48:36
null
0
0
null
null
null
null
UTF-8
R
false
false
1,732
rd
ggsave-tk.rd
\name{ggsave} \alias{ggsave} \title{ggsave} \author{Hadley Wickham <h.wickham@gmail.com>} \description{ Save a ggplot with sensible defaults } \usage{ggsave(filename=default_name(plot), plot = last_plot(), device=default_device(filename), path = NULL, scale=1, width=par("din")[1], height=par("din")[2], dpi=300, keep =...
2e20dba7b8e95332a2507def66691882c601b3a3
0e9e88fc7d19c72b5eda82a166f4adc1175db881
/adiliorosa/scripts/Client.r
3b08a531624d8b34b3aae92a5e383cc08f846555
[]
no_license
AdilioR/tccs
af778560ef5b35f38d950f654f457115b946037a
ab25b7930f67b58c72e91852edbee1237e2e3dad
refs/heads/master
2020-06-12T23:13:04.499031
2019-07-03T21:48:19
2019-07-03T21:48:19
194,456,946
0
0
null
2019-06-29T23:33:11
2019-06-29T23:33:10
null
UTF-8
R
false
false
4,348
r
Client.r
# Remove todos os objetos do workspace rm(list = ls()) # Carrega a biblioteca de análise técnica require(TTR) # Carrega os scripts necessários para gerar e avaliar as estratégias source("https://raw.githubusercontent.com/AdilioR/tccs/master/adiliorosa/scripts/Asset.R") source("https://raw.githubusercontent.com/Adilio...
7f9ea267d477f2184e24fd6097721ecee58eb494
e0c88d1cbddc58d65b460afcac2eb1bd3696ca8a
/R/rte_engine_examdesign.R
7e12f40796786070eb53b02300932865b9d8a1d1
[]
no_license
cran/RndTexExams
d6d52acfff0c031f8a3b086330bb017267d175ba
e7875e6e1679dc01741148a52981aebcc32ec821
refs/heads/master
2021-01-21T14:04:33.785157
2018-10-09T20:00:03
2018-10-09T20:00:03
51,207,954
0
0
null
null
null
null
UTF-8
R
false
false
5,428
r
rte_engine_examdesign.R
#' Function that breaks latex file of exam class examdesign into a dataframe (internal use) #' #' @param my.text Text of latex file written in class examdesign (UTF-8) #' #' @return A dataframe with several information (see rte.analyze.tex.file) #' #' @examples #' f.in <- system.file("extdata", "MyRandomTest_exa...
efaec42a79f77d65755f4fc2dbd3a3545410a082
8e40e37dd427d26f2849446a6e24a83480471346
/codes/plot4.R
1f57c8772832bc28cd6e28b0e8c8d5320faccd7a
[]
no_license
davidkeyes/ExData_Plotting1
2764ba3a4e945b3def4267cfca4e452ff0a01ac3
f91dd90365b028f18d77829c316e47225637a0c2
refs/heads/master
2020-12-24T18:23:32.430153
2015-03-08T20:29:59
2015-03-08T20:29:59
30,511,692
0
0
null
2015-02-09T00:36:29
2015-02-09T00:36:29
null
UTF-8
R
false
false
1,789
r
plot4.R
## Install and load the sqldf package for importing a subset of the large data file install.packages("sqldf") library(sqldf) ## Import the data data <- read.csv.sql("household_power_consumption.txt", sql = "select * from file where (Date = '2/2/2007' or Date = '1/2/2007') ", ...
1f1f3dfceb4f26ae290db894c36b75109d4c433d
2100c1474efb2c6788dead3d7c10f32be7140db2
/man/mww_eval.Rd
6a2b1dcde09151a469320bac31d24b53e27fc2cf
[]
no_license
cran/multiwave
e4f4d82528c6819732eea30e9cd4cb4b1261cbb6
b2aa6560558a9a35aef2be44da71609386353dbb
refs/heads/master
2021-01-10T13:17:27.092461
2019-05-06T06:20:09
2019-05-06T06:20:09
48,084,624
0
0
null
null
null
null
UTF-8
R
false
false
2,611
rd
mww_eval.Rd
\name{mww_eval} \alias{mww_eval} \title{ evaluation of multivariate wavelet Whittle estimation } \description{ Evaluates the multivariate wavelet Whittle criterion at a given long-memory parameter vector \code{d} using \code{DWTexact} for the wavelet decomposition. } \usage{ mww_eval(d, x, filter, LU = NULL) } \argume...
7a45dcc45eb3199fd9daec3ae810ceef8c5cc2e5
f513fd2de05d25ff72f3b2e57c0b4a07c91252f7
/Data mining/Assignment 1/Assignment1-Gyaneshwar/customercluster.R
e1ec99c9e00bd2bb09f808cb2dc3c2559c3040c3
[]
no_license
A00431429/MCDA2
6a7d8fc93450a856887a7ed3d5efd8d057ae041a
95e23c23d305a4579d97e62d3e6b6b710181fff1
refs/heads/master
2020-07-05T17:53:42.484689
2019-08-10T01:18:06
2019-08-10T01:18:06
null
0
0
null
null
null
null
UTF-8
R
false
false
2,009
r
customercluster.R
#Load All Libraries install.packages("lattice") install.packages("gridBase") install.packages("GGally") # OPTIONAL - only if you don't have install.packages("DMwR") # OPTIONAL - only if you don't have install.packages("ggplot2") options(repos = getOption("repos")["CRAN"]) library(grid) library(ggplot2) lib...
2d902a8b66206566453626ea17b4a31cc769e13c
fe612f81a3118bf3ebef644bae3281bd1c156442
/man/h2o.bottomN.Rd
95714edea7e257569e9264a1336a82f8b0cf634e
[]
no_license
cran/h2o
da1ba0dff5708b7490b4e97552614815f8d0d95e
c54f9b40693ae75577357075bb88f6f1f45c59be
refs/heads/master
2023-08-18T18:28:26.236789
2023-08-09T05:00:02
2023-08-09T06:32:17
20,941,952
3
3
null
null
null
null
UTF-8
R
false
true
1,231
rd
h2o.bottomN.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/frame.R \name{h2o.bottomN} \alias{h2o.bottomN} \title{H2O bottomN} \usage{ h2o.bottomN(x, column, nPercent) } \arguments{ \item{x}{an H2OFrame} \item{column}{is a column name or column index to grab the top N percent value from} \item{nPerc...
c51978c94639bdf34d141e78a05199c784e049a1
512251113212381e4704309f9b5f386118125bc6
/R/getISOlist.R
459db48182f36842518106b13136fbbae830e079
[]
no_license
johanneskoch94/madrat
74f07ee693d53baa5e53772fc41829438bdf1862
2a321caad22c2b9b472d38073bc664ae2991571f
refs/heads/master
2023-08-09T11:07:47.429880
2021-09-03T13:04:32
2021-09-03T13:04:32
null
0
0
null
null
null
null
UTF-8
R
false
false
1,631
r
getISOlist.R
#' get official ISO list #' #' Function which returns the ISO list which is used as default for the input #' data preparation. It contains the countries to which all source data has to #' be up- or downscaled to. #' #' #' @param type Determines what countries should be returned. "all" returns all #' countries, "impo...
eb0b2282b9d1e86ef5438c5a216e0edab45d5671
b93692d4994c13351b5ab5f4152b92273a8fbcd0
/man/seCor.Rd
7962129ceaf6273bcb627d98d81e81c347b2b6c1
[]
no_license
RCFilm/lognorm
5ebca25a8ba6cfc7ecb968cfdf5f24fbdfad2415
553b9b8ee4e3b4b0347037ab9ab5cb9884654322
refs/heads/master
2021-03-29T05:48:59.292165
2019-12-02T15:36:16
2019-12-02T15:36:16
null
0
0
null
null
null
null
UTF-8
R
false
true
1,039
rd
seCor.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/autocorr.R \name{seCor} \alias{seCor} \title{Compute the standard error accounting for empirical autocorrelations} \usage{ seCor( x, na.rm = FALSE, effCov = computeEffectiveAutoCorr(x, type = "covariance") ) } \arguments{ \item{x}{numer...
79b1e5905821ab4a24ccaa118bc7ca7c9f891b6f
27c8ebd8e889bf2b5297a1d4728a0979da0713f3
/Lab_12/MovieRecommendation.R
d632e643da2da96a37855ae478582f8819ed399f
[]
no_license
fruxc/R-Programming
57694c3f704b30b5745c9cc486520d2b26eaf669
c8042bfc677cc90b3221eac1edc0aaaae2ff551a
refs/heads/master
2023-01-04T06:57:35.345534
2020-11-04T04:56:41
2020-11-04T04:56:41
284,708,982
0
0
null
null
null
null
UTF-8
R
false
false
3,550
r
MovieRecommendation.R
# Importing libraries library(dplyr) library(ggplot2) library(knitr) library(recommenderlab) # Data Exploration # Importing dataset data(MovieLense) MovieLense class(MovieLense) slotNames(MovieLense) class(MovieLense@data) head(names(colCounts(MovieLense))) vector_ratings <- as.vector(MovieLense@data) kable(t...
55ab5e4b9f6aa3ad00b78becb5f9a081b94bcacc
fea414c872ff5303f30a6fcfb77e4e305ed8998f
/man/write_out_csv.Rd
c6b17cd9b8c9b110c2f713bd15cc5ecbfa185e79
[]
no_license
Spatial-Time-R/DENVclimate
a766299ae8edd767fb1a0c45fac3b8579302932e
7bfeacd1b9b74eb8fac71ba7dbf43e180106d7b4
refs/heads/master
2020-05-28T11:30:50.965933
2019-05-24T18:15:58
2019-05-24T18:15:58
188,986,429
1
0
null
2019-05-28T08:24:20
2019-05-28T08:24:19
null
UTF-8
R
false
true
388
rd
write_out_csv.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utilities.R \name{write_out_csv} \alias{write_out_csv} \title{write_out_csv} \usage{ write_out_csv(dat, my_path, file_name) } \arguments{ \item{dat}{the dataframe to save.} \item{my_path}{the output directory.} \item{file_name}{the output f...
b84bfafa5e00b2e71c07dc26af439723d39e13b3
819245726a6eb792f46003fbbe2b8aa32839da7f
/code/3Extract_TrapVolumeColor.R
d92f84d749a498130695a79c8b9e4c33caeaea4b
[]
no_license
melaniekamm/CleanParseDroegeBees
45df956cdbe5096d24dc327ec92bce64a3f69cfb
1270d863b181c682d8bd5bca3356b4d250b884df
refs/heads/master
2020-08-10T03:30:53.251946
2020-05-05T18:43:23
2020-05-05T18:43:23
214,245,995
0
1
null
null
null
null
UTF-8
R
false
false
19,516
r
3Extract_TrapVolumeColor.R
#Extract trap volume, color, and number information for abundance analyses #add trap information to each specimen, calculate Abundance per trap per day #then aggregate by TransectID or site-year (sum AbundDayTrap and concatenate color and volume strings) library(dplyr); library(tidyr); library(stringr); library(reshape...
215aea937bde226ceb1cda53ce05dcad9474d4a0
c7c8a7014ed39e8f94f81cc5d148aba8ee42efc6
/R/emd.R
c640c0c7b295e784ac6570accddfd6798901c550
[ "MIT" ]
permissive
s-u/emdist
22b637d8fdb982d922d786622e22e18885dec07d
ccb2f64492716856ab3c1e78d1e62a0da1772211
refs/heads/master
2023-06-25T13:04:38.147833
2023-06-13T04:13:10
2023-06-13T04:13:10
41,175,417
2
1
null
null
null
null
UTF-8
R
false
false
851
r
emd.R
# this was the original API but now we just map it to the matrix API emd2d <- function(A, B, xdist = 1, ydist = 1, dist="euclidean", ...) { if (!is.matrix(A) || !is.matrix(B) || !identical(dim(A), dim(B))) stop("A and B must be matrices of the same dimensions") m = dim(A)[1] n = dim(B)[2] A[is.na(A)] = 0 B[is...
b002bb045d8f4991d86a961e0eb014c57e595131
1f6f5f8305d88a0e731d29ea7f95f4336a3d30e1
/R/simple.R
5b4a3754dbd79ff25e0a7aab9376e144bac226fe
[]
no_license
lucillemellor/bugSigSimple
f385fc5232f29ae760ce1ec1a7f3f4df78d89810
b6472dd02f7028f3d60999bd0927f289d27aaee3
refs/heads/master
2022-10-25T15:23:04.147170
2020-05-02T12:54:40
2020-05-02T12:54:40
null
0
0
null
null
null
null
UTF-8
R
false
false
1,279
r
simple.R
############################################################ # # author: Ludwig Geistlinger # date: 2019-03-13 17:01:25 # # descr: simple exploratory analysis for curated signatures # ########################################################### readCurationSheet <- function(data.file) { dat <- read.delim(data.fi...
e99e9818accc8fdf33faa751495f23b98cfbeea8
a7ce793ccaacf9745409ed24cb755a69445825fb
/R/make_updated_layout.R
79627836eca17965419a3dc5d822c2b2e694b664
[ "MIT" ]
permissive
taiawu/echowritr
0b88a386a52d041ed087de5eb3b79bef18637fce
2c03951edeefdb080394a025afc6925d639f79ee
refs/heads/master
2023-05-04T23:43:01.378936
2021-05-27T22:38:06
2021-05-27T22:38:06
366,892,363
0
0
null
null
null
null
UTF-8
R
false
false
3,436
r
make_updated_layout.R
#' Update starting layout with final conditions #' #' @param transfers the transfers tibble #' @param raw_layout the raw layout, as uploaded by the user #' #' @return a list of 2 elements. layout, the updated layout, and wide_layout, the updated layout in wideform, ready to be saved as a csv. #' #' @importFrom dplyr fi...
ef7c11f5faa46df1f18b8ff09c43c847e5ad2d13
859a2bdab8ba9943fffde77a0a930ba877c80fd9
/man/get_bam_SM.Rd
9bfff5911877acc7a5051656a952028c55256abc
[ "MIT" ]
permissive
alkodsi/ctDNAtools
e0ed01de718d3239d58f1bfd312d2d91df9f0f0d
30bab89b85951282d1bbb05c029fc333a139e044
refs/heads/master
2022-03-20T11:47:06.481129
2022-02-20T11:25:48
2022-02-20T11:25:48
208,288,617
30
9
null
null
null
null
UTF-8
R
false
true
387
rd
get_bam_SM.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_bam_SM.R \name{get_bam_SM} \alias{get_bam_SM} \title{Helper function to extract SM from a bam file} \usage{ get_bam_SM(bam, tag = "") } \arguments{ \item{bam}{Path to the bam file} \item{tag}{The RG tag for the bam file} } \description{ ...
9727b8a09c342b8a8226923b072c4852345ae29d
d8f5550dbbe4696c170d391e09d00738714c5dd0
/man/getCosmicSignatures.Rd
73adb17d2f948f4bb027a5aed3d86bb6fafa2415
[]
no_license
dami82/mutSignatures
19e044eb99ee8c65c4123c131fa978bd5bd9d93c
ad406018266f80a3048ae6219bf6c09cf6f69134
refs/heads/master
2023-01-24T00:39:46.026623
2023-01-18T21:22:55
2023-01-18T21:22:55
123,127,851
12
0
null
null
null
null
UTF-8
R
false
true
1,346
rd
getCosmicSignatures.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/s03_all_functions.R \name{getCosmicSignatures} \alias{getCosmicSignatures} \title{Obtain COSMIC mutational Signatures.} \usage{ getCosmicSignatures(forceUseMirror = FALSE, asMutSign = TRUE) } \arguments{ \item{forceUseMirror}{logical, shall s...
ce748e8f76fe081f947a4f0083538c7d19f731df
e24a971a2eca8d0029dbaf4ee2332a4a9feeb343
/housing data second attempt.R
102dcfa433aa4b2a569d87dcf069d568d91ea390
[]
no_license
kdani99/mid-term.R
3b61bc8ef899bee9ea18884016b769d532093c19
881ada94ea0e038f97efbe3048ec8aee4f59df33
refs/heads/master
2021-01-21T08:14:54.189657
2017-09-02T05:57:49
2017-09-02T05:57:49
101,956,048
0
0
null
null
null
null
UTF-8
R
false
false
5,801
r
housing data second attempt.R
#mydata1<-read.csv("train_2016_v2.csv") #mydata1 #mydata2<-read.csv("properties_2016.csv") #mydata2 #mydata<-merge(mydata1,mydata2,by="parcelid",all= FALSE)#merge two datasets 2016; mydata only contains 2016 observations #summary(mydata) #######generate the 2016 dataset #write.table(mydata, "/Users/andy/desktop/data1.t...
e6f359293a2f1f7025cd45e181dd197ccb124efc
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/CorrToolBox/examples/pbs2bs.Rd.R
c563621709bd0f79330fe8cc0a22a1922cc76953
[]
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
511
r
pbs2bs.Rd.R
library(CorrToolBox) ### Name: pbs2bs ### Title: Computation of the Biserial Correlation from the Point-Biserial ### Correlation ### Aliases: pbs2bs ### ** Examples set.seed(123) y1<-rweibull(n=100000, scale=1, shape=1.2) gaussmix <- function(n,m1,m2,s1,s2,pi) { I <- runif(n)<pi rnorm(n,mean=ifelse(I,m1,m2),...
886c0ad237971f43146336d97c37ab72428c3f92
1dfecbca8017ac66df7abd497f86982778628b3a
/man/datamaps-shiny.Rd
54b006d09faf5a3c3125a09f48d75610eaae22c1
[]
no_license
jimsforks/datamaps
ff4972bf64b09b01bf634a29e17c0c76c674f741
e186d012f452c64814587ed1ce18a39fdbdcfabf
refs/heads/master
2022-12-08T11:33:35.297391
2020-08-27T09:46:44
2020-08-27T09:46:44
null
0
0
null
null
null
null
UTF-8
R
false
true
1,101
rd
datamaps-shiny.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/datamaps.R \name{datamaps-shiny} \alias{datamaps-shiny} \alias{datamapsOutput} \alias{renderDatamaps} \alias{datamapsProxy} \title{Shiny bindings for datamaps} \usage{ datamapsOutput(outputId, width = "100\%", height = "400px") renderDatamap...
f360d42ab5e0d61e3c2a5c83e1e229e95ca87b1f
8d1eb4a9f2abcebe51ac93f0b8308763ce88f02a
/Clean Script.R
6eea85924e640fe2183828a2cf9c17a01caf7322
[ "MIT" ]
permissive
sean-connelly/PBL-Networks
b907272810421f1edde5ea7c1e34183843810b12
6e09faf457858b59174e292388c7519fc3877faf
refs/heads/master
2020-03-16T17:16:19.490713
2018-06-02T17:45:23
2018-06-02T17:45:23
132,824,604
0
0
null
null
null
null
UTF-8
R
false
false
5,074
r
Clean Script.R
library(hrbrthemes);library(tidyverse) library(stringr);library(lubridate) library(zoo);library(scales) library(sf);library(janitor) library(viridis);library(leaflet) options(scipen = 1000,stringsAsFactors = F) setwd("E:/Data/PBL-Networks") #============= #Washington, DC #============= #Shapefile dc <- st_read("Bi...
c8174871c8340c17162f81c3817458a4640e7ee6
a38a7b8a426e0fd0232e73271119a06b780fd754
/man/ConvertQTableToArray.Rd
baf50c03fc18bb0a4da604d0099a8a4541fa4155
[]
no_license
Displayr/flipTables
d78e1806ceea736e3bbb5671244fa8567c06f575
1eabee54b3afc680f40b297b2adb72dd73562f75
refs/heads/master
2023-08-08T17:05:18.365268
2023-08-08T02:03:47
2023-08-08T02:03:47
46,451,632
0
1
null
2023-08-08T02:03:49
2015-11-18T22:28:27
R
UTF-8
R
false
true
658
rd
ConvertQTableToArray.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/convertqtabletoarray.R \name{ConvertQTableToArray} \alias{ConvertQTableToArray} \title{Converts a Q Table into an array} \usage{ ConvertQTableToArray(x) } \arguments{ \item{x}{A Q table which is expected to have the attributes typically assoc...
22de2b80e63630c182c3ac9a719cfd810a380ea4
3fbe6c22107ec3a6287859b6d04bbc19e848e73a
/sankey2016.R
5fc827c54d0684bc0600de19afd68b248d5dcb42
[]
no_license
angelamhkim/vizportfolio
4046c84ea957870cd16df6da8c98f0df9d1d2ddb
5a870ee26dc28877c06afe7dbbfc25acb42b1edc
refs/heads/master
2020-06-29T04:06:56.561254
2019-08-04T19:25:53
2019-08-04T19:25:53
200,436,490
0
0
null
null
null
null
UTF-8
R
false
false
4,838
r
sankey2016.R
#load libraries library(foreign) library(plotly) #2016 elections #read the data, downloaded DTA from the American National Election Studies Data Center dat <- read.dta("anes_timeseries_2016_Stata12.dta") #get a subset of the data for the variables we're interested in: #V161006: Who did you vote for in 2012? #...
ca5d18d0bd6a29b2ee6f7ebbbe984263f7b53cd8
086208ed314b1b2398a80d149a09b42d4da35c1c
/Functions/HCM-SCS_2021-06_SeuratAnalysisPipeline.R
116c31cac20b117eb876b90a1534f301d8034ddc
[]
no_license
vanrooij-lab/scRNAseq-HCM-human
9505497e055093a5a6b8d0feb07186c8ac2ed405
1b27e55e1762a69ef8faef6f0dcf30e108e31cb7
refs/heads/master
2023-08-14T13:44:48.798735
2023-07-21T12:19:29
2023-07-21T12:19:29
366,691,443
1
0
null
null
null
null
UTF-8
R
false
false
23,710
r
HCM-SCS_2021-06_SeuratAnalysisPipeline.R
################################################################################ # FUNCTION DEFINITIONS TO RUN ANALYSES # Now perform the analysis # Let's always define these functions # To test: # mySeuratObject = RHL_SeuratObject_merged_noMito_sel mySeuratAnalysis = function(mySeuratObject, run_name, base_dir, ...
7a182d7cb1f5e1c020129d3ae203835ecf2ec3c4
6bb0b671b86d0bd13d73aefd4ebf86ee025c1ca1
/inst/test_lmer.R
342da36424ed64c74ac3d31abd616fe30bf9d9a3
[ "MIT" ]
permissive
WillemSleegers/tidystats
571f06defe8cb307fb34599fb973c67ee45dd5c2
0eec202d6acde83a3ee72a3c17c53d9b2e8e5cdc
refs/heads/master
2023-07-06T17:47:38.235789
2023-05-02T08:39:13
2023-05-02T08:39:13
191,048,439
17
4
NOASSERTION
2023-04-29T20:10:12
2019-06-09T19:44:14
R
UTF-8
R
false
false
2,388
r
test_lmer.R
# Setup ------------------------------------------------------------------- # Load packages library(tidystats) library(tidyverse) # lme4’s lmer() ----------------------------------------------------------- results <- list() # Load the package library(lme4) # Run multilevel models lme4 <- lme4::lmer(Reaction ~ Day...
7b95c15a268afe1a60f4ea4295b72cc9bb5d7c20
6b3783653f32e076a8c299845c948dc833a6ece9
/man/density.lpp.Rd
967a87ba941ce61e4dc839301a278d622ed12da6
[]
no_license
nemochina2008/spatstat
774fbfd02bebb866b8c557c0bd3e35cc3c56e642
54dac256a6a4da1b6f3476fe75a5ed290c572487
refs/heads/master
2020-12-05T03:19:34.333911
2020-01-05T08:50:01
2020-01-05T08:50:01
null
0
0
null
null
null
null
UTF-8
R
false
false
5,330
rd
density.lpp.Rd
\name{density.lpp} \alias{density.lpp} \alias{density.splitppx} \title{ Kernel Estimate of Intensity on a Linear Network } \description{ Estimates the intensity of a point process on a linear network by applying kernel smoothing to the point pattern data. } \usage{ \method{density}{lpp}(x, sigma=NULL, \dots, ...
e29d348f227b863fe83335b2efa008f90b1fd615
3888397595a89ef486bd4b68fdbe7d7c713ac6f4
/munging/01_03_time-in-min-since-3am.R
0f0f7424776de88b086a0832cc4ebad6cb1824cc
[]
no_license
e-mcbride/sequence-fragmentation-project
add43e6de089276cf516ec31d5629c020335cde8
c0c312e9d56c3e8d683683e1bfa99b7c11a5c913
refs/heads/master
2021-11-24T10:00:47.926114
2021-10-29T00:46:25
2021-10-29T00:46:25
167,236,471
0
0
null
null
null
null
UTF-8
R
false
false
2,289
r
01_03_time-in-min-since-3am.R
# 01_03_time-in-min-since-3am.R library(tidyverse); library(here) ##' Crunch arrival/departure times to calculate stay duration ###' Since the survey asked for diaries from 3AM to 2:59AM the next day, it'll be helpful to recalculate times so that they are measured in minutes since 3AM. ###' Some functions to help ...
da574629310ea3620f95a343626621bb4246ad2f
a08b33edefe480ac618b19c8a42008ecad8bc650
/Scripts/inst/executables/com_x_sci_data_14_scientific_commercial_simple.R
91d33248b9a01ffc9c0973e9d33a06245592ce5c
[]
no_license
ChloeTellier/projet_M2_sole
3c8ab84be5c099f507345bdd0c5889ed366ce981
48f0536cc32e65ef72cd2b14e94d2566e950ae3c
refs/heads/main
2023-01-23T07:56:04.427937
2020-11-26T09:54:28
2020-11-26T09:54:28
null
0
0
null
null
null
null
UTF-8
R
false
false
388
r
com_x_sci_data_14_scientific_commercial_simple.R
library( TMB ) dyn.load( dynlib('Scripts/inst/executables/com_x_sci_data_14_scientific_commercial_simple') ) setwd('C:/R_projects/projet_M2_stats') load( 'All_inputs.RData' ) Obj = MakeADFun(data=All_inputs[['data']], parameters=All_inputs[['parameters']], random=All_inputs[['random']], A...
f3dbcd7d36e506bd7e1d4b8c414963cc4d4151dc
64098b83f218221064dacb4307f9b844e9a70373
/R/estip2.R
901cc51839cfd1905173505b1647a3790c920c22
[ "MIT" ]
permissive
takuizum/irtfun2
07800c5e6abeb9eb1892724582be7b9ed2202387
def9eac15a1150804f3702cf3f84df1c638a1c38
refs/heads/master
2021-07-19T00:29:21.794826
2020-05-06T09:28:05
2020-05-06T09:28:05
151,583,271
0
0
null
null
null
null
UTF-8
R
false
false
20,209
r
estip2.R
# M step # gradient gr_jm <- function(r, N, X, t0, D){ if(length(t0)==2){ a <- t0[1] b <- t0[2] c <- 0 p <- ptheta(X, a, b, c, D) ga <- sum(D*(X-b)*(r-N*p)*(p-c)/((1-c)*p)) gb <- sum(-D*a*(r-N*p)*(p-c)/((1-c)*p)) res <- c(ga,gb) } if(length(t0)==3){ a <- t0[1] b <- t0[2] c...
b9d7c4f96b225ab6d9d332c4d7c8829c1ddc0641
a94c5dccdd6b25d40fde78abe2d6c95ad13f7cc2
/varios/R/win-library/3.5/Rmpfr/NEWS.Rd
9c6d522ef387629a1a06ec2c6426b1d05532bf3d
[]
no_license
ngaitan55/Personal
5b3e500f9fd39d6e8e2430f1ce2c7cfca606f4bb
64a7ee7a4ebcecf7cc718211e7cfc51029a437e0
refs/heads/master
2022-12-17T04:50:09.088591
2020-09-19T02:23:50
2020-09-19T02:23:50
268,140,797
0
0
null
null
null
null
UTF-8
R
false
false
8,658
rd
NEWS.Rd
% Check from R: % news(db = tools:::.build_news_db_from_package_NEWS_Rd("~/R/Pkgs/Rmpfr/inst/NEWS.Rd")) \name{NEWS} \title{Rmpfr News} \encoding{UTF-8} \section{Changes in version 0.7-2 [2019-01-14, r298]}{ \subsection{BUG FIXES}{ \itemize{ \item \code{str(<mpfr>)} no longer calls \code{formatMpfr(x, digi...
550bce953ccfdbab2dfb24726509782491a34a3d
18298c57b2ddbc4afedc82229199cbb0e5ac1124
/fort.R
2b38c095249b8506f77367e23fa89b0de121c411
[]
no_license
korabum/hackathon-data
200dbecb03ded935b9b8b5859031474b685956c5
68ca9546213d999afd08d1baddf3cbf96c783abc
refs/heads/master
2021-03-27T16:25:45.347590
2017-04-29T03:05:39
2017-04-29T03:05:39
89,660,117
0
0
null
null
null
null
UTF-8
R
false
false
4,980
r
fort.R
# change the local_path to your workspace where the csv, json request and csv result will be local_path <- "." setwd(local_path) #* @post /fort/log log_regression<-function(file_name, target){ default_result_file_name <- "prediksi_score_all" default_function_initial <- "lr" print(file_name) print(target) n...
599ad2639c1d596fcf496ca66d25ee9e344f8060
79b935ef556d5b9748b69690275d929503a90cf6
/R/percy.R
44aa9460278e76bfd623a47fca958ae21929d61a
[]
no_license
spatstat/spatstat.core
d0b94ed4f86a10fb0c9893b2d6d497183ece5708
6c80ceb9572d03f9046bc95c02d0ad53b6ff7f70
refs/heads/master
2022-06-26T21:58:46.194519
2022-05-24T05:37:16
2022-05-24T05:37:16
77,811,657
6
10
null
2022-03-09T02:53:21
2017-01-02T04:54:22
R
UTF-8
R
false
false
2,860
r
percy.R
## percus.R ## ## Percus-Yevick style approximations to pcf and K ## ## $Revision: 1.6 $ $Date: 2022/01/20 00:47:44 $ pcfmodel.ppm <- local({ pcfmodel.ppm <- function(model, ...) { if(is.multitype(model)) stop("Not yet implemented for multitype models") if(is.poisson(model)) return(function(r) rep(1,...
f8e30f5b5d7bbd436ece20f038989191a361802e
e46d25823e38f1f0885a2096c83c913b3c8d7172
/Data and Analysis Scripts/Eval.R
4aaf806aa3cff3b401f2ca1a34fc87a84b97f65b
[]
no_license
brains-on-code/indentation
b061ef78785c1b9f0647c248d107555e3cee7c02
b07a7c7eefbb597c425a36b6a3d05ee5d985dfe0
refs/heads/master
2020-04-27T00:04:26.984763
2019-03-11T10:14:06
2019-03-11T10:14:06
173,923,218
1
0
null
2019-03-05T10:13:43
2019-03-05T10:13:43
null
UTF-8
R
false
false
2,597
r
Eval.R
results <- read.csv(Results.csv",head=TRUE,sep=";") results$Indentation <- sub("^", "Indent ", results$Indentation ) generalInfos <- read.csv(file="GeneralInfo.csv",head=TRUE,sep=";", colClasses="character") ratingReal <- read.csv(file="RatingsRealIndentations.csv",head=TRUE,sep=";") ratingEqual <- read.csv(file="Ratin...
8337bc34ca04c3a70a440626b2564376dad21925
ae9065c400fd46a146b7d0cbc654d01294add5c6
/explore.R
92892ea7f9a0bd1b057dec285797e86d4786d0e6
[]
no_license
ccjolley/favorita
8f71d04420bd8fe993bc2bc8da4452f49e4f1da9
463dd8aef49e5d6b5819103be0f06745861c298f
refs/heads/master
2021-08-06T19:18:57.729227
2017-11-06T22:01:05
2017-11-06T22:01:05
108,410,826
0
0
null
null
null
null
UTF-8
R
false
false
5,942
r
explore.R
# Feature engineering for favorita dataset library(dplyr) library(ggplot2) library(ff) library(ffbase2) library(lubridate) setwd("C:/Users/Craig/Desktop/Live projects/kaggle/favorita") ############################################################################### # Load training data using ff to get around memory l...
49caa2daa9010f9e45598a4254cbd3e90e70ed95
b37d771ab1a5c138be24aff631818957266310bd
/final_project/InitialCleanUp_2.R
a8fbae653001cb279582d70b0a803d91900ac5ae
[]
no_license
shivAM2886/ENPM-808W-
e3b082bcb7044d6a5e78b70c46764ce59f8ac933
8dafe82a86c6ec5fdd0f23241b2add196af41bc7
refs/heads/master
2021-07-19T16:13:17.772255
2020-09-03T02:37:48
2020-09-03T02:37:48
211,268,009
0
1
null
null
null
null
UTF-8
R
false
false
1,616
r
InitialCleanUp_2.R
# This script further cleans the data after the InitialCleanUp.py script rm(list=ls()) ## Set Up Working Directory DATA_LOCATION <- "/Users/Pende/Desktop/us-perm-visas" setwd(DATA_LOCATION) dataF <- read.csv('us_perm_visas_UPDATED.csv') # Load updated Dataset with some fixed variables (afer output of Initial...
2b4527ad68d6766b6ccc6189bef7eef5a0635b94
343486c41c6f6dab5fe39bcb65f5ea4d35e46645
/neural_network.R
5903db18c3ece3afd6125cfe95f7907411b55669
[]
no_license
devgg/crime_sf
6c950c9f26ef65f4b966dc3c34c1b0089bdc542c
74ec28c808e8cd6142aaaf1aaea0c2ed00d3eb1b
refs/heads/master
2020-04-10T23:40:41.766845
2015-08-08T13:22:20
2015-08-08T13:22:20
40,196,752
0
0
null
null
null
null
UTF-8
R
false
false
3,688
r
neural_network.R
create_neural_network <- function(layer_sizes, input_layer_col_names, output_layer_col_names) { network <- list() for (i in 1:(length(layer_sizes)-1)) { epsilon = sqrt(6) / sqrt(layer_sizes[i] + layer_sizes[i + 1]) rows = layer_sizes[i + 1] cols = layer_sizes[i] + (if(i==1) 0 else 1) network[[...
35477e9433e442175b2e52e40d1055dc62538133
6034d565642a30876b7b7a025b74a31580c44613
/R/methods_gjrm.R
252c289c3813166a13b7fd11c2151c7b258ff89a
[]
no_license
cran/parameters
a95beba8c8bd820a88b74ca407609cc08a62fcab
f19575ccdbbd303a1896a13d8b4b8210563cabfa
refs/heads/master
2023-06-08T08:58:24.080762
2023-05-26T09:20:02
2023-05-26T09:20:02
211,083,154
0
0
null
null
null
null
UTF-8
R
false
false
2,122
r
methods_gjrm.R
#' @rdname model_parameters.averaging #' @export model_parameters.SemiParBIV <- function(model, ci = 0.95, bootstrap = FALSE, iterations = 1000, standardi...
06240bf87f992f2b28c9e32e487f2a6bbe0c493f
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/GMMAT/tests/testthat/test_glmmkin.R
299deb2a87050010921840cbbcb6168e662b746d
[]
no_license
akhikolla/testpackages
62ccaeed866e2194652b65e7360987b3b20df7e7
01259c3543febc89955ea5b79f3a08d3afe57e95
refs/heads/master
2023-02-18T03:50:28.288006
2021-01-18T13:23:32
2021-01-18T13:23:32
329,981,898
7
1
null
null
null
null
UTF-8
R
false
false
27,440
r
test_glmmkin.R
context("null model") test_that("cross-sectional id le 400 binomial", { skip_on_cran() data(example) suppressWarnings(RNGversion("3.5.0")) set.seed(123) pheno <- rbind(example$pheno, example$pheno[1:100, ]) pheno$id <- 1:500 pheno$disease[sample(1:500,20)] <- NA pheno$age[sample(1:500,20)] <- NA pheno$sex[sa...
ef14018b070443c77055000a02b1447d0b052b1a
e76e882629e98c0c4023fc8103c60e0fa451ccf2
/R/int_plot_gene_dise.R
0210a593d80fbe0f0681ecb29046eb9e30e9ba58
[ "MIT" ]
permissive
isglobal-brge/CTDquerier
e5269a74a63cb3df201d301c28d430ea6cbe16c6
d66b9fd83f81421ac45d83e1ca09dc4576f4c157
refs/heads/master
2022-11-07T01:18:03.481877
2022-10-05T22:14:11
2022-10-05T22:26:17
91,874,590
5
1
null
null
null
null
UTF-8
R
false
false
2,540
r
int_plot_gene_dise.R
int_plot_gene_disease_heatmap <- function( x, subset.gene, subset.disease, field.score = "Inference", filter.score = 50, max.length = 30 ) { field.score <- match.arg( field.score, choices = c( "Inference", "Reference" ) ) field.score <- ifelse( field.score == "Inference", "Inference.Score", "Reference.C...
73f0b08754d99bbff51e1b0d037a2a00bd0244d8
b1af2ace3c7cf3c33fe84dc6f13ffbe83bbc041a
/man/EstradaIndex.Rd
09f4619d4c9ec522fb8c8a3bad23c603b2cfa2b2
[]
no_license
cran/ldstatsHD
737211c8abae70e12ca02ab7e4840c41613a1f3b
3509aefd07784db9b29eea2e6f91ca4ac1f6c8cc
refs/heads/master
2020-12-08T01:56:14.161645
2017-08-14T09:52:13
2017-08-14T09:52:13
66,004,317
0
1
null
null
null
null
UTF-8
R
false
false
1,202
rd
EstradaIndex.Rd
\name{estradaIndex} \alias{estradaIndex} \title{ Estrada Index of a graph structure } \description{ Computes the Estrada Index given the adjacency matrix of a graph structure. } \usage{ estradaIndex(A) } \arguments{ \item{A}{ \code{\link{matrix}} or \code{\link{Matrix}} object with adj...
83b92db2b81700e2a74e0e53f8d744d3fb9764bf
8bece88332b3ec544c33bb3b487a8fb456293bf3
/dataGen/combo coord.R
8368f060dc94404937cf8be5d2dfbf38ac8ed8d1
[]
no_license
kokbent/intToolLULC
aea40c7f6fb19eb82429446b1636d5ce229c9d68
cc1fa8f61872d6f606253aa99ddb47c3fcfc3907
refs/heads/master
2020-03-22T21:57:37.731879
2018-07-26T14:37:36
2018-07-26T14:37:36
140,724,454
0
2
null
null
null
null
UTF-8
R
false
false
367
r
combo coord.R
rm(list=ls(all=TRUE)) # setwd('U:\\independent studies\\interactive tools\\conservation tool') x=seq(from=0,to=100,by=10) y=seq(from=0,to=100,by=10) combo=expand.grid(x1=x,x2=x,x3=x,y1=y,y2=y,y3=y) dim(combo) #always going up cond=combo$y2 >= combo$y1 & combo$y3 >= combo$y2 combo1=combo[cond,] dim(combo1) write.csv(...
9b86589504c2bed6b802ada0ce8e2187147bf5b4
f8c876df7e8df9a41cf4646746d392ae50707ea4
/US/example/primary_iowa_2016/merge_ref_and_ext_2016.R
c37004f537440981509900485dc7f26bea30a67b
[]
no_license
datamapio/geoid
745cffb4908ffe9e7ec5060936b002b81b3a9a01
16c368c9f4fd72df3f623390e5e694018476b409
refs/heads/master
2023-01-21T14:22:32.485076
2023-01-19T14:12:36
2023-01-19T14:12:36
49,221,590
10
2
null
null
null
null
UTF-8
R
false
false
1,852
r
merge_ref_and_ext_2016.R
## setwd("/Users/rogerfischer/datamap/geoid/US/example/primary_iowa_2016") ## getwd() ## How to merge external result data (EXT) with the geoid reference data (REF) ## =========================================================================== ## The EXT for 2016 ## Currently only a template / you can call any file....
b43c48eca2a7f90ef9223ac123110991c8fe1b09
932dba523258a20ba386695ed34a6f91da4688c7
/tests/testthat/test-tag_cols.R
4ca86615d1441fef97c1512a33c4718566ba6d67
[]
no_license
trinker/termco
7f4859a548deb59a6dcaee64f76401e5ff616af7
aaa460e8a4739474f3f242c6b2a16ea99e1304f5
refs/heads/master
2022-01-18T23:43:46.230909
2022-01-05T19:06:43
2022-01-05T19:06:43
39,711,923
27
4
null
2018-02-02T05:57:38
2015-07-26T03:17:09
R
UTF-8
R
false
false
237
r
test-tag_cols.R
context("Checking tag_cols") test_that("tag_cols is a tibble.",{ expect_true(methods::is(tag_cols(markers), 'tbl_df')) }) test_that("tag_cols gets correct number of columns.",{ expect_true(ncol(tag_cols(markers)) == 4) })
7bbc4cedb84e4b44cbc1c0c7a3a73f4411e3642e
f41e5ab3dcb15bd8802f9108bc89674334914603
/1-6-19 Mentor qs.R
00d03332e73c60ef757c8e39675b30f2b9ab763b
[]
no_license
jaredcouncil/Mentor-feedback
c99930c7642f82c3510d54785c0956bbaf87d339
d33d3cc47593f160df834424e554f5757416cf27
refs/heads/master
2020-04-15T03:21:31.528223
2019-02-25T03:11:10
2019-02-25T03:11:10
164,345,409
0
0
null
null
null
null
UTF-8
R
false
false
1,824
r
1-6-19 Mentor qs.R
library(dplyr) library(tidyr) View(nycflights13::flights) ##### REMOVING NAs ##### # Main question: Is this the best way to filter NAs? #Want to calculate the average arrival delay (arr_delay) to each destination nycflights13::flights %>% group_by(dest) %>% summarise(avg_delay = mean(arr_delay)) #This...
7b0db78ce6449ff693dcf903a4696d79c7c6263f
9bb201e15d76fd8c376ea119757b9b3435d2c5da
/corr.R
31142b413f88055ec537b905546ba67cf1e29333
[]
no_license
gsnelson/Programming-Assignment-1
236fc425c06c7776e0c1b291ff1e03708c32147a
91fac2e7a791c5b207766c475c70fcd72a18c293
refs/heads/master
2022-04-13T20:16:26.718754
2020-03-26T03:04:18
2020-03-26T03:04:18
247,726,908
0
0
null
null
null
null
UTF-8
R
false
false
875
r
corr.R
corr <- function(directory, threshold = 0) { library(dplyr) path <- file.path(getwd(), directory, fsep = .Platform$file.sep) results <- numeric() files <- c(list.files(path , pattern = "csv")) # print(files) for (i in files) { data <- read.csv(paste(path, .Platform$file....
008253c0918191704580326ce198b2a4514817bf
17fbc45992775680e922f5f9525ae99b9b02f3f1
/doc/KjorefilBeredsk.R
3715fc3be58cf83671f96d266c20a6f0b69b5cb1
[ "MIT" ]
permissive
Rapporteket/intensivberedskap
d078c048b384f60fb0cbf3c22bce8e8da6f94d2d
9f5e97104e0560c4941e0e8f90f929eed5f2bea8
refs/heads/rel
2023-06-24T00:26:39.078883
2023-06-16T14:45:32
2023-06-16T14:45:32
246,884,430
0
0
NOASSERTION
2022-03-09T15:34:51
2020-03-12T16:43:37
R
UTF-8
R
false
false
13,849
r
KjorefilBeredsk.R
#Husk neste gang oppdaterer pakken intensiv: #Felles preprosessfil, felles hentSamlerapport (Rpakke som innparameter) CoroDataRaa <- NIRberedskDataSQL(kobleInt = 0) CoroData <- NIRPreprosessBeredsk(RegData = CoroDataRaa, aggPers = 1, tellFlereForlop = 1) ind2 <- grep('_2', CoroData$PasientID) #[1] 1318 1988 pas <- Cor...
3dbdd299c986bd2aa9dcb8d599d6c50bbeb57426
f10d371c75a093928fb95334fd9bbffa41630187
/Task_09/task09.r
ac8cee21d1eb04d1df88370d3f694da236b0a0e1
[]
no_license
kes0042/Tasks
5fd49790c85091572cfdcef040e8cc30d75b2e49
0022572b7b24490b3dc389f662e1ab14c9c7ec00
refs/heads/master
2023-04-18T04:13:55.483361
2021-04-30T14:55:27
2021-04-30T14:55:27
331,984,011
0
0
null
null
null
null
UTF-8
R
false
false
2,220
r
task09.r
setwd("~/Desktop/Evolution/Tasks/Task_09") library(phytools) tsetwd('~/Desktop/Evolution/Tasks/Task_09') library('phytools') trees <- list() births <- c() Fractions <- c() for(i in 1:100) { births[i] <- runif(1) Fractions[i] <- runif(1) trees[[i]] <- pbtree(b = births[i], d = (births[i] * Fractions[i]), n = 100, nsi...
5e9972aeb36e0c0999b44762b6f0210380f2cc97
542922cee73ded319ff7052b298a48d654fe1e9e
/man/allele_table.Rd
38d1fdea4315237c35addeed9924cc51ab470391
[]
no_license
gschofl/hlatools
8cdb3df9910ace8bba58c80080fd0801f018e891
a18aedeb47ae31274fee55f0d1c119bb11dfa49f
refs/heads/master
2021-08-09T01:03:34.298096
2021-07-01T13:37:34
2021-07-01T13:37:34
51,740,578
4
3
null
null
null
null
UTF-8
R
false
true
1,129
rd
allele_table.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/code_tables.R \name{allele_table} \alias{allele_table} \title{Class: allele_tbl} \source{ \href{https://www.hla.alleles.org/wmda}{hla.alleles.org}. } \usage{ allele_table(db_path = getOption("hlatools.local_repos"), remote = FALSE) } \argumen...
24bdc1260b0e940e6fffebe532734e599db6303a
6cc8e2e57cc6f906bc64f8394c6683dc0d614918
/R/L_bound.R
2b0853f919cba6026bbef536149170beb8d837d1
[]
no_license
cran/mgcViz
cf3f445892ad2954e8ca06dec808cc551bd012d4
de825975b97a2f6a020b84f8f6d30b06bca65c60
refs/heads/master
2021-11-01T08:37:43.917586
2021-10-05T06:10:12
2021-10-05T06:10:12
145,894,342
0
0
null
null
null
null
UTF-8
R
false
false
949
r
L_bound.R
#' #' Add boundaries to smooth effect plot #' #' @description This layer adds boundaries to a smooth effect plot. #' #' @param n number of discrete intervals along the boundary. #' @param ... graphical arguments to be passed to \code{ggplot2::geom_path}. #' @return An object of class \code{gamLayer}. #' @seealso [plo...
f431fdc9434737c66db00f3604acd4c5bdc47458
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/brms/examples/predict.brmsfit.Rd.R
8a9b1b38f49ed917becd51eb54ced44659010316
[]
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
821
r
predict.brmsfit.Rd.R
library(brms) ### Name: predict.brmsfit ### Title: Model Predictions of 'brmsfit' Objects ### Aliases: predict.brmsfit posterior_predict.brmsfit posterior_predict ### ** Examples ## Not run: ##D ## fit a model ##D fit <- brm(time | cens(censored) ~ age + sex + (1+age||patient), ##D data = kidney, famil...
d707880ddd445b7fb4f9f257ac4c0fa8a8f0bebe
155a8f96920b68d625a73c5d8680a994b31292f4
/ToolkitSDP_Analyze.R
3fba26252d0e3c48c99fe7cd10b5951dbdd7acc8
[ "MIT" ]
permissive
snowdj/college-going-toolkit-r
420755d07acf7f060f5d9535aac1278c51088e3b
54aa753c7fa70c26782cac95d8bbfa7834c3e6fe
refs/heads/master
2020-12-02T00:20:46.220954
2018-04-19T20:38:05
2018-04-19T20:38:05
null
0
0
null
null
null
null
UTF-8
R
false
false
89,533
r
ToolkitSDP_Analyze.R
## ----knitrSetup, echo=FALSE, error=FALSE, message=FALSE, warning=FALSE, comment=NA---- # Set options for knitr library(knitr) knitr::opts_chunk$set(comment=NA, warning=FALSE, echo=TRUE, error=FALSE, message=FALSE, fig.align='center', fig.width=8, fig.height=6, dpi = 144, ...
9eda8df38f5606c71cc4fc21d9ca96d7bb2bfdf5
a6765365e0283e55d08318b82edce354c8a1f803
/R/print.R
fb5f3dc22484b7ea6686b99bba86456d485569bf
[]
no_license
cran/CAST
4d0eaf33b479ae2dd92510cb5386742875d92560
5a87830535f3e7c1a720e4665c18db0083cdb486
refs/heads/master
2023-06-09T19:24:56.320841
2023-05-30T11:00:06
2023-05-30T11:00:06
116,807,860
0
0
null
null
null
null
UTF-8
R
false
false
2,180
r
print.R
#' Print CAST classes #' @description Generic print function for trainDI and aoa #' @name print #' @param x trainDI object #' @param ... other params #' @export print.trainDI = function(x, ...){ cat(paste0("DI of ", nrow(x$train), " observation \n")) cat(paste0("Predictors:"), x$variables, "\n\n") cat("AOA Thre...
8b5e7417e7a8acd8795cce225a23d837e32b67f7
3eb206214b32e32f19a134e17f9194f586d2ca48
/scripts/lda.R
d93d6bbe762e7c26553cdb60d722deac4aaa5e61
[]
no_license
nfraccaroli/text_mining_workshop
9acb8a7760d4d9e06bea57116d928b5c9ac2a25d
b059c74b04672b6d1bb386bf9185116cdfd516f2
refs/heads/master
2020-06-18T08:20:48.311751
2019-02-26T16:00:56
2019-02-26T16:00:56
null
0
0
null
null
null
null
UTF-8
R
false
false
2,487
r
lda.R
library(tidyverse) library(gtools) library(topicmodels) library(tidytext) rcat <- function(n, x, p) { sample(x, size = n, replace = TRUE, prob = p) } generate_document <- function(z, k, w, beta) { w <- map(seq_len(k), ~rcat(n = z[.], x = w, beta[[.]])) flatten_chr(w) } generate_corpus <- function(M, k, lambda,...
2c21d3c660ba15c2cd86d3293068b580f1e278e5
35ccbe210f6b7df79bfd94ef3b9139433318bc57
/DTMbvs/R/bfdr.R
4839384dae26f33847eb073436cfdd0d32c0fda7
[]
no_license
mkoslovsky/DTMbvs
56caea7c00fbaa884ff85d5bc95a1aa90f535542
663cf6a31a4cc52e0bcba6c48fedac3e6ed63dda
refs/heads/master
2020-04-13T12:39:34.859566
2020-02-20T18:02:11
2020-02-20T18:02:11
163,208,780
2
0
null
null
null
null
UTF-8
R
false
false
821
r
bfdr.R
bfdr <- function( mppi_vector, threshold = 0.1 ){ # Courtesy of D.Wadsworth # arg checking if( any( mppi_vector > 1 | mppi_vector < 0 ) ){ stop("Bad input: mppi_vector should contain probabilities") } if( threshold > 1 | threshold < 0 ){ stop( "Bad input: threshold should be a probability" ) ...
780e75242053193db4cc666d5db0a7823658fee1
7a40d3f515979e7ae3e141299fc53114f1b69a0c
/man/plot.CMBWindow.Rd
966b23757b57a6991743ae41af5a4f9637904b06
[ "MIT" ]
permissive
mingltu/rcosmo
491ad4bc3a29a583852bfc88d66492d97948b419
76727be295b54642a357a0cf9b527ae25f2c5254
refs/heads/master
2021-04-09T12:59:10.889777
2018-03-15T09:14:25
2018-03-15T09:14:25
null
0
0
null
null
null
null
UTF-8
R
false
true
1,327
rd
plot.CMBWindow.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CMBWindowGenerics.R \name{plot.CMBWindow} \alias{plot.CMBWindow} \title{visualise a \code{\link{CMBWindow}}} \usage{ \method{plot}{CMBWindow}(win, add = TRUE, type = "l", col = "red", size = 2, box = FALSE, axes = FALSE, aspect = FALSE, bac...
769ca88a9a5525263ee3c336d3bd039bb8779cb4
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/1779_1/rinput.R
4ee25673f19ec61f3e349f6afd35794245b99040
[]
no_license
DaniBoo/cyanobacteria_project
6a816bb0ccf285842b61bfd3612c176f5877a1fb
be08ff723284b0c38f9c758d3e250c664bbfbf3b
refs/heads/master
2021-01-25T05:28:00.686474
2013-03-23T15:09:39
2013-03-23T15:09:39
null
0
0
null
null
null
null
UTF-8
R
false
false
135
r
rinput.R
library(ape) testtree <- read.tree("1779_1.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="1779_1_unrooted.txt")
316d27a35189b2c8823548c61c3eb801cf22c35d
51703d55be207df29decc17441c323be93b8adaf
/HW11/Solutions/4.R
24765f49dc161b64c87d3ff20064a444eef6cbbf
[]
no_license
Mahbodmajid/DataAnalysis
b4ee16f39e91dff0bbeea058e92162f91f28d84c
127e59a101d4847171fcb7728db38f4405a10e38
refs/heads/master
2021-06-10T02:04:52.153255
2019-11-25T00:58:18
2019-11-25T00:58:18
141,756,223
0
0
null
null
null
null
UTF-8
R
false
false
981
r
4.R
iequake %>% select(time = OriginTime, mag = Mag) %>% as.data.frame() %>% filter(mag >= 7) %>% mutate(year = as.numeric(format(time,"%Y")), month = as.numeric(format(time,"%m"))) %>% select(-mag, -time)-> iequake_big disaster %>% filter(COUNTRY == "IRAN") %>% select(year = YEAR, month = MONTH, mag =...
5adb1d72dca79bf289ce97a8bb9b9f20e700b93b
79757a94409e5ef29c2ee181fc914e0fc76b34d8
/DNN, LSTM, Random Forest/Random Forest for Feature Selection.R
2ee3550374ed0732af7dab845c0158103c76ebc6
[]
no_license
2ky1234/K-water-Bigdata-Contest
2cee59e64629e8d7b746a36c6a409a8c40f2b2bc
2b07ec4e82897cfc8bef6a863a0fd9072c775ee2
refs/heads/main
2023-05-14T06:03:33.747582
2021-06-10T13:40:35
2021-06-10T13:40:35
375,031,065
3
0
null
null
null
null
UTF-8
R
false
false
1,812
r
Random Forest for Feature Selection.R
library(randomForest) library(dotCall64) library(dplyr) library(readr) library(e1071) gc() rm(list=ls()) rm() memory.limit(30000) ### 종속변수인 db <- read_csv('C:/Users/FESUB/Desktop/수자원 공모전/raw_river.csv') ##### 모델링 db_set <- db ## 샘플링 db_set$index <- 1:nrow(db_set) db_set <- db_set %>% filter(db_set$index%%5==1) db_...
168325cb73fea4c4cf2a4fd1a3e5df1e9f673222
3440f140c8fe9ef31a4e770be349523659880876
/run_clustering.R
23a1b44d328154eddc6c4951951a05ce5d682ba4
[]
no_license
Rene-Gutierrez/BayTenPreClu_project
27651fa0160b86eb5a9c7b41aea24fa7c77f9088
9b0d29ee5cd63e0d58221a94987fe768612dd49a
refs/heads/master
2022-11-07T06:49:59.408905
2020-06-17T21:07:43
2020-06-17T21:07:43
273,078,712
0
0
null
null
null
null
UTF-8
R
false
false
4,477
r
run_clustering.R
############################################################################### ### ### Simulated Data Generation for Mixture Tensor Graphical Models and ### Clustering ### ############################################################################### ### Set-up set.seed(240221) library(BayTenPreClu) library(BayTenGr...
0e82afdd8e4ccd4309d20fed382fc54d3f37b021
b44032d37210f23d97d40420cf3547daa269ab97
/man/config_write_dummy.Rd
047d4b896d0d6b8af82cc764b9322bb556628ac9
[ "MIT" ]
permissive
KWB-R/kwb.qmra
227c4a5d1ef1eb9bb2c863ab7a299175a46d6109
9e096057da37bf574626c60e9ad524dff0b1d89a
refs/heads/master
2022-07-02T08:21:21.895235
2021-06-14T20:28:22
2021-06-14T20:28:22
68,301,647
19
3
MIT
2022-06-08T14:10:17
2016-09-15T14:32:15
R
UTF-8
R
false
true
547
rd
config_write_dummy.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/config.R \name{config_write_dummy} \alias{config_write_dummy} \title{Config: create dummy configuration} \usage{ config_write_dummy( confDir = system.file("extdata/configs/dummy", package = "kwb.qmra") ) } \arguments{ \item{confD...
9b5047ea0bdcb808350926607d1fa2521da453da
5a5fd1f2f42fc8a83e18a42af87f81c125398913
/R/rsu.sssep.rsfreecalc.R
a9d977bd2513d8a8a0beef9092d1ed1f31a76e8e
[]
no_license
cran/epiR
0c40ed842d2ee1af5f200ebab0916c78024725e2
c842d523e9277e7b8036f17cfefcac3e9cb85b42
refs/heads/master
2023-08-18T17:36:15.747432
2023-08-15T09:20:05
2023-08-15T10:30:53
17,695,822
8
4
null
null
null
null
UTF-8
R
false
false
2,845
r
rsu.sssep.rsfreecalc.R
rsu.sssep.rsfreecalc <- function(N, pstar, mse.p = 0.95, msp.p = 0.95, se.u, sp.u, method = "hypergeometric", max.ss = 32000){ type1 <- 1 - mse.p type2 <- 1 - msp.p pstar <- ifelse(pstar < 1, pstar, pstar / N) N1 <- min(N, max.ss) brks <- c(50, 100, 1000, 5000, 10000, Inf) # brks <- c(50, 100, 1...
97c4b2b1e43618dd42e97dc1ffae81a4475c0b10
1bf4bc16ae1e516b82788227118778f9fa008dda
/HJA_scripts/12_sjsdm_general_model_outputs/old/kelpie_sjsdm/sjsdm_model.r
4b4ebe772f5be06c7ef668cb63040a2565eb767f
[ "MIT" ]
permissive
dougwyu/HJA_analyses_Kelpie
93b6b165e4d2de41f46bacd04c266afa7af0541e
4ab9de1072e954eac854a7e3eac38ada568e924b
refs/heads/master
2021-11-03T19:45:17.811298
2021-10-26T09:45:15
2021-10-26T09:45:15
245,229,951
1
1
MIT
2021-09-10T07:19:04
2020-03-05T17:44:55
HTML
UTF-8
R
false
false
19,531
r
sjsdm_model.r
# Yuanheng # create: Mar 23, 2020 # last modified: Apr , 2020 # apply sj-sdm & hmsc # with data (in'data_Feb_25/', 'kelpie20200214') # revised working directory code library(here) here() # this reads working directory as the pathname of the 9_ecological_analyses.Rproj file. It therefore varies transparently from us...
9769839a1f440ff994dceacfd89e0602c52b44b3
ca5418a01faf094b74f13b7ba3b6bd29113a908e
/practice_r/190707_Bayes_Trend_Filtering_Gibbs_Server.R
c24d3a97de596714a8d25ea1254081a226a0dd51
[]
no_license
ikarus702/pbd_KRLS
fae59baf048ac1ca928e602b3656a86a323eb8bf
c26509a52ccb6c26b1d3bab30f5c08b0b89a07d7
refs/heads/master
2020-05-30T08:58:47.472019
2019-07-29T16:37:29
2019-07-29T16:37:29
189,629,987
0
0
null
null
null
null
UTF-8
R
false
false
3,546
r
190707_Bayes_Trend_Filtering_Gibbs_Server.R
library(parallel) ## read in the command line arguments ## run with: R CMD BATCH '--args p.val <- 10 q.val <- 60 off.val1 <- 0 off.val2 <- 0 Data.num <- c(1:50) NCORES=specified number of cores' RNAME.R args <- commandArgs(TRUE) if(length(args) > 0) for(i in 1:length(args)) eval(parse(text=args[[i]])) # NCOR...
4056b9453030191ecc83fb98ce64af153d8566af
74bf5107855b1695a1ac7d128c4df7b485e9c429
/man/taperCoeffsGenerator.Rd
dc68e3b72419b14e2b7494c0ac5f4c2bbf078217
[ "Apache-2.0" ]
permissive
bcgov/FAIBBase
6b3b284e78257006c282c530ab01f897cc33e4c7
1c15295015a448e9ebd2aebec469cbf2b58e88b8
refs/heads/master
2023-08-03T11:05:59.717645
2023-07-19T16:57:09
2023-07-19T16:57:09
195,133,665
0
0
Apache-2.0
2020-02-12T17:59:58
2019-07-03T22:24:25
R
UTF-8
R
false
true
773
rd
taperCoeffsGenerator.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DIB_ICalculator.R \docType{methods} \name{taperCoeffsGenerator} \alias{taperCoeffsGenerator} \alias{taperCoeffsGenerator,character-method} \alias{taperCoeffsGenerator,missing-method} \title{Generate the coefficients table of taper equations} ...
c7668dcdebff838ca62e209f5997c3fa77d31645
7be551356fbadf4f0c2eea4e06c1f6d1856f6288
/Basics/R files/regression/poly_regression.R
7789cad1094b7184665314343f3023bcf77f9fc2
[ "MIT" ]
permissive
AnanduR32/Datascience
160c686f770adc086637b6467bbe6dd84508ce12
17a0b3056f558d917cec222b2d27a9d16920a9b6
refs/heads/master
2023-08-25T07:46:10.391445
2021-10-04T17:05:27
2021-10-04T17:05:27
252,497,031
1
1
null
null
null
null
UTF-8
R
false
false
1,726
r
poly_regression.R
## Setting working directory setwd(setwd_regression_ICE) ## Loading necessary libraries library(caTools) library(data.table) library(ggplot2) ## Loading data dataset = read.csv("Position_Salaries.csv") View(dataset) ## Plotting charts to analyze data plot(dataset) ggplot( dataset, aes( x = Level, y = Sa...
cc720105bb96eb11c5f4434749b33673ad88bec5
478f52115b62b367d3a67936665575ade91c6c66
/man/sdf_num_partitions.Rd
10ee4e15eba8eee4e255275876ce471de841db29
[ "Apache-2.0" ]
permissive
leosouzadias/sparklyr
209d5f90e7e3bd4be19d974c2785340f98de243f
38c4a60882c04313ea200dda4387cc0ed94c08af
refs/heads/master
2021-07-11T19:55:42.473022
2017-10-16T16:28:16
2017-10-16T16:28:16
106,004,105
1
0
null
2017-10-06T12:50:17
2017-10-06T12:50:17
null
UTF-8
R
false
true
395
rd
sdf_num_partitions.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sdf_interface.R \name{sdf_num_partitions} \alias{sdf_num_partitions} \title{Gets number of partitions of a Spark DataFrame} \usage{ sdf_num_partitions(x) } \arguments{ \item{x}{An object coercable to a Spark DataFrame (typically, a \code{tbl_...
272e8fa4410de91b38bf3edf702bb97e53dbbeb9
a485dcf08bd177648ac738919deb044d26f5682a
/PI_CALCULATION_ALONG_TOTAL_GENOME.R
fb504f74b13797aca852facb8fc6dfcc7569542e
[]
no_license
NurislamSheih/Pv_population_genomics_scripts
78cb0eab4742561f58cba3183399cb1c0aa136ed
c1b9b096ab094479d582a7b770c1e1b74940ab33
refs/heads/main
2023-04-23T07:07:52.652746
2021-05-18T14:07:04
2021-05-18T14:07:04
368,541,594
0
0
null
null
null
null
UTF-8
R
false
false
3,625
r
PI_CALCULATION_ALONG_TOTAL_GENOME.R
#####Pp_genome_assembly library(dplyr) library(data.table) library(ggplot2) T3 <- read.table("AF_Malawi_CHIKOPA_Pp_genome_assembly_columns_passed.txt", sep = "") print("Finished read AF_TASH_SC1") T3 <- mutate(T3, V8 = paste(V1, V2)) T3 <- T3[,c(1,3:7)] print("start joining data") T3_T3 <- inner_join(T3, T3, by = ...
813a22706126326d181d932e37974832de966501
820f8aca9a690688cd5a48caa9038fbeff6ba971
/man/adjust_value.Rd
33e5b776b635c1a2e6fb99533d1648cfec9a4041
[]
no_license
jkennel/transducer
07374d4967498762cb692e71068bf89b6f026bc3
881ae6eb2570a15c6dc6aa91a69308183c3023f2
refs/heads/master
2021-06-11T18:14:03.474803
2021-06-04T12:22:17
2021-06-04T12:22:17
195,269,441
0
0
null
null
null
null
UTF-8
R
false
true
262
rd
adjust_value.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compare_to_manual.R \name{adjust_value} \alias{adjust_value} \title{adjust_value} \usage{ adjust_value(x, shift) } \arguments{ \item{shift}{} } \value{ } \description{ adjust_value }
a2dd249a6670ce422f6746202128f4f1f00ae674
6b1d474c1771046189f292dbd48a3fa66432ac48
/exploratory/percentwastedfoodsupply.R
5b9ded0343c9732fc0e8e8cc3c4fed10d2040c7b
[]
no_license
qdread/fwe
1393e192d946eb1c0067bbc5ad0f927c49fa0305
7f33c87b7e1ad0a64233b28bf4c08b977ca56014
refs/heads/master
2021-08-08T14:28:26.834715
2021-07-12T15:50:47
2021-07-12T15:50:47
151,155,365
3
0
null
null
null
null
UTF-8
R
false
false
3,906
r
percentwastedfoodsupply.R
# Calculation of percentage food supply wasted in USA, baseline. # Done for Jenny Stephenson's EPA report # QDR / 12 July 2021 library(tidyverse) flw_rates <- read.csv('C:/Users/qread/Documents/GitHub/foodwaste/halvingfoodwaste/data/flw_rates.csv', stringsAsFactors = FALSE) industry_proportions <- read.csv('C:/Users...
a20460f4dd6edc37f74b0f62565a8b21c018d818
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/airr/examples/load_schema.Rd.R
7cb089fa623f71ec55316caae60cb348efe5f932
[]
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
264
r
load_schema.Rd.R
library(airr) ### Name: load_schema ### Title: Load a schema definition ### Aliases: load_schema ### ** Examples # Load the Rearrangement definition schema <- load_schema("Rearrangement") # Load the Alignment definition schema <- load_schema("Alignment")
06cc137a2d9c69786c9bb2e13079f26553789715
514d2567b3d1c640c3bdeee70b5e21a7d6070a54
/op.r
6bc0e04e1261e685dc3578bb1334fe9fda768a0d
[]
no_license
andriyamm/r-snippets
2a5e1e937b51008ffd6370862f679640d80e31dc
fd8f39284bd93670f47dc132ccb3be2acbb6c075
refs/heads/master
2020-12-24T16:59:41.074982
2014-04-10T04:53:55
2014-04-10T04:53:55
null
0
0
null
null
null
null
UTF-8
R
false
false
456
r
op.r
#You can define your own binary operators. # User-defined binary operators consist of a string of characters between two % characters. #To do this, create a function of two #variables and assign it to an appropriate symbol. For example, let’s define an oper- # ator %myop% that doubles each operand and then adds th...
3591f7fd18cace87d8196b6916740673deb1adde
b660653f7e706a508171171c6196a719a04afc1a
/AgeScenarios.R
ba9d42d5d62b955ed83d2c8d4edbcdceaaba0b39
[]
no_license
GLEON/AgeWaterCarbonr
290b288248d9bc6d639f3041ed98e32c9c67545e
fbb0c2eded00fe6bb4032ed5d682d4a8dfb68325
refs/heads/master
2020-04-30T10:49:00.190067
2019-03-20T19:23:48
2019-03-20T19:23:48
176,786,470
1
1
null
null
null
null
UTF-8
R
false
false
20,227
r
AgeScenarios.R
# Age of water and Carbon, R version, July 2017 # Adapted from Duffy, CJ, HA Dugan, and PC Hanson, In review, The age of water and carbon in lake catchments: a simple dynamical model, Limnology & Oceanography Letters source('./AgeOfCarbon.R') source('./GetAgeParameters.R') source('./Budyko.R') ####################### ...
e6b41923a579727999b14c25547e674bc00bd72c
9900a88e6f3649c3a4451ef9380b9770a9896b8c
/server.R
7052dfb03dd0033a7af4174608df424f637cb54d
[]
no_license
huangzhii/iGenomicsR
3345a50a720e2e8095861469a77ab347e1e39c89
14085bc647fb0047313a868633a6919ec7f79a79
refs/heads/master
2021-04-12T09:31:42.509309
2019-05-14T20:36:47
2019-05-14T20:36:47
126,821,968
1
0
null
null
null
null
UTF-8
R
false
false
56,718
r
server.R
library(data.table) library(DT) library(RColorBrewer) library(GenomicRanges) library(ggplot2) library(reshape2) library(gplots) library(plyr) library(GGally) library(survival) library(shinyjs) source("utils.R") source("my_heatmap.R") source("my_analysis.R") source("gene_filter.R") options(shiny.maxRequestSize=300*1024...
80b55aa5da0e5f4dc33d5f4ea5bce6fab77abe2b
cc541c98fa97f871643e4c83784180404368cc94
/man/combn_C.Rd
74c08e5ac5c145295f57a662a914ea3cea809ecb
[]
no_license
ojessen/ojUtils
34e81a8511b96039b5ebb24e08f1d191eefe4b37
ce748448fdd71f4d9a459a94ea2b912da75e79a4
refs/heads/master
2018-11-06T06:50:41.609782
2018-09-10T19:02:49
2018-09-10T19:02:49
21,038,018
0
1
null
2014-06-20T14:55:59
2014-06-20T13:01:13
C++
UTF-8
R
false
true
434
rd
combn_C.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ifelseR.R \name{combn_C} \alias{combn_C} \title{combn replacement} \usage{ combn_C(x) } \arguments{ \item{x}{is an integer vector, representing a sequence starting at 1.} } \description{ This function is an adaptation of combn from base. curr...
fe231421408ed45e15edd682b79a6030cda38957
bc59e431d4ad3db278fdb2cda85c6f9ca213982a
/code/ESNreservoir.R
bd0873f61dfdfacf91cf345162ee3336d6529430
[]
no_license
dylansun/ES2VM
46150ee8370fc962f600a971687ba3d7027b0f7e
76b2c59bef6c203c56c0c126c0b2a12ec53bfc0b
refs/heads/master
2021-01-10T12:26:47.943497
2016-01-31T03:01:13
2016-01-31T03:01:13
50,756,272
0
0
null
null
null
null
UTF-8
R
false
false
351
r
ESNreservoir.R
ESNreservoir <- function(nodesize = 100, alpha = 0.8){ topright = -alpha^nodesize # 0 0 0 ... 0 -a^N # 1 0 0 ... 0 0 # w = 0 1 0 ... 0 0 # 0 0 1 ... 0 0 # 0 0 0 ... 0 0 # 0 0 0 ... 1 0 W = diag(nodesize-1) W = cbind(W, rep(0, nodesize -1)) W = rbind(c(rep(0,nodesize -1...