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
127ee0002a0379860b47c324cac0c750264fecd4
0c3b366d4a270b7520b3e46bc94399283281c470
/server.R
fab442c2d1de34bd753978527322b3050ff1e2d5
[]
no_license
tcash21/overwatch-optimizer
2f7d651e5b2e3650e73a09c0956216b83d4e78df
4a06d78b707a40709f0313871d4d813852311cc9
refs/heads/master
2021-01-23T14:56:30.602733
2017-06-13T21:39:37
2017-06-13T21:39:37
93,263,800
1
0
null
null
null
null
UTF-8
R
false
false
6,678
r
server.R
library(shiny) range01 <- function(x){(x-min(x))/(max(x)-min(x))} base_url <- 'https://owapi.net/api/v3/u/' server <- function(input, output) { players <- reactiveValues() players$list <- unique(final$user) new_players <- reactiveValues() new_players$list <- list() the_stats <- reactiveValues(stats = final...
3c4a1bbc39d76d0e831d91999885a4ae577ed034
1e547e1adca5f7fac44617a35270a991c3e52267
/man/Anime.Rd
bcce8f536575071d720ddb896a726d141e159185
[]
no_license
cran/cSEM
4e4c37fd58f1b166ca8784c7ea41bc6a8ec22517
3818f7efdd3efd6c92a9d288b395edc752654389
refs/heads/master
2022-11-27T23:23:01.742331
2022-11-24T16:50:05
2022-11-24T16:50:05
236,578,286
0
0
null
null
null
null
UTF-8
R
false
true
650
rd
Anime.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/zz_datasets.R \docType{data} \name{Anime} \alias{Anime} \title{Data: Anime} \format{ An object of class \code{data.frame} with 183 rows and 13 columns. } \source{ Original source: \href{https://github.com/ISS-Analytics/pls-predict/}...
7ce40d2aa91baa5ce4e45838a9c52559d44fe639
0d7e453393ccc1682509042099365c97a1856a6b
/packages_to_install.R
1ffd6c7f291697e2cabfca958ad4aea8891114e5
[ "MIT" ]
permissive
thomasevans/seabird_flights
5cb66732102a052511484a59bd73eb905df74cda
090eafb07eb6d04f6224f512a4b5d58241fcd8a9
refs/heads/master
2020-05-21T19:20:24.435302
2017-03-12T21:50:32
2017-03-12T21:50:32
53,323,270
0
0
null
null
null
null
UTF-8
R
false
false
1,202
r
packages_to_install.R
packages_installed <- installed.packages(lib.loc = NULL, priority = NULL, noCache = FALSE, fields = NULL, subarch = .Platform$r_arch) str(packages_installed) package_names <- packages_installed[,1] save(package_names, packages_installed, file = "packages_20160428.RData") # ?save ...
5f5af9d832fa2f8ac3c067dc11cc6f1101b84c20
cca3dcf0a8d90b3178227e8ccf1d195533fdb305
/run_analysis.R
ce664b7939ff1d1cc5327eef81a63b8db4222845
[]
no_license
Gbemileke/DS_Specialization_C03_CP1
e20b10a888000cb1b76cf357c49b3fc038a0320f
3cb4b04a8fabc102539d0952eddafcd8653992d0
refs/heads/master
2021-01-10T19:44:42.241983
2014-05-25T16:43:29
2014-05-25T16:43:29
null
0
0
null
null
null
null
UTF-8
R
false
false
9,916
r
run_analysis.R
# Getting and Cleaning Data - Course Project 1 (CP1) # clean the global environment rm( list=ls() ) # note about working directory: # - it has to be changed to your local folder which contains the following # - it contains run_analysis.R # - it contains the uncompressed rawdata folder called "UCI HAR Dataset" s...
59acdd7804f52d8954de4c159a15802148db1329
64c20141ed7d581d36f41ee4e0378f515697aefe
/iGSEA/3-iGSEA_test_LFQ_B.R
919767e17e1cc837aa3c46eb9444da40b2012ddb
[]
no_license
chiosislab/Chaperomics_controllability_2020
3028691a819a1b551d1d85010a0833cb4bd16873
1dda330c4001a07390bccafef82415030f3ad459
refs/heads/master
2022-04-24T22:41:02.209096
2020-04-25T02:59:12
2020-04-25T02:59:12
258,673,645
0
0
null
null
null
null
UTF-8
R
false
false
6,049
r
3-iGSEA_test_LFQ_B.R
################################################ #### Loading PPI databases (BioGrid+Intact) #### ################################################ load (file="./library/ppi_2018_0508.Rdata") #write.csv (ppi, "ppi.csv", row.names = F, quote=F) ################################################ #### Loading Chaperome ID ...
ac99e5cb8358b18ee3950265824ba71f8200a945
5355ce6341489f05dc5894a70cf5cff1f951a194
/man/RN.Rd
98ed2dbf841c6c72d94d51ba48a6fedef3091cb8
[]
no_license
AndreMikulec/econModel
5032565f1722275425f75b55811493d45bf87f8c
22b8507838116d3e33b6e40cf891988ad104ac7b
refs/heads/master
2023-06-03T19:23:00.544927
2021-06-26T07:38:20
2021-06-26T07:38:20
303,683,123
0
0
null
null
null
null
UTF-8
R
false
true
1,032
rd
RN.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Functions.R \name{RN} \alias{RN} \title{Time Near Events or Event Run Identification} \usage{ RN(x, z = "a", e = T, n = F, ...) } \arguments{ \item{x}{xts object} \item{z}{"after"(default). Before or after the event. "before" is the other op...
8a525016080f9a184d834b1eb84e44b1d105af08
324b10d3f13c49c0b1cf6b1a5be2eb5fc3526da0
/parallel.R
10b2ff3f59cfb44d7efa060b260b0967411e9173
[]
no_license
IwoA/sfc.parameters
ff974449fc7d83a5a9c0ab77af6459235952a530
d0fa49f9c8123d35818865d1d9581235168dac2f
refs/heads/master
2021-05-29T02:14:30.268359
2015-06-22T21:08:02
2015-06-22T21:08:02
null
0
0
null
null
null
null
UTF-8
R
false
false
1,896
r
parallel.R
#sfc.param<-function(modelfile, paramfile){ #start time strt<-Sys.time() model<-sfc.model("art.txt") #modeldata<-simulate(model) where<-c(model$variables[,"name"]) #creates vector of variables' names #par<-read.table("art1.txt", header=FALSE,sep=",") par<-read.table("art1.txt") #search for number of row (ind) for para...
e5b2bb02afcfdd4b62c7a17d681fd8b7f7ca52d0
340579e1004d968eb2fba44f3b7da8bcc2e1a67b
/R/BHSBVAR.R
8eefdf232f5c8a5ed0e0263a0cec0108650bdfd4
[]
no_license
lnsongxf/BHSBVAR
51cf033fc591109166a9744635fe39ab969a5a54
e86eeea78a084e32dc849b47f4abdbe20bcbbcc9
refs/heads/master
2020-05-01T19:31:50.749319
2019-01-23T08:40:03
2019-01-23T08:40:03
null
0
0
null
null
null
null
UTF-8
R
false
false
60,926
r
BHSBVAR.R
# Create matrices containing dependent and independet variables. #' @keywords internal getXY <- function(data1, nlags) { varnames <- colnames(data1) data1 <- data1 - (matrix(data = 1, nrow = nrow(data1), ncol = ncol(data1)) %*% diag(x = colMeans(x = data1, na.rm = FALSE, dims = 1))) colnames(data1) <- varn...
cb9bfcab0a90a09e3cf408268c558ccca6b7138e
29585dff702209dd446c0ab52ceea046c58e384e
/QCAGUI/R/makeChart.R
c4b9788392d989a96c1d29cd2364b5f9eff63cbb
[]
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
2,800
r
makeChart.R
`makeChart` <- function(primes = "", configs = "", snames = "") { if (!isNamespaceLoaded("QCA")) { requireNamespace("QCA", quietly = TRUE) } prmat <- is.matrix(primes) comat <- is.matrix(configs) if (prmat + comat == 2) { if (!(is.numeric(primes) & is.numeric...
ebb17fa219ddd64ad99290fbedc5a008d83ad8d6
6738306f6c56ed5273ec8bc940e9aa71bea5230b
/RFiles/husmann.R
ce64e6db84596c7b5d9683a562913788e5493ae9
[]
no_license
kaihusmann/optimization_essay
194d79d738677fe7fe94eca442055670ca4fbbd8
d76884cd1fb73f2d8cca4688312f9710dafe77ba
refs/heads/master
2021-01-22T03:44:07.933557
2017-06-12T17:05:12
2017-06-12T17:05:12
81,453,253
0
0
null
null
null
null
UTF-8
R
false
false
14,079
r
husmann.R
#----------------------------------------------------# #### Example 1: Himmelblau, cont. parameter space #### #----------------------------------------------------# ## Clear workspace ## rm(list = ls()) ## Load packages ## library(GenSA) library(optimization) library(xtable) library(microbenchmark) ## setwd ## #set...
d6b6a641af90b221f873d9d09750cf29f7bf1b9a
9fb072a48f70cc3e592a07fa6960363f1ba1562e
/books.r
24c5de9dd0c337b25f685873931718440ce6c600
[]
no_license
cyadusha/bookspy
0092a2275a708bf41f72110ecdb03b3b654f3471
32a97e14b9f07a578b99ff2694e2390e1947524f
refs/heads/master
2021-01-19T00:18:26.359745
2017-04-04T05:40:12
2017-04-04T05:40:12
87,151,897
0
0
null
null
null
null
UTF-8
R
false
false
738
r
books.r
# Databricks notebook source sc <- sparkR.session() books <- as.data.frame(read.df(source = 'csv', schema = NULL, path = '/FileStore/tables/5c89o5011491261805559/BX_Book_Ratings-05a61.csv', header = "true")) books$Rating <- as.integer(books$Rating) books$User <- as.integer(books$User) books$User <- as.integer(books$Use...
11e00d606bbeba202d8f4496a05f8acf0c541fbd
90f6ffe83e3565f9bfc82de8662c907508b64f61
/functions/support_functions.R
dfa72af11c0672fed6150f0881308fbed65b36b0
[]
no_license
henrique-anatole/shinyapp_template
2f8b4196daf864a50b29c8c034af5ab45540707d
fefa002d3336cd3410475dcbb2d36223a7114251
refs/heads/master
2023-06-09T13:47:32.445072
2021-07-03T03:18:36
2021-07-03T03:18:36
382,497,304
0
0
null
null
null
null
UTF-8
R
false
false
45
r
support_functions.R
# Put all basic support functions here
e6ba807ab4dc0a3083d1db255c59d349c218d88c
ddd70f6b0a5adb038dd67c3de22f3b1f90a69bf4
/Week_1.R
5152c2445c84bc1afd13468939e75ae6719ca263
[]
no_license
ccannon3/R_DAVIS_in_class_project
5fd85db514e9311089985e38ef96d547af203ea8
19da6aec708688023859c71a678b753bfa07eba0
refs/heads/master
2020-12-04T03:54:23.842032
2020-02-18T22:00:23
2020-02-18T22:00:23
231,599,539
0
0
null
2020-01-03T13:58:47
2020-01-03T13:58:44
null
UTF-8
R
false
false
1,133
r
Week_1.R
# Welcome to R-Davis 2020 Week 1 1 + 100 #r uses the order of operations 3 + 5 *2 #use parentheses to force order of operations (3 + 5)*2 #scientific notation 2 / 10000 1e9*8 #call functions in R sin(3.14) log(3) exp(.5) #nesting functions, interpreted from the inside out sqrt(exp(4)) #comparisons in R...
96252d8e98ea8df40641b8e4339c254851b6791d
66080fc86a2579dbdf221aa061e73e569d6f1471
/man/roll.Rd
eb2374de035d5e46ffc78e58eb66c2205de071f2
[]
no_license
oganm/diceSyntax
bfa230b756383a623dbeb8a44afac0917cff433b
0e8186dc09b52e25d50571b1e2dfbc22d2d8dbb6
refs/heads/master
2021-08-22T21:29:37.261554
2021-07-19T19:42:27
2021-07-19T19:42:27
83,385,569
3
4
null
null
null
null
UTF-8
R
false
true
498
rd
roll.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dice.R \name{roll} \alias{roll} \title{Roll a dice} \usage{ roll(dice, critMark = TRUE, vocal = TRUE, returnRolls = FALSE) } \arguments{ \item{dice}{character, a valid dice syntax} \item{vocal}{Should it print individual rolls} \item{return...
5c4d2d900cf0e46eb726742f6ca8fd5103aacf5c
222fe5a863813f5c418c5891de999bdf90fa343f
/man/gen_id_to_haps.Rd
55addb2c9a59d85ebc219285f4ce4fa464919ad1
[]
no_license
xiahui625649/digitaltwins
c12045110e3e35d095ef1d8370eb1f36b506f695
aa84b33bedc378bc8491afc98609326519a944e0
refs/heads/master
2023-03-30T12:58:40.540064
2020-02-24T18:47:54
2020-02-24T18:47:54
null
0
0
null
null
null
null
UTF-8
R
false
true
377
rd
gen_id_to_haps.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/linear_crt.r \name{gen_id_to_haps} \alias{gen_id_to_haps} \title{Convert genotype IDs to haplotype IDs} \usage{ gen_id_to_haps(ids) } \arguments{ \item{ids}{vector of ids (integers)} } \value{ Vector of ids, typically of size 2 * length(ids)....
4272fb38b78ca50991b012ba0b884cee75a39a90
973cf626ce20a6facdff3e08bc7f5b7f7553faa8
/BioStats2/q4.R
933862232add5ffb2d424ec6ce4acd6e8a428658
[]
no_license
RobertCPhillips/CourseraJohnHopkinsDataScience
c9b3ca59f208e9cc0c24e40674eeffd01b329824
e0fc46b404d76e1aa689d85b72bd7c13dea95c90
refs/heads/master
2021-01-23T12:17:16.871163
2016-01-02T15:33:38
2016-01-02T15:33:38
22,586,700
0
0
null
null
null
null
UTF-8
R
false
false
367
r
q4.R
#1 dat <- array(c(8, 52, 5, 164, 25, 29, 21, 128), c(2, 2, 2)) dat mantelhaen.test(dat, correct = FALSE) #2 diff <- c(-3, +2, -1) wilcox.test(diff, exact = T, alternative = c("two.sided")) #3 #prop.test(15, 25, p = .5) m <- matrix(c(55, 12, 41, 20), 2) mcnemar.test(m, correct = FALSE) #4 a4 <- (55+41)*(41+20)/((...
984ecef86e55c75994e9bf18fabe6f90035e0b7e
b29b3cfeeb124d77f1c103d184207837f9322944
/man/pennyPerShare.Rd
c4b8a17360b40d8b46d6f554ab6b125a8fd5b663
[]
no_license
codecliff/blotter
9384a4833d12e022da7b6a243a69677e8c74cd8f
c54ee700a3f0925d1b966ddf2ba0e1f1ab2fd849
refs/heads/master
2021-01-13T10:17:07.395515
2016-08-21T21:38:06
2016-08-21T23:01:08
69,478,420
1
0
null
2016-09-28T15:42:03
2016-09-28T15:42:02
null
UTF-8
R
false
true
559
rd
pennyPerShare.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/addTxn.R \name{pennyPerShare} \alias{pennyPerShare} \title{Example TxnFee cost function} \usage{ pennyPerShare(TxnQty, ...) } \arguments{ \item{TxnQty}{total units (such as shares or contracts) transacted. Positive values indicate a 'buy'; n...
8e3a5518db81db84232f4c38dd6e14829e2d4433
a270ac7fe1a89e31cfff6ba39af96d88bebe469a
/safer_streets_priority_finder/R/mod_visualize_model_results.R
b0f7e63db7dfb1ebf0ae62bf6db5cbd1c2bae92f
[ "MIT" ]
permissive
dflynn-volpe/Safer-Streets-Priority-Finder
7e4fb4e808bc2ae03051e6eb0bc9f70fdac978c9
10411177c039a5b96147390e23b4cbe631b27323
refs/heads/main
2023-07-22T14:44:36.576337
2021-09-01T17:32:24
2021-09-01T17:32:24
null
0
0
null
null
null
null
UTF-8
R
false
false
9,961
r
mod_visualize_model_results.R
#' visualize_model_results UI Function #' #' @description A shiny Module. #' #' @param id,input,output,session Internal parameters for {shiny}. #' #' @noRd #' #' @importFrom shiny NS tagList mod_visualize_model_results_ui <- function(id){ ns <- NS(id) tagList( ) } #' visualize_model_results Server Functi...
008be2f607511c65f957cf200e13997001f20481
a736ac537b5e2255d5f1fb7e075815353972c888
/getStockInfo.R
b42313480b316c2374c856f8c4c9af3485280398
[]
no_license
mahoutm/learning-R
37fd6fdb8d1325f9f428f1a36783dcd2a10ccc9f
fd59c45d00b63f4276f143651a5874b022cfed36
refs/heads/master
2021-01-15T17:42:11.438350
2014-10-14T14:13:54
2014-10-14T14:13:54
null
0
0
null
null
null
null
UTF-8
R
false
false
126
r
getStockInfo.R
# get stock information to yahoo site. install.packages("fImport") library(fImport) s_e <- yahooSeries("005935.KS") plot(s_e)
0013f21f1b4799e74fc367968cb29b83c87e1b05
3c4277919e1e18231c9c5a35615cbce0eb85ec9b
/180607_텍스트마이닝/Ngram.R
12bc9a7dee62ae940f847dcda55381087a065234
[]
no_license
chankoo/BOAZ-Sessions
988932b943c0287049d991a3849554b8701120e3
87c15440ff7027f09216a85c932ddcbea75aa95b
refs/heads/master
2020-03-28T09:13:41.760854
2018-11-24T14:42:43
2018-11-24T14:42:43
148,022,015
0
0
null
null
null
null
UTF-8
R
false
false
4,978
r
Ngram.R
############################ ##########n-gram############ ############################## rm(list=ls()) # install.packages("dplyr") # install.packages("tidytext") # install.packages("janeaustenr") library(dplyr) library(tidytext) library(janeaustenr) # tf-idf 에서도 unnest_tokens()를 사용했었음 # tf-idf 에서는 unnest_tokens()를 통...
99381b40a1cb8d92dde1ba009e51a7a2d2529bf4
ddf0c1ddf1e2df05f2fb752ea2c6c3702972edeb
/man/isplit2.Rd
00aa9cad8ddb3b9e8b67dfe40483bea21e298d05
[]
no_license
talgalili/plyr
f61d5ca395f69345b04d7db98558518f28028ddf
dc98253e4ec68951c3c53426f13c31a93e47d13c
refs/heads/master
2020-04-07T21:29:41.218492
2012-10-29T15:04:38
2012-10-29T15:04:38
8,526,939
1
0
null
null
null
null
UTF-8
R
false
false
220
rd
isplit2.Rd
\name{isplit2} \alias{isplit2} \title{Split iterator that returns values, not indices.} \usage{ isplit2(x, f, drop = FALSE, ...) } \description{ Split iterator that returns values, not indices. } \keyword{internal}
9bde57cd3e815cafad0d416eec54dcc54e6a0d0c
93948587ecb19bd226dd7c6b499f90a5ae3c472e
/R/REGE_for.R
7218165eec41a95389610410142282f2acce7aba
[]
no_license
cran/blockmodeling
2aee1677bc94cd7daf7b48f5a7b7a662100a648e
f1766c756496c05040f8a8015f31036f13224659
refs/heads/master
2022-12-01T06:35:33.586891
2022-11-22T11:30:02
2022-11-22T11:30:02
17,694,825
0
0
null
null
null
null
UTF-8
R
false
false
16,583
r
REGE_for.R
#' @rdname REGE #' #' @export REGE.for<-function( M, #netowrk in form of a matrix or array (in case of several relations) iter = 3, E = 1 #initial similiarity between vertices (default 1 among all vertices). ){ if(is.array(M)){ dM<-dim(M) dnM<-dimnames(M) N<-dM[1] if (length(dM)==3) { ...
eb72e645b7273cfb15a577199a1bbfdeca5932f7
653008da920ccc5fc80958ab479d4af39e78b39d
/man/CreateWalkForwardFuns.Rd
aa76af1bd198d0f71dac1904bc0519623f140c83
[ "MIT" ]
permissive
TheRealSvc/forecast4you
7c0659942eed0806be713eb3d2beb8743cd66246
1c31a57741e8e4af0b0e6074a07c32a5e4c05896
refs/heads/main
2023-08-04T10:52:06.222516
2021-09-11T20:23:24
2021-09-11T20:23:24
405,196,500
0
0
null
2021-09-11T20:23:24
2021-09-10T19:48:56
R
UTF-8
R
false
true
651
rd
CreateWalkForwardFuns.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/helper_funs_framework.R \name{CreateWalkForwardFuns} \alias{CreateWalkForwardFuns} \title{split the time series and creates a list tree as the main object for further operations} \usage{ CreateWalkForwardFuns(lTrain, lValid = 1) } \arguments{...
c644588ffd3b857f377f13063aa719a6ecaa0f12
eb98338c4a30a5ad3608a10a4fc8f3f2bb63d6ec
/tests/testthat/test-view.R
d6244b3b5d27ac505afce87fad20e69e76f47632
[ "MIT" ]
permissive
tidyverse/stringr
650be49f02b55276161bbc1134630f24dd0d0da8
08ff36fa0ca365000197341b9540ff7126711497
refs/heads/main
2023-08-26T10:38:24.999750
2023-08-05T20:42:27
2023-08-05T20:42:27
365,649
445
184
NOASSERTION
2023-09-03T11:49:44
2009-11-08T22:20:08
R
UTF-8
R
false
false
1,899
r
test-view.R
test_that("results are truncated", { expect_snapshot(str_view(words)) # and can control with option local_options(stringr.view_n = 5) expect_snapshot(str_view(words)) }) test_that("indices come from original vector", { expect_snapshot(str_view(letters, "a|z", match = TRUE)) }) test_that("view highlights al...
8e635366b0d3d13e151d2cdb8d6b4ac2e13a3d23
76abe33b0dac505b1f7d771c799e18b57a8f4417
/shiny/colourpicker.R
e306150f3de0a8bce08157485098c06fc66f2162
[]
no_license
jyeazell/DataCamp_practice
4ddaf889b07a2ef3fcd0965bee7d71372e3eb2f3
de4443e01d5414913aa555a5771d5eadc9f83700
refs/heads/master
2022-12-19T23:27:19.410533
2020-10-09T20:31:07
2020-10-09T20:31:07
183,300,581
0
0
null
null
null
null
UTF-8
R
false
false
2,081
r
colourpicker.R
##' Add colours to your plot: color input ##' ##' The colourpicker package provides a color input, available through the ##' colourInput() function. Even though color inputs are not part of the shiny ##' package, they behave in the same way as any other input. ##' ##' A color input can have many different arguments...
384653be537b7fa3c1e616cd7e809b6eccd86947
4bbb1f6be0a86429f685635056edf46f5bfa26c6
/MONAMI_useful.R
729645b22831e76039e1e522b8ff6335b8f1f097
[ "MIT" ]
permissive
s-seo/useful-function
635c3c940d257dc4d5bb26512646afce8c54e6af
378919631e9f554484d982e94ba88fb67aa47837
refs/heads/master
2020-04-29T02:14:29.063805
2019-03-15T13:07:08
2019-03-15T13:07:08
175,759,257
0
0
null
null
null
null
UTF-8
R
false
false
1,358
r
MONAMI_useful.R
lapply(c('dplyr', 'ggplot2', 'stringr', 'data.table', 'reshape2', 'XLConnect', 'reshape', 'gridExtra', 'biglm' ), require, character.only =T) read.xls <- function(filename, sheetnumber=1, sheetname=NULL, forceConversion=TRUE, startCol=0, strings...
5c0aacb43c55db6df721774b05caaa7dedada7bc
d749c7a9182c1e4f9d136ee7db61bbe6a95bfcd3
/man/temperature_4yr.Rd
b557f8cccca114db2d60615247a218b1ab45bfb7
[ "MIT" ]
permissive
themacfreezie/wxsumR
becdcdf805cdc6ca99fcc359cea0608ddb7a58e2
4fad8e9ad6610c955824f87cf85d13689b5a4836
refs/heads/main
2023-08-07T16:24:18.563452
2021-09-10T22:17:58
2021-09-10T22:17:58
410,063,543
0
0
MIT
2021-09-24T18:25:21
2021-09-24T18:25:21
null
UTF-8
R
false
true
671
rd
temperature_4yr.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{temperature_4yr} \alias{temperature_4yr} \title{A small (four-year) example data set of daily temperature measurements} \format{ An object of class \code{data.frame} with 100 rows and 1462 columns. } \usage{ temper...
bc8f4930a2b3bce41b61d4034942ef9b20562213
787d30612e43925008c9cbc72a3328740b7c4974
/BA/Sec16. Logistic Regression in R.R
e95589e18e78eeccd91f5ff88c7414f400f4e030
[]
no_license
MMM-UOC/rAnalytics
3a16d7f00287348487c00c0748517448a15de8a4
5c93d788cd909b0697633a86296de49422a38198
refs/heads/master
2022-11-08T20:43:40.894935
2020-06-26T09:50:53
2020-06-26T09:50:53
null
0
0
null
null
null
null
UTF-8
R
false
false
3,631
r
Sec16. Logistic Regression in R.R
#Logistic Regression---- #Data is regarding selection of studentinto graduate school #Note that R requires forward slashes (/) not back slashes () when specifying a file location even if the file is on your hard drive. mydata <- read.csv("https://stats.idre.ucla.edu/stat/data/binary.csv") head(mydata) #view the first s...
00dc8b6b187a8138f987ac5c8369698ac2100998
c40bb0f3a4b5eb625686c0742f3ec0d09158a2d4
/cachematrix.R
4b57aa4214e4dd0b5d8eb83bd0f1912bf3ad6f51
[]
no_license
accbel/ProgrammingAssignment2
08ec133df2e690d04c36fb19b898f1238bfcd26b
ba5b90c5bbf79209db938f8709359210236e4b24
refs/heads/master
2021-01-14T14:27:54.778131
2015-04-21T21:57:02
2015-04-21T21:57:02
34,351,346
0
0
null
2015-04-21T20:46:38
2015-04-21T20:46:37
null
UTF-8
R
false
false
1,785
r
cachematrix.R
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function ## This function will create a special object ## (a list with named elements as functions) to deal with matrix inverse ## and repeateable computations (using a cache region) makeCacheMa...
f807831bb259eab2df69ee6d89ceced2db7329dc
653b8ba356ed50f74a442455e409f62976b4464d
/modelAnalyzeR/man/previous_western_electric_rules.Rd
0aa4383ea48b2b45990c56eb4bd75fba11200973
[ "MIT" ]
permissive
kiran1984/SCOPE-Anomaly-Detection-Case-Study
e5bcfaf981b78695f7ebebdfb8b40ed7871244c5
21a0bb9e16a200ba1fcf29354c544524cec9a154
refs/heads/master
2020-06-22T11:09:53.603581
2018-06-30T21:53:38
2018-06-30T21:53:38
null
0
0
null
null
null
null
UTF-8
R
false
true
754
rd
previous_western_electric_rules.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/western_electric_rules.R \name{previous_western_electric_rules} \alias{previous_western_electric_rules} \title{Previous Western Electric Rules} \usage{ previous_western_electric_rules(rule, rules_order, include = TRUE) } \arguments{ \item{rul...
423ea82251e84e7c67e02e05e869f2d11786f2a5
abe6484733486374f615840d7bddd249b354b48b
/man/AIC.Rd
573f8975171f2191d7e60150adea4ee9e635183f
[]
no_license
cran/spaMM
5c64ff59d95ade15763d552445525729307f4f00
f96d37b51601ceaa49c61c0d86f0526fc2aa8c21
refs/heads/master
2023-08-07T17:25:27.993410
2023-07-06T10:30:02
2023-07-06T10:30:02
17,699,820
0
0
null
null
null
null
UTF-8
R
false
false
10,505
rd
AIC.Rd
\name{AIC} \alias{get_any_IC} \alias{AIC} \alias{AIC.HLfit} \alias{extractAIC} \alias{extractAIC.HLfit} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Extractors for information criteria such as AIC } \description{ \code{get_any_IC} computes model selection/information criteria such a...
aef141d717b28571af8454c5711b01e0e7ee12f1
4755f3de81c8fead02dc028a52fb22183381bf6e
/lecture6.R
02e4a7694930f1c4f4938d97fff41beda9d42d13
[]
no_license
LucIFer427/mhl_programming_econ
9bd63cc58cacfa1bc10ce5ca76f98e1664a369b6
bc9f3f59a63d8779269b9657a7dc82867ac874e6
refs/heads/master
2022-04-16T11:40:09.172882
2020-04-13T10:36:38
2020-04-13T10:36:38
null
0
0
null
null
null
null
UTF-8
R
false
false
432
r
lecture6.R
c1 <- '[Uhlmann, Eric Luis] HEC Paris, Management & Human Resources Dept, F-78351 Jouy En Josas, France; [Heaphy, Emily] Boston Univ, Sch Management, Boston, MA 02215 USA; [Ashford, Susan J.] Univ Michigan, Sch Business, Ann Arbor, MI 48109 USA; [Lei, Luke [Zhu] Univ British Columbia, Sauder Sch Business, Vancouver, BC...
44401017625a2ea8ba5d6c73f322e2a03e272cb5
3dd96bb147da182d23824ac7172031c309f55298
/bash_DADA2_script.R
4b74bd865309f1a84812d088280a3a0915b12da8
[]
no_license
qinglong89/Taxa4Meta-ParameterBenchmarking
4d07e95f83abae79efb6feba2eeb510da67ae0f4
8f2155981c52437e74072f9644fe0b2c65d7a17a
refs/heads/main
2023-04-24T13:05:48.901832
2021-05-17T16:25:05
2021-05-17T16:25:05
368,240,477
0
0
null
null
null
null
UTF-8
R
false
false
2,052
r
bash_DADA2_script.R
#!/usr/bin/env Rscript #usage: Rscript --vanilla bash_DADA2_script.R /path-to-fastq-files/ #alternative usage: R CMD BATCH bash_DADA2_script.R (but need to specify the path directory in the script) #define argumens from command line args <- commandArgs(trailingOnly=TRUE) #pass the work directory (where fastq files k...
8366c93a08d772888382862b4beff6f41204b40a
f43ff1e09138649558c2e90a75bd2d4f3cbbdbb6
/source/macOS/R-Portable-Mac/library/plotly/demo/animation-tour-basic.R
b56a31313211d141a2e79b6205ee061004e48c11
[ "MIT", "CC-BY-3.0", "GPL-2.0-only" ]
permissive
romanhaa/Cerebro
5b2d9371403c52f60341894f84cd0f6a006cc930
946ed178c986027d60af6013e63d1fc51ae8b371
refs/heads/master
2022-12-02T15:49:57.705873
2021-11-20T11:47:12
2021-11-21T17:09:37
164,686,297
87
23
MIT
2022-11-10T18:21:44
2019-01-08T16:09:59
HTML
UTF-8
R
false
false
1,350
r
animation-tour-basic.R
# adapted from https://github.com/rstudio/ggvis/blob/master/demo/tourr.r library(tourr) library(plotly) mat <- rescale(as.matrix(flea[1:6])) tour <- new_tour(mat, grand_tour(), NULL) tour_dat <- function(step_size) { step <- tour(step_size) proj <- center(mat %*% step$proj) data.frame(x = proj[,1], y = proj[,2...
1b1ff7637d285458d18607c611abdbf5b6b7564f
3cd53640e1e89f3c8ea21bc02f6bf66160d08f7d
/scripts/parallel_process.R
7a44bc593d4b60d2bc16017cac9d57c6ba24a9ff
[ "MIT" ]
permissive
benranco/SNPpipeline
c1823ae0ba3c9d5af04d4282c45f6419d027f6a7
c73c5621cfe3b88baed72ae46d538149ad02a25e
refs/heads/master
2022-09-17T12:14:23.564823
2022-09-14T09:41:11
2022-09-14T09:41:11
66,683,763
0
0
null
null
null
null
UTF-8
R
false
false
16,319
r
parallel_process.R
args <- commandArgs(trailingOnly = TRUE) path <- args[1] file <- args[2] haploidOrDiploid <- args[3] #path <- "/home/gosuzombie/Desktop/region_38/run" #file <- "report_p432.Rds" options(stringsAsFactors = FALSE, warn = 1) report <- NULL s <- NULL ################################################# printErr <- functi...
1f54959ce128f03f6dc5bd3aaca0afa24b5af872
a1bb4782472b046285e29132ea8faee76cecc6f8
/R/initConst.R
d440b7e5a4d7a6c8334ca0a053d6d558f4d9c963
[]
no_license
cran/orth
bb155ab9fc0e26274f3c5925b71e0c4090b378df
cc72f36de41107427c5445a9700608bb40cf5e6c
refs/heads/master
2021-01-17T05:56:39.888184
2011-01-25T00:00:00
2011-01-25T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
284
r
initConst.R
`initConst` <- function(ni, lambda) { # When n[i] equals 2, the contribution of lambda is 0 if (ni == 2) { c1 <- 1; c2 <- 0 } else { c1 <- 1 / (1-lambda) c2 <- -lambda / ( (1-lambda)*(1 + (ch2(ni) - 1)* lambda ) ) } return(list(c1 = c1, c2 = c2)) }
4c48d19ac722d44ba81ecc2279ff07646f9bdcfc
216432e1e9cab0486bc4ea487580ffc0ae149511
/data_transform_completed.R
b2b5d1b7503a823f75cd29f2e2ecce6912122f07
[]
no_license
chubenn/Consultation-Angie
1c8c573bb81e56f945ffd6be06eb2e972a36bea2
409735adf278e1beaea4875dc4026e5c6a4f38de
refs/heads/master
2021-09-16T23:10:09.412312
2018-06-25T22:39:34
2018-06-25T22:39:34
null
0
0
null
null
null
null
UTF-8
R
false
false
7,551
r
data_transform_completed.R
library(DescTools) # Create data set with needed DVs and IVs angie_mutated <- angie_complete %>% tbl_df %>% janitor::clean_names() %>% mutate(dv_mpca = (mpca1 + mpca2 + mpca3 + mpca4 + mpca5 + mpca6 + mpca7 + mpca8 + mpca9 + mpca10 + mpca11 + mpca12 + mpca13 + mpca14 + mpca15 + mp...
bedc80851090d7c0a7eeb9c3f12a19aea722124a
2fbd23b496681bfa89b7a61f05f05d3b5e65772d
/tests/testthat/test_setequal.R
075aa99679f6d7e0337d9cd56e9ae6ac3f9493f8
[ "MIT" ]
permissive
numeract/Nmisc
95b7b8f89f2eb278572117c04825d2add2f508a3
17347253922b657336e6c7ba044f7361daf67506
refs/heads/master
2021-07-16T22:09:34.461956
2021-04-28T13:28:39
2021-04-28T13:28:39
118,459,419
0
0
NOASSERTION
2021-04-28T04:29:10
2018-01-22T13:16:23
R
UTF-8
R
false
false
977
r
test_setequal.R
context("Testing set-misc.R/setequal_na()") test_that("set_equal_na() works when na.rm = TRUE", { x <- c(1, 2) y <- c(NA, 1, 2) result <- setequal_na(x, y, na.rm = TRUE) expect_equal(result, TRUE) }) test_that("set_equal_na() works when na.rm = FALSE", { x <- c(1, 2) y <- c(NA, 1, 2) resu...
afc7d7a59ddad6c6b3f313c3eb83a7bbac0bdb32
7917fc0a7108a994bf39359385fb5728d189c182
/cran/paws.security.identity/man/securityhub_get_members.Rd
0b76f122f21d73a19a0a45efdccc3ab5f17812dd
[ "Apache-2.0" ]
permissive
TWarczak/paws
b59300a5c41e374542a80aba223f84e1e2538bec
e70532e3e245286452e97e3286b5decce5c4eb90
refs/heads/main
2023-07-06T21:51:31.572720
2021-08-06T02:08:53
2021-08-06T02:08:53
396,131,582
1
0
NOASSERTION
2021-08-14T21:11:04
2021-08-14T21:11:04
null
UTF-8
R
false
true
1,377
rd
securityhub_get_members.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/securityhub_operations.R \name{securityhub_get_members} \alias{securityhub_get_members} \title{Returns the details for the Security Hub member accounts for the specified account IDs} \usage{ securityhub_get_members(AccountIds) } \arguments{ \...
56872bde3485373d3ebdf95e7b9fcc6985859ef1
481675ed5406254a953ca816a3c9778ed5457d8f
/tests/testthat/tests_calc_durationLow.R
5e8191a137c276089a30520980b5c4f38136ea77
[ "CC0-1.0", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
dblodgett-usgs/EflowStats
40918982cc372a3f4618d8029601fe1f9658b35b
ec0e7976d2725fc99e9cbcc4e9ebaeed3dd31759
refs/heads/main
2023-03-17T12:36:59.121633
2023-02-04T02:06:46
2023-02-04T02:06:46
546,371,708
0
0
NOASSERTION
2022-10-06T01:23:24
2022-10-06T01:23:23
null
UTF-8
R
false
false
1,345
r
tests_calc_durationLow.R
context("duration low") test_that("duration low pref mean", { x<-sampleData[c("date","discharge")] calc_durationLowTest <- calc_durationLow(x=x,yearType="water",pref = "mean") calc_durationLowTestCheck <- readRDS("data/tests_calc_durationLow.rds") expect_equal...
11cbd7f6b0195be67ccf70070a5dd65f5e064421
ed261861b636b60b63bc6f86a8914511bf35d1f1
/fstatistic/ui.R
aae684998fc057001d715c37d92869aaa1a012e5
[]
no_license
jmarshallnz/shinystats
169614ce2d39dcdef614cdd10b553a058156b1e4
df3d836bf649b9b32abc645269205af6c28928d2
refs/heads/master
2021-08-08T13:01:54.755636
2021-07-18T07:33:34
2021-07-18T07:33:34
140,226,490
0
0
null
null
null
null
UTF-8
R
false
false
589
r
ui.R
library(shiny) shinyUI(fluidPage( # Show a plot of the generated distribution fluidRow( column(width=6, plotOutput("data")), column(width=6, plotOutput("fdist")) ), fluidRow( column(width=3, sliderInput("n", "Sample size", min=10, max=100, value=30, step=1)), column(width=3, sliderInput("streng...
44c5bfa43bb96fcc3cddd7524cf74bbb45b66a7e
293fd8c290c52e106b62f029d1b36b56726a7448
/R/old/models_av.R
bf371f559491555c222462dfd98658ffef45f354
[]
no_license
kmeier1633/PredictiveProjectADDK
e9222c415e9f85154477b635c03588d75be7af24
da41cb6a84a2da8f20ceac5e4d0d5f892ab8c7d9
refs/heads/master
2021-01-12T04:50:37.552550
2016-12-08T06:06:05
2016-12-08T06:06:05
null
0
0
null
null
null
null
UTF-8
R
false
false
9,563
r
models_av.R
#install.packages('ROCR') library(ROCR) library(pROC) #The logistic regression models are the same as models_km. My regression code is further below who = "adit" # Set appropriate file address if(who=="kristin"){ address <- '/Users/kmeier92/Documents/Northwestern/fall2016/Predictive_Analytics/PredictiveProjectAD...
90a2d32ddc3687aff8918495d0a8558b5f2c9411
837a3177789464eabb12b7abfb12e8621feb71fb
/(8)Fishing/setUpScenario_ts_files_versionB1.R
d9d301c9cb33fbd09600df57d8bfead836241f75
[]
no_license
mcgregorv/AtlantisRscripts
21140225d43ba583a1bebc70557c8cb5f61b9b5c
1009f0d1961fc95bc4a98d25eea7dc1d7cccee77
refs/heads/master
2020-07-11T14:20:34.142538
2019-08-26T22:22:13
2019-08-26T22:22:13
204,566,512
0
0
null
null
null
null
UTF-8
R
false
false
6,172
r
setUpScenario_ts_files_versionB1.R
#read in last 5 year average (total per year) catches - these were created in PlotHistoricForcedCatches_part2 #scale the value from the last year (up or down depending on scenario) and proportion it spatially based on last 5 year average proportions this_path<-paste(DIR$'Base',"ATLANTISmodels\\",sep="") catchPath<-p...
44da21d52f8a2a62ba562574a06c6695558cd684
722281e3bddbef275d0e165f58c15077f91741aa
/R/read.R
6cf6779055b15fa50f18bb2d10c81164ff94f7e4
[]
no_license
heibl/ips
ba824e8d2c185e22ad81c2d85d7e6368b9017f5d
647ba4c9ae1104b649cacc901c527de0207b7775
refs/heads/master
2022-02-08T16:08:03.520858
2022-02-06T14:54:58
2022-02-06T14:54:58
50,670,472
9
3
null
2018-01-18T09:19:30
2016-01-29T15:18:38
R
UTF-8
R
false
false
1,346
r
read.R
#' @title Reading Sequence Files #' @description Read DNA and amino acid sequences from FASTA, PHILIP, and NEXUS #' formatted files. #' @param x A character string, giving the file name. #' @param text A character string in FASTA format. #' @return An matrix (aligned sequences) or list (unaligned sequences) of clas...
1b089be31d4012da55b6c8edcd45bd24bd944f08
3632532c83f0058a489d3299e6b6670165088e67
/server.R
0726f488f9d75b50b72031b45307edbd452de690
[]
no_license
kggen/next-word-app
9f89c6bb2e090194fb389ae646f8e521e506ffec
5ff4902589aa2d82c4e513c657dc99f0f2eef950
refs/heads/master
2020-04-21T16:27:34.358454
2019-02-08T08:09:52
2019-02-08T08:09:52
169,702,249
0
0
null
null
null
null
UTF-8
R
false
false
381
r
server.R
library(shiny) source("Prediction.R") shinyServer( function(input, output){ result <- reactive({ nextWord(input$query) }) output$query <- renderPrint({input$query}) output$recommendation_1 <- renderText({result()[1]}) output$recommendation_2 <- renderText({result()[2]}) ...
10d0b0a71e01b249c66098d99e862e1b0e3bfafd
fd2bf6d71e00c84e16814fa8fc41c35d52e0752b
/fancy-scientific .R
35330bfb24e2eaf76028da960e1f72d8c6c30125
[]
no_license
BTDangelo/Function-Archive
b9a6a5538e2dd56043b60d0ad7fe58286fb5ec9a
20cf00f19a5999ac4c6fab01f4cf68288fccd1b4
refs/heads/master
2020-12-02T18:04:59.106707
2017-08-09T20:05:06
2017-08-09T20:05:06
96,469,222
0
0
null
null
null
null
UTF-8
R
false
false
569
r
fancy-scientific .R
## Change the Format of Numbers on Axis with ggplot fancy_scientific <- function(l) { ## function taken from stackoverflow.com post ## http://stackoverflow.com/questions/11610377/how-do-i-change-the-formatting-of-numbers-on-an-axis-with-ggplot/24241954 # turn in to character string in scientific notation x <...
f75e03627ee351fe1576fb0a6964ba705da95ba8
2c2217ea029932600f417f54f9f3defc63459376
/Gam smoothing.R
588d38124a0fb8203020ae9fb86d074eb84ca499
[]
no_license
yangxhcaf/EWSR-Nature-Communications-2019
06c5f02f1e43688799171c5b37dc33c6a8f6fc45
fc72d2414aec794fdf1df9c79d5596a0969385e3
refs/heads/master
2021-10-25T16:22:40.130225
2019-04-05T11:19:23
2019-04-05T11:19:23
null
0
0
null
null
null
null
UTF-8
R
false
false
1,518
r
Gam smoothing.R
########################################################################################### library(mgcv) eps <- 1e-7 ## finite difference interval ##functino to calculate the slopes, derivatives and ci's of the data, based on the Gam method from Burthe et al.: is.there = function(x=0, L.CI, U.CI){ pos<- ifelse(x<...
0943895293e190c175a3d97801482896ae27a10b
f4d86d015400a9972f9b9c38b02913ba4162a50b
/R/pca_drivers.R
4a1e2b30c9977c1ad493acfc3b4b639d3d92034d
[]
no_license
aidanmacnamara/epiChoose
2ba4e6c6348bf763a40edd7e1285098e1bc7a14a
11cbb78cf063afa767943c8d6e0779f451317550
refs/heads/master
2021-12-22T13:12:04.352433
2021-12-10T07:33:51
2021-12-10T07:33:51
83,414,546
1
0
null
null
null
null
UTF-8
R
false
false
1,033
r
pca_drivers.R
#' @title TO ADD #' @description TO ADD #' @description This is a new line ... #' @details What's this? #' @param dat PCA matrix #' @return TO ADD pca_drivers <- function(dat, which_pc=1, thresh=5000) { remove_rows = which(apply(dat, 1, function(x) all(is.na(x)))) # remove samples with no data if(leng...
0d46b35da8f48d6c6329a872e65c130b11636a5d
32be028fb64990e51f7bc0b16b7efc0c52728a66
/data/create_learning2014.R
2f6af12c07a0284b67182a9763b6df2b5efd2948
[]
no_license
isoakar/IODS-project
52320e9be1c9e26e3cb7f03a0946037d64e28fba
b0869eefd76003f10c5d6ff725d85d42a7504ffc
refs/heads/master
2021-08-14T13:21:11.470180
2017-11-15T19:47:43
2017-11-15T19:47:43
109,665,740
0
0
null
2017-11-06T08:10:18
2017-11-06T08:10:18
null
UTF-8
R
false
false
2,246
r
create_learning2014.R
#Karoliina Isoaho, Nov 9th 2017 #This is my R code for the data wrangling exercise. # Read the full learning data lrn14 <- read.table("http://www.helsinki.fi/~kvehkala/JYTmooc/JYTOPKYS3-data.txt", sep="\t", header=TRUE) # Exploring its structure and dimensions str(lrn14) dim(lrn14) # data has 183 rows and 60 columns ...
33df3bc3aadad002c71d1a73d037fc949ead57d1
73e646c6f16bb7f44a63a7b64d07613e784fe4a8
/tests/testthat/test-calc_AF_vectors.R
c103ceacc0b8b3e8c80c4f6f64b40aa2cff4a1c6
[ "MIT" ]
permissive
JimWhiting91/afvaper
191031eedd805f6da9f6cde8c197d2cbe81e2818
90914732ecf1cfa0ccfe09d2d6fba183be6b5941
refs/heads/master
2023-04-06T20:18:06.876886
2022-08-23T11:14:10
2022-08-23T11:14:10
357,587,040
8
0
null
null
null
null
UTF-8
R
false
false
2,416
r
test-calc_AF_vectors.R
# Tests for calc_AF_vectors() vcf_in <- vcfR::read.vcfR(system.file("full_parallel.vcf.gz",package="afvaper")) popmap_in <- read.table(system.file("full_parallel.popmap",package="afvaper")) test_that("calc_AF_vectors() calculates AF vectors from VCF", { vectors <- lapply(2:5,function(x) return(c("pop1",paste0("pop",...
eb1b001f3c77a2e9c459f5dcdcc501e6256044ae
3b8e05a03df019883a3bfad23e8b04c25860bf6e
/plot5.R
861bda0e5a07f080e51a162b192b6a1a5a5913d9
[]
no_license
elcid73/Exploratory-Data-Analysis--Course-Project-2-v2
fd5abbd2c04f8db4e3e500ed807810fda5fb5be3
594ffce84a6187b1622aab13ca10d2e84093c661
refs/heads/master
2016-09-12T09:35:32.808849
2016-05-24T21:58:15
2016-05-24T21:58:15
59,602,595
0
0
null
null
null
null
UTF-8
R
false
false
506
r
plot5.R
NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") library(ggplot2) baltimore<-subset(NEI$fips=='24510'& type == 'ON-ROAD') baltimore_motor<-aggregate(Emissions ~ year,baltimore,sum) png('plot5.png') ggplot(baltimore_motor, aes(factor(year), Emissions)) + geom_bar(s...
53fdb065c549e24e61f2529a1ef7a8d9c8338c57
87ff01119e0660b86b93fe4a2f8b07bf77f5e304
/man/shrooms.Rd
121e2722fdc35510148e7cf12a16716977bf54ee
[]
no_license
homerhanumat/tigerData
7dd072fd84d41ad4be40962ae1e66771e9723d0d
03774d5e00d03dcad60cd22b5ca27b82cf56bb4d
refs/heads/master
2022-12-12T00:31:47.448157
2022-11-30T13:02:18
2022-11-30T13:02:18
28,987,989
0
1
null
null
null
null
UTF-8
R
false
true
1,703
rd
shrooms.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/shrooms.R \docType{data} \name{shrooms} \alias{shrooms} \title{Can You Eat This Mushroom?} \format{ A data frame with 5891 observations on the following 23 variables. \describe{ \item{class}{Whether the mushroom is edible or poisonous.} \ite...
77ec4bb693c2f0d8b307bba69c6caa1b0daa5360
9a41ff952b3a2ae3adab0092761f367979aacd71
/R/select.R
fb8d8366190beaa7943f1ad5c8069b33762aab97
[]
no_license
BenMcCleave/ctmm
67c8c94420deb4cf7deca3074c3d709d61d1ff93
16c3356121781f03aa3e9f2471dbe815ec20c339
refs/heads/master
2020-06-14T05:04:41.827603
2019-06-18T22:18:03
2019-06-18T22:18:03
null
0
0
null
null
null
null
UTF-8
R
false
false
14,718
r
select.R
# small sample size adjustment for ctmm.select to be more agressive alpha.ctmm <- function(CTMM,alpha) { z <- stats::qnorm(alpha) z <- sqrt(z^2 + (CTMM$AICc-CTMM$AIC)) alpha <- 1-stats::pnorm(z) return(alpha) } ######### get.MSPE <- function(CTMM,MSPE="position") { if(!is.na(MSPE)) { MSPE <- CTMM$MSPE[MSPE]...
73c37452ef3386091fc349970103ef3b0677d9e1
85ef44500cf0794b7ccac66a5cf24f65112be3b4
/R/ograph_plot.R
771868da6cc974aa1099b2773a924b22e913f302
[]
no_license
budkaja/ograph
9f8488bfd0c1f5b1b0fa63d1683397ce8566293f
8d72326602880e1d9acb716831a10fbc225c8caf
refs/heads/master
2020-03-28T01:57:36.412034
2016-05-18T21:44:39
2016-05-18T21:44:39
null
0
0
null
null
null
null
UTF-8
R
false
false
11,078
r
ograph_plot.R
################################## ##simple method to plot the tree with pre-defined parms treeplot<-function(graph,label=TRUE,label.nodes=c(), vertex.size=3, vertex.label.cex=1, edge.arrow.size=0.2, edge.width=0.5, vertex.la...
c177b901f4e5cc5d74fb50dbfacf2c1f14e88a06
3f277f9f4e034d6d47984bdc70a24ba8952e5a1d
/man/dtransform.Rd
d3180bfc8ef9cc625a225bd9c8f8664e57c6e6bd
[]
no_license
kkholst/mets
42c1827c8ab939b38e68d965c27ffe849bcd6350
c1b37b8885d5a9b34688cb4019170a424b7bec70
refs/heads/master
2023-08-11T17:09:18.762625
2023-06-16T07:54:16
2023-06-16T07:54:16
28,029,335
16
4
null
null
null
null
UTF-8
R
false
true
656
rd
dtransform.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dtransform.R \name{dtransform} \alias{dtransform} \alias{dtransform<-} \alias{dtrans} \alias{dtrans<-} \title{Transform that allows condition} \usage{ dtransform(data, ...) } \arguments{ \item{data}{is data frame} \item{...}{new variable def...
409533370aef008e55953caa8db8092ecd378cda
927f36bd8494c82c19ee05b0b8c83477ce464e4b
/geneClustering/drought_cluster_R.r
a7e3b3a71f6bcacefe97ecf70b2e2ce465471c7a
[]
no_license
Bo-UT/Drought_pCRE
d0fd045b99078c1df8371901522c0935300804d5
b20cc738bccc22f2e8d9f3730487cddfd06c942e
refs/heads/main
2023-07-29T10:32:46.708034
2021-09-15T15:39:44
2021-09-15T15:39:44
406,616,015
0
0
null
null
null
null
UTF-8
R
false
false
2,597
r
drought_cluster_R.r
library(tidyverse) library(reshape2) setwd('E:/Study/Courses/Projects/ResearchProjects/labDehydrationProject/ML_pipeline/geneClustering/scripts') ##load data data <- read.csv('dehydration_allDE_cluster.csv',row.names=1) data$d0h <- 0 colnames(data) data <- data[,c('d0h',colnames(data)[1:7])] # data[-7] to rem...
24c28d79726cf93a622a196cd80e95116c1e9fc4
6bfb407d6dbc79e672a3886eab30a38012888d71
/retired_functions/summariseTrees.R
0eb33ecf7e4919306fbfcfc6f9a4f448f13ff9af
[]
no_license
hferg/bayestraitr
ca438050b7565e0d6bf752ad8a9a152bd568a0b0
308253d82d02ec0c51414b4608c74fbe0acd528d
refs/heads/master
2021-10-22T14:55:55.160296
2019-03-11T15:15:45
2019-03-11T15:15:45
107,663,993
0
0
null
2019-03-11T15:16:23
2017-10-20T10:16:43
R
UTF-8
R
false
false
3,241
r
summariseTrees.R
#' summariseTrees #' #' Summarise a posterior sample of trees from a rate-varible or RJ local transformation #' BayesTraits MCMC analysis. #' @param reftree A tree that provides the reference topology (in most cases this is #' time-tree the analysis was run on). Can be a filename of a tree in the working #' directory ...
88240c477eb4b26a22c1c32e22d2e3e7b1b2a79b
1123842eaa78a7a9d61b217d0830f1e5eca20afb
/inst/doc/funneljoin.R
bdb4db1fec79e2806ea197dd2f7078ee42bb97d4
[]
no_license
cran/funneljoin
99f362a7616c3d590542e028c2b2d6ac76006d26
efd762d08c3392688d8d30e5343c0a404272c171
refs/heads/master
2023-04-02T04:30:56.830919
2023-03-21T19:00:02
2023-03-21T19:00:02
236,600,916
0
0
null
null
null
null
UTF-8
R
false
false
3,603
r
funneljoin.R
## ----setup, include = FALSE--------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>", message = FALSE ) ## ----------------------------------------------------------------------------- library(dplyr) library(funneljoin) ## -------------------------------------...
ed730034720cd31ec8e2ed83c9ade49e727a33a2
dfa7dc09fee4f6faec626f6aed78adde34237944
/infectChiriAnalysisJustin/scripts/getPolygons.R
7297e992e37d34d04bde69fac5e5103a5bc7995e
[]
no_license
chirimacha/Laboratory
afaf0edcf087a8ec923a1333bf654ab582910e6e
6075fb99a65abc28209beeb64d09c085ac63efb3
refs/heads/master
2021-03-19T11:46:42.012352
2018-10-29T11:42:32
2018-10-29T11:42:32
34,410,633
0
2
null
2016-04-19T15:22:56
2015-04-22T19:17:36
R
UTF-8
R
false
false
6,870
r
getPolygons.R
#=================================================================================== # Code to make the polygons for each of the cameras # mayo 2018 justin #=================================================================================== #==============================================================================...
1c96821ed45496992b945135ddea51a2a8b82b41
e2fda898fdc902a606ac89d75198fdb7791ad4d3
/STA380_Homework1_Aldrich_Charles/Homework1MarketSegmentation.R
c9e211a692d7d694dc935548fa60d9fdb45e9a86
[]
no_license
zaldri/general
1bfea7191ead046f6afce7fa0f9b3bf2c52d7a21
e9ef7f5185e612feb945bc94342d464845c33c8f
refs/heads/master
2016-09-08T02:40:25.479446
2015-08-19T00:47:54
2015-08-19T00:47:54
40,131,388
0
0
null
null
null
null
UTF-8
R
false
false
1,293
r
Homework1MarketSegmentation.R
social_marketing <- read.csv("~/GitHub/STA380/data/social_marketing.csv") # removing "chatter", "spam", and "adult" # transposing data frame in order to have users in the columns and categories in the rows sm2 = social_marketing n = sm2$X sm2T = as.data.frame(t(sm[,3:35])) colnames(sm2T) = n names(sm2T) rownames(sm2T) ...
f5d052123bab4803c2fec53c037c6bb069f10f8f
3a42630716521b58a20d5a9445fd3eb1007188aa
/man/pointer-events-presentationAttribute.Rd
b9e1c16b53aede03f9aa0308bc3b9c9e896a4d41
[ "MIT", "LicenseRef-scancode-other-permissive" ]
permissive
mslegrand/svgR
2a8addde6b1348db34dee3e5145af976008bf8f0
e781c9c0929a0892e4bc6e23e7194fb252833e8c
refs/heads/master
2020-05-22T01:22:16.991851
2020-01-18T03:16:30
2020-01-18T03:16:30
28,827,655
10
0
null
null
null
null
UTF-8
R
false
true
2,649
rd
pointer-events-presentationAttribute.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/doc_PresAttrPages.R \name{pointer-events-presentationAttribute} \alias{pointer-events-presentationAttribute} \title{pointer.events} \description{ Governs the under what conditions this graphics element can be the targetof a pointer event. } ...
8732c6c2ab10161eb76979ffbeb8f5002abc8f6e
7e531655408b520612c0ee8ad717fc48c80039d6
/R/generate_2D_peaks.R
4a48aaed3d316d86389a5994a8acc53d613e54a6
[ "MIT" ]
permissive
atfrank/nmR
5e64ff557d6d508b077373e72d3ea9633aed52da
124bf3ed44701a80a51139c9a64716f635176431
refs/heads/master
2021-01-19T05:03:32.816526
2019-02-13T18:19:56
2019-02-13T18:19:56
64,267,684
0
0
null
null
null
null
UTF-8
R
false
false
10,619
r
generate_2D_peaks.R
create_residue_hmqc_peaks <- function(cs, protons=c("H1'", "H2'", "H3'", "H4'", "H5'", "H5''", "H2", "H5", "H6", "H8"), carbons=c("C1'", "C2'", "C3'", "C4'", "C5'", "C5'", "C2", "C5", "C6", "C8")){ #' HMQC Peaks Generation Helper Function #' #' This function allows you to convert chemical shift list to chemical s...
922f8eb8fdc13c267b6238a66c03a1c2eff4582e
eb758cc52aa63406a54da5ee0864129ec9fd675e
/r/learn/s_map.R
1f00c9439982b6aeffb7dcc004826380706bc726
[ "Apache-2.0" ]
permissive
kakaba2009/MachineLearning
35682dc06954494f3246f7106c0e80497611993f
26b389f8ffb5f3af939dfc9ebfdf2c6b2fc2ae33
refs/heads/master
2021-01-11T18:44:43.701118
2017-09-30T13:18:36
2017-09-30T13:18:36
79,616,505
0
0
null
null
null
null
UTF-8
R
false
false
869
r
s_map.R
library(rEDM) source('./mylib/mcalc.R') source('./mylib/mtool.R') options(max.print=5.5E5) df <- loadSymbol('JPY=X') #df$Close.Chg <- df$Close - shift(df$Close, n=1) df <- df$Close df <- tail(df, 1000) nr <- NROW(df) lib <- c(1, 975) pred <- c(976, nr) BestE <- BestDimEDM(df, lib, pred) BestTheta <- BestThetaED...
57e630d41cde1c87f2b2facc28e2b4c29dcdf763
b2e2f737bee0614571ecce3743438fd0d92f5d53
/man/Bayesian.Rd
f48e43c4bbaf4fb32b1895feb824c70f62d02ab1
[]
no_license
mistletoe999/RandomFields
9bfceaf4ba855abb5f878ee57282a995d81492fd
e5a7a2f272b7834f96c925ced7acfa0c6456a87f
refs/heads/master
2020-03-10T14:34:03.979780
2017-04-17T22:09:51
2017-04-17T22:09:51
null
0
0
null
null
null
null
UTF-8
R
false
false
3,242
rd
Bayesian.Rd
\name{Hierarchical Modelling} \alias{bayesian} \alias{Bayesian} \alias{Bayesian Modelling} \alias{Hierarchical} \alias{Hierarchical Modelling} \title{Bayesian Spatial Modelling} \description{ \pkg{RandomFields} provides Bayesian modelling to some extend: (i) simulation of hierarchical models at arbitrary depth; (...
cd205fde004e671a55e640be07ea29e4eaf4be3f
2622abb38c964e4537c038e898ba43d1fb496efb
/cachematrix.R
a5e02e791634509a8ee4c75e9a628fb8b3fd8f57
[]
no_license
nh2kimo/ProgrammingAssignment2
1f03e39aad3eac44341002a31ef81f25e0c9d4aa
0ed1f6f4a1115483d3d45ec2932238efc6b0652d
refs/heads/master
2021-01-20T18:39:35.463701
2014-12-10T14:37:24
2014-12-10T14:37:24
null
0
0
null
null
null
null
UTF-8
R
false
false
1,010
r
cachematrix.R
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function ## make a matrix first makeCacheMatrix <- function(x = matrix()) { m <- NULL ### next 3 function are used for cachesolve set <- function(y) { x <<- y m <<- NULL } get <...
cd92b1f3de8ea1541fd314d864523ff6340a0883
e4ebb6b4c8ae14b08b4b958b49750ba92ab5d9f1
/SVM.r
a9d3a141f0a1c9a530b74399b4bf026f3b4c64fc
[]
no_license
windaarism/kaggle
804847b42f0d64bb00332c7e204af5a38522d605
f61258260fb02934a26782adf2bba05a8bbc0a01
refs/heads/master
2021-01-13T16:19:47.969302
2017-04-07T07:21:38
2017-04-07T07:21:38
79,875,585
0
0
null
null
null
null
UTF-8
R
false
false
1,336
r
SVM.r
library(e1071) library(ggplot2) library(caret) pathData = 'D:/kaggle/titanic/logistic' setwd(pathData) Data = read.csv('data.csv') dataa<- Data[,1:7] #melakukan standarisasi dataa$Age<- (dataa$Age- min(dataa$Age))/(max(dataa$Age)-min(dataa$Age)) dataa$Pclass<- (dataa$Pclass- min(dataa$Pclass))/(max(dataa$Pclass)-min(da...
2a18a0687d8a53180939250e5827bdaeaba0a6a2
5434a6fc0d011064b575b321e93a3519db5e786a
/man/getCurrentSandboxName.Rd
398566e6c8b353abd2585f1ee11ae5ab4f90d39a
[ "MIT" ]
permissive
cytoscape/RCy3
4813de06aacbaa9a3f0269c0ab8824a6e276bad9
18d5fac035e1f0701e870150c55231c75309bdb7
refs/heads/devel
2023-09-01T18:23:28.246389
2023-08-23T07:57:19
2023-08-23T07:57:19
118,533,442
47
22
MIT
2023-04-03T17:52:34
2018-01-23T00:21:43
R
UTF-8
R
false
true
346
rd
getCurrentSandboxName.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RCy3-sandbox.R \name{getCurrentSandboxName} \alias{getCurrentSandboxName} \title{getCurrentSandboxName} \usage{ getCurrentSandboxName() } \value{ current sandbox name } \description{ Return the current sandbox name. } \examples{ \donttest{ ge...
7fbf0193b63dfb614cd7f385d09eaf85dc1eb8c4
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/RevEcoR/vignettes/RevEcoR.R
5d2552dc18d26b182a0326e7bb18a76435e60420
[]
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
7,529
r
RevEcoR.R
## ----setup, include=FALSE------------------------------------------------ library(knitr) library(RevEcoR) opts_chunk$set(fig.width=8, fig.height=5) set.seed(60823316) ## ----eval=FALSE---------------------------------------------------------- # install.packages("RevEcoR") ## ----eval=FALSE---------------...
f1a4c2b05f59af8f856e5d0d0b755874f08291bd
ba03e694880c7567b1f74c381b6dd16e1f2efa21
/script1.R
c922ee9989bce8b58a0761f6ad5ff06906b50bac
[]
no_license
stochasticTreat/R_data_vis_lecture
96941093f0ffdd70d5ff1dd5618ef40b4a1c8396
df63470917976aff9cb9c427d6d8d40227781aa7
refs/heads/master
2020-05-19T08:51:11.010165
2014-11-22T22:10:47
2014-11-22T22:10:47
null
0
0
null
null
null
null
UTF-8
R
false
false
1,726
r
script1.R
# Simple assignment operators # These three operations do the same thing: x = "a" x <- "a" "a" -> x c #vectors: # - one or more elements # - one data type v0 = 1:4 v0 #everything is a vector #weak typed language, can check class type with: class(x) class(v0) is.vector(x) is.vector(v0) #getting the length length(v...
e0de8e4721b97637cb2497fa58c414927d5fc531
20fb140c414c9d20b12643f074f336f6d22d1432
/man/NISTkilowattHourTOmegajoule.Rd
8a6d7947471cde9809acaf7ed4ad419b0e472322
[]
no_license
cran/NISTunits
cb9dda97bafb8a1a6a198f41016eb36a30dda046
4a4f4fa5b39546f5af5dd123c09377d3053d27cf
refs/heads/master
2021-03-13T00:01:12.221467
2016-08-11T13:47:23
2016-08-11T13:47:23
27,615,133
0
0
null
null
null
null
UTF-8
R
false
false
829
rd
NISTkilowattHourTOmegajoule.Rd
\name{NISTkilowattHourTOmegajoule} \alias{NISTkilowattHourTOmegajoule} \title{Convert kilowatt hour to megajoule } \usage{NISTkilowattHourTOmegajoule(kilowattHour)} \description{\code{NISTkilowattHourTOmegajoule} converts from kilowatt hour (kW * h) to megajoule (MJ) } \arguments{ \item{kilowattHour}{kilowatt hour (...
9b7859628cf85eaefd82455601241f58621fded6
06509fe0b8452dcef48fc75d989e1cb7aecb4bc0
/data/tutorial/R/generate_more_phenotypes.R
34a6fe62a9033a69c4a06d4cadd98b7f8f7d0ba5
[ "Apache-2.0" ]
permissive
ibm-bioinformatics/BlueSNP
f43e338ada67d3b620ff13fb0d660625d795c802
16d4c79dc5a1c8742823685c14072e954c0583ce
refs/heads/master
2016-09-06T11:48:53.991714
2014-04-14T17:46:01
2014-04-14T17:46:01
5,087,261
3
2
null
2021-12-09T01:08:10
2012-07-17T19:58:40
R
UTF-8
R
false
false
781
r
generate_more_phenotypes.R
# helper function to generate more (fake) phenotypes generate.more.phenotypes <- function(input, output, N=10) { if (!file.exists("./tmp")) { dir.create("./tmp") } else { system("rm -r ./tmp") dir.create("./tmp") } rhinit.singleton() rhget(input, "./tmp") infile = paste("./tmp", stripPa...
356a358a3719e6e118871672be917de2c824c09d
0013279b19c620f5ca367b767cc1d0e15b59b480
/R/sampling.R
fa5eaf4da426022f6cea5605707762be3a709d3a
[ "MIT" ]
permissive
jolars/euclidr
7ef6d11a986ede6d5e06d8b2ca2616f373ef0cf5
df7358c030eb6aee5cec2ab236810a7fd0fde478
refs/heads/master
2021-01-12T13:43:03.533644
2016-11-05T14:34:57
2016-11-05T14:34:57
72,221,061
0
0
null
null
null
null
UTF-8
R
false
false
1,244
r
sampling.R
#' Find the farthest points #' #' Select a subset of points that maximize the smallest pairwise distance #' between the points. #' #' This function begins with a random sample of n points and iterately puts them #' back into the mother set and tries to see if there is a better candidate than #' the point that was put b...
b7ddcc454cc2cd1ec7a77c4dfb1d0142b4afc287
8450cd8d46322e46964eaeabb27e299d5d417ca6
/inst/R_old/newPlot2.R
631fa1fcdae7c75b3ac83cac6d4b17d570cc972c
[]
no_license
WillFox/TBsim
0251b444b8247796ed11d56283344b88e4329099
d304c5957dd1199e2ad08ba00fe054b8c6e30366
refs/heads/master
2020-07-07T04:07:23.609484
2018-07-05T21:52:44
2018-07-05T21:52:44
null
0
0
null
null
null
null
UTF-8
R
false
false
1,571
r
newPlot2.R
######################################################## # General purpose plot function for TB data # updated to use ggplot package # Dec 23, 2012 by John Fors ######################################################## newPlot2 <- function(yin, names, logG, timePeriods, mainTitle, subTitle, ytext) { # Prepare ...
8d1fe00bd84f8aa674a6ff5b3f59a2a8baab941f
685eae3ccd6b3d81e04287cdf8f83d61256f41fd
/R/baseSpe.plot.R
e5eb1df6d9d893411af8553a4fa06796163ca117
[]
no_license
mxdeluca/KataegisPortal
23304fc212259ca7b1997fb3ba0af6ec1a07ab98
8645c38e35b19dbeb1da9755407c2ae686af98da
refs/heads/master
2022-11-17T16:18:29.282933
2020-07-15T07:05:17
2020-07-15T07:05:17
null
0
0
null
null
null
null
UTF-8
R
false
false
4,604
r
baseSpe.plot.R
baseSpe.plot <- function(plot.data, sample = "sample", chr = NULL, arm = NULL, color = NULL, k = NULL) { build = plot.data$build[1] genome.opts = c("hg19", "hg18", "hg38") if (!build %in% genome.opts) { stop("Available reference builds: hg18, hg19, hg38") } if (build == "hg19") {...
39ab6703cdc65312529e964e25e7de2567c77fa5
17194ebc19e62d72987f1dcdc9d9824200b60d34
/R/inspecters.R
4c540f1016136ce8329ea084e53aa1d261dea826
[]
no_license
sherrisherry/cleandata
34f2e5dffeee8c59cc456abbb74f14c1828f19f4
191ecc80a658868e9f2caee80a3b06802983ecdf
refs/heads/master
2021-08-08T21:53:03.706033
2018-12-02T03:39:48
2018-12-02T03:39:48
141,081,630
3
0
null
2018-07-27T23:23:39
2018-07-16T03:23:17
HTML
UTF-8
R
false
false
2,519
r
inspecters.R
inspect_map<-function(x,common=0,message=TRUE){ factor_cols<-list() factor_levels<-list() char_cols<-c() ordered_cols<-c() num_cols<-c() other_cols<-c() for(i in colnames(x)){ classifier <- paste(class(x[,i]), collapse = '.') switch(classifier, factor={ l<-levels(x[,i]) ...
9d1e5966e5e0cec8e459da8eb30b229a26ecac71
2491ce3e1bd5762df5d129b7f4826c66723780df
/R/fun.gld.slope.fixed.int.vary.R
b526aa991498d25923d6ae45f8805c35a4c53170
[]
no_license
cran/GLDreg
60e3cf2d6890604d98aad9cd09080bdc7758cb25
4d6ad22ceada267cf3a46ef8b4cab5b9006ae022
refs/heads/master
2022-06-04T22:22:08.379317
2022-05-13T06:30:09
2022-05-13T06:30:09
26,482,634
1
0
null
null
null
null
UTF-8
R
false
false
1,048
r
fun.gld.slope.fixed.int.vary.R
fun.gld.slope.fixed.int.vary <- function(q,fit,fit.simu,fun,param,maxit=20000,method="Brent"){ # Use a default lower and upper limit lubound<-quantile(subset(fit.simu,select=c("(Intercept)")),c(0,1)) lbound<-min(lubound) ubound<-max(lubound) # First find empirical solution x<-fit$x y<-fit$y k1<-apply(f...
e6993b2aacdec4c0d61445cc87f49f5ab545b246
2dc3ebb7462aab578ab71bbddb3b0bf9c00417a5
/(Coursera) Reproducible research.R
e1a194af543a0e411fd31d2f9f079152872756b8
[]
no_license
ankristov/R
36451b6c305b448bbadba3329a5df72a3d46a715
c2445105837f2c5ada595ae8c3ee9dc491819384
refs/heads/master
2023-07-09T22:38:32.030107
2023-06-25T22:04:54
2023-06-25T22:04:54
196,532,145
0
0
null
null
null
null
UTF-8
R
false
false
1,694
r
(Coursera) Reproducible research.R
# Sweave: main web site http://www.statistik.lmu.de/~leisch/Sweave # knitr: main web site http://yihui.name/knitr/ # http://search.r-project.org/library/kernlab/html/spam.html install.packages("kernlab") library(kernlab) data("spam") head(spam) str(spam[,1:5]) # Perform the subsetting set.seed(3435) trainIndicator = r...
4a9596554c4948c069fd80442e48c5de8b42aa6f
cc178630c66d061a6bc754d96b77aa5600eb72b7
/man/write_styles.Rd
aa430806048c398c470411af3f6e2289089a1ad0
[ "MIT" ]
permissive
niszet/stylex
2073716d22a07479c741e316826e4a1e20d00b89
54c04abe95eeba103e41ac783e12e5144c4cf725
refs/heads/master
2022-11-28T18:26:55.797390
2020-08-10T03:37:23
2020-08-10T03:37:23
282,142,004
4
0
null
null
null
null
UTF-8
R
false
true
677
rd
write_styles.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/files.R \name{write_styles} \alias{write_styles} \title{Write docx file with original reference.docx and updated style xml} \usage{ write_styles(styles_xml, ref_file, new_file) } \arguments{ \item{styles_xml}{\code{xml_node} object with \code...
bd8499e19b1b677e8e113970e08ea6673667acb7
58bbae05372d92b197078e2dc457a3bca7f21401
/R/RcppExports.R
48725f2c17bb70c0f503dbc609660ddcb4c9c8c0
[ "MIT" ]
permissive
jonatanrg/fglm_intern
f964cfb7f0913af4af92499842dc7c476294a540
bdf5765931d7f17e6fbe94857723dbbd10a3c53b
refs/heads/main
2023-06-04T22:55:18.714871
2021-06-24T08:05:26
2021-06-24T08:05:26
379,848,277
0
0
null
null
null
null
UTF-8
R
false
false
687
r
RcppExports.R
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 fista_ee <- function(y, X, lam1, lam2, b, maxit, tol, L, verbose, acc) { .Call(`_fglm_fista_ee`, y, X, lam1, lam2, b, maxit, tol, L, verbose, acc) } obj_diff_cpp <- function(y, X, b, lam1,...
436ac9ed53f67776fd55ba83469c440888ffce12
0084c6a9973b2f484c6cbe57d77929bd42a7d2fc
/deprecated/ukfsst/Rpack/ukfsst/man/kfsst.Rd
236e0c21d4d9f35ff35c370e12e944a5578736ce
[]
no_license
positioning/kalmanfilter
db680c7e9cfd8c6edcbab6d1f12a44e153a149ff
501ec9a28ae05802287aadcf8ca2cfb9229137cb
refs/heads/master
2023-02-10T00:36:28.576957
2023-01-29T13:16:15
2023-01-29T13:16:15
40,897,081
12
4
null
null
null
null
UTF-8
R
false
false
10,098
rd
kfsst.Rd
\name{kfsst} \alias{kfsst} \title{Kalman Filter based optimization of the tracking model including Sea Surface Temperature} \description{ After the track has been read, and SST data retrieved via the function \code{\link{get.sst.from.server}}, this function does the actual optimization of the model and recons...
67f0816f1700bcc7a9506ce0ec4bafcd0380b319
ae6015cad9d32a2599b0c6e5fe24b89b67909d3e
/project/run_analysis.R
4559b36d54558eca3378e2e2abb6b52758a1bb4f
[]
no_license
DarraghMcL/getting_and_cleaning_data_project
f906eb819f989efbd17dbea07de996c7041c483e
d2ab229ce72adbeec9165e962516333cd9ea56bc
refs/heads/master
2021-01-10T18:02:09.330884
2015-11-23T01:15:44
2015-11-23T01:16:42
46,687,447
0
0
null
null
null
null
UTF-8
R
false
false
1,702
r
run_analysis.R
#setwd("~/Desktop/getting_and_cleaning_data_project/project/") library(dplyr) #Setting up the file locations test_directory <- "./UCI HAR Dataset/test/X_test.txt" train_directory <- "./UCI HAR Dataset/train/X_train.txt" train_labels_directory <- "./UCI HAR Dataset/train/y_train.txt" test_labels_directory <- "./UCI HAR...
63c1471c12877d1c69750d0483a473cecc99ccb2
b2d782ed6c89fcc16c65d2e0e0d8e9fa950174c6
/man/vol_heat_capacity_soil.Rd
d1c7977cdc6f862a8eb2f03b8de86861927eb0ec
[]
no_license
jmigueldelgado/micrometeo
4e01c837560ea9b4a481e2111e1311e43c845085
8f6b0fa25ba4c0b86ce6e1e8ecbbb63fe7c2f5f6
refs/heads/master
2021-01-23T10:07:00.388237
2018-12-18T14:47:56
2018-12-18T14:47:56
93,037,122
0
0
null
null
null
null
UTF-8
R
false
true
596
rd
vol_heat_capacity_soil.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bowen.R \name{vol_heat_capacity_soil} \alias{vol_heat_capacity_soil} \title{volumetric heat capacity of a soil. From the encyclopedia of soil science, page 306. Unit is J.m^-3.K^-1} \usage{ vol_heat_capacity_soil(xw, xorg, xsolid) } \argument...
c5a558515ece7e8a1770611a8aa402fbd651265c
9a09c50db1663711eadc2870d88cb4bd1adbe172
/man/Primo_modT.Rd
0b689dda77c77acf2db634d9f4b37434bccd8f1e
[]
no_license
xtmgah/Primo
02dc433726c7de1d4017112677c3145d0c139c16
044b3c409d0a8aa57e14df56fdc3f4dc62d972b0
refs/heads/master
2020-05-03T09:48:52.167452
2019-03-28T18:32:58
2019-03-28T18:32:58
null
0
0
null
null
null
null
UTF-8
R
false
true
2,525
rd
Primo_modT.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/main.R \name{Primo_modT} \alias{Primo_modT} \title{Estimate posterior probabilities of association patterns, using moderated t-statistics.} \usage{ Primo_modT(Tstat_mod, mdfs, V_mat, Gamma, tol = 0.001, par_size = 1) } \arguments{ \item{Tstat...
a5a375210b3fd4dc59e6cf1e543203e3349cc49c
59ea89f1162f8048d9f7f10f6e6a3a1567c56607
/rstudio/prep21_plot_plv.R
0bf7196b8facce6eb7657b4ea274a14dcb2f2791
[]
no_license
elshafeh/own
a9b8199efb3511aa1b30b53755be9337d572b116
ef3c4e1a444b1231e3357c4b25b0ba1ba85267d6
refs/heads/master
2023-09-03T01:23:35.888318
2021-11-03T09:56:33
2021-11-03T09:56:33
314,668,569
1
1
null
null
null
null
UTF-8
R
false
false
839
r
prep21_plot_plv.R
library(car);library(ggplot2) library(dae);library(nlme);library(effects);library(psych) library(interplot);library(plyr);library(devtools) library(ez);library(Rmisc);library(wesanderson);library(lme4);library(lsmeans) library(plotly) library(ggplot2) library(ggpubr) rm(list=ls()) cbPalette <- c( "#56B4E9","#999999",...
c2366f425b39d6ea402d76fec6348eb4b96f1124
9874fc9b629c8893efe000a35ccf27390bece5f6
/02_R_Analyses/compare_NK_project.R
9ebfc6ea78fc67107788e7747f3a6f5fb8933fbb
[ "MIT" ]
permissive
SchSascha/manuscript_tripleRNAseq
b7a15c2cc835dbeae0b5e8893ebccedd3052a2c2
9f35ed2d75041e6c87f26afd0c9c1e068ec57e19
refs/heads/master
2022-12-23T02:47:37.489128
2020-10-01T13:48:58
2020-10-01T13:48:58
299,326,599
0
0
null
null
null
null
UTF-8
R
false
false
13,773
r
compare_NK_project.R
#!/bin/env R library("plyr") library("data.table") library("futile.logger") library("tidyverse") library("VennDiagram") library("ggplot2") library("UpSetR") library("gplots") # to calculate venn overlap library("AnnotationDbi") library("org.Hs.eg.db") get_sign_genes_geo2 <- function(x, with_fold = F, sigP = 0.01) { ...
515c0d1e822e98f89860ba139e04a61efc65fb02
4a3590a0e1a45b765cea07fecc415ccae2f54e1f
/R/eval-style.R
28d48df03956b69a27824291d36763422409f13b
[]
no_license
cran/cascadess
f6c76a15347a5bc703ae032a7ae31d2bb229b434
3afd9853ecef99c7b660ef908c848031c2f6fa82
refs/heads/master
2023-01-23T04:34:26.785457
2020-11-30T08:00:08
2020-11-30T08:00:08
317,813,474
0
0
null
null
null
null
UTF-8
R
false
false
2,178
r
eval-style.R
.global <- new_environment() pronoun_peek <- function() { .global$pronoun } pronoun_set <- function(new) { env_poke(.global, "pronoun", new) } pronoun_get_prefix <- function(ns) { pronoun_peek()[[ns]] } #' @export print.cascadess_style_pronoun <- function(x, ...) { cat("<pronoun>\n") invisible(x) } #' @e...
60fb9808d864a1e05551fb6cf5e8b757372f00e9
92f1952b04b1bcee44a159c2876aafd2f2cf8a0e
/common/constants.r
de6809f3f9a3d604204f060fb7ef0d096e9ff011
[]
no_license
isbur/dissertation
8a7f982f235cb1aa014e81d2eb8e7648e37602f4
fd7a19289d9db7856f38498b3737336cbdf412a5
refs/heads/master
2023-07-19T00:33:31.892154
2019-08-24T14:58:41
2019-08-24T14:58:41
152,059,369
0
1
null
2023-07-18T09:51:30
2018-10-08T10:11:13
Java
UTF-8
R
false
false
151
r
constants.r
ENERGY_MINIMIZER_ITERATIONS_LIMIT = 1 ENERGY_DROP_LIMIT = 0.05 MYPUSH_QUEUE_DEPTH = 5 NUMBER_OF_ENERGY_QUANTS_TO_DECREASE = 1 QUESTION_TO_LEAVE = 4
492ee014368d0e6e3e82f55d7aa2f2db31a6bfc3
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/traitdataform/examples/get_gbif_taxonomy.Rd.R
22fe27d6de8fbd3472eb9987b48dc1aaa8774ef6
[]
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
892
r
get_gbif_taxonomy.Rd.R
library(traitdataform) ### Name: get_gbif_taxonomy ### Title: Get accepted canonical names and taxonomy for a given species ### name ### Aliases: get_gbif_taxonomy ### ** Examples get_gbif_taxonomy(c("Chorthippus albomarginatus", "Chorthippus apricarius", "Chorthippus biguttulus", "Chorthippus dorsatus", "Chor...
c2eb9db31d9fe4042c49e1fcb655abb7da0ef1c1
799a6667bd1e2492fc87894a0482452cabbe6443
/Ch.4.R
5032ed0444e72a6ae5f55aa82e14de0aff0e9a9b
[]
no_license
TechJamieShin/Must-R-Basic
1b013b224bc6ed28265507704893b7e294e92c39
3ab98b40e7474a13b775063efc2f5e992b683d5b
refs/heads/master
2023-02-27T05:52:00.413834
2021-02-08T21:27:47
2021-02-08T21:27:47
333,222,360
0
0
null
null
null
null
UTF-8
R
false
false
511
r
Ch.4.R
# change the value from char to factor hr$salary <-as.factor(hr$salary) str(hr$salary) str(hr$satisfaction_level) # sammary of salary -> the number of each factors summary(hr$salary) summary(hr$satisfaction_level) # quantile (10%, 30%, 60%, 90%) quantile(hr$satisfaction_level, probs = c(.1, .3, .6, .9)) # calculati...
48844b51c5e1bc70a4221d652c18a7a4dec83fc3
45f72ad9b009bd924d9bdac674dfbebca890d1bc
/cachematrix.R
0991dd70ed5a8676f27affe60d943ca46cdf3122
[]
no_license
vaibhav73/ProgrammingAssignment2
e6690a5ced1b499a38daf74b5deb4a81a2a314a8
ba4332253cd618e55c9afac68b19c331bf26242f
refs/heads/master
2021-01-12T04:19:32.598328
2016-12-29T06:06:44
2016-12-29T06:06:44
77,584,904
0
0
null
2016-12-29T05:20:29
2016-12-29T05:20:28
null
UTF-8
R
false
false
1,201
r
cachematrix.R
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function #This function creates a list of functions for #1)setting the value of matrix #2)getting the value of matrix #3)setting the value of inverse of the matrix #4)getting the value of inverse...
a0a4e157a0263ed1fca12e7db41587ec4a2ed74b
80b3a7af905335d4e04bc1644c93589a881e3634
/R/scale_throughputs_by.R
2e29619f5f3157c4a5aabb09ee4d210f9cc1275d
[]
no_license
BAAQMD/qtytools
53a19738fcce07c9aa71d3a9cb3f605bc8eddf58
cf396ec102f1b071f65ee0588f9b1bc0c906c14a
refs/heads/master
2022-07-12T13:21:17.251252
2022-04-05T17:54:25
2022-04-05T17:54:25
131,063,856
0
0
null
null
null
null
UTF-8
R
false
false
138
r
scale_throughputs_by.R
#' @export scale_throughputs_by <- function (input_data, using, ...) { apply_scalars(input_data, using, value_col = "tput_qty", ...) }
6ccf245500e8b071608c79eafe18c81f537cd9e1
6f2bc1d4b594ebbca495507f9fd9712acbddd722
/man/Trentino_hourly_T.Rd
109774f46704c2c6c765953ce3fe55e8167a63a0
[]
no_license
cran/Interpol.T
b617239535b29b57f2d12da8c24de76e26a36d53
e31eef0cb3dc250f62b94784a9c58921227502dc
refs/heads/master
2021-01-01T06:55:04.137814
2012-12-20T00:00:00
2012-12-20T00:00:00
17,680,038
1
0
null
null
null
null
UTF-8
R
false
false
4,176
rd
Trentino_hourly_T.Rd
\name{Trentino_hourly_T} \docType{data} \alias{Trentino_hourly_T} \alias{Tn} \alias{Tx} \alias{h_d_t} \alias{mo_bias} \alias{Th_int_list} \alias{Tm_list} \alias{calibration_l} \alias{calibration_shape} \title{ Dataset of hourly temperature for Trentino, Italy } \usage{ data(Trentino_hourly_T) } \...
0d9c9fc54e206ebc71040a462ef62eb402a743aa
d2e5663edcdb1a96ffe7a0144a2e1920292d0f9e
/tests/testthat.R
30f74eb5d4ac3185698de3dbaa065aee0300d262
[]
no_license
mrgsolve/knobs
4608c2b8c7d66183ccf912f4e2d44119cc029e87
d9adf4d8cb5edc87a195a9d2411d59b355c1a91b
refs/heads/master
2022-05-28T02:17:30.399348
2020-04-25T18:31:26
2020-04-25T18:31:26
258,772,085
0
0
null
null
null
null
UTF-8
R
false
false
106
r
testthat.R
Sys.setenv("R_TESTS" = "") library(mrgsolve) library(testthat) test_check("knobs", reporter="summary")
d5af782d8fb390531f111e01a0b72e3904645a4b
b61e785a5f4ceeed9e5084ad2e2e242b295a5402
/R/sectionCOP.R
9a331b98c1d8ce1124e64f690253f54c0d0a078d
[]
no_license
surajitdb/copBasic
284315c43b2d232122cabcb030ba5e6d45089244
8c950b0cc7cc616cbf712f2f8c5f88a62c8f8afd
refs/heads/master
2023-07-17T14:28:11.905504
2021-09-02T20:10:25
2021-09-02T20:10:25
null
0
0
null
null
null
null
UTF-8
R
false
false
1,050
r
sectionCOP.R
"sectionCOP" <- function(f, cop=NULL, para=NULL, wrtV=FALSE, dercop=FALSE, delt=0.005, ploton=TRUE, lines=TRUE, xlab="NONEXCEEDANCE PROBABILITY", ...) { if(wrtV) { #message("Triggering Horizontal Section logic: v = constant") txt <- "horizontal section" } else { #message("Triggering Ve...
27d47eda1349bbc81b58b966a25e8fe44b870569
d28cd754e3a641b0ed45ecb3e3fd03d8c55c2650
/man/fars_map_state.Rd
62145c1b728be7d835968531a9b3eead9406df05
[ "CC0-1.0" ]
permissive
Centurione/FARS_Package
d37d169ae8c0524db92efce7b2cb7b50fd7d4e6f
dc68f55887bab9937d2ef59f664d7b4e8fce87f3
refs/heads/master
2020-12-01T04:15:05.507138
2019-12-29T21:21:30
2019-12-29T21:21:30
230,555,607
0
0
null
null
null
null
UTF-8
R
false
true
807
rd
fars_map_state.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/documents.R \name{fars_map_state} \alias{fars_map_state} \title{fars_map_state} \usage{ fars_map_state(state.num, year) } \arguments{ \item{state.num}{An integer value which identifies a state in the FARS dataset} \item{year}{An integer valu...
0b8ad86f5cc8ad391629a8c6dd1316bffdb2a831
01e5965414dd0153193d348e7ea43d7bfb2f1bc7
/fibonacci.R
6bdf3ac6d1d12862bad2dfa74585747158b1bd7e
[]
no_license
CLG-Kind-ADC/thefailhouse
ead420487dce8231df7a65e53dc5a44757478a54
834401d548bff3e2117fc73244f0d15c5f167fe1
refs/heads/master
2021-01-17T20:01:24.253706
2019-06-05T05:27:17
2019-06-05T05:27:17
62,250,241
0
0
null
null
null
null
UTF-8
R
false
false
153
r
fibonacci.R
happyfunction=function(n){ if(n<=2 & n>0){ n= 1 return(n) } else n = happyfunction(n-1) + happyfunction(n-2) return(n) }
9ee87710338bdb8422f032fbdb3a3d36211989c7
21a45648823ff5252eade28c6ab6d7d562a126da
/Intermediate of R/4.0.2 Personalizado.r
19200f485976069c9416ed5ee960addf935f3783
[]
no_license
TopicosSelectos/tutoriales-2019-2-al150422
061163562e663901c5aa6e856fefe1166b0183b4
853520a4211f974fe4c1412dcba6dd77eb7072c6
refs/heads/master
2020-09-14T09:12:47.625966
2019-11-21T18:16:18
2019-11-21T18:16:18
223,086,276
0
0
null
null
null
null
UTF-8
R
false
false
152
r
4.0.2 Personalizado.r
snapchat <- c(16, 9, 13, 5, 2, 17, 14) youtube <- c(17, 7, 5, 16, 8, 13, 14) avg_sc <- mean(x = snapchat) avg_yt <- mean(youtube) avg_sc avg_yt
2bd400a04c93780848822ac039b12e3d3e7a687d
cff5a02449f0794a8c1a88558c274f81eae89ad9
/data_read.R
a925352da6aa7b952b94e1e2183f991f1ecf356d
[]
no_license
maoyuexin/R_plot_example
9b8cdd4d4f4de15b655d50e031077951e0623d73
1e7fa4486d87a02c5fbc9ed1e1145953febfe848
refs/heads/master
2020-12-25T06:43:50.552294
2016-02-17T02:43:47
2016-02-17T02:43:47
null
0
0
null
null
null
null
UTF-8
R
false
false
461
r
data_read.R
mydata = read.table("~/Desktop/git_repo/household_power_consumption.txt", sep=";",header=TRUE) # get the sub data set which the data is between "2007-02-01" and "2007-02-02" subdata=mydata[which(as.Date(mydata$Date,format="%d/%m/%Y")>=as.Date("2007-02-01") & as.Date(mydata$Date,format="%d/%m/%Y")<=as.Date("2007-02-02"...
1073b6b24107400fe169d8009710e4616d7af09b
6ed58d0c61899aeb5e4870621dc7412b3eaa9d6f
/PracticalMachineLearning/Semana2/PreprocessingPrincipalComponentsAnalysis.R
8495a3b10cd7cd42962a0839244d0cf8ec4ffe6b
[]
no_license
jspaz/DataScience
3be2c9497bf11af41168acdef83c764188cf68e2
b8bd27c4cc967c4127ef421585864f0f9de17b68
refs/heads/master
2020-04-06T06:19:28.585471
2017-12-25T03:58:48
2017-12-25T03:58:48
55,121,880
0
0
null
null
null
null
ISO-8859-1
R
false
false
1,430
r
PreprocessingPrincipalComponentsAnalysis.R
#Correlated predictors library(caret); library(kernlab); data("spam") inTrain <- createDataPartition(y=spam$type, p=0.75, list = FALSE) training <- spam[inTrain,] testing <- spam[-inTrain,] M <- abs(cor(training[,-58])) diag(M) <- 0 which(M > 0.8, arr.ind = T) names(spam)[c(34, 32)] plot(spam[,34],spam[,32]) #Rotar ...
2cd46865e04c7a9a007cf1027fa24d62450f8603
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/onion/tests/aaa.R
3bf66ca1c12b9cc097cde968a7e74807822a734a
[]
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
6,002
r
aaa.R
require(onion) test <- function(x, TOL= 1e-10){ stopifnot(Mod(x)<TOL) return(TRUE) } f <- function(...){ ## First the quaternions: stopifnot(Hi*Hj == Hk) stopifnot(Hj*Hi == -Hk) stopifnot(Hj*Hk == Hi) stopifnot(Hk*Hj == -Hi) stopifnot(Hk*Hi == Hj) stopifnot(Hi*Hk == -Hj) stopifnot(Hi*Hi == -H1...