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
b6ad30b7185303d36297e3d48b164d5398b48225
e8a4ff8a3df82b03e323581ee68a378ff501f2b2
/vns.R
84edc2ff16df6f6fa9b93e489f89f4e5b8fb327e
[]
no_license
aldamuhammadsulaiman/OKH
04ba54d7f50a984b467fb160d6bad36acc3c3769
8f106ca9ba3b4dbd1189b283995e4b9716040975
refs/heads/master
2020-09-13T06:21:49.609991
2019-12-11T12:27:18
2019-12-11T12:27:18
222,680,078
0
0
null
null
null
null
UTF-8
R
false
false
8,513
r
vns.R
vns<- function(sol,cm,stud,max_iter) { k<-1 start<-Sys.time() pen<-calculatePen(hcPrepare(sol),cm) iteration_pen<-matrix(0,nrow=max_iter,ncol=1) for (iter in 1:max_iter) { if(k==1) { rand_exam<-round(runif(1,1,nrow(sol)),0) sel_ts<-sol[sol[,1]==rand_exam,2] conf_ts<-getNeighbori...
09f7631fbb011a0ddb2f593a513f78d2a2abad6f
2d34708b03cdf802018f17d0ba150df6772b6897
/googlecomputealpha.auto/man/AddressesScopedList.Rd
e11a06fc5219a7713000ee4fd39c36fbb6ba61ee
[ "MIT" ]
permissive
GVersteeg/autoGoogleAPI
8b3dda19fae2f012e11b3a18a330a4d0da474921
f4850822230ef2f5552c9a5f42e397d9ae027a18
refs/heads/master
2020-09-28T20:20:58.023495
2017-03-05T19:50:39
2017-03-05T19:50:39
null
0
0
null
null
null
null
UTF-8
R
false
true
1,062
rd
AddressesScopedList.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compute_objects.R \name{AddressesScopedList} \alias{AddressesScopedList} \title{AddressesScopedList Object} \usage{ AddressesScopedList(AddressesScopedList.warning = NULL, AddressesScopedList.warning.data = NULL, addresses = NULL, warning...
a3f3017913cc3a8492508eef2e5061d44a4e6d06
8b9821528190c4b4ff791c9d87c5d10851705bdb
/man/read_geocarb.Rd
ddaf237d1b36fe4248a4a1046e29330476d11790
[ "MIT" ]
permissive
jonathan-g/geocarb
5eb88b7941c4c4781d4c9a4db8a54076d81eb151
a7213a1d31e02b9f50048a98c010160ff0b4ce6e
refs/heads/master
2021-03-11T04:13:43.362794
2020-03-12T02:17:39
2020-03-12T02:17:39
246,508,618
0
1
null
null
null
null
UTF-8
R
false
true
410
rd
read_geocarb.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_geocarb.R \name{read_geocarb} \alias{read_geocarb} \title{read_geocarb} \usage{ read_geocarb(filename) } \arguments{ \item{filename}{The file to read.} } \value{ A tibble containing the results of the GEOCARB simulation. See \link{run_ge...
15c6a5d7f21658bdf06eac3ba64ad81c624a35fb
f6342eaa9aa5e4640305166e4a9bf91753d3a86f
/R/ITPimage.R
a6376486af3ff7ad1001fbd181c9f9df25acf110
[]
no_license
cran/fdatest
1edd9c7545dc7ad25bfd5c2bce4e307b9bac5159
56b9403f749e3e6442249ca6c6cd04bf1825706a
refs/heads/master
2022-05-24T11:12:19.389283
2022-05-04T07:30:08
2022-05-04T07:30:08
17,696,019
0
0
null
null
null
null
UTF-8
R
false
false
11,138
r
ITPimage.R
ITPimage <- function(ITP.result,alpha=0.05,abscissa.range=c(0,1),nlevel=20){ if(ITP.result$basis=='paFourier' & ITP.result$test=='2pop'){ #2 plots: phase and amplitude par(ask=T) #phase: p <- dim(ITP.result$heatmap.matrix_phase)[1] min.ascissa <- 1-(p-1)/2 max.ascissa <- p+(p-1)/2...
4499f2816db016b41f310e2cd9c062ce95e1c351
5d690f159266b2c0f163e26fcfb9f9e17a0dc541
/windfarmGA/man/getRects.Rd
02661709ecccb30867b1a98629130ec0e7e54842
[]
no_license
albrizre/spatstat.revdep
3a83ab87085895712d7109c813dcc8acb55493e9
b6fc1e73985b0b7ed57d21cbebb9ca4627183108
refs/heads/main
2023-03-05T14:47:16.628700
2021-02-20T01:05:54
2021-02-20T01:05:54
null
0
0
null
null
null
null
UTF-8
R
false
true
433
rd
getRects.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/deprecated.R \name{getRects} \alias{getRects} \title{Deprecated use \code{\link[windfarmGA]{get_grids}} instead.} \usage{ getRects(trimtonOut, Grid) } \arguments{ \item{trimtonOut}{Input matrix with binary values.} \item{Grid}{Grid of the co...
c41735324946b1bd50f7081ea1e425c857d133ca
1486b7de41ac7a9882ecd92722d886802d49f9aa
/man/drag.Rd
b6ba2e7853e656d141b06dfaeafb6e77e5a6e96e
[]
no_license
richardsc/ocedata
4f155f7ad72ac90a42c6003fb316c5e41b7e5a8b
ad804a151f3d50ea41df6f7cfd401e0446ddac6a
refs/heads/master
2021-01-01T17:58:48.937286
2017-07-24T16:20:25
2017-07-24T16:20:25
98,209,705
0
0
null
2017-07-24T16:08:07
2017-07-24T16:08:07
null
UTF-8
R
false
false
1,117
rd
drag.Rd
\name{drag} \docType{data} \alias{drag} \title{Wind drag coefficient} \description{Wind drag coefficients for wind-profile and eddy-covariance methods, summarized in Figure 3 of Garratt (1977). The data are stored in a data frame with four columns: \code{U} is wind speed in m/s; \code{Cd} is for (neutr...
dec3e96aa70e490a9741e18aeb275b56487b21f8
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/EGRET/tests/tests_imports.R
8633ed813167c94f1e33ccd71c0027e3af790905
[]
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
4,319
r
tests_imports.R
context("EGRET retrieval tests") test_that("External Daily tests", { testthat::skip_on_cran() DailyNames <- c("Date","Q","Julian","Month","MonthSeq","waterYear", "Day","DecYear","Qualifier","i","LogQ","Q7","Q30") Daily <- readNWISDaily('01594440', '00060', ...
db15f0ce01090f7454e6dcf7ba8d212ef22ebb6f
2be9eed323fde560de24bf4999cffbd3977ac2ee
/Appli/Dashboard_hackaton_AAV20/Script.R
2a7d7c2088c82ea2c057e5665f3fcc509aea37c9
[]
no_license
Reinaldodos/Hackathon_AAV20
e2b02614679188697e36ebca12c23c2c1dd502cb
c5b3a07aa333f2198d7819925c104e2e1ccae3c2
refs/heads/master
2023-04-12T22:56:47.541966
2021-04-24T15:06:26
2021-04-24T15:06:26
360,656,988
1
1
null
2021-04-23T18:11:57
2021-04-22T19:17:06
R
UTF-8
R
false
false
997
r
Script.R
source("Fonctions.R") # Bases_urbaines = sf::st_read(dsn = "data/fond_AAV2020_geo20_metro/zMetro.shp") # # Depts = sf::st_read(dsn = "data/departements.geojson") input_GEODES = rio::import(file = "https://www.data.gouv.fr/fr/datasets/r/c2e2e844-9671-4f81-8c81-1b79f7687de3", format = "csv...
cbe4c7c41ca1ddb1df1f79e0f58e12f67580721b
d810389391683989eaa93d41a88da2c9518bc527
/ggplot2_demo/demo.R
10c835bbdea27bad72a39dd653f39f44887153a0
[ "MIT" ]
permissive
jiachengx/ironmen2020
098bc54b1199c591cba771ae7d8641bcddf9ea84
3f1dbeba14cf5e77ef54cabdbc21e00e430ca56b
refs/heads/master
2023-01-12T15:56:33.347439
2023-01-07T08:38:18
2023-01-07T08:38:18
279,243,570
1
1
MIT
2023-01-07T08:38:18
2020-07-13T08:33:32
C#
UTF-8
R
false
false
757
r
demo.R
name <- "demo.csv" n <- strsplit(name,'.',fixed = TRUE)[[1]] fname <- n[1:1] library(ggplot2) dt <- read.table(name, header=TRUE, sep=",", na.strings="NA", dec=".", strip.white=TRUE) dt$SSD <- factor(dt$SSD) str(dt) filtertps <- function(y) { subset(y, TPS>100) } dd=subset(filtertps(dt)) m <- ggplot(dd,...
39525da9f3896bf393b519b4dcc5b893ba68ac00
324a3580d9df6967f24fa254b06770f36da138d3
/uncovering_ML_families/src/2_family_identification/utils/models.R
a6decb842f7a2b494bfc7e10ed07632aea6f824a
[]
no_license
rfabra/whos-behind
67fed1f9b691d6c130c43f86342d33ee4ed22457
ab88c1db2df351a93270c56568ff49da9714cbf6
refs/heads/master
2020-03-18T14:13:25.366860
2019-04-22T10:29:58
2019-04-22T10:29:58
134,836,764
0
0
null
null
null
null
UTF-8
R
false
false
157
r
models.R
models <- c( "rda", "rf", "c5.0", "svmRadialCost_C2_5", "mlpML", "NB", "knn_k5", "glmnet", "simpls_ncomp4", "multinom", "gcvEarth_d3" )
00c44276ae07bbf18a00eef9e41d6a473bda6cab
591559d85e13f636099d98f5f611c64b0db8592f
/scripts/Ordination.R
b34741f89bb820fb29b5dcec5de7709d874b17bf
[]
no_license
eabowman/Bowmanetal-EctomycorrhizalFireStudy-Arizona
8be10a0971332a9081ca2f885cebdb8e6a074f68
e505be455c331ca191037c37c47e0f26c6b7e27a
refs/heads/master
2023-01-03T11:14:52.395331
2020-10-28T22:42:12
2020-10-28T22:42:12
107,572,059
0
0
null
null
null
null
UTF-8
R
false
false
41,559
r
Ordination.R
## Script created by Liz Bowman June 3, 2017 ## for analyzing community differences between ranges and burn status of sites #========================================================================================# # Load data ---- #======================================================================================...
6257a55b6efbeee141c809d2ab37da892702c068
23340bcd0584bee0d1ebcca4b8aab4d7f3d1bed8
/R/Bus_workers.R
0d6bd59739b563f03ff867bde8068a28fb6c9ac8
[]
no_license
dtkaplan/mdsint
51565e28f37fb812771ec340a17fdcdbb9852c94
570d9edc58fc8e4bbfb11887b3bcae472ae8ba5c
refs/heads/master
2021-08-22T16:57:31.214289
2017-11-30T18:12:07
2017-11-30T18:12:07
109,734,206
1
0
null
null
null
null
UTF-8
R
false
false
1,612
r
Bus_workers.R
#' Coronary heart disease in London transport workers #' #' In the 1950s, epidemiologist Jerry Morris explored the hypothesis that #' lack of exercise is associated with higher levels of coronary heart disease. One of his #' first systematic observations of this was the different levels of disease in bus drivers #' (w...
6053a4081c42f6dbe611343531419e273ada1cf7
cab2b8d274b4e6b92a5af098210ba30daa8eb754
/examples/date.R
d0efdfffb2f2c8003054634622ff0bebe7d6dddd
[]
no_license
olafmersmann/sendmailR
8f34a34a63572739212e4147d0bf636fa1783a93
ea90ce2e433f34d43bb2025b28a195e7b6951caa
refs/heads/main
2023-08-31T10:55:11.444257
2023-08-10T12:48:01
2023-08-10T12:48:01
42,791,434
9
12
null
2023-08-10T12:48:02
2015-09-19T22:12:09
R
UTF-8
R
false
false
569
r
date.R
library("sendmailR") rfc2822_date <- function(time=Sys.time()) { lc <- Sys.getlocale("LC_TIME") on.exit(Sys.setlocale("LC_TIME", lc)) Sys.setlocale("LC_TIME", "C") strftime(time, format="%a, %d %b %Y %H:%M:%S -0000", tz="UTC", use.tz=TRUE) } from <- "sendmailR@p-value.net" to <- "olafm@statistik.tu...
87e38d35fee2e0a03662a26a383a4559b82473af
c3e2451daec7c223e6bca5e8ec5d29ea3efa5c6a
/man/fast_rmvnorm_transpose.Rd
4f0c74154bc9038ebada75c0be26be95f5198a13
[]
no_license
pierrejacob/bayeshscore
d0336efc16dd0456ffa2c3f6fbe51aabbcf3f3f8
8f148f4074e09de4911d5645a9781c8aa844d38d
refs/heads/master
2021-09-22T10:56:27.652463
2018-09-08T18:21:28
2018-09-08T18:21:28
63,806,619
5
0
null
null
null
null
UTF-8
R
false
true
355
rd
fast_rmvnorm_transpose.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/util_distributions.R \name{fast_rmvnorm_transpose} \alias{fast_rmvnorm_transpose} \title{fast_rmvnorm_transpose} \usage{ fast_rmvnorm_transpose(nparticles, mean, covariance) } \description{ Fast samples from Normal using Rcpp (dimensions row...
33b4ef3322be2e1cf819bd64defaee8cb0678d04
9463190790003d3cf888a8f5cff0f5a4c0383530
/R/matchPattern.BOC.R
212c902192c698968f9aa9c337c686d3fa178318
[]
no_license
nw328/Biostrings
06a9f2d73466c28bdbf7ba90cbaa6002cabbcd75
ff7cfd71cd2b388b68234b17577a2ae919ee62f0
refs/heads/master
2020-12-25T21:13:20.681088
2015-08-26T08:55:38
2015-08-26T08:55:38
null
0
0
null
null
null
null
UTF-8
R
false
false
6,905
r
matchPattern.BOC.R
### ========================================================================= ### Preprocessed Subject Strings of type BOC ### ------------------------------------------------------------ ### Note that 'base1_code', 'base2_code' and 'base3_code' must be distinct setClass("BOC_SubjectString", representation( ...
eb8e129e3afadc8d68ee6e1706f470e0043b3442
5cc55721b809c67ecd354e88a2c93b72d67f7c86
/06-NeuralNetworks.R
b09458d5e65f4191c19ff91389b5c35b1e141b03
[]
no_license
mairatayana/R_MachineLearning
71eace52457b258ac6e459d070e581bec0565a82
c6649f2fef89db52c25cf76d1ebbe10d64275393
refs/heads/master
2020-03-21T03:53:17.968396
2018-09-23T02:53:22
2018-09-23T02:53:22
138,079,395
0
0
null
null
null
null
ISO-8859-1
R
false
false
9,426
r
06-NeuralNetworks.R
# Script em R do exercício de Rede Neural # Aluna: Maira Tayana Menegas - PPG-CC - Aluna especial ################################################################################## # Preparacao dos dados # Importando datos de arquivo CSV cliente <- read.csv(file="Conj_data.csv", header=TRUE, sep=",") View(clien...
d875d2c0e48ed614235c78beb3a7269d3c404a6d
540e796f202a5a826b902f7e39f038bdc8cd9d52
/man/ME.log.Rd
3f99a2d6ae799993356e8b19efec4066ee3b13a5
[]
no_license
cran/LFDREmpiricalBayes
ff01e7ab0d0939b61764ab902cc4dd86e53357d9
e97e0722b036954f32bf2c09f92b3c5e60194afb
refs/heads/master
2021-05-05T13:33:38.750725
2017-09-27T08:08:46
2017-09-27T08:08:46
104,997,533
0
0
null
null
null
null
UTF-8
R
false
false
5,032
rd
ME.log.Rd
\name{ME.log} \alias{ME.log} \title{Provides Reliable LFDR Estimates by Selecting an Appropriate Reference Class} \description{ %Based on Section 2.2, Algorithm 1, and Section 5.2. %section 3: "BME" Bayes estimator of ME estimates of LFDR Selects an appropriate reference class given two reference classes. Considers tw...
18deaf34c8512b9577bf05f203b061d39f5dfe85
3190820fe0ce8a4ea87701cc4bc7b5467b210d26
/man/group_ops.Rd
4745b5074aa84ee86367c28a6bd78aa6298b6f3e
[ "Apache-2.0" ]
permissive
jonathom/openeo-r-client
17ebed91a27b31089aa203c7e96206f0ae6fab0a
fccbe70cf53c3d5b4dfabeba28aac5faab04f6c0
refs/heads/master
2023-03-19T05:13:36.709711
2020-09-30T14:35:37
2020-09-30T14:35:37
null
0
0
null
null
null
null
UTF-8
R
false
true
2,589
rd
group_ops.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ops.R \name{group_ops} \alias{group_ops} \alias{sum.ProcessNode} \alias{sum.ProcessGraphParameter} \alias{sum.list} \alias{prod.ProcessNode} \alias{prod.ProcessGraphParameter} \alias{prod.list} \alias{min.ProcessNode} \alias{min.ProcessGraphP...
6cdd5468bcb6ee75b391fb09721dff547db85e2c
37c78408b006646d60f6c9cd30d98bb6397f9372
/Cleaning UK HLS.R
a9388da8b602136dc099125a12ee015761830965
[]
no_license
markagreen/ukhls_biomedical_fellowship
69bdf9bea05bf06d7e87210825219f2c9dcdae0e
6be07f4aa147d4aea041931a89912f1ff8663277
refs/heads/master
2020-04-16T03:35:53.329211
2020-01-13T15:41:08
2020-01-13T15:41:08
165,237,102
2
0
null
null
null
null
UTF-8
R
false
false
13,528
r
Cleaning UK HLS.R
##################################### #### Selecting Outcome Variables #### ##################################### # Open data (make sure have unencrypted folder first) library(data.table) #usw1 <- fread("/Volumes/Fellowship/UKDA-6614-tab/tab/us_w1/a_indresp.tab") # Wave 1 usw2 <- fread("/Volumes/Fellowship/UKDA-6614-t...
2e05dc28bf8a53a2705733a8e6c4f7f73df2bc70
9047b439ed2ad50f7a7eab5f78420aa679757100
/R/convert.R
b416b3a0432cd0188f22a4b92444c9b30a7e1b85
[]
no_license
Drbuxie/MachineShop
8546608cef4a726326af4beaff6daaf1d5e8bfd1
572bbb803036a631e807f04ad775977550dbec6c
refs/heads/master
2023-03-07T22:11:59.357525
2021-02-01T01:56:17
2021-02-01T01:56:17
null
0
0
null
null
null
null
UTF-8
R
false
false
3,105
r
convert.R
setGeneric("convert_prob", function(object, x, ...) standardGeneric("convert_prob")) setMethod("convert_prob", c("ANY", "ANY"), function(object, x, ...) x ) setMethod("convert_prob", c("ANY", "numeric"), function(object, x, ...) unname(x) ) setMethod("convert_prob", c("BinomialVariate", "ANY"), f...
7922513ae3e49784eb12e8f504b532131ee6bd83
04d68dc2eaeaab457cc9990f860d1b864e74db34
/run_analysis.R
adfe9acd12ef6a975b2eb5f2d565c6fe208d71be
[]
no_license
TsygankovNickita/getting-and-cleaning-data
74f2d1a5b60d61c00dc8ea3992169a667850d709
53ef1c0baa0f00b70bbb48e1b7b3b39a24dfc6ee
refs/heads/master
2020-03-19T04:28:39.353208
2018-06-02T16:43:27
2018-06-02T16:43:27
135,833,133
0
0
null
null
null
null
UTF-8
R
false
false
1,623
r
run_analysis.R
## okay, lets try to perform our run_analysis.R ### we need it later library(plyr) X_train <- read.table("train/X_train.txt") y_train <- read.table("train/y_train.txt") s_train <- read.table("train/subject_train.txt") X_test <- read.table("test/X_test.txt") y_test <- read.table("test/y_test.txt") s_test <- read.tab...
e1465bca06aec9d4abb1e4bbce8978a00b24a296
2ecd31c869dd8b964becfe2a64ab79d4a110d6a7
/waffle-charts.R
90f2ea766a82ec4a8b48323971eaa9ec87d9bfce
[]
no_license
dmcglone/agre-v-wolf
1c366bbd1a9e111a6a94e8ceea0fd70212520d6a
dbc545e7e1be32a1b9030f2157a3cd699b9a8036
refs/heads/master
2021-07-24T12:23:55.294414
2017-11-03T18:56:04
2017-11-03T18:56:04
107,730,126
0
0
null
null
null
null
UTF-8
R
false
false
2,260
r
waffle-charts.R
library(waffle) iron( waffle(title="1st Congressional District", c("GOP"=22, "Democratic"=78), colors=c("#F37561", "#3EC0F3"), rows=5) ) iron( waffle(title="2nd Congressional District", c("GOP"=11, "Democratic"=89), colors=c("#F37561", "#3EC0F3"), rows=5) ) iron( waffle(title="3rd Congressional District", c("G...
5feab7ca727571ac2088788adedfc3f0dfde25d3
251a3940e544dd6277fbdbc9f5cfebd53f98d3af
/R/print.R
610451fbf2d716d1d0a75ae250c980d7ebc9c0bc
[ "MIT" ]
permissive
lionel-/tidytable
641c45c6a367a17b8ece2babfeb27b89ca0e101b
72c29f0e14d96343ba6e5dcd0517f7032d67c400
refs/heads/master
2022-07-11T22:33:29.352960
2020-05-10T18:33:10
2020-05-10T18:33:10
263,058,395
0
0
NOASSERTION
2020-05-11T13:59:12
2020-05-11T13:59:11
null
UTF-8
R
false
false
12,364
r
print.R
#' @export print.tidytable <- function(x, topn=getOption("datatable.print.topn"), nrows=15, class=TRUE, row.names=getOption("datatable.print.rownames"), col.names=getOption("datatable.print.colnames"), ...
e9e86e316429e5059643f0da60b07ed6253d0a06
3a4d1342e102490d0a1e881326f3afd47f428926
/scrape/xbrl-parse2.R
f2815db5d20ed98ca840701deaeb6f7ce1bc1bfc
[ "Apache-2.0" ]
permissive
xbrlware/ernest
a7c64f6517d891eb9f42b074ee322b5a4e26ac30
526a1e3d4f89c6ca7e2a944362e8a704006f2d6f
refs/heads/master
2021-01-24T01:52:34.996442
2017-05-01T13:35:29
2017-05-01T13:35:29
null
0
0
null
null
null
null
UTF-8
R
false
false
2,200
r
xbrl-parse2.R
require(R.utils, warn.conflicts = FALSE) library(Rcpp, warn.conflicts = FALSE) library(rvest, warn.conflicts = FALSE) library(XML, warn.conflicts = FALSE) library(XBRL, warn.conflicts = FALSE) options(stringsAsFactors = TRUE) args <- commandArgs(trailingOnly = TRUE) finalDir <-file.path(paste('/home/ubuntu/sec/parse...
2e09ee34016f08aa4ed3585ae638822e2878bd93
a54e3d6251c5d8a20e5e5c82006fa1848c325b2d
/R/hello1.R
5e2d4ab99af1c8c9e391ec125904f822fffa0c3b
[]
no_license
brijeshyati/brijeshkumar.github.io
30223d62748042a36211e5b659043b5941198d4a
9a636094202b4ed46845c33cf056bc17f131c209
refs/heads/master
2022-06-30T19:15:54.074595
2020-05-09T07:54:43
2020-05-09T07:54:43
261,801,203
0
0
null
null
null
null
UTF-8
R
false
false
3,184
r
hello1.R
#' @title Predicts Stock Price Movement for Given Stock Symbol #' #' @description This package predicts whether the stock price at tommorow's market close would be higher or lower compared to today's closing place. #' #' @param symbol #' #' @return NULL #' #' @examples statwiseprogress(10) #' #' @export stat...
41997d4c0f38e2b7dbd6724e6a122d4496f5be3e
6a53749a38f2e539b6b0b549f258e819ebd90cf1
/titanicsripts.R
1782d862504f14eb14fe28577a94f94df288f259
[]
no_license
techtenant/Titanic-Prediction-Using-R
9bf3a3ef01acaf31234a886e94682ea13e695e83
3c6988208ae838462eb231585dbee538b154333c
refs/heads/master
2020-04-18T05:35:15.191764
2019-01-24T01:56:40
2019-01-24T01:56:40
167,284,157
0
0
null
null
null
null
UTF-8
R
false
false
6,836
r
titanicsripts.R
#Load Data traindata <- read.csv("train.csv", header = TRUE) testdata <- read.csv("test.csv", header = TRUE) #Add Survived variable to the test set to allow for combining of data sets testdata.survived <- data.frame(Survived =rep("None", nrow(testdata)), testdata[,]) #Combining Data Sets data.combined <- rbind(tr...
af6ee19535d9bb9090b0b8621311d78cb47254c1
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/epiR/examples/epi.descriptives.Rd.R
0296fccc0600b189e656b7fa8bc89c78a804aaa5
[]
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
290
r
epi.descriptives.Rd.R
library(epiR) ### Name: epi.descriptives ### Title: Descriptive statistics ### Aliases: epi.descriptives ### Keywords: univar univar ### ** Examples id <- 1:1000 tmp <- rnorm(1000, mean = 0, sd = 1) id <- sample(id, size = 20) tmp[id] <- NA epi.descriptives(tmp, conf.level = 0.95)
9609e321bcd8762253ebeaf329644dc84f419180
673e813b89de8f8ccffe671c6b6070026abbc53d
/inst/unitTests/test_CDFfromGTF.R
3920baaffc619bdf2adaa56273f9765d4f13dde5
[]
no_license
jpromeror/EventPointer
4eaa1f3a6bc653e72afef317517eec42dff41627
aa24e3a15c6bdbd7b6c950b962b3d24c3eb80950
refs/heads/master
2023-05-25T16:48:24.853661
2023-05-15T11:14:22
2023-05-15T11:14:22
80,099,260
4
0
null
2022-11-28T11:24:50
2017-01-26T09:01:24
R
UTF-8
R
false
false
374
r
test_CDFfromGTF.R
test_CDFfromGTF <- function() { obs <- tryCatch(CDFfromGTF(input="Test"), error=conditionMessage) checkIdentical("Microarray field empty", obs) obs <- tryCatch(CDFfromGTF(input = "CustomGTF", inputFile = NULL, PSR="T1", Junc="T2" , PathCDF="T3", microarray = "RTA"), error=conditionMessage) ...
e2339aa3072d3fb7bbf9b8d7a63f370d9c0a340a
67c2a90c7edfac3cfd891cb332c45e71cf4a6ad1
/R/cdm_add_ridge_diagonal.R
9b82cd3956ca7448d8ede2995382252f2555b7ea
[]
no_license
alexanderrobitzsch/CDM
48316397029327f213967dd6370a709dd1bd2e0a
7fde48c9fe331b020ad9c7d8b0ec776acbff6a52
refs/heads/master
2022-09-28T18:09:22.491208
2022-08-26T11:36:31
2022-08-26T11:36:31
95,295,826
21
11
null
2019-06-19T09:40:01
2017-06-24T12:19:45
R
UTF-8
R
false
false
178
r
cdm_add_ridge_diagonal.R
## File Name: cdm_add_ridge_diagonal.R ## File Version: 0.03 cdm_add_ridge_diagonal <- function(x, eps=1E-10 ) { D <- ncol(x) rx <- x + diag( eps, D ) return(rx) }
4788153f412bfb72a271ee32784862bdd8c795eb
8615a79ededec2faaf0fee8ddf047280d3f9cad9
/R/PredictoROutput.R
ead6d8288e8eccd3b0a93bbf775f04f72be2232e
[ "Apache-2.0" ]
permissive
htssouza/predictoR
5923720ce35b8d57216a14ad2b2c2910e9c3e501
dd920ca1edda92816859300caf100d0dc7987ffc
refs/heads/master
2021-01-11T15:28:16.498822
2018-01-08T23:33:00
2018-01-08T23:33:00
80,353,247
0
0
null
null
null
null
UTF-8
R
false
false
1,159
r
PredictoROutput.R
################################################################################ # PredictoR Output ################################################################################ ################################################################################ # External dependencies #################################...
f7b022312d22929c13b5db6c8fbd4d656225c12e
e0b87eb63633d601f3e9e23e35b62b72835f091c
/man/transfquad.Rd
251e5a0a61627a9deef1ac7247c8bd74a6e5c0af
[]
no_license
Allisterh/nlr
7737c85aa80485f5173469d2479d89be72c427ba
7f45b89f1748d356af588920b6f7ae2a5269f80d
refs/heads/master
2022-04-02T20:53:11.162698
2019-07-31T11:40:02
2019-07-31T11:40:02
null
0
0
null
null
null
null
UTF-8
R
false
false
1,694
rd
transfquad.Rd
\name{transfquad} \alias{transfquad} \alias{transfquadvec} \title{ Variance to standard deviation transform. } \description{ This function compute the standard deviation of an output from a parameteric nonlinear variance function object, usualy stored as \code{\link{nl.form}}. The gradient and hessian attrib...
79482f4b830fa6f3024363473fefc753e95d9e91
5b67a3e15e7d0f4474ea029c9a56bd49953d04e5
/faultDetectionSkySpark/data-raw/study_set.R
010f8f54d942835999229c6435c1183c7d10d1f0
[]
no_license
yujiex/gsa_2018
9ae9b978331f93ae8c6a7e8199f5545a5255b06c
ff7a2f1dd879c833d320b6e22f66d35174ee849e
refs/heads/master
2020-03-18T02:52:27.096253
2019-05-24T15:51:04
2019-05-24T15:51:04
134,211,125
0
0
null
null
null
null
UTF-8
R
false
false
1,568
r
study_set.R
library("readr") library("dplyr") allspark = readxl::read_excel("list_of_gsalink_buildings.xlsx", sheet=2) %>% dplyr::mutate(`Building_Number`=substr(`spark_entry`, 1, 8)) %>% dplyr::select(-`spark_entry`) %>% dplyr::rename(`building`=`Building_Number`) %>% {.} allspark %>% dplyr::group_by(`status`) %...
05d0ad5a08708e097db5b17c94a1012be74ddfa5
47941ce8c8512b65d32aceb374475591f693e16d
/DMC-MBN2019/tutorial/dmc_3_4_DDM.R
e354e0cdda51a0fff9318802f21c5afcc294e21d
[]
no_license
StevenM1/summerschool_mbn_2019
525ccad673677073ed6bad70d6b30c86b9efeffd
a0d4b0ce1d7df2a625fcf55c35cb15f33cd661be
refs/heads/master
2020-06-28T11:30:39.791795
2019-08-08T12:16:11
2019-08-08T12:16:11
200,222,576
5
0
null
null
null
null
UTF-8
R
false
false
7,862
r
dmc_3_4_DDM.R
################## DMC Lesson 3: Sampling ### Lesson 3.4: Sampling and assessing a single DDM subject rm(list=ls()) # Current working directory must be set to the top-level folder # containing the dmc and tutorial subfolders source ("dmc/dmc.R") load_model ("DDM","ddm.R") # load_data ("dmc_3_4.RData") p.map...
008834b588d495ab72cbebbf06fae9ba1cc45276
010c833ed30f99f9b8f7fb840f9333d8471bc80d
/Code_plot1.R
46434e3a4489de32bd2b37ef2a852040043dee20
[]
no_license
ArianeBiais/ExData_Plotting1
8a7ca43359a751e7fe0c1508c71a23f55dab0d6c
3afa24e042a625b938aeec262b9dbdfa425de3d7
refs/heads/master
2022-12-07T09:09:14.406845
2020-08-11T11:38:05
2020-08-11T11:38:05
286,572,035
0
0
null
2020-08-10T20:26:48
2020-08-10T20:26:47
null
UTF-8
R
false
false
1,009
r
Code_plot1.R
## Read the txt file and transform it into a data frame data<-readLines("household_power_consumption.txt") data2<-strsplit(data,";") ## Name the columns correctly data2<-do.call(rbind.data.frame,data2) colnames(data2)<-data2[1,] data2<-data2[-1,] ## Convert the Date variable to Date classe in R data2$Date<-as.Date(d...
fd21fb567d95022e1eaec46b3f4084814d744f75
da255c56d1636f2c630c5885403030f0d0b57899
/man/confirm.Rd
d4032d467a3525d7683d929427dc03fd544d5c76
[]
no_license
donaldRwilliams/hypMuVar
593fd72a978c879481514a34cb9ea02026e64033
dc09aaef8c4d649bdeabf5583088f5ae0b901cc2
refs/heads/master
2020-08-01T06:01:16.419033
2020-01-10T01:12:26
2020-01-10T01:12:26
210,891,469
3
0
null
null
null
null
UTF-8
R
false
true
375
rd
confirm.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/confirm.R \name{confirm} \alias{confirm} \title{S3 \code{confirm} method} \usage{ confirm(object, hyp, ...) } \arguments{ \item{object}{\code{melsm} object} \item{hyp}{hypothesis to test} \item{...}{currently ignored} } \description{ S3 \co...
4eaa1d9ee71f8131124cf7bdcb51524590defb86
c4dbff372e59bc873f0b9b636c4c9a3efe2d1cfb
/app.R
fe4dbe587c6775fa6891eea9025ace7456b0ffb7
[]
no_license
sambeettiady/cricket_ipl
424909afebebf5b729594bc8ec7c607bce0bc0d8
a3a08c7f4b3b3383ea9290c2dbbf9dd3afcbfbef
refs/heads/master
2020-03-30T03:36:56.683121
2018-09-28T07:05:10
2018-09-28T07:05:10
150,697,852
0
0
null
null
null
null
UTF-8
R
false
false
9,546
r
app.R
rm(list =ls()) library(shiny) library(dplyr) library(readr) library(ggplot2) library(jpeg) source('ipl_2016_fantasy.R') player_data = read_csv(file = 'ipl_players.csv') player_data = player_data[player_data$team != 'Not Playing',] players = unique(player_data$player) ui = fluidPage(fluidRow(column(width = 3,selectInp...
fcc5de496e55dc59b7d568660ebd9a4421317778
2811cadbc4eea45d9cb7585057ff2672367213ff
/R/parse.R
fbd312d38ef54da9e86fcf1ab612be95d587844f
[ "MIT" ]
permissive
coolbutuseless/minihtml
c7ee63fe67a394ca1d2e17587d6786c3d743ffcf
f5fbeb90936934782fc31b7a58698eba93816fe2
refs/heads/master
2020-07-28T19:42:23.725014
2020-03-07T01:07:38
2020-03-07T01:07:38
209,514,838
19
2
MIT
2020-03-07T01:07:39
2019-09-19T09:31:17
R
UTF-8
R
false
false
2,410
r
parse.R
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #' Recursively parse an XML2 node tree into a `minixml` document #' #' This uses 'xml2' package to do the parsing. #' #' @param xml2_node root node of a document or an element node #' @param as_document whether or not to make the root node...
766540eb200687c6ef52dfdef7ad079486359506
eaff08fd993bf809dfabfbe46a3c9874d75ffcf4
/src/blog-posts/delta_method.R
8efe32302935bc74064ecf259e44f9ef125cde2b
[]
no_license
aartimalik/test
55491349f17c51e0392dca857c2a8c2c16e62897
47e0ef4c0936ca41c3963b511cdfe691e346b188
refs/heads/master
2023-04-24T17:39:37.319471
2021-05-02T16:21:01
2021-05-02T16:21:01
null
0
0
null
null
null
null
UTF-8
R
false
false
4,725
r
delta_method.R
library(data.table) library(lubridate) library(ggplot2) library(gridExtra) # Load data ==================================================================== # https://finance.yahoo.com/quote/TSLA/history dt = fread("https://query1.finance.yahoo.com/v7/finance/download/TSLA?period1=1321444326&period2=1610832766&interval...
5c38d126d0a5d78b632daced5ff0af4c5587d391
a63d084f3359fb975735abbeef66048e20e3a7a4
/CodeAnalysisRW/callTree_Analysys.r
b09fd032d1a308aca5f3480ef7613fab5144aa54
[]
no_license
ric1280/VC-Market
54c2ff6a4d2e4752ae092fbce0cf2ebd6955d4b5
428bd637415117ec1fcac81f2dacb32e6148bf85
refs/heads/master
2021-06-26T18:32:30.029584
2019-03-28T02:24:27
2019-03-28T02:24:27
134,711,610
0
1
null
null
null
null
UTF-8
R
false
false
10,864
r
callTree_Analysys.r
library(doParallel) library(stringr) registerDoParallel() source("draw-tree.R") doubleCheckfFunction <- function(parentFunction, functionName) { fbody <- capture.output(eval(parse(text = paste("body(",parentFunction, ")")))) pattern <- paste(functionName, "\\(", sep = "") hasParticularFunctionTotal <- str...
22365af47e342df64611007c699826d8792031e0
16a1d7ec1187e32b80364c10ddc4a106bf810948
/man/probeR.parallel.plot.Rd
346fc7d94a6570edeb565e49aa57b78b83d68ae8
[]
no_license
cran/ProbeR
74a3cf933bbd35dd120375c093db58a30995d15f
18996406185c33abaf87074a48a26d7552e623cb
refs/heads/master
2016-09-03T07:28:37.670093
2009-03-01T00:00:00
2009-03-01T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
1,457
rd
probeR.parallel.plot.Rd
\name{probeR.parallel.plot} \alias{probeR.parallel.plot} \title{ Parallel coordinate plot of summary value and probe level data} \description{ Parallel coordinate plot of summary value and probe level data is very useful to explore the probe level data with summary value gene by gene. } \usage{ probeR.paralle...
e5f6352b2c4e7556593330247b6e7a483dd71aad
76434d63930c563cb9bab7d263df2c80da04cb6f
/man/mixnorm.Rd
5d27222de32a860403bfaf02afcb64c4429d25f0
[]
no_license
cran/bda
45de77f9d513cbeea00fc34120308f1d37dd2fd0
b7cc310ed8ce18c2327f99647f024727e28e59dd
refs/heads/master
2023-06-22T14:56:20.682683
2023-06-18T21:40:09
2023-06-18T21:40:09
17,694,669
0
0
null
null
null
null
UTF-8
R
false
false
1,144
rd
mixnorm.Rd
% This is a template R document file % Distributed under GPL 3 or later \name{mnorm} \alias{pmnorm} \alias{dmnorm} \alias{qmnorm} \alias{rmnorm} \title{The mixed normal distribution} \description{ Density, distribution function, quantile function and random generation for the normal mixture distribution with mea...
89322cb64a6c06291cdf12023315ddfaab2aa640
2940f0f81e966f8608939f078ff2e437f4cd7f80
/man/get_diff_hic.Rd
53dc2c5524a807b6a57f2393f1263dd8ce67addc
[]
no_license
duydnguyen/TreeHiC
a1becedd1f67cd78d7ba607dc26e0cbec95a6dfc
7775e527cffaadf8609fe6b50dfd21df770b1a19
refs/heads/master
2021-09-13T09:35:21.232017
2018-04-16T12:11:16
2018-04-16T12:11:16
123,157,332
0
0
null
null
null
null
UTF-8
R
false
true
468
rd
get_diff_hic.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utility_functions.R \name{get_diff_hic} \alias{get_diff_hic} \title{Title} \usage{ get_diff_hic(testingTree, alpha, use_adjusted_pvals = TRUE) } \arguments{ \item{testingTree}{a slot \code{testingTree} of object \code{treeHiCDataSet}} \item{...
c097f5c999dccb94e86c3d832ba7fea9b2c640b2
b8e6b20dcb26f9227773a9f560f4c26702ce7ce7
/scripts/adventure.R
17e3d788deab38b62bc5a3cbdf0a95e76576f0ec
[]
no_license
rugnepal/nepal_tourism_dashboard
28bc757a6b77b917ec824c8f960d0d587c61e354
099a173ab77b45956fa1464804c2aaa4dafdc755
refs/heads/master
2022-08-25T22:25:03.432275
2020-03-07T13:47:36
2020-03-07T13:47:36
245,492,759
0
0
null
null
null
null
UTF-8
R
false
false
1,362
r
adventure.R
# Adventure Data National_park_df <- read_excel("data/61. NUMBER OF FOREIGN VISITORS TO NATIONAL PARKS _ CONSERVATION AREAS, 2070_71- 074_75.xlsx", col_types = c("text", "numeric", "numeric", "numeric", "numeric", "numeric")) %>% clean_name...
e08e174dd01047185f92f3dd4749a6ef70e7d320
7e4b3ad15e8ea1fbaeff4905be68940b6b182c75
/Plot2.R
2b69e800900f3d9056a178d5f4a2759b5d8b5f59
[]
no_license
JorgenUnger/ExData_Plotting1
6d1388e21619ee96fa0b09fec163ab06f457a757
801e3e271202f31a96922de4044d3fb756fa77ca
refs/heads/master
2020-12-30T17:10:36.022141
2017-05-12T12:52:05
2017-05-12T12:52:05
91,059,116
0
0
null
2017-05-12T06:32:21
2017-05-12T06:32:20
null
UTF-8
R
false
false
1,257
r
Plot2.R
#If file "household_power_consumption.txt" not exist then download zip file if it doesent exist. Then unzip file. if(!file.exists("household_power_consumption.txt")){ if(!file.exists("exdata_data_household_power_consumption.zip")) { fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_...
66f604e7af0684303ed30a911c47c05f81d59483
9969b02c26fa5388ac971b8212c761c6abf98efb
/man/plotbsSpline.Rd
d816da2257c83ac1ac829de42503531dced2e6c1
[]
no_license
tmcd82070/CAMP_RST
0cccd7d20c8c72d45fca31833c78cd2829afc169
eca3e894c19936edb26575aca125e795ab21d99f
refs/heads/master
2022-05-10T13:33:20.464702
2022-04-05T21:05:35
2022-04-05T21:05:35
10,950,738
0
0
null
2017-05-19T20:42:56
2013-06-25T21:24:52
R
UTF-8
R
false
true
2,129
rd
plotbsSpline.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.bs.spline.r \name{plotbsSpline} \alias{plotbsSpline} \title{plotbsSpline} \usage{ plotbsSpline(X, fit, beg.x, end.x, eff0, option, bd2, ...) } \arguments{ \item{X}{The basis b-spline matrix resulting from a call to function \code{bs}.} ...
9ec3a15f3e40e0c4bdd7a7179c61660f74ca5082
a37122475660395c7306c661f8baa33421228a75
/man/PIRequestTemplate.Rd
f5aa4de4b3e84ca9846445ebab42deecc7d28398
[ "Apache-2.0" ]
permissive
eddyrene/PI-Web-API-Client-R
726b1edbea0a73bf28fe9b2f44259972ddecd718
7eb66c08f91e4a1c3a479a5fa37388951b3979b6
refs/heads/master
2020-04-17T01:01:27.260251
2018-11-14T10:48:46
2018-11-14T10:48:46
null
0
0
null
null
null
null
UTF-8
R
false
true
520
rd
PIRequestTemplate.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/PIRequestTemplate.r \name{PIRequestTemplate} \alias{PIRequestTemplate} \title{Generate an instance of the PIRequestTemplate PI Web API class} \usage{ PIRequestTemplate(resource = NULL) } \arguments{ \item{resource}{(string)}...
54d404ba1a5c45c7b9fc9ac9391cd700a3097efe
c712c1fbe217789cbd473ce5fefd493fb11349a7
/man/bhlm.traceplot.Rd
68fc7a918c447a4c09a6b7ece1af97c792291638
[]
no_license
arcuo/BHLM_package
cacd613853fa6bf0814c05fae28da3fa48f6f32b
b8e14bd6cd8cb5d0ccd379606b72582433c33ae9
refs/heads/master
2020-03-08T20:13:27.745950
2019-03-03T22:09:22
2019-03-03T22:09:22
128,376,700
0
0
null
null
null
null
UTF-8
R
false
true
670
rd
bhlm.traceplot.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bhlm_plots.R \name{bhlm.traceplot} \alias{bhlm.traceplot} \title{Show trace plots for outcomes} \usage{ bhlm.traceplot(bhlm_object, outcome_options = NULL, return_plots = FALSE) } \arguments{ \item{bhlm_object}{Object returned from \code{bhlm...
33bf8e1c2f601885b459be99d9da5e3d333ebe4d
99c9c5e797c5b6220a94748cb56f647fcac28e43
/R/ftrf.R
e046ba2364d9f344f99939c80dd38dfb0124eb8e
[]
no_license
cran/Bhat
c1f27d30235b41043d364bdb77a503503e7f4374
6eba3bcdb4b6c18138028e23b033b9b7bb87e302
refs/heads/master
2022-05-22T16:39:32.685891
2022-05-10T12:30:02
2022-05-10T12:30:02
17,678,089
0
0
null
null
null
null
UTF-8
R
false
false
851
r
ftrf.R
##' Generalized logit transform ##' ##' maps a bounded parameter x onto the real line according to ##' y=log((x-xl)/(xu-x))), with xl < x < xu. If this constraint is violated, an ##' error occurs. x may be vector ##' ##' ##' @param x a numeric vector ##' @param xl a numeric vector of same length as x with x > xl ##'...
1cc76d52e4623b43a3af5978c500cb116a6d449f
45387729fd6ee661a7b9d852a515124832c880c2
/R/mymult.R
9097fa2b7b902d167edd9a8abbaffa5f06594e25
[]
no_license
lindseydeluga/MATH4753P1
bc2716552c7375b3a551d271fb833db74e4a5aad
e503fa129a39e4d67662abe3b3029c96ad8eb553
refs/heads/master
2022-11-12T08:32:23.498811
2020-06-29T21:40:00
2020-06-29T21:40:00
265,069,753
0
0
null
null
null
null
UTF-8
R
false
false
948
r
mymult.R
#' mymult #' #' creates a barplot of relative frequencies #' #' @param iter 100 #' @param n Sample Size #' @param p Probability #' #' @return A barplot #' @export #' #' @examples mymult=function(iter=100,n=10, p=c(1,1,1,1)/4){ # make a matrix to hold the samples #initially filled with NA's sam.mat=matrix(NA,nr=n,...
6bf3b732e00fc4eece0f31b05d219c56511e9d25
cad506b49106d267e20433fca31963a7a4218e42
/man/mGetIntersecting.Rd
471cb53e75ffdbec64f6aaca35d2d4a27c4bda0b
[]
no_license
townleym/mSpatial
929f674e1dacd148c912504b3d7270cfc7d41d91
9e7d790813f779806736f1fba5b8341827ce329a
refs/heads/master
2020-05-21T23:13:22.945779
2018-02-07T19:34:02
2018-02-07T19:34:02
59,143,578
0
0
null
null
null
null
UTF-8
R
false
true
1,200
rd
mGetIntersecting.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mSpatial.R \name{mGetIntersecting} \alias{mGetIntersecting} \title{Return polygons enclosed within a container (Deprecated)} \usage{ mGetIntersecting(container, reference) } \arguments{ \item{container}{A \code{SpatialPolygons} or \code{Spati...
dccc6fba5ee3e3400290bd96010f1190609e374b
02bfa480aff5ef40adbebae46b4eecd7046a3f6d
/app.R
ed59d85bc3cfc7d81fe8fc76deb8d13d71296e1d
[]
no_license
mfoos/shinyresumedemo
652110ca710e019f169ca929871ff5c8662f2382
510185a045fdcc8b55537fc8602ef7e972ee7df4
refs/heads/master
2020-05-25T00:03:24.621531
2017-04-27T00:59:20
2017-04-27T00:59:20
84,892,424
5
2
null
null
null
null
UTF-8
R
false
false
4,405
r
app.R
library(shiny) library(rmarkdown) shslines <- c("Increased student return rates by 50%", "Reached out to troubled populations", "Stepped in to ensure student well-being") dblmtlines <- c("Employee of the month - March 2002", "Promoted to grill after one day", ...
85d6590bd613131a4391d4c4d6423a2eb0379470
2ec9bbe01050d4a41609b665d790a3d9b683a2af
/Customize Axis.R
6bc62027bcc201374d80cc5c1786f31cde68479e
[ "MIT" ]
permissive
krishnakesari/Data-Visualization-R
e90c25a1aee83f8c4c39c2479726e913e259cb82
8f43d2b110c2484188fe3e5bd780da5138454470
refs/heads/master
2022-11-24T05:16:44.584483
2020-07-23T01:16:27
2020-07-23T01:16:27
274,914,592
0
0
MIT
2020-07-10T15:21:05
2020-06-25T12:48:32
R
UTF-8
R
false
false
254
r
Customize Axis.R
# Add x-axis and y-axis labels, and a title to sp2 sp2 %>% layout( xaxis = list(title = " "), xaxis2 = list(title = "Year"), yaxis = list(title = "Global Sales (M units)"), yaxis2 = list(title = "Global Sales (M units)") )
1a5964884a42919887663049608390a32c4de296
8d7a31292817d4f1a39df17487cbe97ea6bc0a6f
/R/utilperm.R
71a9911157e45ff59fc654784496112c06290921
[]
no_license
cran/FrF2
497fb84bf3db0d020e6184a3bf1571729c411d1d
d671685a92d3b9447a0ee76d89ae13aec2d3566c
refs/heads/master
2023-08-22T23:49:38.210713
2023-08-15T11:00:08
2023-08-15T12:44:22
17,691,780
1
3
null
null
null
null
UTF-8
R
false
false
1,839
r
utilperm.R
permutations <- function(n){ ## from package e1071 if (n == 1) return(matrix(1)) else if (n < 2) stop("n must be a positive integer") z <- matrix(1) for (i in 2:n) { x <- cbind(z, i) a <- c(1:i, 1:(i - 1)) z <- matrix(0, ncol = ncol(x), nrow = i * n...
c4dec07b0ed0a9beefa408359834ebfe34782ca2
3b9fe0b9da2ce6951908b983c5bfeeafb4d11d4f
/ui.R
a8f4591a136ed0eb60ce77bc2302dc7682870066
[]
no_license
carlosespino11/marginalizationApp
1b81a0c216a5cc9d7051f74207390f29ce8af4d2
e047373c30ae72cd129d5aee4cf5824f2f5d74d6
refs/heads/master
2021-01-20T04:32:27.313321
2015-08-10T20:44:32
2015-08-10T20:44:32
40,504,649
0
0
null
null
null
null
UTF-8
R
false
false
4,264
r
ui.R
library(shiny) library(leaflet) library(ggthemes) source("utils.R") exploratoryPanel = sidebarLayout( sidebarPanel( selectInput("var", label = c("Choose a variable to display"), choices = varNames), p("To create a marginalization index click the 'Create Index' tab. "), ...
10eb76b93e2779afa4a1976778a4b701d8983bab
4d998b49a1541a3827902c9a999c8affa50338c9
/Correlations.R
71cad59dc4456986df08c8546aea72c3a8b0f7ab
[]
no_license
jorditijsseclaase/Assignment
177df811c6119331f23cb7b0a4214e06d75907e5
d22b9e047a84486a4145934407aad9717b921946
refs/heads/master
2020-04-24T10:10:28.005256
2019-05-15T15:27:31
2019-05-15T15:27:31
171,884,534
1
0
null
null
null
null
UTF-8
R
false
false
1,749
r
Correlations.R
rm(list=ls()) library(tidyverse) library(XML) require(XML) library(writexl) library("readxl") Total <- read_excel("Cleaned_Total.xlsx") #plot of AQI to users street 30a ggplot(data = Total) + geom_point(mapping = aes(x=users_Street30, y=AQI))+ # geom_smooth(mapping = aes(x= Date, y=AQI))+ ylim(0,500)+...
f74f174bd9fde360e409f9e88a6eb6c9772b8d72
1fdd33233f2416a926b903e5494d278ebb208a37
/plot4.R
320afa120d0e996a550b48d630d974fda753e22e
[]
no_license
boizette/ExData_Plotting1
032aed7ea0ee22e3fe6b9c531486c67459609fad
0906feaaea37928186a5ab8a07d0842928238ee0
refs/heads/master
2021-05-09T13:51:15.143171
2018-02-02T14:36:06
2018-02-02T14:36:06
119,046,718
0
0
null
2018-01-26T12:00:17
2018-01-26T12:00:16
null
ISO-8859-1
R
false
false
2,285
r
plot4.R
plot4<-function(){ ##Initialisations diverses ##install.packages("data.table") library(data.table) Sys.setlocale("LC_TIME", "English") ##Récupération des données f_url<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" temp<-tempfile() download.file(f_url,temp) unzip(temp...
b65550fc7791674c87c439c863c6e5b14208f784
1b0df2e6b5e1ef6d98ac7408a51d826e1104ef79
/man/decrypt_object.Rd
94d553a9c7f2719e374d41974f4132ff54a2903a
[]
no_license
talegari/safer
b7c8d9625180d4dffe058ddbe8ffdd2b0097c78f
7e08b0ba5cf783f7672c7ab0b994c31a7641c0b1
refs/heads/master
2023-02-19T23:03:20.788486
2023-02-09T14:31:28
2023-02-09T14:31:28
88,793,630
22
2
null
null
null
null
UTF-8
R
false
true
1,331
rd
decrypt_object.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/object.R \name{decrypt_object} \alias{decrypt_object} \title{Decrypt a object} \usage{ decrypt_object(object, key = "pass", pkey = NULL) } \arguments{ \item{object}{Object to be decrypted} \item{key}{For symmetric decryption, 'pkey' should b...
b0c946ef310cabc2ae9dc3a6e415ed3fdd38d2cf
53f6608a8f31d2aa39fae0e899b144c98818ff54
/R/dailyWB_SSURGO.R
7f01e0bfcee3198985417c1e0c6b966aa950936d
[]
no_license
ncss-tech/sharpshootR
4b585bb1b1313d24b0c6428182a5b91095355a6c
1e062e3a4cdf1ea0b37827f9b16279ddd06d4d4a
refs/heads/master
2023-08-20T06:16:35.757711
2023-08-08T19:11:52
2023-08-08T19:11:52
54,595,545
18
6
null
2023-02-24T21:00:28
2016-03-23T21:52:31
R
UTF-8
R
false
false
3,858
r
dailyWB_SSURGO.R
# x: SpatialPoint with single feature # bufferRadiusMeters: radius in meters .getSSURGO_at_point <- function(x, bufferRadiusMeters) { # buffer point (GCS WGS84) before intersection with SSURGO data x.buff <- sf::st_buffer(x, dist = bufferRadiusMeters) # simplify, buffer is far too detailed x.buff <- s...
bfadb3733f72a4866d72461a67d017d0ba811a4a
3612f70fda75aad09582c3a3ecd5a6e1acc77b7b
/app.R
672f8dc8be09887d5655a43a06d5dfe5096da583
[]
no_license
lindsayevanslee/whomds_viz
d1a55f24f917faa88f08c5efd58b8c7227c0b30d
c94e655e67f0aa9f13ef5c5b8941eb1e48337359
refs/heads/master
2018-12-19T06:11:05.874382
2018-09-15T13:43:48
2018-09-15T13:43:48
116,181,947
0
0
null
null
null
null
UTF-8
R
false
false
5,551
r
app.R
library(shiny) library(shinythemes) library(plyr) library(tidyverse) library(broom) library(whomds) # Read in the pre-formatted data ---- df_all <- list(srilanka_brief = read_csv("data/srilanka_brief.csv"), chile_brief = read_csv("data/chile_brief.csv")) # srilanka_brief <- read_csv("data/srilanka_brief...
b8ca0f25daee933bfdaa9b53ab2fb3b8942987d6
e6bff3ffd1627d74c1dc5ee0d704c6548e686886
/donepezil/prediction model summary.R
355480d66ddcb545167774eaff518bb07b04bcff
[]
no_license
MikeJSeo/phd
465b3f777737fdc873479094587faa0341bc54da
5004b90a2b221ed3a3a02ba97802336f1ae8af47
refs/heads/master
2022-12-17T04:21:08.873245
2022-11-19T01:24:32
2022-11-19T01:24:32
202,161,141
1
0
null
null
null
null
UTF-8
R
false
false
5,901
r
prediction model summary.R
library(jomo) #for imputation library(mitools) #convenient function to combine imputations library(dplyr) library(tidyr) library(lme4) #linear mixed effects model library(glmnet) library(rjags) #for running JAGS library(ggplot2) library(coda) # Load in data setwd("E:/EST-RA-9140/EQUIPERCENTILE1/Study3_prediction_model...
7b06003fbb93597a466f32ee0fcece14f407aacb
38116111ccbbb1c4580d8e8c5ac3f9775e1fa384
/R/testData.R
e9ecc40a14472aebf0c5c2994732b012a3644704
[ "MIT" ]
permissive
terminological/tidy-info-stats
6c1e37684eeac8d765384b773a23f0488eb7b467
1b1f19a718edb44c7178943c322b45fd1e3c93b1
refs/heads/master
2022-11-30T08:16:46.311945
2022-11-18T20:37:21
2022-11-18T20:37:21
232,600,275
0
1
null
null
null
null
UTF-8
R
false
false
3,838
r
testData.R
# TODO: move this to data_raw & use usethis::use_data #' tidy dataframe of the USArrests data #' #' @import dplyr #' @export tidyUSArrests = function() { USArrests %>% mutate(sample = rownames(USArrests)) %>% tidyr::pivot_longer(-sample, names_to = "feature", values_to = "value") } #' tidy dataframe of ...
36f422bd0c4e32255fe32fdbaf1fffa298a1588a
6fbc0b4555e94e5dbbb1b6ce58ca2cbd98340b43
/Juego catafixia.R
8f3f3707f051e8a39d22aa4c41b5561cf869063e
[]
no_license
CEAC333/R-repository
c6dc9b43c89ffe2a50fd280c32068bdc4a36bac0
79d8d2640c6f29cc92f8d1d1d005f1600c6dbe6b
refs/heads/master
2021-05-13T19:02:53.602809
2018-01-08T01:32:00
2018-01-08T01:32:00
null
0
0
null
null
null
null
UTF-8
R
false
false
1,149
r
Juego catafixia.R
#programa juego puertas gano<-0 n<-250 for(i in 1:n){ i participante<-runif(1) if(participante<(1/3)){ elegida<-1 } if(participante>(1/3)&participante<(2/3)){ elegida<-2 } if(participante>(2/3)){ elegida<-3 } catafixia<-runif(...
b568832a56fcf8cb79b2d81243fcbc512cf3f366
beb91d0e06e5b260011ea5c55da32ab21bece500
/R/goodfit.R
7a3e2339f77f5fe5086dbe998af6239dcd53fef5
[]
no_license
cran/vcd
7169e004f662d4d33305a3b7d1246bba7058b924
86cb80436f2a1d4733905710f52c5f630a348cef
refs/heads/master
2023-02-02T18:55:54.519633
2023-02-01T12:22:08
2023-02-01T12:22:08
17,700,741
6
2
null
null
null
null
UTF-8
R
false
false
9,898
r
goodfit.R
goodfit <- function(x, type = c("poisson", "binomial", "nbinomial"), method = c("ML", "MinChisq"), par = NULL) { if(is.vector(x)) { x <- table(x) } if(is.table(x)) { if(length(dim(x)) > 1) stop ("x must be a 1-way table") freq <- as.vector(x) count <- as.n...
516823e022f653af89ad27478d04ab3707ae4979
c6afabcce18d420c400221e09d6d6a3cd179138e
/DataAnalysis.R
4c9740dc2dac05d2a5243ef2978a28b7673c5ec7
[]
no_license
anampc/Ssid_Nutrients
529b22ab8e179a99853e67af7efbcf2a977d6156
de992dedf5c5784dc0aa43c2e8ba155ebd1fbddd
refs/heads/master
2021-01-10T13:48:35.849807
2015-12-01T07:22:14
2015-12-01T07:22:14
47,094,643
0
1
null
null
null
null
UTF-8
R
false
false
5,059
r
DataAnalysis.R
# ------------------------------------------------------------------------------------------------- # LONG FORMAT DATA ANALYSES FOR SSID # Modify Ssid.csv and save it with the day of last data added # Import last data # ------------------------------------------------------------------------------------------------- ...
de1c30ae25082af8d80ea03280bbfb267817ab44
a19663c25470f4b4165fea8313f880f44481e887
/edu_stats_report2020/_common.R
404592ce3acb85c6e5ea89b95516b978316ef140
[]
no_license
perlatex/tidy_easyuse
e9322e75969c3f5802236afa6159aa355c6a42d2
00a90fcd68b6d121b184a507fd457e83e477185d
refs/heads/master
2022-01-03T09:25:53.661346
2021-12-28T10:01:55
2021-12-28T10:01:55
231,519,749
1
1
null
null
null
null
UTF-8
R
false
false
11,777
r
_common.R
library(tidyverse) library(flextable) labels <- c( # part One # 切身体验机会 "t_Practical_experience" = "切身体验机会", # 高阶思维参与 "t_Higher_order_thinking" = "高阶思维参与", "f_Higher_order_thinking_rethink" = "反思与批评思维", "f_Higher_order_thinking_whole" = "整体与辩证思维", "f_Higher_or...
9a1e611fb815a3f12e09f6611f6033127dab2f04
b661214a7f6c0398a222ed5628a4a48881c930db
/app.R
98a118272b95fc71f38405b105dbf29e518c4dd6
[]
no_license
thekingofall/ShinyLearn
7c313b0021241bf8c173f26c33cd41dfebe496c3
7d4844422bd2731b85e231a729972212d61c33a5
refs/heads/master
2023-07-13T08:13:48.851233
2021-08-25T15:16:59
2021-08-25T15:16:59
271,017,916
0
0
null
null
null
null
UTF-8
R
false
false
1,832
r
app.R
# # This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) # Define UI for application that draws a histogram ui <- fluidPage( # Application title t...
8d8b6c3875e89967464bcc683a642de884e1223e
dbe5a0926040289a8b5f8c983036049575aa86ba
/MDS_plots.R
4ca8b9553e49bff86c715b276df7c2f46294bd9a
[ "MIT" ]
permissive
KatieSev/Manifold-valued-data-analysis-of-samples-of-networks
40e7cb4a1c63b1af57b28bfcc2091b5c3b7a4a00
a249bdb7c02279115606268438d36155b2f0d56d
refs/heads/main
2023-06-04T17:51:26.157244
2021-06-22T17:05:37
2021-06-22T17:05:37
369,204,391
0
0
null
null
null
null
UTF-8
R
false
false
1,754
r
MDS_plots.R
#source('functions_needed.R') #load("workspace for novels.RData") m<-dim(List_L[[1]])[1] nt<-23 novcol<-c(rep(2,times=16),rep(4,times=7)) #Euclidean Dmat<-matrix(0,nt,nt) for (i in 1:(nt-1)){ print(i) for (j in (i+1):nt){ Dmat[i,j]<-sqrt(sum((L[,,i]-L[,,j])^2)) Dmat[j,i]<-Dmat[i,j] } } Dmateucl<-Dmat...
9dfea62c9ad14c8a9b94224c5fd44165a9c6e9c1
4052881622ec762fba384830c6a8b9b3f6fa8e96
/Week9.R
a0a9d207ed300081aa7ddf3111c450aedd975d91
[]
no_license
Wtrible/Code-Portfolio
ed9fbb8064662e3f9b76850f0705449bc4dd9aeb
b8ac5c1bdc1b7a71c5d992377e1ad0ceb562ee2e
refs/heads/master
2020-06-25T03:31:33.614272
2019-07-27T16:19:04
2019-07-27T16:19:04
199,186,553
0
0
null
null
null
null
UTF-8
R
false
false
1,592
r
Week9.R
library(tidyverse) #graphics devices are used to display plots #Rstudio has the "Viewer" pane, which is a screen device #other possibilities include PDF, PNG, JPEG, or SVG, which are file devices #default is the Rstudio viewer pane #some are device=specific, such as: #windows() does not work on Mac ...
5fc1c4328a043b7b002fecc482c32b831638af51
ed4c0c3ea985b90fbe0a102bfdf15f3447144925
/R/permTest_LR.R
d63dbbb44bbc9076f81b0fd567e285447f7faa67
[]
no_license
RichieHonor/PermutateR
0ebcdaab06987b00b612641bddb1978f68a3d1f7
575a43812d013920fdd0f7a3c31eedda3daa23c7
refs/heads/main
2023-07-12T10:07:14.469170
2023-06-25T13:52:11
2023-06-25T13:52:11
331,747,779
0
0
null
null
null
null
UTF-8
R
false
false
3,984
r
permTest_LR.R
#' Perform a permutation test using the likelyhood ratio test #' #' This function performs a permutation test on a model object using a likelyhood #' ratio test. It works by generating a specified amount of replicated #' data frames and fits the supplied model object to each one. The permutation #' test is based on the...
719448c3cc31804fdfd6a38240fd0279f83af70b
6e129f11d1db6c19a4390bdf180ce08a630c87a2
/R/ypr_ml.r
4bab933ff511aa83f6c53c16ba367cee2167b11f
[]
no_license
quang-huynh/ICES_MSY
4bd549238bb94f85318a5ff666336e8cda1b0c62
c2ea56d69809d5027c29e1de87c11a537241be64
refs/heads/master
2021-01-19T13:30:59.245464
2017-02-14T09:00:55
2017-02-14T09:00:55
88,094,269
1
0
null
2017-04-12T20:39:57
2017-04-12T20:39:57
null
UTF-8
R
false
false
3,271
r
ypr_ml.r
# YPR - function to calculate F-01 from life history parameters from natural mortality M, # growth parameters (von Bertalanffy: Linf, K, t0; length-weight: a, b), and Lc. # # Maxage of YPR is currently set to be age at which 1% of cohort survives given M # maxF is the maximum F for searching f...
43ac9180c36a7af793abac5bd0fa71b7d278cbda
2f93019f313ea7485baea129b0d6b62c35f7b438
/OfflineAndOnlinePreprocessing.R
0ea577e41ee00379fae8e8c9f3717345a779bab6
[]
no_license
ivry216/dwdsome-modeling
47db7eb2c82f22702b7a2402fcf7d0db93848d59
a5482670b4a89b7a2003f86eaed5bd86d564a77f
refs/heads/master
2020-04-14T12:27:07.043686
2019-01-31T20:14:12
2019-01-31T20:14:12
163,840,523
0
0
null
null
null
null
UTF-8
R
false
false
3,095
r
OfflineAndOnlinePreprocessing.R
# COlumns we are interesed in columns_to_process <- c("temperature", "specific_conductance", "dissolved_oxygen", "orp", "ph") # Initialize data offline_data_list_plt <- offline_data_list online_data_list_plt <- data_to_postporcess # Make online data suitable for (i in seq(online_data_list_plt)) { online_data_list_p...
7f32138597a617dd7f919404dc7e370501504687
a607b44335be39a267f5b78908189d5605c10145
/R/assess_DD.R
7409d7ed0e89e4eecfa82172f8c1b32457268051
[]
no_license
tcarruth/MSEtool
75d4c05b44b84bb97e8f9f85d4dfa7f4246453d5
c95c7bcfe9bf7d674eded50e210c3efdc7c2725f
refs/heads/master
2021-03-27T20:44:23.407068
2020-10-13T15:20:26
2020-10-13T15:20:26
116,047,693
2
4
null
2020-02-27T23:59:15
2018-01-02T19:06:42
R
UTF-8
R
false
false
17,262
r
assess_DD.R
#' Delay - Difference Stock Assessment in TMB #' #' A simple delay-difference assessment model using a #' time-series of catches and a relative abundance index and coded in TMB. The model #' can be conditioned on either (1) effort and estimates predicted catch or (2) catch and estimates a predicted index. #' In the sta...
8c4fd9a0db42399628071bb1cd8c18cab808e5dd
6f29719e2a8eaeee1c0e424fa3a62a105eb4fc34
/run_analysis.R
922c81d19e658811a5841e2563f26251b34d5ebb
[]
no_license
tengiao/GetCleanData_CourseProj
682509c9bdf90a1ba8071e48556a8d274be1cf49
bb3b1bfed188d9014bf9442799b8394119dc86d4
refs/heads/master
2020-05-27T04:19:12.844964
2015-04-26T23:10:15
2015-04-26T23:10:15
34,354,622
0
0
null
null
null
null
UTF-8
R
false
false
4,546
r
run_analysis.R
## Course: Getting and Cleaning Data ## Coursework: Peer Assessment / Course Project ##################################################################### #### 1. Merges the training and the test sets to create one data set. ##################################################################### ## Piece together...
d73f8175b1fc49c604aa5bb600fc73e31e6c9682
c49aa09f1f83ee8f8c9d1e716ae38381ed3fafca
/feature_selection/ex_8/sig_examine.R
9c0be0d95dde5241f5d3d4d358f001a14392d319
[]
no_license
whtbowers/multiomics
de879d61f15aa718a18dc866b1e5ef3848e27c42
81dcedf2c491107005d184f93cb6318865d00e65
refs/heads/master
2020-04-11T03:25:40.635266
2018-09-24T08:51:06
2018-09-24T08:51:06
null
0
0
null
null
null
null
UTF-8
R
false
false
754
r
sig_examine.R
setwd("/home/whb17/Documents/project3/project_files/feature_selection/ex_9/") tic() step1s <- c('_BH', '_LFC') sets <- c('prot', 'gene') comps <- c('_tb_ltbi', '_tb_od') for (set in sets){ for (comp in comps){ for (step1 in step1s){ sig.factors <- read.csv(paste("../../data/ex_9/feat_sel/", set, comp, ste...
a31b5998f44f8aa7ddd922b5cab3eed6bcf311ec
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/TreeSearch/tests/test-tree-rearrange.R
4e4c1724ba9474e3afd661443c776106b8d7954d
[]
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
8,774
r
test-tree-rearrange.R
library(ape) context("Arboriculture: Specified tree rearrangements") tree5a <- read.tree(text='(a, (b, (c, (d, e))));') tree5b <- read.tree(text='((a, b), (c, (d, e)));') tree6 <- Preorder(read.tree(text="((a, (b, (c, d))), (e, f));")) tree6b <- Preorder(read.tree(text="((a, (b, c)), (d, (e, f)));")) tree8 <-...
ca256545a0324538dcb3f4ad55b13c576ae0d36c
2b4051506c86c25d511e522a9c1627ff1735ba7a
/R/step_opls.R
42126552e6957d2027909f001d55e95a04819c60
[ "BSD-3-Clause" ]
permissive
CVUA-RRW/tidySpectR
5b3f8d4d03b321d4d54339a802d09424b1262930
2a10beae84c34bf37ba265fdfb76ceb7eb263654
refs/heads/main
2023-04-03T10:03:26.964521
2021-04-09T13:12:52
2021-04-09T13:12:52
331,905,727
0
1
BSD-3-Clause
2021-01-26T15:45:45
2021-01-22T10:00:48
R
UTF-8
R
false
false
7,145
r
step_opls.R
#' Applies OPLS noise filtering on numeric data #' #' `step_opls_denoise` creates a 'specification' of a recipe #' step that will filter the first orthogonal component of the OPLS #' transfomation on the columns. #' #' @param recipe A recipe object. The step will be added to the #' sequence of operations for this...
a0e941445bcd0293c1f6ae7654900b64acc34be5
ddd3c938592e80c2c7712fc5577ae6d280365fd0
/logoplotFastqs/man/consensusMatrix_function.Rd
3c8f5d83c0d7cde3f9bd12140cf94ffd7b3b9db4
[ "MIT" ]
permissive
jjlinscientist/logoplot_fastqs
90d7b4fb4f0b6c290029b05e6413f530a3dccbbc
f767e3511c39eee3899ed2559cae243f72a0e4eb
refs/heads/master
2022-12-07T07:25:19.240480
2020-09-04T07:23:50
2020-09-04T07:23:50
261,117,000
0
0
null
null
null
null
UTF-8
R
false
true
866
rd
consensusMatrix_function.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/logoplot_functions.R \name{consensusMatrix_function} \alias{consensusMatrix_function} \title{Wrapper around consensusMatrix()} \usage{ consensusMatrix_function(file, right_align = FALSE) } \arguments{ \item{file}{A fastq file} \item{right_al...
dac9e16c322a0f54c20cad53b91be75daf6b3474
2d382240f37086ffa606944acb1e99eabfb9a5ce
/run_analysis.R
6bac1219cd717cf464b9a1e0e0f96f861a2c08a3
[]
no_license
chennycool/cleandata
1d6ff16920ca6cb9e2a4b91d157ff8917a1eb6ab
0665729fe1ab0d9213c9ae6a55cc3110d24076de
refs/heads/master
2021-01-10T13:37:26.744143
2015-09-27T21:45:40
2015-09-27T21:45:40
43,264,666
0
0
null
null
null
null
UTF-8
R
false
false
3,862
r
run_analysis.R
## First go to the proper working directory (setwd()) ## Download the file in folder "cleandata" ## It is a .zip file, give a filename as "Dataset" ## in my Windows OS, method="curl" not working, ## download.file method should choose "auto" while mode should choose "wb" if(!file.exists("./cleandata")){dir.create("./c...
128b05fda387a9ea575e7e488f9a2a364fe89f8a
0f5ac1a14815e057f2032ef0c56e6b147962bcc6
/helpers.R
5071351ec00940501477e68e12fe3fcd14ca6754
[]
no_license
fdabl/Covid-Forecast
6fa7561c69d3131199f0997e7ce14b7363cee0fe
c829fca997f08e84bc5738622b846a7bafab4b03
refs/heads/master
2022-12-18T21:05:13.643754
2020-09-28T10:28:35
2020-09-28T10:28:35
256,978,009
1
0
null
null
null
null
UTF-8
R
false
false
13,482
r
helpers.R
library('jsonlite') library('reticulate') library('RColorBrewer') uni2norm <- function(p) { c((p[1] + p[2]) / 2, (p[2] - p[1]) / sqrt(12)) } norm2uni <- function(mean, sd = 0.10) { p2 <- sd * sqrt(12) / 2 + mean p1 <- 2 * mean - p2 c(p1, p2) } ALPHAS <- list( c(0.1,0.6), c(0.3,0.90), c(0.6,0.95), c(0.6,0...
c36509738b0e5c726c9ef668e760e99e98f56791
3ea5d5735196bfd21bec8ee61b96ff9ab124a97b
/man/chord.Rd
c898ae3fc68a308d9a3264dd3ba4e5e0b2bd2ffd
[ "MIT" ]
permissive
yeukyul/jsplot
f5664c1e57b282910f0d65bcb6639021817b95c0
4cda852599c17fbb9f94de8461fe706d13470dd2
refs/heads/master
2021-01-19T22:15:06.478683
2017-04-23T02:27:57
2017-04-23T02:27:57
88,781,317
0
0
null
null
null
null
UTF-8
R
false
true
236
rd
chord.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chord.R \name{chord} \alias{chord} \title{<Add Title>} \usage{ chord(obj, width = NULL, height = NULL, elementId = NULL) } \description{ <Add Description> }
e8384451842f8252c3814466478bba037014cbbf
03a8b5eb4204f4f07f443ce7742c0190a43d8f91
/_archive/WFA8000x/_Example R codes/Multi-state darter jags/Multispecies jag estimator.R
719d3b8c76fd6059395e9cc4d1c04ee46a4e7625
[]
no_license
mcolvin/WFA8000-Research-Credits
b6b18c63905f0fa2284cca4b10eb5f3b0ef3b8ce
96dae9706cb690500e6705e587ccc03d9f64148d
refs/heads/master
2022-02-21T07:52:45.223428
2022-01-25T17:04:55
2022-01-25T17:04:55
93,789,059
0
1
null
null
null
null
UTF-8
R
false
false
6,180
r
Multispecies jag estimator.R
## >>>>>> NOTE REQUIRES R PACKAGE R2JAGS ## AND ## >>>>>> JAGS SOFTWARE INSTALLED (available: http://mcmc-jags.sourceforge.net/) ## require(R2jags) ### THE JAGS MODEL jag.model<- function () { ### the site loop begins for(ii in 1:nobs) { # state 1 only occupied by dom...
324602683732e103fc277cdeb3518403e02697c2
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/celestial/examples/sph2car.Rd.R
a0f7ab08bf1ac8a61da14c800e77b80df55975ed
[]
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
215
r
sph2car.Rd.R
library(celestial) ### Name: sph2car ### Title: Transforms 3D spherical coordinates to cartesian coordinates ### Aliases: sph2car ### Keywords: transform ### ** Examples print(sph2car(45,0,sqrt(2),deg=TRUE))
9355991b09e88cf0686c392af18d3d2a75b56358
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/causaleffect/examples/zzaux.effect.Rd.R
4a7cf47609ae1912e705ee23b8e390e8b786526b
[]
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
668
r
zzaux.effect.Rd.R
library(causaleffect) ### Name: aux.effect ### Title: Identify a causal effect using surrogate experiments ### Aliases: aux.effect ### ** Examples library(igraph) # simplify = FALSE to allow multiple edges f <- graph.formula(W -+ Z, Z -+ X, X -+ Y, W -+ Y, # Observed edges W -+ Y, Y -+ W, Z -+ Y, Y -+ Z, Z -+ X,...
9028169983979922b91cf1222194b9839e47d1a3
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/berryFunctions/examples/dupes.Rd.R
421fb20a048dc26544dc9e34b1ceb58d649d77cc
[]
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
736
r
dupes.Rd.R
library(berryFunctions) ### Name: dupes ### Title: Duplicate lines in file ### Aliases: dupes ### Keywords: IO character file ### ** Examples file <- system.file("extdata/doublelines.txt", package="berryFunctions") dupes(file, tofile=FALSE) dupes(file, tofile=FALSE, ignore.empty=TRUE) ## These are skipped by rcmd...
6c08ae47e493ef24a64524787c0d65e5025da2d7
8b30b242ec7b79f6db2357b9314c72b0104154f9
/man/var_lin.Rd
a3c50f25f76ae4e3fe8aa554de83e388478f50ad
[]
no_license
ericofrs/CompositeRegressionEstimation
e8314cefa4c9207edf0484f5f3efdf48ddfe263e
2c1f98840180f21d387b5f4d387b1d45edbebda2
refs/heads/master
2022-10-11T23:25:17.801929
2020-06-11T16:51:17
2020-06-11T16:51:17
null
0
0
null
null
null
null
UTF-8
R
false
true
948
rd
var_lin.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/AK3.R \name{var_lin} \alias{var_lin} \title{Gives the variance of an array Y that is a linear transformation AX of an array X from the coefficients of A and Sigma=Var[X]} \usage{ var_lin(A, Sigma) } \arguments{ \item{Sigma}{An array of dime...
f5534765c8f0bb729a580b7a4e1c00c1598852a4
4c1f8f2ec6de103116e598eaa9585151fb604e42
/R/pcaPlot.stm.R
c2bd6be8e6bcff3c63e177525c5c18f04378732e
[]
no_license
ABindoff/stmQuality
aedb852378e1ac778ced04aa49490c315498313f
142e21263f82efa02000d3eebf11552458cc8890
refs/heads/master
2021-01-24T10:48:25.617879
2018-02-28T02:18:08
2018-02-28T02:18:08
123,064,606
0
0
null
null
null
null
UTF-8
R
false
false
392
r
pcaPlot.stm.R
#' Visualise models returned by `stm::manyTopics` #' @param x A data-frame returned by `extractFit` #' @export #' @import ggplot2 #' @import ggfortify #' @import ggalt pcaPlot.stm <- function(x){ autoplot(prcomp(x[,3:5], center = T, scale. = T), data = x, colour = "K", group = "K", loadings = T...
c32abab906c0aef623d0af18c50193e35f4c22ae
0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb
/cran/paws.migration/man/importexport_list_jobs.Rd
a00bf21e4bb388c71895eccb6de788986e6f0429
[ "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
1,106
rd
importexport_list_jobs.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/importexport_operations.R \name{importexport_list_jobs} \alias{importexport_list_jobs} \title{This operation returns the jobs associated with the requester} \usage{ importexport_list_jobs(MaxJobs, Marker, APIVersion) } \arguments{ \item{MaxJo...
fdd5bb395c8a8fe84e117d51d0af64d78d27cfe1
72d03ec10b4955bcc7daac5f820f63f3e5ed7e75
/input/gcam-data-system/socioeconomics-processing-code/level1/L101.Population.R
690d1757c9f9ea62d9cc8234fcfaae15ea156507
[ "ECL-2.0", "LicenseRef-scancode-unknown-license-reference" ]
permissive
bgmishra/gcam-core
54daddc3d037571bf745c4cf0d54c0d7a77f493f
bbfb78aeb0cde4d75f307fc3967526d70157c2f8
refs/heads/master
2022-04-17T11:18:25.911460
2020-03-17T18:03:21
2020-03-17T18:03:21
null
0
0
null
null
null
null
UTF-8
R
false
false
6,831
r
L101.Population.R
if( !exists( "SOCIOPROC_DIR" ) ){ if( Sys.getenv( "SOCIOPROC" ) != "" ){ SOCIOPROC_DIR <- Sys.getenv( "SOCIOPROC" ) } else { stop("Could not determine location of socioeconomics processing scripts, please set the R var SOCIOPROC_DIR to the appropriate location") } } # Universal header file ...
dbe9780e36d91b0f05762ae2f86c657adaa6f728
cd4ac3306dc49b99b0c3b69affbe115068ff5447
/server.R
3ee45b4c88dff7514d05a58801ab3c03ffec1898
[]
no_license
sammerk/abiturma_he16
8c6b33337fb5f484c0fc45c0258fab3ad54b0cbe
97071217b3b56e09b15160f5e5f7c5b268e500f6
refs/heads/master
2021-01-20T09:42:49.318614
2017-05-09T09:33:06
2017-05-09T09:33:06
68,576,843
0
0
null
null
null
null
UTF-8
R
false
false
56,756
r
server.R
library(ggplot2) library(dplyr) library(tidyr) library(shiny) library(shinyBS) library(feather) library(scrypt) library(forcats) # Ip-Test ################################################################################## Sys.setenv(TZ='GMT+4') ipID <- renderPrint(print(input$ipid)) # Data Import #################...
92308aaf3baf93686fd21268f341f63b23e6ee83
9686cd5ce83ec31b74b1440d65378da3faadba2c
/format_SAS.R
4209977981a7dae2195e54e018e7c564472bc779
[]
no_license
ptlabadie/JumpPrediction
0dd523a4640ae7b86699b266f6967f425789b38e
068b70c6442e086e5fcdde6c97ff4f40bbd3367e
refs/heads/master
2022-12-15T17:02:14.438039
2020-09-08T21:09:25
2020-09-08T21:09:25
275,644,072
0
0
null
null
null
null
UTF-8
R
false
false
3,972
r
format_SAS.R
############################################################################## #Format SAS Data ############################################################################## library('tidyverse') library('dplyr') library('sas7bdat') library('hms') library('highfrequency') library('zoo') if(!require(tbl2xts)) i...
9cfc6f0c4ebb43cd807cb76af7cb18b109043966
9a5fb9eab63a84d626c23b017bbeacfff334f6a4
/app.R
0eac9fc18d4fe6bf94169b491c75cbd03d26c713
[]
no_license
th1460/CMG
1f704aab8fa2ecc4b8dc2c1e8ca23f7539863abc
c5995193f400930bae13622c2f3fd6ebfba9244f
refs/heads/master
2020-06-30T13:00:15.781538
2019-08-06T23:23:34
2019-08-06T23:23:34
200,833,784
1
0
null
null
null
null
UTF-8
R
false
false
8,580
r
app.R
library(shiny) library(shinymaterial) library(DT) library(plotly) library(DBI) library(dplyr) library(glue) # canal conn <- dbConnect(RSQLite::SQLite(), dbname = "dados.sqlite") if(!dbExistsTable(conn, "cenarios")){ dbWriteTable(conn, "cenarios", value = tibble(cenario = character(), ...
e718533f37b881a08c7acce88fd71158392c2ce8
29585dff702209dd446c0ab52ceea046c58e384e
/RESS/R/readessentia.R
28ace10c66898e684a35a341a11c00dcbf5484cb
[]
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
399
r
readessentia.R
read.essentia <- function(file) { pipedline <- pipe(sprintf("bash %s",file), open = "r") colspec <- TRUE if (grepl("-notitle", file)) { colspec <- FALSE } t2 <- read.csv(pipedline, header = colspec, sep = ",", quote = "\"'", comment.char = "#", blank.lines.skip = FALSE, ...
e8a72f84f4889793bd925583527993d383d116ee
d60ed73758ee30f0d68af60119c0edd0684a52a7
/Ejercicios_Jose.R
46eb388fd67fca0f22237985a68d47cbf63bb20b
[]
no_license
JoseVictorio/Ejercicios_Progra
dd657e9fec08fcb42413e2350e535bc835e5e6ce
42b87a25c2926830d3c0538daa812422c450c07f
refs/heads/main
2023-06-25T16:11:01.126124
2021-07-10T20:31:14
2021-07-10T20:31:14
381,551,377
0
0
null
null
null
null
UTF-8
R
false
false
5,279
r
Ejercicios_Jose.R
#1RA PARTE ---- #1 ---- #1.a a <- (0.3*0.15)/((0.3*0.15) + (0.2*0.8) + (0.5*0.12)) round(a, 2) #1.b b <- (5^6 / factorial(6)) * (exp(1))^(-5) round(b, 2) #1.c comb <- factorial(20) / (factorial(7) * (factorial(20-7))) pot <- (0.4^7)*(0.6^13) c <- comb * pot round(c, 2) #2 ---- #2.a Suma de primeros n numeros (...
6b52597c30e0dc73f5338b778be5bdd67ad62ba2
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/VIM/examples/countInf.Rd.R
74942d60702b95c0709700f001b1256248a619b0
[]
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
238
r
countInf.Rd.R
library(VIM) ### Name: countInf ### Title: Count number of infinite or missing values ### Aliases: countInf countNA ### Keywords: utilities ### ** Examples data(sleep, package="VIM") countInf(log(sleep$Dream)) countNA(sleep$Dream)
c7eab25edacc9fbfb245c78a8fa18d14594ff903
d61bc937531a128437d6e53d65636ce3dd1f8648
/Install_R_Dependancies.R
ea93078840a8096a2b735f2166ead0b97ef50606
[]
no_license
sysbiolux/DCcov
9080e74321d4c6f9cbdfebe28d85161cbf7d522e
e0dce02ca88626fc534ce6ff34b946d1c22d13a5
refs/heads/main
2023-08-21T22:01:33.801504
2021-11-25T15:00:57
2021-11-25T15:00:57
341,609,209
5
2
null
null
null
null
UTF-8
R
false
false
644
r
Install_R_Dependancies.R
if (!requireNamespace("BiocManager", quietly = TRUE)) install.packages("BiocManager") if (!requireNamespace("edgeR", quietly = TRUE)) BiocManager::install("edgeR",version ="3.30.3" ) if (!requireNamespace("DESeq2", quietly = TRUE)) BiocManager::install("DESeq2",version ="1.28.1") if (!requireNamespace("tidyvers...
6b2648a235c84c264d7324181fd50b260ed7e8a1
942b499a16ff485928e6a005ce641a204bab251a
/man/calculate.gold.Rd
458645bb75f1db5553ad8027692813f967824bfc
[]
no_license
dcourvoisier/doremi
c16032fbfd8254f03d52643ebd01df1e1ce63d84
f2adc5037fef7e621eec4c32990896f3279e67ab
refs/heads/master
2022-01-26T21:38:26.947001
2022-01-13T09:42:00
2022-01-13T09:42:00
175,785,185
0
0
null
null
null
null
UTF-8
R
false
true
2,052
rd
calculate.gold.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/doremi.R \name{calculate.gold} \alias{calculate.gold} \title{Calculation of derivatives using the GOLD method} \usage{ calculate.gold(signal, time, embedding = 3, n = 2) } \arguments{ \item{signal}{is a vector containing the data from which t...
06e98ded93d2f8d604fc9c61b66257250cf407cd
a01e939f9cb6a9e70ecd372178006d85131777bd
/Plot1.R
82ca9fe83bd975c1056a052caf51e3d0e2b041fa
[]
no_license
jodanmo/ExData_Plotting1
4c8e173c4ac2a4b6b24cbd02e40003e18a5851a5
4980c7415b92c42801d051f2cc07fd69902e5a81
refs/heads/master
2021-01-17T23:08:05.800097
2015-06-03T17:53:41
2015-06-03T17:53:41
36,812,661
0
0
null
2015-06-03T15:28:11
2015-06-03T15:28:11
null
UTF-8
R
false
false
596
r
Plot1.R
#read in data power <- read.table("household_power_consumption.txt", sep = ";", stringsAsFactors= FALSE, header=TRUE, na.strings= "?") #transform dates library(lubridate) power$Date <- dmy(power$Date) #subset dates to 2007-02-01 and 2007-02-02 library(dplyr) startDate <-...
06b14c443a96dc58491410e74ef993794c5b1fe0
73d6b9e8adbd873875ed51751abc7182133b3e8a
/man/fill_missing_dates_and_create_daily_counts_for_mtl_data.Rd
f8b05783cd20eaf1182a63665227f0d75efedacc
[ "MIT" ]
permissive
SimonCoulombe/covidtwitterbot
cc307e395312e5bbbff09b36c6dda9aef3e1747b
128749bfd4d0fcec5e3970f60f87424bff8cd50f
refs/heads/master
2023-04-19T10:03:03.008866
2021-04-26T16:26:36
2021-04-26T16:26:36
311,527,367
8
1
null
null
null
null
UTF-8
R
false
true
375
rd
fill_missing_dates_and_create_daily_counts_for_mtl_data.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_mtl_data.R \name{fill_missing_dates_and_create_daily_counts_for_mtl_data} \alias{fill_missing_dates_and_create_daily_counts_for_mtl_data} \title{Title} \usage{ fill_missing_dates_and_create_daily_counts_for_mtl_data(mtl_data) } \arguments...
b71906b831fc6cda4072f6dd504173cd50d7ba56
3d255512db3b6f6ccbf5384e307489627458ce39
/Classification average.R
267d06a129e1a1bbbcd3f49025d24ec0c39e6db7
[]
no_license
XWeiZhou/Data-analysis
f0e8bc21793da665b8c3027930ef75928b1ba46a
f28b568b505b581b003a5b47930ba97837e2819d
refs/heads/master
2021-07-06T03:34:46.560554
2021-02-05T15:18:22
2021-02-05T15:18:22
221,002,668
2
1
null
null
null
null
UTF-8
R
false
false
276
r
Classification average.R
library(dplyr) Example_data<- read.csv("C:/Example-Groups.csv",header=T) Example_data_group_means <- Example_data %>% dplyr::group_by(Site,Year) %>% dplyr::summarise(sum=sum(Value),avg=mean(Value),sd=sd(Value))
6d8a761255eb342597fb34d4535ed7fbc249e307
5e4273c9870b9dc46708dc9e88bf631db565c707
/tests/test-yapa.R
a04c7e7c29250d06d5929c0af7b9a80a414b6502
[ "MIT" ]
permissive
alexpavlakis/pollagg
28f03b4f2ad775a5c4f30466fe8b312801b2bc6e
f29b64d4fa87277b19b8a6d22695b51451407b03
refs/heads/master
2022-12-16T13:01:37.688375
2020-09-24T19:35:36
2020-09-24T19:35:36
295,246,051
0
0
null
null
null
null
UTF-8
R
false
false
621
r
test-yapa.R
library(pollagg) # Fit a model y <- matrix(c(10, 900, 50, 50), ncol = 2, byrow = TRUE) n <- rowSums(y) fit <- yapa(y = y, n = n, dates = NULL, iter = 1000, chains = 3) # Test model fit if(!all(dim(fit$params$theta) == c(1500, 2, 2))) { stop("yapa is not returning results as expected") } # Test plot p <- plot(fit) ...