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
c16138f40d5b5352e7daf49bbdad4ff0eca4353f
eaf28912e257e8782ff06c94e694235f0a2b0873
/man/deletions.Rd
6eab8ef6288a268ccb9a4c02c3f509302722f180
[ "MIT" ]
permissive
robertzk/objectdiff
5032dee34062cc589a6ec972f10a2eddef301dbe
59c0e155d08731f07de14a0652e9195e98ebbc5b
refs/heads/master
2021-01-18T22:36:40.184773
2016-11-01T21:35:55
2016-11-01T21:35:55
23,096,345
8
1
null
2016-11-01T21:35:55
2014-08-19T04:05:08
R
UTF-8
R
false
true
445
rd
deletions.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/diff.R \name{deletions} \alias{deletions} \title{Compute a patch of deletions on a recursive object.} \usage{ deletions(old_object, new_object) } \arguments{ \item{old_object}{ANY. The "before" object.} \item{new_object}{ANY. The "new" objec...
b608c7156f7aac002c96b4a98df26f0bba0e994b
719acccfe2380a91718bf6969487f646590a0174
/R/ppclp.R
6f9d20ae4e026c0185fb3dc5ceffa837bcbaac58
[]
no_license
CHuanSite/ppclp
6a91c88545c66269f9b0f1993c6f790cca781e6f
1a72faee75cb282726daed67429844755e12a8a0
refs/heads/master
2021-06-23T06:57:44.793291
2021-05-05T22:40:48
2021-05-05T22:40:48
216,651,612
0
1
null
null
null
null
UTF-8
R
false
false
11,198
r
ppclp.R
#' 2D prbabilistic principal curve with length penalty #' #' This function applies the probabilistic principal curve algorithm with length penalty #' #' @param x The coordinate of the x axis #' @param y The coordinate of the y axis #' @param x_fix The cordinate of the starting point of the curve #' @param y_fix The coo...
b9e081f9ddc985c3e167e60bf4254ff89bd0e9f3
079047680235f782798648adb73d2317cbee42eb
/Semana 7/Atividade2.R
0c6ca58982548d5e31e7b64cba9ed5f157bc43aa
[]
no_license
marcustorresz/ETLdata
a8fcb0688caa6e5dd58f608daed95ccd6cda4cde
b78a432ae90fe068ba701cdf76081757000c3750
refs/heads/main
2023-05-31T04:52:44.468261
2021-07-10T21:42:12
2021-07-10T21:42:12
354,947,463
0
0
null
null
null
null
UTF-8
R
false
false
3,116
r
Atividade2.R
################### ATIVIDADE 2 ############ #O segundo exercício tem por base o que aprendemos sobre ETL e large data. ######################## PACOTES ############################### rm(list=ls()) if (!require('ff')) install.packages('ff'); library('ff') if (!require('ffbase')) install.packages('ffbase'); lib...
4789670d4838218f2377682026714f5c7083f838
1fd6f360719c77940faa7cc580c5567dc3b28541
/man/repeat_lasso.Rd
0eb960868a6036a4288f4219a2343f9f2a5bd1d2
[]
no_license
kmayerb/tuna
410fffee0322ffb7ec11d056bd5272a482b46ce2
2c9f64276e53150a7a112b785dbce12e63c7126a
refs/heads/master
2020-06-04T23:39:26.547640
2019-06-17T17:06:38
2019-06-17T17:06:38
192,236,299
0
0
null
null
null
null
UTF-8
R
false
true
879
rd
repeat_lasso.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tuna_lasso.R \name{repeat_lasso} \alias{repeat_lasso} \title{repeat_lasso} \usage{ repeat_lasso(trials, my_x, my_y, my_alpha = 1, my_family = "gaussian") } \arguments{ \item{trials}{number of times to repeat cross-validation on the lasso} \i...
36ec314635488336a2d740469326db0dbb98d886
aa2a8db459bc3f62518af710392795abdc38a042
/datatable.R
543f646f0773d4a1aec7d7b9a259f8bb1341e444
[]
no_license
pluswc/lecture
7fbe2c773c07c2c460daa33c3822b935dad457ab
5a24e9e3015dbe5dc21bf1f6cb4192eac9c044ac
refs/heads/main
2023-03-30T18:40:45.286831
2021-04-05T10:12:08
2021-04-05T10:12:08
345,593,055
0
1
null
null
null
null
UTF-8
R
false
false
8,934
r
datatable.R
library(data.table) library(tidyverse) library(skimr) # data table basic -------------------------------------------------------- # dt[i, j, by] # dt 테이블을 사용 # i 를 사용하여 subset 구성 (where) # j 를 사용하여 columns 선택 (select) # by 를 사용하여 그룹화 # create data.table -----------------------------------------------...
d97a33f17f14721e48e76846426616953556ebd4
54ed1cde940049aecaf859c897a12ff90f83aff8
/man/give_me_states_combination.Rd
2d2ce2cd6ddf18f50134f2806783dba2aca15d49
[]
no_license
leonelhalsina/lemad
e23c735fa9499c9912efddd766be6f92f3c89271
cca43ebff36b67fd78a11c58257a8f4cc15572bf
refs/heads/main
2023-09-01T17:51:24.864455
2023-08-07T13:25:25
2023-08-07T13:25:25
508,330,655
2
1
null
null
null
null
UTF-8
R
false
true
759
rd
give_me_states_combination.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lemad_utils.R \name{give_me_states_combination} \alias{give_me_states_combination} \title{All possible region combination.} \usage{ give_me_states_combination(areas, num_max_multiregion) } \arguments{ \item{areas}{Vector with single region It...
ffc5848332d3f58eeb88615a45f8ba98263ae865
5fdcdc5f734696f363f58a0cfc5e0a960cee8859
/R/GetConfidentCalls.R
4c0b5f73418f46e246faadd50f595e13b0889a60
[]
no_license
lengning/EBSeqHMM
4411d43582afc1c0e14306ce2aaa6e3e80250ef6
6b6efdb7faea6283cfe1710dfd8087ce2aa15319
refs/heads/master
2021-01-21T21:43:32.107304
2016-03-21T16:10:00
2016-03-21T16:10:00
31,791,187
1
0
null
null
null
null
UTF-8
R
false
false
3,665
r
GetConfidentCalls.R
#' @title Obtain confident gene calls for classifying genes into expression paths #' @usage GetConfidentCalls(EBSeqHMMOut, FDR=.05, cutoff=0.5, OnlyDynamic=TRUE,Paths=NULL) #' @param EBSeqHMMOut output from EBSeqHMMTest function #' @param FDR Target FDR, default is 0.05. #' @param cutoff cutoff to use for defining a co...
b94d7ae570532a9283c29c04979427935b3b3b3f
9fb037a022c0b0c0d4bbb43c982a43118efcf432
/tests/testthat/test-simData.R
ca29887424ec6ea85f0489f2b0f4a28c019cada9
[]
no_license
jan-glx/muscat
ae7557518df470519c34806f1305a145bfe976d2
be69b6dcaa0eac415b3787bc3ae634bcc10a7982
refs/heads/master
2021-01-04T00:03:41.871405
2019-10-29T17:43:39
2019-10-29T17:43:39
null
0
0
null
null
null
null
UTF-8
R
false
false
1,812
r
test-simData.R
context("Simulation of 'complex' scRNA-seq data") k <- paste0("cluster", seq_len(5)) s <- paste0("sample", seq_len(4)) g <- paste0("group", seq_len(3)) test_that(".sample_n_cells", { n <- 50 x <- .sample_n_cells(n, k, s) expect_true(all(unlist(x) == n)) expect_identical(rownames(x), s) expect_iden...
094feb890a1ba127118994fdcd7acba91cb1f58d
ca8aa65e3b285151bf35fb00610efec3ca6801ff
/tests/testthat/test-1-workspace.R
922a094982ff67c82063823536d867985bdc3aac
[]
no_license
rmhorton/AzureML
e563c026d410d59795c91c5cd7e8c3e9ea77e3d4
4af20bb561dcefd09886875a7268f69ada0fb7b9
refs/heads/master
2021-01-17T19:16:44.318622
2015-11-09T06:48:50
2015-11-09T06:48:50
null
0
0
null
null
null
null
UTF-8
R
false
false
1,103
r
test-1-workspace.R
if(interactive()) library("testthat") keyfile <- system.file("tests/testthat/config.json", package = "AzureML") if(keyfile == ""){ message("To run tests, add a file tests/testthat/config.R containing AzureML keys") message("No tests ran") } else { jsondata <- jsonlite::fromJSON(keyfile) workspace_id <- jsondat...
adfcdb585968ca1c27c46c8f388553e02e6867fe
411f8128677355a640d6fa6b59ba733db2f11a79
/inst/shiny/app2de.R
5d9c84a383546440ccbeb496db33011c576c1b42
[]
no_license
sigbertklinke/gettext
a550955f8fa48f7cef0ba46d6da4dff622c531fb
309d104f19260cc421c592dd83cd44a4a96e2d98
refs/heads/master
2020-11-27T00:58:07.139418
2020-02-17T10:15:27
2020-02-17T10:15:27
229,250,435
0
0
null
null
null
null
UTF-8
R
false
false
237
r
app2de.R
launch.browser <- function(url) { url <- sprintf('%s/?lang=%s',url, 'de') invisible(.Call("rs_shinyviewer", url, getwd(), 3)) } # library("shiny") runApp(system.file('shiny', 'app2', package='gettext'), launch.browser=launch.browser)
1f02cac9a05a85ffe36e135af09020f96dff34c6
e1c2d5a4586db6a87f16ca3ee413db18bbc6fa55
/Tutorial.R
8a4866ae9a5a167e4d5fcd6f14eb828b285aedd6
[ "MIT" ]
permissive
wal/titanic
9faee1563cedd516bd8f3d005a507ff87f2b387c
2d3fe3d0c250027419f3220cd9bef59ae2d9c1cf
refs/heads/master
2020-03-23T19:42:45.038826
2018-07-23T10:46:52
2018-07-23T10:46:52
141,997,810
0
0
null
2018-07-23T10:15:03
2018-07-23T10:15:02
null
UTF-8
R
false
false
525
r
Tutorial.R
# http://www.kaggle.com/c/titanic-gettingStarted # Starting point taken from http://trevorstephens.com/ library(tidyverse) # Import train <- read_csv("data/train.csv") test <- read_csv("data/train.csv") # Aim is to predict Survived # EDA glimpse(train) table(train$Survived) # count of survivors prop.table(table(tra...
86fe8538533c547bfffdbe5548ff61934615e02b
48d082482bea42a51efbcfbf7262cddfb30a5ec2
/analysis_with_tuning/after_analysis_win_by_threshold.R
027add05d97db6509029899a09906486998bbd00
[]
no_license
jbleich89/bart_gene
6e8aa1b9a54edde99efcbd8023c235f0ef8a85d2
acd196b1c8ef7acdfe1b35afba2c093de86ab46a
refs/heads/master
2021-01-02T08:47:40.128065
2014-02-26T00:45:42
2014-02-26T00:45:42
null
0
0
null
null
null
null
UTF-8
R
false
false
2,325
r
after_analysis_win_by_threshold.R
####win by THREHSOLD% matrix THRESHOLD = 0.2 wins = list() for (gene_num in 1 : length(all_results)){ gene_name = names(all_results)[gene_num] wins[[gene_name]] = array(0, c(length(cs), length(METHODS), length(alphas))) dimnames(wins[[gene_name]]) = list( "c" = as.character(cs), "method" = METHODS, "alph...
513ab79e3c452d1ad9c2deaf8ed080d8b71d7492
154a10a79fae5c50cfea6ea910684a2cdee6eb5c
/Activity2.R
7cae56546b3fbe48f68272b65b62ff80ec5a1d7b
[]
no_license
tenzinsherpa/ENVST206
35b44a366e69649a5a6cb18362246f5eed6384b2
b85f87beb69e07e1cff44ca338c2ae8fda1068df
refs/heads/master
2023-01-15T15:51:55.347063
2020-11-24T17:07:22
2020-11-24T17:07:22
291,063,687
0
0
null
null
null
null
UTF-8
R
false
false
6,420
r
Activity2.R
#activity 2 #the examples are on the top and the activity problems that require coding are at the bottom (for now) heights <- c(3,2,3) datW <- read.csv("/Users/TenzinSherpa/Documents/ENVST206 Data/a02/noaa2011124.csv") help(matrix) #create a matrix with 2 columns that fill in by row Mat<-matrix(c(1,2,3,4,5,6), nco...
4545d6028d31ffb5b3a086947321e589e69601a6
c44140ecc0297a4440077eb4fa486b1ec1f36026
/grafico_ggplot2-histograma.R
468c3a78ec716aa5780dd3c16a6e75ee0ad60c39
[]
no_license
The-Icaro/R
721c5b2cd0f11b7c6b989e22f20931ea67f562c5
748876dc159eb2a967ac77e7983347e6da9db5a8
refs/heads/main
2023-08-22T20:46:18.867241
2021-10-12T21:09:25
2021-10-12T21:09:25
370,146,697
0
0
null
null
null
null
ISO-8859-1
R
false
false
629
r
grafico_ggplot2-histograma.R
install.packages("ggplot2") install.packages('ggalt') library("ggplot2") library("ggalt") # Ter algum dado pra trabalhar data("midwest", package = "ggplot2") # Dados do próprio ggplot2 # Substituir a notação cietífica, pelo número completo options(scipen = 999) # números muito grandes # Gráfico Base...
9d1346cb8e29e0de3d2de85758ca614ce1045d64
bc45b1235117ddd9a8fd4f8b249904c46a578829
/cluster.R
f59ee5272a6ecdf8d7ee2c251cfeaa53f6216f2c
[]
no_license
fyGuo/Maternal-health-seeking-behavior
b4fd7005e157826d29a0cca1853b3bc744063476
eb86c3308956d954ae1f2abba926a9589e92ee72
refs/heads/master
2022-07-16T14:40:56.090844
2020-05-16T13:23:41
2020-05-16T13:23:41
261,179,802
0
0
null
null
null
null
UTF-8
R
false
false
1,720
r
cluster.R
library(ggplot2) library(cluster) library(clustMixType) library(dplyr) library(readr) library(Rtsne) library(ggthemes) library(klaR) library(factoextra) library(dplyr) wm_clean<-read.csv("D:\\tang_data\\cleandata0503.csv") # try new ways to cluster #ANC:never used; used but below 4; >=4 times hsb<-dplyr::select(wm_clea...
6a7f400ffb249af6876c3ae5a81c028a9b6180e3
a567ad69ca8d6dae90ac654361825e6883be61af
/FirstScript.R
95a8acc32c7f62e852abe06d2d67a94253c6a42d
[]
no_license
amitdev81296/LearningR
a3f07a7cc1840ad60eca8204aa4e5d72cc1bdf20
916c094b2cde8788993906d6c7feefdf42ded01e
refs/heads/master
2022-09-11T10:06:44.020088
2020-05-30T06:29:35
2020-05-30T06:29:35
266,742,779
0
0
null
null
null
null
UTF-8
R
false
false
130
r
FirstScript.R
# Creating an R script testSample <- c(1,2,3,4) print(testSample) firstVar <- 10 print(firstVar) secondVar <- 15 print(secondVar)
2fa78c0ebdd7c0cf9b4f0de0ecc8f2b26c8dd60f
c9e0c41b6e838d5d91c81cd1800e513ec53cd5ab
/man/gtkEditableGetPosition.Rd
95d6aaccce41a8bc1be25a8a0ee48f532310cf2f
[]
no_license
cran/RGtk2.10
3eb71086e637163c34e372c7c742922b079209e3
75aacd92d4b2db7d0942a3a6bc62105163b35c5e
refs/heads/master
2021-01-22T23:26:26.975959
2007-05-05T00:00:00
2007-05-05T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
680
rd
gtkEditableGetPosition.Rd
\alias{gtkEditableGetPosition} \name{gtkEditableGetPosition} \title{gtkEditableGetPosition} \description{Retrieves the current cursor position.} \usage{gtkEditableGetPosition(object)} \arguments{\item{\code{object}}{[\code{\link{GtkEditable}}] a \code{\link{GtkEditable}} widget.}} \value{[integer] the position of the c...
b52ebe051da535beb71a224c9e96c7ed83e883c9
c20629bc224ad88e47849943e99fe8bc6ccb1f17
/2018-09-10_density-estimation.R
b77ff0f8d8a71fc2166bb812a11ea8129c71d88b
[]
no_license
nayefahmad/R-vocab-and-experiments
71a99e4d3ff0414d1306a5c7cabfd79b49df17f9
4384d3d473b0a9d28d86c3d36b0b06a1f91b862e
refs/heads/master
2022-12-13T01:12:11.134952
2020-08-24T04:59:52
2020-08-24T04:59:52
103,333,690
1
1
null
null
null
null
UTF-8
R
false
false
2,027
r
2018-09-10_density-estimation.R
#************************************************************ # ESTIMATING A DENSITY FUNCTION FROM UNIVARIATE DATA #************************************************************ library("tidyverse") # Example data: x <- c(0, 0, 0, 1, 5, 10) # Estimate density using density( ) function: ?density x.dens.1 <- de...
c43b7915a8948159436982bfa15d3d57aa35e05b
5cabcda3f3feb15262c39cb9de7088adec791ed2
/R/RcppExports.R
c6af44f696f1aa77b3a7158720327176139e833f
[ "MIT" ]
permissive
DIGI-VUB/text.alignment
a7346e8ca48708a7ff73a336a6610908ce2deb03
0dea4b146b31390170ede0d638fbf306524c8ee1
refs/heads/master
2022-09-01T19:48:02.997227
2022-08-17T08:38:31
2022-08-17T08:38:31
250,082,889
10
0
null
null
null
null
UTF-8
R
false
false
1,241
r
RcppExports.R
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 smith_waterman_mark_chars <- function(text, edit_mark) { .Call('_text_alignment_smith_waterman_mark_chars', PACKAGE = 'text.alignment', text, edit_mark) } lowercase <- function(data) { ...
51a7bcfd2aa78084c64c87e738cae6497015bc45
e5622ae5fa1e916d65a021dc6470ad593ed6cf04
/!Fragments Analysis v1.R
80ec84b8f21cdf471b0f6606fc67558f952cfad9
[]
no_license
yura542/MassSpecSimulation
18147c5a7a54e02c8e11df8aff8a4e3d275e187b
cd8bb1227573ef5315c584a38834e8d6ee3341bc
refs/heads/master
2020-12-08T00:03:13.922440
2020-01-16T13:42:01
2020-01-16T13:42:01
232,832,176
0
0
null
null
null
null
UTF-8
R
false
false
1,192
r
!Fragments Analysis v1.R
# Fragment molecule # USE R 3.6 OR HIGHER!!!!!!! # USE BOTH R AND JAVA x64!!!!!! require(rcdk) s=read.table("Fragmented spectra.txt") names(s)=c('i','n','m','smiles','int','precursor') s_precursor=s[s$precursor==TARGET_SMILES,] Unique_fragments_m=unique(s$m) unified_fragments=data.frame() for(precu...
f984d546c21983095cd3ddfe9b6c7566d548fef7
904fcdd647828aabb08dc7e563dfce0f985947e5
/introduction-to-r/scripts/packages.R
1156bb90f037d786ee4367140fd736634663b0b8
[]
no_license
stghn/Free-Online-R-Courses
915d554cdb787ceaeb150ffb27a66f5bb52eb339
e604b7319881f13b85f137579b8f6754fcb338ab
refs/heads/master
2023-07-06T11:59:02.450121
2021-08-05T10:19:06
2021-08-05T10:19:06
null
0
0
null
null
null
null
UTF-8
R
false
false
2,169
r
packages.R
## ----install0, echo=FALSE------------------------------------------------ library('kableExtra') ## ----install1, eval=FALSE------------------------------------------------ ## install.packages('ggplot2') ## ----install2, eval=FALSE------------------------------------------------ ## devtools::install_github("tidyvers...
7f82c34772037e4b1587300732fa5826d1904682
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/rotasym/man/unif.Rd
9990f9fc6696e53249463b143f36c8813833596d
[]
no_license
akhikolla/testpackages
62ccaeed866e2194652b65e7360987b3b20df7e7
01259c3543febc89955ea5b79f3a08d3afe57e95
refs/heads/master
2023-02-18T03:50:28.288006
2021-01-18T13:23:32
2021-01-18T13:23:32
329,981,898
7
1
null
null
null
null
UTF-8
R
false
true
2,233
rd
unif.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/unif.R \name{unif} \alias{unif} \alias{d_unif_sphere} \alias{r_unif_sphere} \alias{w_p} \title{Uniform distribution on the hypersphere} \usage{ d_unif_sphere(x, log = FALSE) r_unif_sphere(n, p) w_p(p, log = FALSE) } \arguments{ \item{x}{loc...
092743712e9d2ce37bc692d5dc81e16e126bb3ee
05872cc0d95725105a29bb8423c4d10e05a94f87
/code/Old_code/shear/W2_F319_willow_seedling_shear_stress.R
cc7caf1677ef53e1552b4eb77d19dafa912feb9c
[]
no_license
ksirving/willow_model_application
70fb1dcbf245b800e70c38cc51ce1bece7e69b0f
22dca39026b50e847e25ff087256d745b7d53897
refs/heads/master
2023-03-29T03:35:23.689091
2021-03-24T21:14:53
2021-03-24T21:14:53
287,610,376
0
0
null
null
null
null
UTF-8
R
false
false
21,593
r
W2_F319_willow_seedling_shear_stress.R
## willow model application ## Jenny Rogers & Katie Irving library(sf) library(tidyverse) library(tidyr) library(sm) library(lubridate) # work with dates library(dplyr) # data manipulation (filter, summarize, mutate) library(ggplot2) # graphics library(gridExtra) # tile several plots next to each other library(s...
18c481932a137610f50ec73e420bb82d082eaae2
ba3f90e83341174a1970706c7ce54c2d570ac828
/AnalyticsEdge/Complete/Week 5/pubmed/pubmed.R
402ebd7317d643d796bb4266cca3cd8956bd9996
[]
no_license
sivansasidharan/Edx-References
1dd9eff813cc560c59e51e70bdb5888a462a022f
43b36fbd79f57d6ffb50714b580250cb0cf8c214
refs/heads/master
2020-03-27T23:30:31.343412
2018-09-04T09:40:32
2018-09-04T09:40:32
147,321,105
0
0
null
null
null
null
UTF-8
R
false
false
3,752
r
pubmed.R
#!/usr/bin/Rscript # AUTOMATING REVIEWS IN MEDICINE ###################################################################################################### # PROBLEM 1 - LOADING THE DATA # Loading data trials = read.csv("clinical_trial.csv", stringsAsFactors=FALSE) summary(trials) str(trials) # How many characters are ...
4fe21c9a7f726ab1c66f65ef52118ef0aad0963e
b7457a6e39c6f2d9e0d54d0ba19fb013517a11bf
/R/barplot_three_way_count.R
678e99164c3304abb8b4e0d184a98e30d126e2ba
[ "MIT" ]
permissive
stevenndungu/quickr
57522cb1d2bb2e34e9823f81a03e4f78ff0d06f3
3d30c85d7bced4550a40ac1b8fcde81add83694a
refs/heads/master
2022-05-27T22:52:15.251104
2020-05-01T09:32:16
2020-05-01T09:32:16
228,349,778
0
1
null
null
null
null
UTF-8
R
false
false
2,848
r
barplot_three_way_count.R
#' A function that plots a three way barplot with labels (counts) see example #' @param df A data frame with x variable, y variable and the factor variable. #' @param x_variable the variable that will form the x-axis #' @param y_variable the variable that will form the y-axis #' @param groupby_variable the factor var...
06ef77eb9d0ca11fc74a2b0092db63f66ffa6f1d
8d8d1d24986dce6b8a56ed8bcb71ada4b4eeb2bd
/man/maayan_pdzbase.Rd
e9ddbd5e30e258bacb4524c6005f1ca378e96214
[ "MIT" ]
permissive
schochastics/networkdata
edaed94b788dcd925f55ae07f8a2d8b58d45ae8e
535987d074d35206b6804e9c90dbfa4b50768632
refs/heads/master
2023-01-07T07:20:41.475574
2023-01-05T18:54:17
2023-01-05T18:54:17
226,346,857
142
17
null
null
null
null
UTF-8
R
false
true
795
rd
maayan_pdzbase.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data-konnect.R \docType{data} \name{maayan_pdzbase} \alias{maayan_pdzbase} \title{Maayan Pdzbase} \format{ igraph object } \source{ Data downloaded from http://konect.uni-koblenz.de/ orginaly from http://research.mssm.edu/maayan/datasets/qual...
4f252db78a18ce8e3d19e5263744102e97695f2e
05310c9acb2387eee7804fe8bb997a67c2f9bc10
/cachematrix.R
4db07fc23a5419741667d1ecc97628cd34a2d3ca
[]
no_license
chsels/ProgrammingAssignment2
2c01474a7773e79ef1b4357bc6a48acef66355b9
d64531a173a9c3ddfcf3758ec945f535d67af388
refs/heads/master
2021-01-16T19:41:17.769348
2014-08-21T21:38:52
2014-08-21T21:38:52
null
0
0
null
null
null
null
UTF-8
R
false
false
1,453
r
cachematrix.R
## Together these functions are able to calculate and cache the inverse of a matrix defined by the user. ## Inverting matricies can be time consuming, therefore caching of the solution improves program efficiency ## by preventing redundant calculations of matrix inverses. ## makeCacheMatrix is a function that return...
620cb9cda62addbe49560b29949a6a1e30e73dc7
a10a1b8c532d5a6e76bb5ef11a87a9efcfec5072
/plot3.R
231bfc7d558565e6551e1a5f792db1a7a6122b16
[]
no_license
eppuJ/ExData_Plotting1
7c23f008856715259bdbb86669ebf41e02eab3b3
0c0abdae25dfde69ae28a2ce7697959484545c86
refs/heads/master
2020-12-14T08:49:22.712979
2016-07-10T17:42:22
2016-07-10T17:42:22
62,992,096
0
0
null
2016-07-10T09:45:30
2016-07-10T09:45:30
null
UTF-8
R
false
false
1,710
r
plot3.R
##Download and unzip data if(!file.exists('data.zip')){ url<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file(url,destfile='data.zip') } unzip('data.zip') ##Read data to R data<-read.table("household_power_consumption.txt", header=TRUE, sep=";") ##We need to ch...
fbdd93b27a810cc3836e7c62337f4c2640ebe9b2
0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb
/cran/paws.security.identity/man/kms_generate_random.Rd
7c74cd17e0d5768e456ffbb619555b61701eb6ac
[ "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
2,349
rd
kms_generate_random.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/kms_operations.R \name{kms_generate_random} \alias{kms_generate_random} \title{Returns a random byte string that is cryptographically secure} \usage{ kms_generate_random( NumberOfBytes = NULL, CustomKeyStoreId = NULL, Recipient = NULL )...
d3d3bac2d15508c1768c9dcdab1c7a980fd341a0
d3eb653a6e24f38e2470f6e9b32c55e3d23ebc4a
/7212c.R
3330935701c1c86f423427488eb3d5aa2048d0db
[]
no_license
hemants/r
622491255f0797404c6ac0d093ea37b324ab6e9b
4683053f8467e9918644d6c66433676923e27653
refs/heads/master
2020-05-03T08:55:55.187168
2019-05-19T08:46:28
2019-05-19T08:46:28
178,540,217
0
0
null
null
null
null
UTF-8
R
false
false
4,648
r
7212c.R
# ____________Statistics Assignment__________________________________________ #Q1. For the data given above, create a data frame in R, and do the following group1 = c(0,0,0,0,0,0,1,1,1,16) group2 = c(3,12,3.5,14,3,2.8,5,9,5.5,9) group3 = c(14,9.5,4.5,7.5,5,2,4.8,3.6,6,8.5) group4 = c(9,4.5,9,8,4,6,5,3.5,2.8,12) group5 ...
1181428383e2c180fc2fdb67c00862da850a41c3
51a7c23253d463cd8104aec304afa27e27eea1e2
/ui.R
69bb7e4519911c46b9f865d5b6ab97e73cc6d4b7
[]
no_license
juanky201271/cp-data-science-capstone
3ba97ca40dd8e37300515191a92fd2b2a42b6afa
e8ad2f0863db145c2857dffad8f2a7cc48042ca3
refs/heads/master
2020-05-28T08:46:43.557321
2019-06-01T13:40:52
2019-06-01T13:40:52
188,944,640
0
0
null
null
null
null
UTF-8
R
false
false
2,312
r
ui.R
library(shiny) library(shinyjs) library(dplyr) library(NLP) library(tm) library(tidytext) library(tidyr) library(quanteda) library(stringi) library(MASS) appCSS <- " #loading-content { position: absolute; background: #555555; opacity: 0.8; z-index: 100; left: 0; right: 0; height: 90%; text-align: cente...
ceebdf07ff914ec799aaceb1496fa6a7e06c5097
8587cbe2e309f29a1e539e31509ccf75daacc764
/14(11th Vclass)/Ising.R
e0a49157e58b30d6b24af190b9e53e377f3a5f63
[]
no_license
alidarvishi14/applied-stochastic-process
6d39ff6f7db0b7f60527b9c36cde61c3d2ab9941
b528f5aec7dc6ac64001ef5e16a38fb731ad6807
refs/heads/main
2023-02-22T11:49:19.103362
2021-01-25T12:33:27
2021-01-25T12:33:27
332,736,616
0
0
null
null
null
null
UTF-8
R
false
false
441
r
Ising.R
J = -1 n = 6 beta = 10 nsim = 10^2 grid = matrix(rep(-1,n^2),ncol = n ,nrow = n) for (i in 1:nsim){ loc = ceiling(n*runif(2)) neighbors = rbind(grid[2:n,],rep(0,n))+ rbind(rep(0,n),grid[1:(n-1),])+ cbind(grid[,2:n],rep(0,n))+ cbind(rep(0,n),grid[,1:(n-1)]) pow = neighbors[loc[1],loc[2]] if (run...
26adc55c6116e8917c3e266458a2e53d1983de8b
3f3265a63541003a268aa0f9743ddd28dbbb13b5
/scripts/clean.R
a0731e25853e23ad7de36ac7e4256249e7149628
[]
no_license
yannabraham/Resultats-Trail-Blanc-des-Vosges-2015
2303ae63a95ec81ead1bf34801cf5e3efb107644
fbc6d2b9dc5b27a1a9d90c9840d530890514674c
refs/heads/master
2021-01-22T22:53:25.697511
2015-03-13T09:10:24
2015-03-13T09:10:24
31,549,304
0
0
null
null
null
null
UTF-8
R
false
false
1,349
r
clean.R
## cleaning up the dataset library(stringr) dta <- read.delim("data/Resultats-Trail-Blanc-des-Vosges-2015.tsv",header=F, col.names=c('Classement_Scratch','Nom','Temps','Dossard','Classement_Categorie', 'Categorie','Sexe','Club','Vitesse','bad.column'), dec=',',fileEncoding='UTF8' ) # high level cleanup dta[!is.na...
7ba006fc5326210dff95078c8570f6d73e961d62
8a736317e9732b939803d041f2448c125ff49e5f
/R/fold.R
d9597ee9e004172ae8f6d97d7055cd0d4c46a73e
[]
no_license
mbojan/isnar
f753c9d6a6c2623e7725c2f03035c1f9cc89ba85
56177701d509b267eff845e15514e4cf48e69675
refs/heads/master
2021-06-10T15:32:48.345605
2021-02-17T20:00:40
2021-02-17T20:00:40
19,937,772
8
3
null
2015-04-03T12:41:31
2014-05-19T10:28:23
R
UTF-8
R
false
false
1,189
r
fold.R
#' Folding square matrices around the diagonal #' #' Fold a square matrix by collapsing lower triangle on upper triangle, or vice #' versa, through addition. #' #' By default, for \code{direction=="upper"}, the function takes the values in #' the lower triangle of \code{x} and adds them symetrically to the values in #'...
e61db8ec2097fa26c99d67bd5142690583eeada9
85fd7570382bdccabc8daf3a41b561efb9cdf622
/_Scenarios/__testEnv_Food/code/B.PP.GenBms.UpdateState.01.R
1815e66bc604f5773f5057fb351b43405ed6ba5a
[]
no_license
AndrewJConstable/EPOCuniverse
2b86f40d2539cf79a66285cc8cd67d0c391bb669
e6561eed547befde5b88563f73d96ce9033a5179
refs/heads/master
2021-11-25T23:35:40.476219
2021-11-17T01:15:33
2021-11-17T01:15:33
104,179,577
0
0
null
null
null
null
UTF-8
R
false
false
12,633
r
B.PP.GenBms.UpdateState.01.R
# Create S4 method 'updateState' #B.PP.GenBms.update_State.01<-function ( setMethod("updateState", signature(element="PPgenBMS", universe="Universe"), function(element, universe) # access to universe if needed { # Function: B.GET.update_State.01 # Version 0.01 # D...
35e8bb716a2d29296adbeb29e7d94ab97967ea87
9528e128bd7efdd04f272a0c3efad0d6af3b5598
/week_4/getdata014_Q4_1.R
5ba6a99e6dd6d8d5b26c5860217b462bdba43880
[]
no_license
enricgili/Coursera_3_Getting_and_Cleaning_Data
34063108806aa03c874247be463e28822e31ec20
1c523cdd583d5215039a56700377afb5c6583003
refs/heads/master
2021-01-10T12:37:25.200622
2017-02-28T03:42:45
2017-02-28T03:42:45
36,046,985
0
0
null
null
null
null
UTF-8
R
false
false
282
r
getdata014_Q4_1.R
#setwd("Documents/datasciencecoursera/Coursera_3_Getting_and_Cleaning_Data/week_4/") #download.file("https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2Fss06hid.csv","ss06hid.csv",method="curl") ss06hid <- read.csv("ss06hid.csv", quote="") strsplit(names(ss06hid),"wgtp")[123]
95a1281dc8ffb63128cb567ff46efa54216d58f0
c85471f60e9d5c462de6c60c880d05898ec81411
/cache/catrwilliams|rprojects|tidytuesday__Ramen_Ratings.R
ea71d69de778d02a92e0c4cab3bd61bd41fbbfa3
[ "CC-BY-4.0", "MIT" ]
permissive
a-rosenberg/github-content-scraper
2416d644ea58403beacba33349ee127e4eb42afe
ed3340610a20bb3bd569f5e19db56008365e7ffa
refs/heads/master
2020-09-06T08:34:58.186945
2019-11-15T05:14:37
2019-11-15T05:14:37
220,376,154
0
0
null
null
null
null
UTF-8
R
false
false
6,698
r
catrwilliams|rprojects|tidytuesday__Ramen_Ratings.R
## ----setup, include=FALSE------------------------------------------------ knitr::opts_chunk$set(echo = TRUE) ## ----library, message=FALSE, results=FALSE------------------------------- #function to check if packages are installed, if not then install them, and load all packages libraries <- function(packages){ fo...
bbb58cd40f2828c08924242d3b437d38de1ccaab
39c67209fb145b968537614003039dbcac7fc95c
/books/从数据到结论/R/决策树.R
da4b5019d2241e8a31fe70f61674f291d418f336
[ "MIT" ]
permissive
yuanqingmei/Statistics_with_R
33e1c408c4f78af2b49aa32a0e7f7aa9d134f4f6
673044d5231ff4b3776fc8257c9a18b34784e229
refs/heads/master
2020-07-13T02:12:19.640589
2019-06-30T15:37:18
2019-06-30T15:37:18
null
0
0
null
null
null
null
UTF-8
R
false
false
626
r
决策树.R
setwd('C:/Users/hnjyzdc/Desktop/R/从数据到结论') w=read.table('Dermatology1.txt',header = T);w[,35]=factor(w[,35]) library(rpart.plot) (a=rpart(formula=V35~.,data=w)) rpart.plot(a,type=1,extra=1) table(w[,35],predict(a,w,type = 'class')) w=read.table('agaricus-lepiota1.txt',header = T) library(rpart.plot) (a=rpart(V1~.,w)) ...
71d1350e5f5eb89a621277723f301844a4f071e0
f4b3038c65c88be7c460ae7d1ef73fab7e3221fa
/man/file_remove.Rd
18c800fa9c06de03935e32e817693b2f00ffe7bc
[]
no_license
cran/BayesianFROC
8d74c554f82adbf3f73667a5b7eebb5174b4dbad
9abf77e16c31284547960b17d77f53c30ea0d327
refs/heads/master
2022-02-04T14:54:01.788256
2022-01-23T06:22:43
2022-01-23T06:22:43
185,827,147
0
0
null
null
null
null
UTF-8
R
false
true
284
rd
file_remove.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/file_remove.R \name{file_remove} \alias{file_remove} \title{Execute before submission to delete redandunt files.} \usage{ file_remove() } \value{ none } \description{ This for a developer of this package }
665368365c44fa63cf1aedc798d0ae9165d8095b
3006e60dd4811dec1b9f4f6b1fcfa4eddb6be44a
/Courseworks/Stat133_Statistical_Data_Computation/Workout/roller/man/check_prob.Rd
25735e7d262624fe277363ea5a8111e87a254832
[]
no_license
duilee/workspace
382e8a2c11bc54e76e829bdd7b98268108e68c49
581c7e65383fe05d57826c7ad1a4d80a1bf0fcc5
refs/heads/master
2023-06-05T15:29:32.363152
2021-06-27T02:10:08
2021-06-27T02:10:08
328,106,426
2
0
null
null
null
null
UTF-8
R
false
true
473
rd
check_prob.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/device.R \name{check_prob} \alias{check_prob} \title{check probabilitiy} \usage{ check_prob(x) } \arguments{ \item{prob}{numeric vector with prob values} } \value{ returns boolean value of whether given sides are valid prob values } \descript...
a9f2179a726ba7c8baab19405d073dd2b528dfe6
6874d2514172b9e809dccf1e4879e0edfaabb050
/R/ignorelist.R
956654ca2a8ceca70a5bd37b03b0129072d28091
[]
no_license
cran/sen2r
27e59e874a36d30b02f319b1e77fcd66f54d3f2e
3720d77a025fc9f8d9e04825910e830f35ffa61b
refs/heads/master
2023-06-29T11:44:40.672296
2023-06-16T06:10:02
2023-06-16T06:10:02
216,648,730
0
0
null
null
null
null
UTF-8
R
false
false
9,417
r
ignorelist.R
#' @title Read / write the ignore list #' @description Internal functions to read or write the file containing #' information about images not to process (because cloud covered or because, #' for any reason, they were not produced during previous processing runs). #' @details Sometimes not all the output files a...
bc6700cbce8ff7b014a54c43b2a190a6f5da6ebb
79f04abf894a67c37a65421b0a8fbad258d00a43
/R/classification.R
586ef3c613f676ca2dd2d3dad6e71c2faf20742f
[]
no_license
kimjeonghyon/Language-Basics
9490c54caef4390b8a1257dab37ae23eb42a125a
dbfb894e7c4e9a21366a1c2e9b3ffa1ea4aedaf9
refs/heads/master
2021-06-24T04:09:54.906696
2020-12-04T01:13:46
2020-12-04T01:13:46
139,315,146
0
0
null
null
null
null
UTF-8
R
false
false
14,159
r
classification.R
# 분류분석 install.packages("rpart") library(rpart) # rpart() : 분류모델 생성 install.packages("rpart.plot") library(rpart.plot) # prp(), rpart.plot() : rpart 시각화 install.packages('rattle') library('rattle') # fancyRpartPlot() : node 번호 시각화 # 단계1. 실습데이터 생성 data(iris) head(iris) set.seed(415) idx = sample(1:nrow(iri...
36bd5e90e12398d270cd574c4b01d7603365e12a
49599cbeb99d70432a688e11e97a4d3160881f6d
/R/set.random.seed.R
552518f81be8dc6b034e3c4849637ebb3feb0607
[]
no_license
langfob/rdv-framework-frozen-google-code-export-do-not-change
260de4eae4de9d4d0465d90e693790d57f411073
fe7e745223251790e50bc9a412080e45e0cbc709
refs/heads/master
2021-01-21T23:29:59.459162
2015-07-17T09:30:46
2015-07-17T09:30:46
null
0
0
null
null
null
null
UTF-8
R
false
false
2,952
r
set.random.seed.R
#============================================================================== ### Usage: ### source ('set.random.seed.R'); # Set the seed for random number generation # History: # - Extracted from reserve.validation.R. # BTL - 02/03/09. # - Added specification of a starting seed to use if not ...
38c5dd208bce85b7532406fc597b7616edd76ff9
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/vrtest/examples/exrates.Rd.R
cf50d20130ccca0b66f200b892f08298735c188b
[]
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
155
r
exrates.Rd.R
library(vrtest) ### Name: exrates ### Title: wright's Exchange Rates Data ### Aliases: exrates ### Keywords: datasets ### ** Examples data(exrates)
2384b1ac29d42719ebe48ddc774146ba6f41258e
747564318a56ac683165b03ee6f1157712c2e4ce
/man/obs_rates.Rd
95a57eeb4c58cb968bd5f8682bd31a5e1c4ea2d8
[]
no_license
dataandcrowd/gamar
626a9758ec58b81db71f3363a77e732cf092eecc
3e9dd2b61b55816f79c16d152d5de32d6e9ea71d
refs/heads/master
2023-04-02T18:00:01.423668
2021-04-09T14:44:43
2021-04-09T14:44:43
null
0
0
null
null
null
null
UTF-8
R
false
true
749
rd
obs_rates.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/obs_rates.R \name{obs_rates} \alias{obs_rates} \alias{obs_rates.default} \alias{obs_rates.experiment} \title{Extract monitoring rates} \usage{ obs_rates(exp) \method{obs_rates}{default}(exp) \method{obs_rates}{experiment}(exp) } \arguments{...
3f8b746b1daa6cb43460b55b470f1e963ed0adb8
446373433355171cdb65266ac3b24d03e884bb5d
/man/saga_statisticsforrasters.Rd
eaf69d525ea667cfa869d7e8c3ac19cc26ff33f7
[ "MIT" ]
permissive
VB6Hobbyst7/r_package_qgis
233a49cbdb590ebc5b38d197cd38441888c8a6f3
8a5130ad98c4405085a09913b535a94b4a2a4fc3
refs/heads/master
2023-06-27T11:52:21.538634
2021-08-01T01:05:01
2021-08-01T01:05:01
null
0
0
null
null
null
null
UTF-8
R
false
true
2,685
rd
saga_statisticsforrasters.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/saga_statisticsforrasters.R \name{saga_statisticsforrasters} \alias{saga_statisticsforrasters} \title{QGIS algorithm Statistics for rasters} \usage{ saga_statisticsforrasters( GRIDS = qgisprocess::qgis_default_value(), PCTL_VAL = qgisproc...
5295f76bee38e3107aa78ce46ba468e33c9440f8
60627dc5c9f23a9bafcf942c5a083629da786785
/R/power_eeg_bands.R
b0e898a6ec48e898a0d1ddd56da5524f9359e2ce
[]
no_license
adigherman/EEGSpectralAnalysis
6375fc44e8dd7864c0f1aa39c427a1369de1ddde
dadc57bcd0fb1ec39db0b0a9ab3ac1667e695184
refs/heads/master
2022-12-03T13:00:27.162666
2020-08-18T19:28:24
2020-08-18T19:28:24
234,624,034
2
0
null
null
null
null
UTF-8
R
false
false
2,276
r
power_eeg_bands.R
#' @title Get power values for EEG bands #' #' @description Calculate power values for #' each of the EEG bands: #' Delta < 4 #' Theta >=4 and < 8 #' Alpha >= 8 and < 14 #' Beta >= 14 and < 32 #' Gamma >= 32 and < 50 #' #' @param eeg_signal EEG signal expressed in micro-Volts #' @param sam...
9703c460e268ecef61fb66262ab2312792b08f6d
29f06a220a418387418e0c7d82009896fd965f86
/tests/testthat.R
68827a0242a69e1bd0d4ed425e88f8e42caef6d2
[]
no_license
ValeriVoev/VRVPackage
bab712ae4face2660151e3e1c89b4432a8c77549
a16a21e689b6aef7578346590b0fb0a2174c2a46
refs/heads/master
2021-01-22T05:50:49.933235
2017-06-01T20:05:41
2017-06-01T20:05:41
92,499,838
0
0
null
null
null
null
UTF-8
R
false
false
65
r
testthat.R
library(testthat) library(VRVPackage) test_check("VRVPackage")
d8fab56bfada4ef9bdf7e52bff67ef688054e08b
3ed978fd30c968c757471d579b79c8cfaf4493b6
/rscript/data_preprocess.R
ea1dc401dcdaad5658fa19b6939a1e57b56c8e8b
[]
no_license
csetraynor/bybrca
28a8c2defef065f1ea0d44a1f068cea2ac66ea68
0ec8d861fd4fca4e6bf54e34bbac81247cce9c91
refs/heads/master
2021-04-09T17:20:56.906599
2018-03-20T17:53:22
2018-03-20T17:53:22
125,680,400
0
0
null
null
null
null
UTF-8
R
false
false
5,353
r
data_preprocess.R
#Data preprocess library(readr) library(VIM) library(dplyr) #load medical data md <- tbl_df(read_rds("C:/RFactory/bymetabric_files/rdsmetabric/medicaldfs.rds")) #md <- tbl_df(read_rds("medicaldfs.rds")) #convert missig values into NA convert_blank_to_na <- function(x) { if(!purrr::is_character(x)){ return(x) ...
e2770ba7b6e3af8d40da4491a48e4a2712957744
df3fae87357db44ea5318690beebac74758e9020
/Old code/hmis explore.R
f77c72ef479f5de23ace77db330f54e58bd2db6e
[]
no_license
DanWeinberger/hmis
1f276f3bd40c0cbb7f976303407be92f732d474b
7674eafe0d46c5c40fc664d4e88404f105559cc3
refs/heads/master
2020-04-08T22:06:02.762681
2019-10-29T20:29:09
2019-10-29T20:29:09
159,771,645
0
0
null
2019-10-29T19:55:05
2018-11-30T05:09:36
R
UTF-8
R
false
false
6,182
r
hmis explore.R
#PCV was launched by the Union Health Minister, Shri JP Nadda on May 13, 2017 at Mandi, #Himachal Pradesh [1]. With this phased introduction, nearly 2.1 million children in #Himachal Pradesh (all 12 districts), parts of Bihar (17 out of 38 districts) #and Uttar Pradesh (6 out of 75 districts) will be vaccinated with ...
0cf1ce7ec3c8ebad5556abbe9cd0651ae44034ed
ec94dddf45e332663da3e37db2feeb709221d763
/R/utils.R
6ace663fea091203a548e971a582314553b7759a
[ "Apache-2.0" ]
permissive
AntoineDubois/sdcv2
44687ab28a1c7aa3c82702ee2506257a20475994
53041ecc32698089a66a0df7911dd7c0f461cc34
refs/heads/master
2023-07-16T20:07:11.525114
2021-09-06T15:27:46
2021-09-06T15:27:46
386,579,310
0
1
null
null
null
null
UTF-8
R
false
false
6,373
r
utils.R
############################################################# ## This file provides some useful functions ## The notations are taken from Train 2003. ## antoine.dubois.fr@gmail.com - March 2021 ############################################################# ############################## # 1 - Functions ################...
ce4f417e24d5e1b7c629d33194cec74a9109777e
a1486d95ad8b3891003e91ed8a3c264a10dbb1fb
/man/compute_pearson.Rd
319d1039a2fb61bacdcbc93d43531a228ae4249f
[]
no_license
fmarotta/cvtools
1e71f187cf194a9265214214fe841f0a6770d326
a15192353fd9b5f82839bcd0405e0aa27536da1a
refs/heads/master
2020-09-29T16:52:51.662237
2019-12-10T09:19:59
2019-12-10T09:19:59
227,077,267
1
0
null
null
null
null
UTF-8
R
false
true
452
rd
compute_pearson.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/models.R \name{compute_pearson} \alias{compute_pearson} \title{Title} \usage{ compute_pearson(ytest, ypred, by = NULL, alternative = "g") } \arguments{ \item{ytest}{Vector of true values.} \item{ypred}{Vector of predicted values.} \item{by}...
f69473bc215c50c464fd09b89811f6880084a093
ba2392803688c4d70e60982ef0640a20143f5d59
/R/peak_finder.R
38d7b5f5dc456f9ab39fe6c18e3aa276ffbae03a
[]
no_license
jasongallant/eodplotter
39cc5a3c86d1fec321dbf56b9412662c8049955d
4f2d546a7316c03cd16f65854525bb0491008851
refs/heads/master
2020-03-17T22:53:29.356035
2018-05-22T03:43:36
2018-05-22T03:43:36
134,022,244
0
0
null
null
null
null
UTF-8
R
false
false
3,339
r
peak_finder.R
#!/usr/bin/env Rscript library(tdmsreader) #' Find peaks from a TDMS file #' @export #' @import zoo #' #' @param filename The filename #' @param channel The channel name, default /'Untitled'/'Dev1/ai0' which is just common in our lab #' @param direction Only get positive or negative peaks #' @param threshold Threshol...
84e0bc283801991fb12bb367ffde76ed78f0cda6
1f977fccad786a0869c1e45a0fbb0b3ed7111131
/data_download/f010_hgnc_format.r
8c79891d85c68374f36000eccce9e0cdcd05bbef
[]
no_license
Jaimelan/mirbaseID
fcf1822a053f404ed0fd7f1811bd9934c5a2a0b4
96979c68ccc305fca277b0b083724cbed2b49f66
refs/heads/master
2023-03-15T18:45:41.538060
2014-03-25T12:21:06
2014-03-25T12:21:06
null
0
0
null
null
null
null
UTF-8
R
false
false
2,914
r
f010_hgnc_format.r
##h010_hgnc_format.r ##2013-11-14 dmontaner@cipf.es ##Format Gene Symbol ##' Some Gene Symbol IDs in the mirna targets need to be updated date () Sys.info ()[c("nodename", "user")] commandArgs () rm (list = ls ()) R.version.string ##"R version 3.0.2 (2013-09-25)" #library (mirbaseID); packageDescription ("mirbaseID",...
12b83f8478984156229d1197fc7f60970200e9e4
16a1d7ec1187e32b80364c10ddc4a106bf810948
/man/probeR.whole.gene.Rd
8ad613d986a149696e4207ec870c15157dfe2921
[]
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,654
rd
probeR.whole.gene.Rd
\name{probeR.wholegene} \alias{probeR.wholegene} \title{ Calculate the reliability of the whole genes } \description{ calculate the reliability of the whole genes using summary variance and probe data variance } \usage{ probeR.wholegene(data.summary, data.probe) } \arguments{ \item{data.summary}{ the summ...
50eb0da55417c97b4fc15c3339dfe71aad5bca17
cade24364c4d1232b5df00c98f82be708d76a205
/reddit_comments.R
3c58107762209d0f368ef9b05b34cb42422ea00f
[]
no_license
pjerrot/r_stuff
7ccfe28e8c361ddd11fab39bfdadc04dbec51736
d50c4ca5ddb2ba520ba421d14942227bd787e3be
refs/heads/master
2023-08-04T11:33:27.002053
2023-07-31T14:22:15
2023-07-31T14:22:15
53,609,135
0
0
null
null
null
null
UTF-8
R
false
false
6,957
r
reddit_comments.R
reddit_comments <- function(subreddit=NULL,urls=NULL,flair=NULL,search=NULL) { # Pretty hairy json file. Use http://jsonviewer.stack.hu/ to decompose library(rvest) library(dplyr) library(stringr) library(xml2) library(httr) library(R.utils) library(tidyverse) library(RJSONIO) library(data.table...
f17f6e2083078922d7509bfdc0a51cc6531cd1f0
7bcafd0564bc5e77b2a6f7843abe9362d2baf3ee
/iswtest.R
cb42cbfeb86f8e80d6dc4cfc96bfbaee796607ff
[]
no_license
jaskonas/rfiles-public
a71081c77e73141643f19aedce77a1c08d3cbd91
0c3d880e81c74eaa8b8ac787ad276cbb84fb0229
refs/heads/master
2021-01-10T10:40:09.906779
2019-08-28T16:40:37
2019-08-28T16:40:37
51,803,826
0
0
null
2016-02-17T11:06:35
2016-02-16T03:04:20
R
UTF-8
R
false
false
663
r
iswtest.R
library(igraph) library(fmsb) library(ggplot2) library(tidyr) library(grid) library(gridExtra) library(scales) library(network) # setwd("~/Dropbox/Appcare") test1 <- barabasi.game(200, power = 0.8, m = NULL, out.dist = NULL, out.seq = NULL, out.pref = FALSE, zero.appeal = 0...
53da996dc39664634c77f865c93be07b4d7dc089
4be8570d1580d88f4ec06eb0187d1ac173971012
/cachematrix.R
808b8de057dbd102ed987386944e61ec3594c7b0
[]
no_license
edavidaja/ProgrammingAssignment2
fd2dbd64ac6255b122c05310980773108e1f5b69
72cb3013ac0c127b4371097b76ca3678d62fd618
refs/heads/master
2020-07-10T12:58:07.373102
2015-07-25T19:09:41
2015-07-25T19:09:41
39,685,529
0
0
null
2015-07-25T13:06:34
2015-07-25T13:06:33
null
UTF-8
R
false
false
842
r
cachematrix.R
## makeCacheMatrix computes the matrix inverse of matrix X ## cacheSolve checks to see if a solution for X has already been computed ## and, computes and displays it if not; otherwise it displays the ## previously computed result ## Caching the solution to the matrix makeCacheMatrix <- function(x = matrix()) { m ...
f97f31c4d664bdb46a1aab3b0bb713804bd0d3e6
1a3300279e9f163909247b6998673c09daa5d450
/13 fileInput/ui.r
e76d29aa755750e0bf1050b0e2b31059bd244074
[]
no_license
SimchaGD/Shiny-Tutorial
8d95dd5d0d5b0552608d026c92caee020aa029bd
ae6e893f5375fa8571b551e1b69a22aea3306bb3
refs/heads/master
2020-07-18T17:33:31.551983
2019-09-19T15:53:04
2019-09-19T15:53:04
206,285,130
0
0
null
null
null
null
UTF-8
R
false
false
862
r
ui.r
# load shiny library(shiny) shinyUI( fluidPage( titlePanel(title = "File input"), sidebarLayout( sidebarPanel( fileInput("file", "Upload the file"), helpText("Default max. file size is 5MB"), br(), h5(...
037ac21a4ed35e02805f560ff627028399719323
adc2fd58b4326ecfaf0e743698246da8846c981d
/Data_Cleaning/lab/Data_Cleaning_Lab_key.R
135ab9e41444ba731f8e8361bc81d48ac6a7843d
[ "MIT" ]
permissive
andrewejaffe/summerR_2016
c26d8e709c26100e1e40df3d9c1ad213fa34d94a
8f47a6735f039499eba66e30e0b40c59a36c1c6b
refs/heads/gh-pages
2020-04-06T03:36:03.439029
2016-06-24T19:25:02
2016-06-24T19:25:02
60,783,896
0
4
null
2016-06-14T02:00:58
2016-06-09T15:08:11
HTML
UTF-8
R
false
false
5,588
r
Data_Cleaning_Lab_key.R
################# # Data Cleaning and Plotting ############## # 6/15/2016 ## Download the "Real Property Taxes" Data from my website (via OpenBaltimore): # www.aejaffe.com/summerR_2016/data/real_property_tax.csv.gz ## note you don't need to unzip it to read it into R rm( list = ls() ) # clear the workspace library(str...
4c3b1fad3f1d5f9e2b46fbd951cd8e751f964173
f2a0fd6d339a9efad525701ab400e30e800c4b80
/twothirds.R
ae3eb5fd7fa072f5e471c9bef154aa4708257775
[]
no_license
37beers/two-third-CT
9aeb7714dc21d00d3a71827b4790cb3a7979bb9e
31bd257128ecdd709bef8788291448fefc055293
refs/heads/master
2020-05-18T09:36:57.682528
2019-07-17T22:57:15
2019-07-17T22:57:15
184,330,548
0
0
null
null
null
null
UTF-8
R
false
false
1,906
r
twothirds.R
#!/usr/bin/env Rscript #TODO: Please always use a header. To make a function executable, add the Rscript above. #TODO: This is a good package for making it commandline. See what happens when you chmod +x twothirds.R # then run... /path/twothirds.R -f TCR.txt suppressPackageStartupMessages(library("argparse")) pars...
c983590c81460e39c9d7b3974b15a42c4342486b
3339945341718312385c9272b58fa6c531dd2eb5
/05_Code/02_Analysis/rcode/models/trialRT_ANOVA_SRcond_allData.R
b90e325d5321de2d2dbe4bd5c59cdf9c7c5d6026
[]
no_license
KSuljic/E299
17781ec7063377ea291ca21730be94209654b1e3
4b5e8c78695c06461f9a4c2b18a891518fe3da72
refs/heads/master
2022-04-29T12:46:10.644389
2020-03-11T16:06:57
2020-03-11T16:06:57
135,292,890
0
0
null
2018-05-29T12:30:04
2018-05-29T12:30:04
null
UTF-8
R
false
false
2,391
r
trialRT_ANOVA_SRcond_allData.R
cL modelstring = " model { for ( i in 1:Ndata ) { y[i] ~ dnorm( mu[i] ,1/(ySigma^2)) mu[i] <- a0 + a1[confSet[i]] + a2[RespM[i]] + a3[task[i]] + aS[S[i]] + # this is the full model with all interaction, included the interaction with the subject factor, this is only possible for when there is multiple data poin...
b1e10f117c7d736e5a0b4b9dc13bb8a2524ed8cc
c933feabc91c5461699ad271b7ab49c3a6c76153
/C 2 R Programming coursera/W2/Assignment 1 Air Pollution/correlation.R
6b63ed7284213a44d76d0b53fae86bf2a0d2cde0
[]
no_license
khalidm1/datasciencecoursera
4beb4f4a956babea3e3d9b53f4bada7e1c80987e
27faed698a91640392edbb8d393779b3f78fce8f
refs/heads/master
2022-12-02T06:33:49.981738
2020-08-11T18:24:51
2020-08-11T18:24:51
275,858,750
0
0
null
null
null
null
UTF-8
R
false
false
848
r
correlation.R
corr <- function(directory, threshold = 0) { #create list of all files list <- list.files(directory, full.names= TRUE) # create empty data set dat <- vector(mode = "numeric", length = 0) for(i in 1:length(list)) { # Read File tmp <- read.csv(list[i]) #Calculate csum csum <- sum((!is...
d281cf2be398cb79da73329150e0d40ca2252b6b
4ecc47b913858b6c03733ab8c3ddb15719b4e8f6
/man/genericIsValuesMissing.Rd
d35b5974dab664e67067313a71efb14bd9aeec29
[ "MIT" ]
permissive
LE2P/rBSRN
07876b6beec27cb6938c6261be3f436d01d1fe10
f65499c72f5f329f9c31b8a3993598edc8ba4d69
refs/heads/master
2023-01-03T22:24:40.891751
2020-11-02T07:44:39
2020-11-02T07:44:39
300,272,096
0
0
null
null
null
null
UTF-8
R
false
true
361
rd
genericIsValuesMissing.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/1_utils.R \name{genericIsValuesMissing} \alias{genericIsValuesMissing} \title{Generic function return true is the is missing mandatory variables} \usage{ genericIsValuesMissing() } \value{ TRUE is there is mandatory value missing / FALSE if n...
d34923bc92b07bac568d000f0f2b83fbbb796292
ff80500b960fb64aebefd3851801ebbd7dfc0c2e
/run_analysis.R
674ee73e654d8251f12aea7cae4f62728609a8f8
[]
no_license
AndrewsOR/clean-the-data
5df14484cd76e1a7820130182e3c6d31783cf7f5
f85018b879935c22e4f766873878ea760941fdb1
refs/heads/master
2021-05-27T23:44:38.650770
2014-10-23T15:53:29
2014-10-23T15:53:29
null
0
0
null
null
null
null
UTF-8
R
false
false
8,133
r
run_analysis.R
############################################################################### # Run_analysis.R (Getting & Cleaning Data Course Project) 22 Oct 2014 # # # # The script has the following parts, required by the assignment: # ...
ba078360951ad630842133eb6d49fd95d1cd6c88
53bda4ba2543bc576d0919073d29c31776faf56d
/man/create.quadrant.Rd
ed3dd13ca7d4dc1420d4dcb92fc264f7da93d8bd
[]
no_license
Rsoc/soc.ca
18ab28ff0c136d25909dece9374889c3da93bc87
472b1d29684bcb2f350c3cb733566c6aeed6bd2c
refs/heads/master
2023-08-24T23:10:14.788625
2023-08-09T06:32:54
2023-08-09T06:32:54
2,106,567
11
2
null
2015-07-12T17:50:08
2011-07-26T11:50:25
R
UTF-8
R
false
true
993
rd
create.quadrant.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions_analysis.r \name{create.quadrant} \alias{create.quadrant} \title{Create categories according to the quadrant position of each individual} \usage{ create.quadrant( object, dim = c(1, 2), cut.min = -0.125, cut.max = 0.125, c...
1bcd8d312f2cd842f93000c15903d1455b8d5cb8
5bed56d19203d621ef28db176ab583f772f0f668
/02_Demos/05_ecosystem/crosstalk_demo.R
c6b86dec0fe42e54f487bb1f46e9f53e53e051b7
[]
no_license
julomoppet/Formation_Shiny
5f2e5035b8208a17fd1ad6e317991a37329220be
94032dedc21c0f1e9c74b8dd6a9836613571839d
refs/heads/master
2022-11-17T17:09:43.623523
2020-06-29T20:10:30
2020-06-29T20:10:30
274,126,865
1
0
null
null
null
null
UTF-8
R
false
false
2,302
r
crosstalk_demo.R
library(shiny) library(DT) library(plotly) library(crosstalk) m <- mtcars %>% tibble::rownames_to_column() ui <- fluidPage( h1("Démo Crosstalk : intéractions entre Plotly & DT", align = "center"), plotlyOutput("x2"), DT::dataTableOutput("x1"), fluidRow( p(class = 'text-center...
2fa956ab91ffa89c72ab056c6e93588e99c1bbc0
8be41cde935d804917a23f7ae89c427c38d4cb2e
/Results_bank_data.R
785100b0182828055dac1ad999e36fa8a750042c
[]
no_license
tobiaslov/Master-thesis
90501af644ce0c38da73b2849e840860582fe4b3
3721e65b212497e591a2a2650e6a39fc442ba6e5
refs/heads/master
2020-05-19T00:51:51.567410
2019-05-03T12:06:46
2019-05-03T12:06:46
184,745,340
0
0
null
null
null
null
UTF-8
R
false
false
17,199
r
Results_bank_data.R
library(tidyverse) library(GGally) library("gridExtra") ############################################################ # # # Bank data # # # ##################...
3c6458038951c945da2abc97a60fa52f8aa79601
c25ca7b930919db4299d8ee392daa3ed5c651180
/man/prMergeClr.Rd
c6d9cfdb8deefcb4ca32398d3556f3024f3d4040
[]
no_license
gforge/htmlTable
ecd0e56b54da74a085c5fc545c78181eb254fcb1
82ffe152c9b59559686a8a7bb74c9121d9539cf3
refs/heads/master
2022-07-21T22:01:41.100252
2022-07-07T18:14:47
2022-07-07T18:14:47
28,265,082
74
32
null
2022-07-06T14:53:56
2014-12-20T11:17:53
R
UTF-8
R
false
true
656
rd
prMergeClr.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/htmlTable_helpers_mergeClr.R \name{prMergeClr} \alias{prMergeClr} \title{Merges multiple colors} \usage{ prMergeClr(clrs) } \arguments{ \item{clrs}{The colors} } \value{ \code{character} A hexadecimal color } \description{ Uses the \code{\lin...
59a698b5dea464caf91f53f9ddb789f7a9b02bac
621a9fb699eb610fa4b540196e9f82dd5da4fd16
/man/plot_polar_smooths.Rd
4864e84d8745aa33fc201c2270aaa9635ce936d5
[ "MIT" ]
permissive
stefanocoretta/rticulate
f49d65465b13df4980fdb615d94a5c59a50936ba
6a841e0a38c53c42df6bcf504b23468cffcebf97
refs/heads/main
2022-09-26T07:03:44.872518
2022-09-04T16:07:00
2022-09-04T16:07:00
89,402,150
4
2
null
null
null
null
UTF-8
R
false
true
1,934
rd
plot_polar_smooths.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.R \name{plot_polar_smooths} \alias{plot_polar_smooths} \title{Plot smooths from a polar \code{gam}} \usage{ plot_polar_smooths( model, series, comparison = NULL, origin = NULL, facet_terms = NULL, conditions = NULL, exclude...
9d7ac3a0366c1390e8879d922da9c6d7498f6255
9e301d83216651988c4ecb40d9f6087ec5945c75
/extract/Compare_WorldBank.R
6e2ea58f49feaf7b648d61315e9e20916c33c302
[]
no_license
mcooper/DHSwealth
baba74bee09aabef2982b674b9d0e0a9ed1618fa
0f0b25efcec20e78bd6d4e6545e63182e246ea45
refs/heads/master
2021-06-22T02:25:18.748308
2021-01-28T04:27:02
2021-01-28T04:27:02
189,031,285
1
0
null
null
null
null
UTF-8
R
false
false
3,698
r
Compare_WorldBank.R
library(tidyverse) library(countrycode) library(zoo) library(Hmisc) data <- read.csv('~/mortalityblob/dhs/wealth_export.csv') data$iso3 <- countrycode(data$country, 'country.name', 'iso3c') data$year <- data$survey_single_year fill <- function(x, upto=5){ #Interpolate any two values #Fill edges up to "upto" valu...
c73bb67ef8becd694e519e80f6ecb1f47251dd03
e5b0acd8a255c9491d27fc7706db6833b151db22
/inst/gha/validate-test-files.R
300f5c9d9db89121ce935d69dad6ca31c9275509
[ "MIT" ]
permissive
rstudio/shinycoreci
52b867e603a207d1e62552bf006572f6365f85fe
05cb467a217972a5f838d18296ee701307a2430f
refs/heads/main
2023-08-31T14:59:49.494932
2023-08-14T14:49:17
2023-08-14T14:49:17
227,222,013
38
5
NOASSERTION
2023-09-11T18:29:27
2019-12-10T21:46:45
HTML
UTF-8
R
false
false
3,916
r
validate-test-files.R
# Execute with `source("inst/gha/validate-test-files.R")` errors_found <- list() app_folders <- basename(list.dirs("inst/apps", recursive = FALSE)) app_folder_nums <- sub("^(\\d\\d\\d)-.*$", "\\1", app_folders) # Can not call `setdiff()`. This internally calls `unique()` app_folder_nums <- app_folder_nums[!(app_folde...
cd0d0cf512df6fd7b542bf377925528ddf51c1ee
65abe9a7747cf2470d2607b52cd28a306dfd541a
/man/cor.with.Rd
faa200adb558a9aae9cdd998f0e2d50ffd11c25f
[]
no_license
cran/NCmisc
22c73010bf15ef8b08a231f875aee74f018c6506
cf149ef8aaf77e6b7e3013372b90e6d23fc2980b
refs/heads/master
2022-11-04T13:34:38.299963
2022-10-17T08:15:22
2022-10-17T08:15:22
17,681,069
0
0
null
null
null
null
UTF-8
R
false
true
1,686
rd
cor.with.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/NCmisc.R \name{cor.with} \alias{cor.with} \title{Simulate a correlated variable} \usage{ cor.with(x, r = 0.5, preserve = FALSE, mn = NA, st = NA) } \arguments{ \item{x}{existing variable, to which you want to simulate a new correlated variabl...
66549798ef6acc1b0ed79af199a1a373403f6670
7ebe128fc17cdc0e2f534dbe5940774e98da4ce8
/man/lasso.Rd
a616263ab14b97027b0b14e21981623bb4a3f9cc
[]
no_license
cran/bamlss
89f8d08be4599c03120acb9ed097c31916d1ef21
5535fb038104cdd3df08eccb92863a778cd56e75
refs/heads/master
2023-07-17T04:24:23.253981
2023-07-04T06:30:02
2023-07-04T06:30:02
82,776,249
2
5
null
null
null
null
UTF-8
R
false
false
8,843
rd
lasso.Rd
\name{la} \alias{la} \alias{lasso} \alias{opt_lasso} \alias{lasso_plot} \alias{lasso_stop} \alias{lasso_coef} \alias{lasso_transform} \title{Lasso Smooth Constructor} \description{ Smooth constructors and optimizer for Lasso penalization with \code{\link{bamlss}}. The penalization is based on a Taylor series appr...
8d25fafff67084c03aa6e74565bbc163074faeba
acf6fbcc9ebe2a6403d04f8553ef0d51845e0f90
/R/IMF_number.R
fb979bf2fa11a7c621f8651556aa6a64498ee4a6
[ "MIT" ]
permissive
SeifMejri21/VVD
294d5c8253d6e0b3deac6b614280ce77edbecd53
14b97b82160c9322adb972a37190dbde898f4246
refs/heads/main
2023-05-29T07:21:40.502688
2021-06-08T00:48:22
2021-06-08T00:48:22
374,054,403
0
0
null
null
null
null
UTF-8
R
false
false
1,002
r
IMF_number.R
#' Finds appropriate number of IMFs for a given time series #' #' @param ts time series to decompose in xts format #' #' @return the appropriate number of IMF s #' @import fpp #' @export #' #' @examples #'library(fpp) #'data(a10) #' VVD::IMF_number(a10) #' IMF_number <-function(ts){ if(class(ts)!="ts"){ stop("you...
c9217e6692a0207e38a2c3e0bd9efab9f5afc120
16f69763aa041f9ff7c569d7d9307a6f2ce98498
/fig5_periodic_pos/avg_TA_align/avg_TA_align.R
c1762c28ab87ed9c8a8310ae51683afd0c167deb
[]
no_license
aquaflakes/individual_analyses
3751c9d79c8b1e37c7c2e05890538755dcb54747
73a0c47e5f2e2fe877b0212ca085726036c83465
refs/heads/master
2021-01-06T09:35:40.769249
2020-02-18T08:17:33
2020-02-18T08:17:33
241,279,140
0
0
null
null
null
null
UTF-8
R
false
false
1,896
r
avg_TA_align.R
fjComm::clear_() label384=fjComm::gen_384_label() posCnt <- function(well,isTFctrl=F,dint="TA") { # check "TA" phase readsfile= paste0("~/Nut_zhuData/seqFiles2/FJ4.5CAP2r_PE/allreads/Adpt_Trimmed_Reads/2_Trim_adaptor_kmer/Trulig147*-CAP2r-147c5Nu-",well,"-*.fq.gz") # if(isTFctrl) readsfile= paste0("~/Nut_zhuData/seqF...
29f8d8a0459008f0d5ce202114a72a6116e168b0
3f3606856688c02fe9e27e70298db399a942dfba
/bank data.R
be4037a27fca828a22dda6ef6db037187bb38bfe
[]
no_license
monika2612/logistic-linear-regression
acd7aa85271860cc5e74dc569fcd0211f6543a5c
0f21c5be05de566b972f3e7acf83a127828a2310
refs/heads/master
2020-12-19T15:13:46.101929
2020-01-23T10:22:00
2020-01-23T10:22:00
235,770,764
0
0
null
null
null
null
UTF-8
R
false
false
790
r
bank data.R
bankdata <- read.csv(file.choose()) View(bankdata) attach(bankdata) logit <- glm(y~age+factor(default)+balance+factor(housing)+factor(loan)+day+duration+campaign+pdays+previous,data=bankdata,family = "binomial") summary(logit) prob1 <- predict(fit1,type="response") # Logistic Regression exp(coef(log...
046b0a8c6c58116b5781229342702b01d388dd71
db49c420c47af8f4b9629864d8a50abad8c41a78
/MFA/man/plot_pfs.Rd
c3fd4ec116789650ed6a018783c3e073287728ac
[]
no_license
crossedbanana/Multiple-Factor-Analysis-in-R
b65e44e5246cdb72aafbfd9f77f358c6759fc119
718bc9c8a62bc7341d51bded34416adc09608efa
refs/heads/master
2021-01-23T06:58:50.978688
2017-03-28T06:38:56
2017-03-28T06:38:56
86,415,047
1
0
null
2017-03-28T04:37:03
2017-03-28T04:32:16
null
UTF-8
R
false
true
900
rd
plot_pfs.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mfa.R \name{plot_pfs} \alias{plot_pfs} \title{Plot of Partial Factor Scores} \usage{ plot_pfs(dimension1, dimension2, rownames_vec = as.character(1:length(dimension1)), img1 = "black", img2 = "black", img3 = "black") } \argument...
c02f2fc24af448278e7a3a477536895cbcecd4ea
d26ca01de6365ed4c8bc2c77397bfe3f564aece6
/codes/classification/forest.R
f8a3327180b7e1ee83bf9b4bd1a95ee76aa698c2
[]
no_license
tohweizhong/RUGS-RF
f8aa81bd54dbbaf61c3a414fc7a850e7aa0fa653
7c65a738bc222f4bde3c28b9e3fb036a57dbed7f
refs/heads/master
2021-01-19T02:57:12.418764
2016-08-03T02:21:47
2016-08-03T02:21:47
36,554,778
1
10
null
null
null
null
UTF-8
R
false
false
1,426
r
forest.R
#install.packages("randomForest") #library(randomForest) # finally, the random forest model rf.mod <- randomForest(type ~ ., data = spam.train, mtry = floor(sqrt(num.var - 1)), # 7; only difference from bagging is here ntree = 300, proximity = TRUE, ...
73448fd2b4ba43512514c5024e1cc04ef6adb056
e55ca0be11db2d5b77df1829121a947032d5d111
/shiny/regPoly/server.R
9109a472972b215d633f61e9470480e6764536c4
[]
no_license
diogoprov/iguir2
73a32df22626fa184a8e0126b3dee6203f04fbcc
a6fd33e8f2ab893c8568af3a268625ab485f7914
refs/heads/master
2021-01-20T01:11:59.936535
2016-09-03T23:26:24
2016-09-03T23:26:24
null
0
0
null
null
null
null
UTF-8
R
false
false
2,579
r
server.R
##------------------------------------------- ## server.R library(shiny) ## Carrega template das aplicações elaboradas pelo projeto iguiR2 source("../template.R") apropos("^update[A-Z]", ignore.case=FALSE) get("cars") shinyServer(function(input, output, session){ ## Cabeçalho IGUIR2 output$header <-...
0aac6e03bfb839a7d33ddc8c4b9aac41bdde2f33
10f9e1baf23dff8571f1aeb41c20e74360dd5bf6
/posner80.R
0349f95349cb752f549ce8f40a8e53ebccaf130a
[]
no_license
boryspaulewicz/posner80
e71b87ce2aa51337046650a4230202dd0ae9108a
8d379c3863e8d20f4b7df81c4c80a265a5b153c6
refs/heads/master
2021-01-17T11:13:48.343495
2016-06-03T21:30:31
2016-06-03T21:30:31
52,156,058
0
0
null
null
null
null
UTF-8
R
false
false
5,686
r
posner80.R
## -*- coding: utf-8 -*- if(interactive())source('~/cs/code/r/tasks/task/task.R') TASK.NAME = 'posner80' MAX.REACTION.TIME = 3000 PRE.FIXATION.TIME.MIN = 500 ## 1000 PRE.FIXATION.TIME.MAX = 1000 ## 2000 FIXATION.TIME = 1000 POST.FIXATION.TIME = 100 ## Obiekty graficzne RECT = new(RectangleShape, WINDOW$get.size()) ...
52833c8ea3d9ea4930ea27876ff12480f3967e79
ec90298bdaa342b37785253f3abb65545be40bdf
/Proj2/random_search.R
053d1707d9d201872a14a352731ad169ec385e04
[ "MIT" ]
permissive
byKakayo/modelagem
d328891c945e0613d277505339974dfa82177da5
2cb77cbe4efa7ffe42abadc748c3f621f59d8deb
refs/heads/master
2023-01-22T23:36:07.811126
2020-12-01T16:55:30
2020-12-01T16:55:30
298,584,177
0
0
null
null
null
null
UTF-8
R
false
false
360
r
random_search.R
random_search <- function(f, n, Ix, Iy) { cz = Inf r <- list() r$X = c() r$Y = c() r$Z = c() for (i in seq(n)) { xi <- runif(1, Ix[1], Ix[2]) yi <- runif(1, Iy[1], Iy[2]) zi = f(xi, yi) if (zi < cz) { cx = xi cy = yi cz = zi } r$X <- c(r$X, cx) r$Y <- c(r$Y, cy)...
a86f46a52b1b268ae1c1c54dbb578b74b47c34aa
b1f23446c30bd70b4cdf459d20b5da02af4c98ad
/getpal.R
d59d1daffe3b996f8517843f86e1d11a8c5325f5
[ "BSD-2-Clause" ]
permissive
lionsarmor/heck
263d5252f88c0fe885e8eb6e529afcc82baf593d
9de43ba92d53d047af992468c08aa3c601348323
refs/heads/master
2020-12-10T08:36:31.436530
2019-10-15T01:50:04
2019-10-15T01:50:04
null
0
0
null
null
null
null
UTF-8
R
false
false
233
r
getpal.R
#!/usr/bin/env RScript library(colormap) color<-commandArgs(TRUE) m0<-colormap(color, 16, format="rgb")/16 m1<-matrix(sapply(m0,as.integer),16)[,-4] m2<-cbind(seq(0,15),m1) write.table(m2, sep=',', row.names=FALSE, col.names=FALSE)
422e619641902aeac84573e258575610e8d78c49
10d55aa2971e8aae9a26d65acc7de09e0b4377c4
/problemSets/PS3/PS3 code.R
e2a4c32a89821af5ca58a247e8e6d2aea1d50e10
[]
no_license
mkvereen/QPMspring2019
710d8ba4d14e173888e5a8e499f45f5fe841a403
a025aab335472205dab532a4f0abd0730d530e20
refs/heads/master
2020-04-17T02:33:54.371966
2019-05-01T19:57:11
2019-05-01T19:57:11
166,141,562
0
0
null
2019-01-17T01:51:24
2019-01-17T01:51:24
null
UTF-8
R
false
false
1,285
r
PS3 code.R
setwd("~/Documents/GitHub/QPMspring2019/problemSets/PS3") install.packages("faraway") library("faraway") data("newhamp") help("newhamp") #question 1 #A plot(newhamp$pObama, newhamp$Dean, main= "Dean vs Obama and hand counted vs machine ballots", cex.main=1, xlab="proportion Obama", ylab="proportion Dean", col=my_cols...
8154fbdf31481c792f79844c9cb4d368e180cafb
f697cbbb0da988fd43c07652d5955fbb82e25e38
/GoViewer/R/legendColourLookup.r
6f614cdd46d208aa87d092c83cf407e2859a2737
[]
no_license
aidanmacnamara/epiView
eec75c81b8c7d6b38c8b41aece3e67ae3053fd1c
b3356f6361fcda6d43bf3acce16b2436840d1047
refs/heads/master
2021-05-07T21:22:27.885143
2020-06-22T13:08:51
2020-06-22T13:08:51
109,008,158
0
0
null
null
null
null
UTF-8
R
false
false
2,780
r
legendColourLookup.r
#' assigns colours to text values using a matched list #' #' Compares a dictionary of search values against a list of elements #' in a string vector to assign colour - or other other coding - to #' each element. In particular, in turn, for each item, we cycle #' through the dictionary (a list of words as a space delimi...
5ea5bc0f876d9c811221a55a08745b7e849b7c72
ad925982f059cd5751308ae254cddb7193c26e5c
/R/bgd.R
5c37a1c73a34ce0074a4fff1f66e9cea145e9007
[]
permissive
SiddheshAcharekar/rcane
5ec6ceeeef23b5e100068bc524c8d13dc94c4c43
c385060cc7a2338c4ba19887abecbd6899d2f54e
refs/heads/master
2022-04-13T07:53:09.989310
2020-02-28T13:37:13
2020-02-28T13:37:13
108,881,042
0
0
MIT
2020-02-28T13:37:14
2017-10-30T16:55:56
R
UTF-8
R
false
false
1,796
r
bgd.R
BatchGradientDescent <- function(X, Y, alpha=0.1, max.iter=1000, precision=0.0001, boldDriver=FALSE, ...) { if (is.null(n <- nrow(X))) stop("'X' must be a matrix") if(n == 0L) stop("0 (non-NA) cases") p <- ncol(X) if(p == 0L) { return(list( x = X, y = Y, coefficients = ...
f7107bb330519a8f30b32598bfe18171bba2b1ee
29585dff702209dd446c0ab52ceea046c58e384e
/StatMatch/R/pw.assoc.R
b170a311ae94d2968e472167404aea12d89fbd15
[]
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,150
r
pw.assoc.R
`pw.assoc` <- function(formula, data, weights=NULL, freq0c=NULL) { ## code for Cramer's V V <- function(tab){ chi <- chisq.test(tab) mm <- min(nrow(tab)-1, ncol(tab)-1) out<-sqrt(chi$statistic/(sum(tab)*mm)) names(out) <- NULL out } ### function for comput...
7c8ef3b7fe95a5f60f10287e20d559fb12108a5c
02e865334769049a7a92ffe4b3d37cb66c97ae04
/Assigment3/census.R
82ee266ae51b12d00d6d3625209b97632a18dd4a
[]
no_license
egorgrachev/Analytics_Edge
5d17c046273fe1461842d4b2e0d81eaec4c3f1be
9d4a5e611f0ac5dc39ce566b7f68739fecac66dd
refs/heads/master
2021-01-16T01:02:05.038312
2015-04-15T09:31:37
2015-04-15T09:31:37
33,805,264
0
0
null
null
null
null
UTF-8
R
false
false
1,568
r
census.R
data = read.csv("AnalyticsEdge/Assigment3/census.csv") str(data) set.seed(2000) spl = sample.split(data$over50k, SplitRatio = 0.6) Train = subset(data, spl==TRUE) Test = subset(data, spl==FALSE) GLM = glm(over50k ~ ., data=Train, family="binomial") summary(GLM) PredictionGLM = predict(GLM, newdata=Test) table(Test$ov...
5973ee09c3e80c558613a5835794b9477b67fd2a
8fec3121657b46e781dd770306267c5a79e36c37
/R/get.objects.from.script.R
3307a373557ab54e96ba9314f09108c00668d2a2
[ "MIT" ]
permissive
rosalieb/miscellaneous
c94e723fc8cd084d6a6cca04977bfbee56f9c10f
0c1fc29f865978b76661e99cbfb4fedbf11f6ca6
refs/heads/master
2022-06-17T11:25:51.352167
2022-06-16T13:30:10
2022-06-16T13:30:10
211,395,839
0
0
null
null
null
null
UTF-8
R
false
false
3,014
r
get.objects.from.script.R
#' @title Function to return objects created in a specific script that exist in the environment #' #' @description The function identify the objects created by a script, and return those present in the environment. The function can take some time to run if the script is long! #' #' @author Rosalie Bruel #' #' @param pa...
145bb5b6add43ce16af48146ec91be121136fff8
3bf1ad00bd669b4c7a1c0c90d82fbfbd71b76808
/codes/functions.R
fa51cd96a3b7f8d04f5d56c9e7bed0214988a70a
[]
no_license
aflaxman/InSilicoVA-sim
40da0877fb92b9571148db01281090cb6ed442f3
51b35cf126f7451dff7150c3f1ca697158ea8a02
refs/heads/master
2020-07-18T23:58:21.650633
2019-07-19T18:16:13
2019-07-19T18:16:13
null
0
0
null
null
null
null
UTF-8
R
false
false
927
r
functions.R
getCCC <- function(est, truth, causes){ C <- length(causes) N <- length(truth) ccc <- rep(NA, C) for(i in 1:C){ TP <- length(intersect(which(est == causes[i]), which(truth == causes[i]))) FN <- length(intersect(which(est != causes[i]), which(truth == causes[i]))) ccc[i] = (TP / (TP + FN) - 1/C) / (1 - 1/C)...
15401f7bed1b28edbfbb2e2e5336608aa3567c42
60306730d83af4c5a715a3079cc0047bfa95351a
/Lib/PredictDSHW.R
89474854c666546a6249da1dc481753e1c593a85
[]
no_license
ikelq/ShortTermLoadForecasting
0fc3e36c1231abeb3316f9a1e9768ef53802d91c
0d9751f50cbbe8656dd1dda75170128eca47baa1
refs/heads/master
2021-06-08T05:44:05.729174
2016-12-01T12:15:36
2016-12-01T12:15:36
null
0
0
null
null
null
null
UTF-8
R
false
false
3,877
r
PredictDSHW.R
#Parallelize over zones predictDSHWParallel <- function(outputDir, trainingDf, completeDf, zones, horizons, modifiedDSHW = FALSE, NCores = 8, plotRes...
15630632d060a1abb952e962d7f016fe2026ddc7
daa4e30879dca0b8bd786d5a47da08ab787f4d9d
/pcd/plot_gene_exon_structure_whole_gene_MYB.r
3bbd0a3708989465d1bbd519fc75cc70bbf07189
[]
no_license
bioinfoICS/Alternative-Splicing-Study-Under-Mineral-Nutrient-Deficiency
862da812095be8e258588754239fe3a9f53e7f6a
9e5adb4b15b249c3a096941ce9d05ca3c9e4f98b
refs/heads/master
2021-09-18T22:36:37.377167
2018-07-21T05:19:59
2018-07-21T05:19:59
null
0
0
null
null
null
null
UTF-8
R
false
false
12,026
r
plot_gene_exon_structure_whole_gene_MYB.r
argsx <- commandArgs(TRUE) GENE <- argsx[1] pcd <- argsx[2] samplelist <- strsplit(argsx[3], ",")[[1]] fun1 <- paste(pcd, "/plot_gene_exon_structure_AS_FunG3.r", sep="") genefile <- read.table(GENE, header=FALSE, sep="\t") strand <- as.vector(genefile[,6]) gst <- genefile[,2] gen <- genefile[,3] otfile <- past...
55c253afc9de683f2d960eca3e2a1f8decad4852
0dd9adf043a76b5decf0b1e61eb2e68cde0e2762
/2_1_6 - tidyverse - Grammar of Data Analysis.R
648675c4a03aa1fcd8cac720ecb8f66dbc7d114b
[]
no_license
MISK-DSI-2020-01/Misk_Learn_R_Solutions
bbc732f1ecd4ae2100bbb25cffccb1c1bfad1bee
6726256ba96e4b2e476cd178c6545d062f2035bb
refs/heads/main
2022-12-25T16:14:42.641284
2020-10-06T12:45:11
2020-10-06T12:45:11
301,722,568
2
0
null
null
null
null
UTF-8
R
false
false
384
r
2_1_6 - tidyverse - Grammar of Data Analysis.R
# 2.1.6 tidyverse - Grammar of Data Analysis # Misk Academy Data Science Immersive, 2020 # Using the tidy PlayData dataframe, try to compute an aggregation function # according to the three scenarios, e.g. the mean of the value. # Scenario 1: Aggregation across height & width # Scenario 2: Aggregation across time ...
58b82379dda66b57bf5d952c751a75f5e9a883e8
580f7956d9545fcbeddcf0c5d4c46daf717e033d
/man/print.survey_definition.Rd
32230fcba8d023dcd563a491313895780c074b91
[]
no_license
cturbelin/ifnBase
a6c1021de0c7d3872dcf0ea16044793d998e89be
4f423ab2acbd5514905c12cd6ab4b1108294d5c8
refs/heads/master
2023-03-03T11:42:00.185716
2023-03-02T04:39:02
2023-03-02T04:39:02
123,335,534
0
0
null
null
null
null
UTF-8
R
false
true
384
rd
print.survey_definition.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/platform.R \name{print.survey_definition} \alias{print.survey_definition} \title{print survey definition} \usage{ \method{print}{survey_definition}(x, ...) } \arguments{ \item{x}{list() recode mapping} \item{...}{extra parameters (print inte...
036ccbfa577dccc05161536e5a770d10ebc63352
61ad55574d696a3ba8701ba556068a13977b6d26
/custom_scripts/qqman.R
367591669482ba80455f623ea9b0ffe9f823a703
[]
no_license
aslavney/XWAS_2017
ebcfa05b29da253a4bb1cca40c0536eb524b69dc
f1d45e44eb7c7871bc66273975f8d912f1ee669f
refs/heads/master
2021-06-18T11:10:24.566674
2017-06-13T22:04:45
2017-06-13T22:04:45
88,672,310
0
0
null
null
null
null
UTF-8
R
false
false
724
r
qqman.R
# Kaixiong Ye's script for generating QQ and manhattan plots from XWAS output args <- commandArgs(trailingOnly=TRUE) if(is.na(args[2])){ stop("Usage:Rscript *.R <input of p values><output basename>\n") } library(qqman) gwasfile <- args[1]; outbase <- args[2]; manfile <- paste(outbase, ".man.pdf", sep="")...
ef9b46e4e209fd62a489cfd663bc6e3d10f896c0
ee7a5fbabb24da2692ff151790ab6674d5dc7b7b
/book/r_in_action/22_classification/decision_trees_classical.R
e7569e22575f53c90d713063d308d4966ca4e7c8
[]
no_license
dataikido/tech
8b0659e8a2beac6422862c88e5bde2ba58a2e093
0a41fbc1d1781bec90d5faee047d36733f636ca7
refs/heads/master
2021-10-20T04:20:30.846356
2019-02-25T19:27:19
2019-02-25T19:27:19
null
0
0
null
null
null
null
UTF-8
R
false
false
937
r
decision_trees_classical.R
# # R in action (2 ed.) # # # Decision trees # 1. Classical decision trees # 2. Conditional inference trees # # Decision trees can be biased toward selecting predictors that have # many levels or many missing values # Load data source("22_classification/example_breast.R") # 1. Classical decision trees # Creating a ...
2b270984ca8102d2aa32bab6a0d35ed5462f87a9
4a0144618a7a0fa179ecaf540467e5897451a420
/tests/testthat/test-geom-timeline-label.R
63530e6dcee71fba8839f2f30f5d113bfbfeb264
[]
no_license
slava-kohut/R-Capstone-SoftDev
556a7ca549589d27d78a2b7394c9ca5c758cb1af
313cf407bc8084c2b470261fb90eb3f6ad4133a9
refs/heads/master
2020-03-20T20:41:52.487524
2018-07-01T18:18:00
2018-07-01T18:18:00
137,701,198
0
0
null
null
null
null
UTF-8
R
false
false
602
r
test-geom-timeline-label.R
context("geom_timeline_label") test_that('geom_timeline_label works correctly', { data("eq_data") p <- ggplot(data = eq_data %>% dplyr::filter(COUNTRY %in% c('COLOMBIA', 'MEXICO', 'USA')), aes(x = DATE, y = COUNTRY, size = EQ_PRIMARY, color = TOTAL_DEATHS, xmin = as.Date('1970-01-01')...
5b61ce1c5279a008b307efc9e33c169a85f1b8da
07552777f40d6410f3f3009a2707105bb5462253
/R/orlm.default.R
bceba76a1b7c866b0f6ee6a260eb389d8678d497
[]
no_license
cran/ic.infer
2bf8d9707d41d79d9cc15d9d0ce3d9f42c88493c
a09ce2542945f6d8bddc28a20f427f8e6ff7527b
refs/heads/master
2021-01-02T09:14:10.937054
2018-01-26T21:01:12
2018-01-26T21:01:12
17,696,740
0
0
null
null
null
null
UTF-8
R
false
false
4,014
r
orlm.default.R
orlm.default <- function (model, ui, ci = NULL, index = NULL, meq = 0, tol = sqrt(.Machine$double.eps), df.error = NULL, ...) { ## this program is used, if model is a covariance matrix ## check model if (!(is.matrix(model))) stop("ERROR: model must be of class lm or a covariance matrix....
72272c9f39fdfcefcb31c2bc27783b932cc3ea7c
8bf41dcf04b0ad00f97e493516f2635593b55ce6
/man/plotDistribution.Rd
1b4a554c6750f68e503ab302d197af96ab8cd4a3
[]
no_license
liangdp1984/psichomics
994942825246d71fc86a88a93b582f18c2cb7e57
3c039cf6f68722e0a1def624c607aca18c8910ec
refs/heads/master
2023-01-24T01:20:49.789841
2020-11-23T12:33:22
2020-11-23T12:33:22
null
0
0
null
null
null
null
UTF-8
R
false
true
6,271
rd
plotDistribution.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/analysis.R \name{plotDistribution} \alias{plotDistribution} \title{Plot distribution using a density plot} \usage{ plotDistribution( data, groups = NULL, rug = TRUE, vLine = TRUE, ..., title = NULL, psi = NULL, rugLabels = FAL...
057bad4fd9d00af7c92c4f5e35bfc3042a8ffd57
68d1df29f7798d633c730766f7e5670bd001dcac
/man/get.pi.permute.Rd
e13b63bb5821f06931b7bf98a9a6312c6790a037
[]
no_license
shauntruelove/IDSpatialStats
1c221becdf5795602b388e76d7649df88fd46f7a
2782d6dcc9ee4be9855b5e468ce789425b81d49a
refs/heads/master
2020-04-25T07:52:29.132425
2018-12-17T18:00:34
2018-12-17T18:00:34
null
0
0
null
null
null
null
UTF-8
R
false
true
1,042
rd
get.pi.permute.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/spatialfuncs.r \name{get.pi.permute} \alias{get.pi.permute} \title{get the null distribution of the \code{get.pi} function} \usage{ get.pi.permute(posmat, fun, r = 1, r.low = rep(0, length(r)), permutations) } \arguments{ \item{posmat}{a ma...