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
a9311e5fa72a49b72d6c3a3a60604de4d89d8065
645a92f8a56687b56fc63b2942f16f6e0401ed82
/lsca/project/03_create_ts.R
4cd9b86561b143d5dec7f0733c11c660a870c63e
[]
no_license
Busyclover/icl
4c8ef6240003f03881527d3f4b6c74fd4ce50560
d13e8545415117ab1759dd0d75a15c9f199d6c63
refs/heads/master
2021-06-20T00:30:42.655511
2017-07-21T09:30:23
2017-07-21T09:30:23
null
0
0
null
null
null
null
UTF-8
R
false
false
1,218
r
03_create_ts.R
library(forecast) make_ts <- function(df) { series <- ts(df$demand, start = 1, frequency = 1) return(series) } fit_hw <- function(ts) { HoltWinters(ts, alpha = TRUE, beta = TRUE, gamma = FALSE) } fit_ets <- function(ts) { ets(ts, model = "ZZZ") } plot_ets <- function(ets_ob) { plot(ets_ob) } make_fitted_...
d417fa99c4ad1201d0a3c4f1dadc61cdf742b48f
d86268c2fdd4195208c3fd5aecab31c324af7bca
/omd/man/intersect_latlon.Rd
e3652e8b905d9ba642e027dfbaa2ac60e53966e6
[]
no_license
bio-datascience/omd
0e2edc61e86c135383b5d4bf29c14c95af026f5f
5f2f532dfe077388f7911cc7999622c4b6a3f8b8
refs/heads/master
2023-08-28T21:44:27.488641
2021-11-02T15:25:02
2021-11-02T15:25:02
null
0
0
null
null
null
null
UTF-8
R
false
true
439
rd
intersect_latlon.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/landcrossing.R \name{intersect_latlon} \alias{intersect_latlon} \title{Make the two data sources share the same lat/lon points; discard the non-overlapping ones. Basically erases a-b from a.} \usage{ intersect_latlon(a, b) } \description{ Mak...
391a1527778b219eb66a14ab898799e90f01da6d
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/DynTxRegime/examples/TxInfoFactorWithSubsets-class.Rd.R
9ab83462e3fcbc162dc51f14c7ad3841dba87c30
[]
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
1,471
r
TxInfoFactorWithSubsets-class.Rd.R
library(DynTxRegime) ### Name: TxInfoFactorWithSubsets-class ### Title: Class '"TxInfoFactorWithSubsets"' ### Aliases: TxInfoFactorWithSubsets-class ### Keywords: internal ### ** Examples showClass("TxInfoFactorWithSubsets") fSet <- function(x1){ subsets <- list("subset1" = c("A","B"), ...
4f849340627d5c546eb41753d16598cbec58b064
e1b485461c40d593bb22d5d2c0e1b88308f494ec
/man/magrittr-package.Rd
22603d3744a5c5b5d239245216cfabe22ab72230
[ "MIT" ]
permissive
tidyverse/magrittr
59eee2624f7d59a23d7473504a87ebf250d694b6
21093d06e43649a72b865811188e77fc8ad87780
refs/heads/main
2023-08-25T01:20:58.243298
2023-03-08T13:30:31
2023-03-08T13:30:31
15,564,525
625
138
NOASSERTION
2022-08-12T07:58:20
2014-01-01T13:30:01
R
UTF-8
R
false
true
2,265
rd
magrittr-package.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/magrittr.R \docType{package} \name{magrittr-package} \alias{magrittr} \alias{magrittr-package} \title{magrittr - Ceci n'est pas un pipe} \description{ The magrittr package offers a set of operators which promote semantics that will improve yo...
d778ce4d251a8141ae5d12610c3869c81ededb87
cefda39ba106202c799d86c598ec5d9cf448c631
/3/3_code.r
ec5d999df17f250ec04543508c53b89a6f5eb35d
[]
no_license
umarayo/techjam2017
676e6a18e15203c5d41935fad14eaf1ad3c63180
26df82b1a1291437cd422dbb5e3b8fda9d7bcdec
refs/heads/master
2020-03-28T00:06:48.553765
2018-09-04T16:37:32
2018-09-04T16:37:32
147,376,415
0
0
null
null
null
null
UTF-8
R
false
false
7,468
r
3_code.r
########## Version 1.2 - Score 88.525/100 ####### ## Install packages - First time only # install.packages("dplyr") # install.packages("xgboost", repos="http://dmlc.ml/drat/", type = "source") # install.packages("data.table") ## Load packages - First time only # library('dplyr') # data manipulation # library('xgboo...
51420e35b977b544a1740a143e193b11593c25ec
7a6be82ecc13a6deafa51b207915b08336486d91
/ARD piece wise regression.R
396cc2e2cb81a2c6fdb756f6c9bd96ea8bccb0fa
[]
no_license
anerigarg/MSc_data
e60ab5293b382a3280b7688bddddbb399bd578d3
37b52f80204d8a02d605b3380003e2fc40cee6ab
refs/heads/master
2023-01-24T11:16:27.387328
2020-12-08T19:37:44
2020-12-08T19:37:44
285,697,250
0
0
null
null
null
null
UTF-8
R
false
false
156,874
r
ARD piece wise regression.R
# Piecewise Regression # data files -------------------------------------------------------------- ARD_3_with_0 <- read_csv("Artificial coral experiment/data/Art Recruit data/filter 0 values/test ARD_3/ARD_3_with_0.csv") ARD_3_with_0 <- ARD_3_with_0 %>% mutate(treatment = factor(treatment, levels = c("con...
2df1e2218a14ad593be0f2623b591ca92acd7c71
decfe1249ce71079bf978e977a578a7cd4221837
/man/annotate_variants.Rd
c53f49e352f23d5822453e4e164adc0f129a3e2b
[]
no_license
tubuliferous/bedanno
817ffb2f5350122f4cd4eab7745f40469ec6e7aa
0c37c4516313c7b69b38cf1ff0070639a9a7239f
refs/heads/master
2021-01-19T03:00:21.568970
2016-12-12T21:29:29
2016-12-12T21:29:29
43,706,348
0
0
null
null
null
null
UTF-8
R
false
true
574
rd
annotate_variants.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/main_functions.R \name{annotate_variants} \alias{annotate_variants} \title{Annotate a data.table with binary annotations.} \usage{ annotate_variants(bed_dir_path, variant_path, cores = 1) } \arguments{ \item{bed_dir_path}{A character.} \item...
9bdb0aecacb7c87b49c99fe26ce521294b80b4c8
9d78022b44892e6b14045a40eeb4421ac8b69903
/code/baseline/create-baseline.R
6ba75e2a458050aeca2c128844993b383c69f85a
[ "MIT" ]
permissive
seabbs/covid19-forecast-hub-europe
a143811b368cd787a9c8d94d413fc8f2d04e6108
3c0a4113a003a4c91c4cfd820b61693bd52fe867
refs/heads/main
2023-09-02T17:46:25.553455
2021-10-19T12:41:05
2021-10-19T12:41:05
345,817,566
0
0
NOASSERTION
2021-03-08T22:52:27
2021-03-08T22:52:26
null
UTF-8
R
false
false
1,140
r
create-baseline.R
library(dplyr) library(purrr) library(lubridate) library(yaml) library(covidModels) library(here) library(readr) library(EuroForecastHub) model_name <- "EuroCOVIDhub-baseline" model_folder <- here("data-processed", model_name) if (!dir.exists(model_folder)) { dir.create(model_folder) } hub_quantiles <- get_hub_conf...
9689738556a034c02d89b141a3faf401c7f4f527
1ec9989c095b9399e2b5acb9d9524cb8eb7ac6be
/heritability/ACE_wcovariates_Saturated_nested.R
8a6f4d34fe46d6339a40fffead2db6b76cbacdc6
[]
no_license
haitaoge/Heritability
a4c71360f6207c466b8ff84a8233d3df867d3ae9
80b6f925b1827502d7d4cdeef33b1c7bb3acf900
refs/heads/master
2021-09-26T18:03:28.828166
2018-11-01T07:07:29
2018-11-01T07:07:29
null
0
0
null
null
null
null
UTF-8
R
false
false
13,487
r
ACE_wcovariates_Saturated_nested.R
#---------------------------------------------------------------------------------------------------------------------- # Twin simulate # DVM Bishop, 11th March 2010, Based on script in OpenMXUserGuide, p 15 #--------------------------------------------------...
a3b5bd5075b84237d9b435da8cf99d6800927d2d
0229705f89eb090f7bc5b7899dc07e7609e2cc80
/R/parse.expression.R
99cb75e192480ed31fa4a982345e1b89fb7a4537
[]
no_license
cran/causaleffect
d77a060d14f6d985b355c6b743c947bd8093a751
687d5177aa178cb89782fd496523c0e1f3ceb9f5
refs/heads/master
2022-07-24T03:48:40.739576
2022-07-14T08:10:05
2022-07-14T08:10:05
24,474,611
5
6
null
null
null
null
UTF-8
R
false
false
3,219
r
parse.expression.R
parse.expression <- function(P, topo, G.unobs, G, G.obs) { if (P$fraction) { P <- cancel.out(P) if (P$fraction) { P$den <- parse.expression(P$den, topo, G.unobs, G, G.obs) if (length(P$den) == 0) { sum_p <- P$sumset P <- P$num P$sumset <- union(sum_p, P$sumset) %ts%...
7ca90c19a7c47fcf13aaa8acd9f60995dd467f45
59eae2d3aea156f68a046ffc7fae33440260eca4
/dwf_analysis.R
c7a64fac6b1a3a31cbd39dc9ff38cdb5991612aa
[]
no_license
dleutnant/dwf_detect
36b5ad732996c9e064a949be5187e5a04351eff8
965c71830b4f0ccb5387a7f314aadbcd724ad9ff
refs/heads/master
2021-01-22T21:54:15.910919
2017-07-02T12:09:50
2017-07-02T12:09:50
92,744,546
1
0
null
null
null
null
UTF-8
R
false
false
8,782
r
dwf_analysis.R
## calculate similarity of daily discharge patterns #' Get Dry Weather Flow Patterns #' #' @param x The discharge time series (xts) #' @param h Height of Cluster (defaults to 0.1) #' @param separate_weekend logical. Should the dry weather flow separately analyzed? #' @param make_equidistant logical. Should the time se...
52c8638e91a3ad0eb1990e6c9723fae6409305b4
7b74f00cd80694634e6925067aaeb6572b09aef8
/2019/Assignment/FE8828-Arihant_Jain/Assignment 1/app.R
0b068304ff7b59f7648a637c9f571dfebe6792f6
[]
no_license
leafyoung/fe8828
64c3c52f1587a8e55ef404e8cedacbb28dd10f3f
ccd569c1caed8baae8680731d4ff89699405b0f9
refs/heads/master
2023-01-13T00:08:13.213027
2020-11-08T14:08:10
2020-11-08T14:08:10
107,782,106
1
0
null
null
null
null
UTF-8
R
false
false
6,157
r
app.R
library(shiny) # install.packages("shinythemes") library(shinythemes) companyName<-"Roam With ReOm" selectedTheme<-shinytheme("cerulean") headerPanel<-titlePanel(tags$a(h1(companyName), style = "font-size:50px;text-align:center;",href="javascript:history.go(0)")) #page1 page1pic<-HTML('<center><img src="pic_1.jpg" w...
98ee14e6f5da003676ea3f63d433a60deefd91dc
706507a316e89c92eafbe64bdccc30849c0d29bd
/CLIRUN/Senarios/CRMPUPCODE.r
5d202ec3dfff96a940dfa5277a01009f791207b4
[]
no_license
sfletcher23/Fletcher_2019_Learning_Climate
84141ac42354aa11ff8a4187a03c95405562d1a4
9f1aca15e7001062249a8b39f92ff59323445a27
refs/heads/master
2021-07-01T01:54:01.431167
2020-10-01T19:49:35
2020-10-01T19:49:35
166,290,544
3
2
null
null
null
null
UTF-8
R
false
false
540
r
CRMPUPCODE.r
library(base) setwd("C:/Works/Vietnam/Model4/OutputData/data/sim") Allf <- matrix(scan("Allout.txt"),1200,1254) dd= (1:1200)*0 for( i in 0:56) { dd=cbind(dd,Allf[,(i*22)+7]) # [,(i*22)+DD]) DD is the subbasin number ranging from 1:22 } dd=dd[,-1] summ=matrix(0,100,57) for(i in 1:100) summ[i,]=apply...
f7e394f3c7dc6c798f1d748cf00b5119f2c0bba2
07b5d358a2ba2ec11a9744903e0ffd8b6adbfef4
/09_dCamp - Data Manipulation in R with dplyr.r
4a6b360ecb6b5bc4747b9f17ead77617a858cfd7
[]
no_license
Foudzz/DataCamp-DS-for-R
b1908d85e696f169697a069a988be686fc9d3b0e
b7d9572d79937ed8b081f5e1ce7ed065f25ab583
refs/heads/master
2020-07-02T20:15:01.162386
2019-01-24T21:48:41
2019-01-24T21:48:41
null
0
0
null
null
null
null
UTF-8
R
false
false
12,706
r
09_dCamp - Data Manipulation in R with dplyr.r
# -------------------------------------------- # ---------- Data Manipulation in R --------- # -------------------------------------------- library(hflights);library(dplyr) # done; install.packages("hflights") # Both the dplyr and hflights packages are loaded # Convert the hflights data.frame into a hflights tbl...
826d384bc266b70e78e268ec859c17e756caead2
5b75e203e114bbf720c0476868bce4f8a38ed52c
/Análisis Discriminante.R
de65391f798155250bdc402a463f55057d86f123
[]
no_license
DataLabUsal/BloodPrediction
67a6228393b5e3ecdeeaa7fece12fdcca6b04524
78fa77960a751fec0d74baa68e36cc9094bf06a7
refs/heads/master
2021-01-01T04:35:00.671037
2016-05-25T09:47:26
2016-05-25T09:47:26
59,094,843
1
0
null
null
null
null
UTF-8
R
false
false
384
r
Análisis Discriminante.R
#Anális discriminante library(MASS) rld <- lda(dona_Marzo2007~n+ultima_don+primera_don,data = Training) plda <- predict(object = rld, newdata = Training_Data) res <- plda$posterior[,2] library("ROCR") #Prediction pred <- prediction(res,Training_Data$dona_Marzo2007) #Performance perf <- performance(pred, "tpr","f...
5284b3fa757225a507a067b2415a884ef8fc8447
04ec8bd151b04d9836122bc2d088d04c3164e7ca
/Player_Effect_Model.r
e577499bf7cc2a5ad0e49483082ab896598a631f
[]
no_license
dcbasley18/xGoals
c366d5c872a3f558a37fb5b5cfbc5735fb41cfdb
ca764558b28924df4391fdbb0b7c6757447404be
refs/heads/main
2023-06-25T17:41:49.757867
2021-07-30T02:18:18
2021-07-30T02:18:18
385,971,076
0
0
null
null
null
null
UTF-8
R
false
false
2,299
r
Player_Effect_Model.r
data <- read.csv("shot_ages.csv") library(lme4) player_effects_ages <- glmer(goal ~ arenaAdjustedShotDistance + shotAngleAdjusted + shotGeneratedRebound + shotRush + (1|shooterName) + (1|goalieName) + ns(shooterAge, df = 6)...
ddab5b201dc41e8a11a7714b56d22fb1db2f8b7d
e9d90b9b16a7ce9571f9d37cfb289e2791dbdd67
/R/bank.R
297699972c8913a4ac2dfe389cb54b94de16edd7
[ "MIT" ]
permissive
Jgosr/multiserver
0eec73a2656f7892fa25611a116a04c4f98df393
1cfc82b0e5484f48f586f8f839620c56e2fe6538
refs/heads/master
2023-09-06T00:18:11.468077
2021-10-15T09:20:08
2021-10-15T09:20:08
415,495,012
0
0
null
null
null
null
UTF-8
R
false
false
301
r
bank.R
#' Arrival time and service duration of customers #' #' A dataset containing the arrival time and service edit #' #' @format A data frame with 100 rows and 2 variables: #' \describe{ #' \item{arrival_time}{Arrival time of customer} #' \item{service_time}{duration of service} #' ... #' } "bank"
527a98b9c22ea4dd37750220ecabe9ac27c1d21a
b2f61fde194bfcb362b2266da124138efd27d867
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Database/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/query49_query48_1344n/query49_query48_1344n.R
21a48484996ea56b24ea1a4c403b2229ae4eba3a
[]
no_license
arey0pushpa/dcnf-autarky
e95fddba85c035e8b229f5fe9ac540b692a4d5c0
a6c9a52236af11d7f7e165a4b25b32c538da1c98
refs/heads/master
2021-06-09T00:56:32.937250
2021-02-19T15:15:23
2021-02-19T15:15:23
136,440,042
0
0
null
null
null
null
UTF-8
R
false
false
73
r
query49_query48_1344n.R
8b15f16c9c726c1fedaac9b72204fe86 query49_query48_1344n.qdimacs 8207 46574
64e601ef35029f8aa7138e7d1b80dc43187a191d
184d33fbe6d0ab73a260d0db9d3849df00d33786
/rcmdr.temis/man/specificTermsDlg.rd
6018689f65a432217fd2853a65f76744b5ab50c6
[]
no_license
nalimilan/R.TeMiS
65660d9fbe4c8ca7253aeba5571eab4445736c99
3a8398038595807790087c36375bb26417ca606a
refs/heads/master
2023-04-30T18:04:49.721122
2023-04-25T19:45:04
2023-04-25T19:45:04
81,315,737
25
7
null
2020-06-29T21:45:06
2017-02-08T10:07:16
C
UTF-8
R
false
false
2,348
rd
specificTermsDlg.rd
\name{specificTermsDlg} \alias{specificTermsDlg} \title{List terms specific of a document or level} \description{List terms most associated (positively or negatively) with each document or each of a variable's levels.} \details{Specific terms reported here are those whose observed frequency in the document...
5206ec9585445422d95eab6fbba3cb31b4e6db83
5095e821a79abf1784b4b3909f183621139af4b7
/cachematrix.R
2cb1484f13fb46a815b0b5aa8ba1cecadd7ddd53
[]
no_license
efrainhr/ProgrammingAssignment2
1e424eb471e1af399d36c28e092e581700993c93
ef053ebbe11f8165fcc7672f65428c365ddb4f88
refs/heads/master
2020-04-30T12:14:18.507554
2015-04-26T18:29:58
2015-04-26T18:29:58
34,590,360
0
0
null
2015-04-25T23:32:57
2015-04-25T23:32:56
null
UTF-8
R
false
false
1,581
r
cachematrix.R
## This is an adapted version of the vector-mean function provided by Prof Peng. ## This R function was written as a requirement of the R Programming course from ## Coursera's Data Science Specialization (programming assignment 2). The ## purpose of the exercise was to develop a function that could cache the ## inverse...
281a4b4603826b4b6726ff541418bd55c033b2a4
93356416c6941126c3627edccabb08696d10dd05
/phospho_network/regression/plot/overlap_multi_single_model.R
c4df889d204cf07088c7c0dc5eeeee7becc3b9f8
[]
no_license
ding-lab/phosphoproteomics
22c9a69127e7397c54dddba044d4588b495f21c5
00538a56143be08c0fffae8df6dd54f2bfdd4734
refs/heads/master
2021-03-19T06:18:15.490109
2019-04-25T21:36:45
2019-04-25T21:36:45
90,892,479
0
0
null
null
null
null
UTF-8
R
false
false
8,257
r
overlap_multi_single_model.R
# Yige Wu @ WashU 2017 Feb # choose kinase/phosphotase, significance level, outlier threshold and least sample number------------------------- protein <- "kinase" # protein <- "phosphotase" # library ----------------------------------------------------------------- library(stringr) library(ggplot2) library(reshape) ...
708b96832b23e590d4c8309d575ed66de558f2e0
9e34d50d9ebcc34732a5aa987966f080cbb980dc
/plot1.R
30a2f3037755ec0631ad05f07e2a9fbfaef3369e
[]
no_license
KathrynAlexander/Exploratory_Data_Analysis_Plotting
a8c691a846ebf8ac8d84fea59c236a1b308739b6
0f334521a65d4deeb4471aafb96307cbac9faaaf
refs/heads/master
2022-01-31T02:19:13.244137
2019-06-24T00:00:49
2019-06-24T00:00:49
null
0
0
null
null
null
null
UTF-8
R
false
false
2,235
r
plot1.R
## Course 4 Week 1 Project 1 Plot 1 Histogram ## Data at https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip setwd("C:\\Users\\Kathy\\Desktop\\RRR\\datasciencecoursera\\Course4Week1") ## Set working directory if (!file.exists("data")) { dir.create("data") } ## Create directo...
941b1ef02f32ac95eecda60fa5f87a4777d28256
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/Rsampletrees/examples/estimateHap.Rd.R
74a41050504dc5fe2fb8ea727df4d3f49f7a942f
[]
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
902
r
estimateHap.Rd.R
library(Rsampletrees) ### Name: estimateHap ### Title: Estimate and write haplotype probabilities and initial values to ### files ### Aliases: estimateHap ### ** Examples #\dontrun{ #system.file("Examples/geno_Theta8_Rho8.txt",package="Rsampletrees") #system.file("Examples/locations_Theta8_Rho8.txt",package="Rsam...
dc0ee9e45a3940f0992438ba786f88999cfc35c5
3aaa4d40f3592f5df07f3cd33b961c9028b8b2ed
/R/src/batch_effects_old.R
2b0585cfcf2c81f4acedccf945a5d6e6f516d58d
[]
no_license
alzel/kinase_swath
c25132be35a79039536bccf7083152d47a6cea7c
24a3c0a5d7c6264448c7e3ea4f06bab817c98f8c
refs/heads/master
2020-12-25T17:24:48.200444
2017-07-05T12:57:30
2017-07-05T12:57:30
39,252,993
0
0
null
null
null
null
UTF-8
R
false
false
19,940
r
batch_effects_old.R
#!/usr/bin/env Rscript rm(list=ls()) source("./R/functions.R") source("./R/boot.R") plots.list = list() fun_name = "batch_effects" ## ---- data_load ---- load("./R/objects/peptides.data.RData") # clean.R::prepare_peptides() load("./R/objects/experiment.map.RData")# load.R::load_batch_map() load("./R/objects/dates_map...
cafed3f63616a9f029c1e3c6a216afd739fc5778
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/611_44/rinput.R
0d71a590d20d4181a9651a6abd79eb042114ea96
[]
no_license
DaniBoo/cyanobacteria_project
6a816bb0ccf285842b61bfd3612c176f5877a1fb
be08ff723284b0c38f9c758d3e250c664bbfbf3b
refs/heads/master
2021-01-25T05:28:00.686474
2013-03-23T15:09:39
2013-03-23T15:09:39
null
0
0
null
null
null
null
UTF-8
R
false
false
135
r
rinput.R
library(ape) testtree <- read.tree("611_44.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="611_44_unrooted.txt")
025daf9f30c416cf02e6e87450161d745216ecb4
acb3220d40b4244819c3515e5e69613dcb710ebc
/DataPartition.R
8a4059a2ed428338369b9242b4768c409e3264e7
[]
no_license
IncharaManjunatha/analytics1
cad0b59a3c252f7ee2e3a5d206b46a3de9f46eb0
5df2d9fcf55468af812dcbd791f0c82b1c13fa02
refs/heads/master
2020-03-26T20:06:41.913479
2018-08-21T18:06:03
2018-08-21T18:06:03
145,305,301
0
0
null
null
null
null
UTF-8
R
false
false
890
r
DataPartition.R
# partition the given data into train and test data mtcars dim(mtcars) library(caret) # helps partition data for classification #index-createDataPartition(y=mtcars$am, p=0.7, list=F) # mention probability index = sample(x=1:nrow(mtcars), size=.7 * nrow(mtcars)) # .7 *32 index train=mtcars[index,] test=mtcars[-index,...
15fb819ff9a9df761fdfd48d1f2b1aa59ccf01d1
04bf444bf40498ba6672d8558b6aac2e7b2c8031
/vectors-basic-operations-and-subsetting.R
3fdd96c5205083ecd7d2a3b180b3b414a0355a87
[]
no_license
triadicaxis/quickr
dea5bb836dce9ece41c614db002bf7477f0a70e2
784723c3ac9a43304257788abcd7d0a2dc2e066a
refs/heads/master
2020-03-11T11:10:19.392031
2019-10-21T14:54:12
2019-10-21T14:54:12
129,503,198
0
0
null
null
null
null
UTF-8
R
false
false
753
r
vectors-basic-operations-and-subsetting.R
## A vector sequence can be any data type, and run in both directions and over zero v1 <- c(1:10) v2 <- c(10:1) v3 <- c(-5:4) v4 <- c(5:-4) v5 <- c(1,2) v6 <- c(-1,4,-7) v7 <- c("Joe", "Alice", "Bill") v8 <- 3 v9 <- c("a", "b", "c") v10 <- c("male", "female") ## Multiply a vector by a constant (works for any operati...
bf290c79a70672985a6c786ca4bba139a98aedcd
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/13042_0/rinput.R
3b9263755eec106a44d35db4b1336977b5e1e586
[]
no_license
DaniBoo/cyanobacteria_project
6a816bb0ccf285842b61bfd3612c176f5877a1fb
be08ff723284b0c38f9c758d3e250c664bbfbf3b
refs/heads/master
2021-01-25T05:28:00.686474
2013-03-23T15:09:39
2013-03-23T15:09:39
null
0
0
null
null
null
null
UTF-8
R
false
false
137
r
rinput.R
library(ape) testtree <- read.tree("13042_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="13042_0_unrooted.txt")
f0b66875b74d23f48363858c02ac02a3359d0f39
0d1ac132e88e9e2640405c2503279bdaf660ce3b
/man/st_stars.Rd
c3554bd8e2361cc9bacd4e52f6c9da862c52e7fe
[]
no_license
nemochina2008/stars
ac3a7ead343f4cf2333e995afe8bdb20ee114507
3925bd04d73005834d6f7723bba3ee6bc7928c6b
refs/heads/master
2021-01-23T11:40:00.991962
2017-09-05T15:02:28
2017-09-05T15:02:28
null
0
0
null
null
null
null
UTF-8
R
false
true
612
rd
st_stars.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stars.R \name{st_stars} \alias{st_stars} \title{read raster/array dataset from file or connection read raster/array dataset from file or connection} \usage{ st_stars(file, options = character(0), driver = character(0)) } \arguments{ \item{fil...
7a8c7d492ae94a588315fe30cfb7619d6a0d77f4
b867e556609b6530ccb820922c98a2612a30d9f1
/Data analysis/R_Scripts/R_Script_22_Identify_Asian_hot_pop_by_nation_GRUMP.R
fe010854c8a744d4c4d7cf94ca002eb6d93d24b4
[]
no_license
crstn/CISC
3b2bf07dbdb6bd60908dc039e7ce028c4e4a43f8
03cda57e7c29309e31547f2d159468b242792f6b
refs/heads/master
2021-03-30T16:52:56.148550
2020-07-15T09:00:48
2020-07-15T09:00:48
41,560,065
0
0
null
null
null
null
UTF-8
R
false
false
3,800
r
R_Script_22_Identify_Asian_hot_pop_by_nation_GRUMP.R
# ======================================================================================================= # DESCRIPTION: This script collects all the 15 day heat wave national population files and selects only # nations in Asia and the population experiencing very warm heat indices (>42C). It outputs...
5f4512fffbeaa5b3defa3c2d7a3b6de7c302d412
cdc0504ea03ec5c439006f1e47bbc618fb983ba0
/man/allo.Rd
7e7a0310712fcb8d9556e14cc182915f4101ac7f
[]
no_license
jvanschalkwyk/corona
a0ae3df8ff81199b848747f2133d685c40b5f1d4
5d4621092cc8bb3772595ea5b50390cfcd564098
refs/heads/master
2022-12-24T20:43:37.738883
2020-10-01T01:34:55
2020-10-01T01:34:55
270,596,873
0
0
null
null
null
null
UTF-8
R
false
true
507
rd
allo.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{allo} \alias{allo} \title{Allometric scaling data.} \format{ A data frame with 455 rows. \describe{ \item{Species}{} \item{Mass}{} \item{Temperature}{ } \item{MR}{Metabolic rate} \item{AvgMass}{} \item{Q10SMR}{ } \...
ae4555bb59785a9c96d9b043439aa4797e2132bc
ab7890a5fcc4becdb084fad38a46fd8afee0fd90
/man/read_Licor.Rd
62164adf574ff91e5f67563e09694d79aa5f9b02
[]
no_license
erikerhardt/RLicor
521f8889d8fdc0489841cf15384eedc9202a8cbf
82d8274f76a921fe503fb979661ab1b69361a7aa
refs/heads/master
2020-06-03T19:17:44.796011
2019-07-03T00:00:46
2019-07-03T00:00:46
191,699,209
2
2
null
null
null
null
UTF-8
R
false
true
579
rd
read_Licor.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_Licor.R \name{read_Licor} \alias{read_Licor} \title{Read Licor 6400 and 6800 files} \usage{ read_Licor(Licor_fn, sw_model = c("autodetect", 6800, 6400)[1], n_header_rows_min = 100) } \arguments{ \item{Licor_fn}{Licor file to read} \it...
46987f232521005b614c2d404e17eaf31257b06c
8bd212daf8d8af52df1d2c0f8cd12c2d7cb404cf
/man/apa.regression.Rd
1897d316c11b119b4aec795118cf557df65402d6
[]
no_license
cran/apaStyle
dfaa541b607740db073c600b2e1625a888f88b6e
96b638e2c93e376ca180b865884c13152dbf1e4c
refs/heads/master
2020-04-07T06:40:12.359664
2017-03-29T20:27:31
2017-03-29T20:27:31
48,076,638
1
1
null
null
null
null
UTF-8
R
false
true
1,440
rd
apa.regression.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/apaRegression.R \name{apa.regression} \alias{apa.regression} \title{Generic method to generate an APA style table with regression parameters for MS Word.} \usage{ apa.regression(..., variables = NULL, number = "XX", title = "APA Table",...
107d4e9b4fb074a9cc8612a40ab63e7f4142596e
9423c8fe8a160eaebf5f47d428631c4a4eac109c
/tests/testthat/test-locations.R
7ef8596d0db40b3355092ba5c5a8f7c992241f61
[]
no_license
cran/spew
2cfd5f555b4a8a501cc26e9349f8362e5b3ff767
ae60d628773c832be0c290a079bf55aad390bab7
refs/heads/master
2021-07-24T20:57:16.344473
2017-11-03T22:28:38
2017-11-03T22:28:38
109,451,817
0
0
null
null
null
null
UTF-8
R
false
false
4,510
r
test-locations.R
context("Location Sampling") test_that("Single and Multiple Polygons", { library(sp) data(delaware) row <- delaware$pop_table[17, ] multiple_polygons <- sample_locations(method = "uniform", place_id = row[, "place_id"], n_house = row[, "n_house"], ...
544d0d18d8f8dc0eaad58fe1c1c911a082976888
31a52f916e5e09f5153389b6d8addde83e0776ed
/hospital_data.R
75f39e443176e9f370f8fb8fcd5339b60964dcb9
[]
no_license
kostask84/snakebite
119bc42fe460639a245543512ba78dbb15c68589
e15bb2aae3f31d8728c3f4c1a3b0f4d1e739a69d
refs/heads/master
2020-03-28T14:39:06.094507
2018-04-25T20:38:58
2018-04-25T20:38:58
null
0
0
null
null
null
null
UTF-8
R
false
false
2,932
r
hospital_data.R
# compare hospitals # clear workspace rm(list = ls()) # load required packages pacman::p_load(raster, foreign, reshape2, ggplot2, scales, RColorBrewer, seegSDM, rowr) # set working directory setwd('H:/Work/Snakebite') # load in travel time surface travel_surface <- raster('rasters/accessibility/accessibility_50k+_20...
fe03c3be4b4debbdf42a18b0a46dbb7bf9699475
3fc85cb0c150aa24803fea713a0c611b70cc6bde
/Scripts/1_RIntro_basic.R
cc9355af8c405d079117f63ad47cfa0b5e2e04a5
[]
no_license
xime377/IIAP
4e3dbba3648f1837aa913f62dee66652286b0c5a
45387a1545821a0f1077ddf0218be8f27f4dab53
refs/heads/master
2021-05-02T17:34:02.612566
2017-12-08T23:04:30
2017-12-08T23:04:30
null
0
0
null
null
null
null
UTF-8
R
false
false
2,992
r
1_RIntro_basic.R
##%######################################################%## # # #### Our first R script #### #### Mirza Cengic | mirzaceng@gmail.com #### # # ##%############...
b97a26c86e9f957bf63ac51356bcab4e3a8bcbab
b624e44d581e5bf57d80002e418c5e74ab2861ef
/mtcars_automatic_vs_manual_transmission/ui.R
ce9374421db5c395844288c0f2d5eb6b996965e3
[]
no_license
delta-peg/data-products-shiny
ab1aad4b43c022f177527b5cd445e99896ff8b12
ded072a53f5fb0dd56e816802c4f339b0381aeab
refs/heads/main
2023-08-28T07:55:27.177873
2021-11-15T12:42:48
2021-11-15T12:42:48
428,160,933
0
0
null
null
null
null
UTF-8
R
false
false
1,984
r
ui.R
# # This is the user-interface definition of a Shiny web application. You can # run the application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(shiny) # Define UI for application that draws a histogram shinyUI(fluidPage( #...
3e4d847f7f62371634ac2a5770024090d621fc88
036846d7f4c99713352b6d18907504148927b442
/two-file-analysis_funcs.R
2f394cacee341e3064d590d8ea90a63369175112
[ "CC0-1.0" ]
permissive
jdnewmil/FunctionsTalk
4a5dc7d9d4768e0d22d153cca78a6a0485687f15
d05cb56cab25ace2db6fe8c4326494f33c89f050
refs/heads/master
2023-08-14T02:05:30.252282
2021-09-15T01:12:58
2021-09-15T01:12:58
399,001,864
1
0
null
null
null
null
UTF-8
R
false
false
1,713
r
two-file-analysis_funcs.R
# two-file-analysis_funcs.R my_spacy_reader <- function( fname ) { lns <- readLines( fname ) lns <- lns[ -2 ] # removes the second element connection <- textConnection( lns ) dta <- read.table( connection , header = TRUE , sep = "," ) close( connection ) dta # h...
47ac9c65f92251925311b4f81672edacc8eb9af0
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/stampr/examples/stamp.stgroup.summary.Rd.R
5db97fa108b87e86bc7c9c50117371192a26430b
[]
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
392
r
stamp.stgroup.summary.Rd.R
library(stampr) ### Name: stamp.stgroup.summary ### Title: Compile stamp summary statistics by space-time group ### Aliases: stamp.stgroup.summary ### Keywords: stamp ### ** Examples library(sp) data("katrina") katrina$ID <- katrina$Id ch <- stamp.multichange(katrina, changeByRow = TRUE, dc = 0, distance = TRUE, di...
e8e9a5bede16c1c8a8dd340308f711cba21a5da7
5ffbed587f1de0db8dc8ebb910e71c77f083fc41
/uit.R
29c081e5b1143ebc76e020c69fdbd259d68af07c
[ "MIT" ]
permissive
wanruofenfang123/MVNtest_SpatialDependence
4aafbb281a4cf00ea09d99c8aa6b7c789312fe0a
41ed4c0e14860d46626e933dc547bf858c623781
refs/heads/main
2023-08-14T13:53:42.911813
2021-09-26T01:15:32
2021-09-26T01:15:32
302,851,457
0
0
null
null
null
null
UTF-8
R
false
false
591
r
uit.R
## union-intersection test uit <- function(coord,x, K, alpha) { n <- nrow(x) p <- ncol(x) pp <- rep(NA,K) for (i in 1:K) { theta <- runif(p,0,2*pi) a <- cos(theta) y <- x %*% a pp[i] <- univariate_normality_test_spatial(coord, y) } p_ordered <- sort(pp) # R <- ifelse(length(whic...
f3b90581f7ad992833cc13617fd590187246f416
f209b0dd46cac6e125bea6e4edb20e199c1bd264
/R/pkg-wrapper-shinyWidgets.R
bbf42d861dc294be7df245993c742d22df79e9ee
[]
no_license
hzongyao/confuns
6618c8936c5673eb06130549865446ffd3c960ab
79ea2e376029bbd976191a136c4247cde119c7d3
refs/heads/master
2023-05-14T19:46:24.487730
2021-06-04T05:07:53
2021-06-04T05:07:53
null
0
0
null
null
null
null
UTF-8
R
false
false
2,492
r
pkg-wrapper-shinyWidgets.R
#' @title Picker inputs #' across_picker_input <- function(ns, id = "across", choices, selected = "condition", ...){ shinyWidgets::pickerInput(inputId = ns("across"), ...
6270a5cf6299125d1491d324186a8051bc2897fa
bc55076d2ca0537d0ce209eaaf4d436ab4a54fcc
/man/genNeighbors.Rd
d8398e37a11aa68e327f6ec238e69804310e9b6c
[]
no_license
heike/peptider
a2aed62468b07ca975b0226a0dfd326582b1b821
13cdd69ad9fc6dbc3079e48466af28d31ccd886c
refs/heads/master
2021-01-18T23:33:14.189324
2016-06-28T11:48:59
2016-06-28T11:48:59
10,589,876
0
0
null
null
null
null
UTF-8
R
false
true
804
rd
genNeighbors.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/peptider.r \name{genNeighbors} \alias{genNeighbors} \title{Calculate neighborhood distribution} \usage{ genNeighbors(sch, k) } \arguments{ \item{sch}{library scheme} \item{k}{length of the peptide sequences} } \value{ dataset of peptide sequ...
fe3783c8006b097901bcf1cceea808a6b62399ed
7c210bf1d85690915e99065a269336126914971e
/iris_practice.R
a43560bef343b09d54678f20a3be41a8f0ad5446
[]
no_license
ariasmiguel/tidyverse
4c5e1411fa87dc3cd221c999ef4fd20d9411fb4d
ea1b7b40e0e0e18797fc087ab1f14e86eab18163
refs/heads/master
2021-01-21T13:35:03.597505
2017-10-04T15:30:40
2017-10-04T15:30:40
102,133,802
1
0
null
null
null
null
UTF-8
R
false
false
1,067
r
iris_practice.R
library(tidyverse) library(stringr) #------------------ # CONVERT TO TIBBLE #------------------ # – the iris dataframe is an old-school dataframe # ... this means that by default, it prints out # large numbers of records. # - By converting to a tibble, functions like head() # will print out a small number of rec...
e54b4234ba76947e57171ff04e2b2abf9d276668
36ee8ef39604c54293f736c27ebfe9dc056fc9a9
/man/bestcub.Rd
dcc67efdb5af232112bfa139bab92f9833e3a4f7
[]
no_license
CristianPachacama/FastCUB
1ff026db7c67d742333ecbe90f2a89198a74ea5a
8a121f3d581ca08d097a8367dc1d5679d767b229
refs/heads/master
2021-01-03T01:49:28.489962
2020-01-31T16:00:17
2020-01-31T16:00:17
239,865,798
2
0
null
2020-02-11T21:13:56
2020-02-11T21:13:55
null
UTF-8
R
false
true
3,081
rd
bestcub.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bestcub.R \name{bestcub} \alias{bestcub} \title{Best-subset variable selection for CUB models via fast EM algorithm} \usage{ bestcub(ordinal,m,Y,W,toler=1e-4,maxiter=200,iterc=5,alpha=0.05,mix=FALSE, tolmix=1e+2,fmix=NULL,invgen=TRUE,v...
e03f8ebf9b0d9c798f73859fb9daa1bce45e8744
da66a906009814737731f41805d220976737d80b
/Code/meRcury mass download.R
463f962bc9b9fb68beea8fe522fd25daddfa4fbe
[]
no_license
hwalbert/GiveMercuryAMoon
7b22bbcdf72c0cac8110647362bb28dafe8c1874
da796b2e519c8c56701f30c75fe0c3b46b265b2f
refs/heads/master
2020-03-30T05:24:05.829964
2018-12-14T05:15:39
2018-12-14T05:15:39
150,796,680
0
0
null
2018-12-09T22:11:09
2018-09-28T21:33:03
R
UTF-8
R
false
false
10,231
r
meRcury mass download.R
# USER INPUT # set directory location<-'/Mercury Challenge/code and data/Data/' # install.packages('lubridate') # install.packages('icesTAF') # install.packages('purrr') library("meRcury", lib.loc="C:/Program Files/R/R-3.5.0/library") library(lubridate) library(icesTAF) library(purrr) library(stringr) library(tidyr) ...
bad3a047996f5e1eb8ad4168635ed14e245001c8
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/higlasso/R/higlasso.R
9fb1afc7e91c459569837edc8d26840379496341
[]
no_license
akhikolla/testpackages
62ccaeed866e2194652b65e7360987b3b20df7e7
01259c3543febc89955ea5b79f3a08d3afe57e95
refs/heads/master
2023-02-18T03:50:28.288006
2021-01-18T13:23:32
2021-01-18T13:23:32
329,981,898
7
1
null
null
null
null
UTF-8
R
false
false
9,481
r
higlasso.R
#' Hierarchical Integrative Group LASSO #' #' HiGLASSO is a regularization based selection method designed to detect #' non-linear interactions between variables, particularly exposures in #' environmental health studies. #' #' #' There are a few things to keep in mind when using \code{higlasso} #' \itemize{ #' \it...
5da19da943100613915a2b2b92a344829a9a6d85
a213908885c74c682746d16fe6dd1ff796f0f5db
/INCADataBr/R/plotGraficoComSlider.R
d74d89dcde00d916ae9ed70f7436b05cf06bffcc
[]
no_license
costawilliam/INCADataBr
b7ae59f3fdff74d91182472902ed3df0d7964d2c
ec5503f09e0d443749f00cf9b46559dc215f5746
refs/heads/master
2020-04-30T05:11:04.832364
2019-06-17T21:12:42
2019-06-17T21:12:42
176,623,100
0
0
null
null
null
null
UTF-8
R
false
false
529
r
plotGraficoComSlider.R
#' Title #' #' @param df #' @param params #' #' @return #' @export #' #' @examples plotGraficoComSlider <- function(df, params) { if (!require("plotly", character.only = TRUE)) { install.packages("plotly", dep = TRUE) } library(plotly) p <- plotly::plot_ly(df, x = ~ df$var) %>% add_lines(y = ~ df$nroc...
b234b3b863e1d5d067ed19b20536f1d0d8189ea8
e81df8e395bf870c6b4a5b728fc293a00a029127
/0_settings.R
4a6e28e42dd53679c9830d93acd7f149fc09aaff
[]
no_license
Barakwiye/GRP
50fcbfdea623d3cc122fa7e29337b981d344b0ae
0b107bdea4892daad17e64028dcd291ccd9a93ec
refs/heads/master
2020-12-25T21:34:49.071355
2015-05-07T20:39:15
2015-05-07T20:39:15
null
0
0
null
null
null
null
UTF-8
R
false
false
1,116
r
0_settings.R
PLOT_WIDTH <- 6.5 PLOT_HEIGHT <- 6.5 PLOT_DPI <- 300 prefixes <- c('C:/Data', # HP current work 'S:/Data', # Shared blue drive 'D:/azvoleff/Data', # CI-TEAM 'H:/Data', # Buffalo drive 'O:/Data', # Blue drive '/localdisk/home/azvoleff/Data') # vertic...
fd842a5b39b855b3d231085fb08ae8343ad3835c
839d9fd750aa5513ad9cc6950239f01313befd88
/scripts/utils.R
4aa60c62be94840e011b3cb96ddebeb8bd8f65bc
[]
no_license
stats-learning-fall2019/final-project
5727707b9cd5057910cafe229738d1362509af87
0c62a02544f8153a72cb24368c58444cc03fc2e1
refs/heads/master
2020-07-28T09:09:42.021331
2019-12-05T22:50:11
2019-12-05T22:50:11
209,375,278
0
0
null
null
null
null
UTF-8
R
false
false
3,029
r
utils.R
#*********# # ALIASES # #*********# `%notin%` <- Negate(`%in%`) #*****************# # SUPPORTING DATA # #*****************# if (! exists('country_codes')) { library(readr) country_codes = read_csv('data/gtdb_country_codes.csv') } if (! exists('region_codes')) { region_codes = read_csv('data/gtdb_region_codes.cs...
16860861919fafd73fbb213989e92ba6030b23b7
bd52b89310371b4870998e71386df0ebfbc377ad
/R/packagecheck.R
83d958be450dd6687b36e3af32c8c0a139bfe90b
[]
no_license
jonathon-love/jsq
f42559d729bb7c65d116add8c3fb0abba49cab45
a17cda8dcdbd8e54837b702c51432698dbfbd6f3
refs/heads/master
2023-03-10T01:02:54.410039
2023-03-01T00:14:45
2023-03-01T00:14:45
181,661,233
5
3
null
2019-11-13T00:08:35
2019-04-16T09:47:01
R
UTF-8
R
false
false
13,078
r
packagecheck.R
# # Copyright (C) 2013-2018 University of Amsterdam # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 2 of the License, or # (at your option) any later version. # # This program i...
29472233917d177ca5d3544e90b05a647f65ef30
a0f1cad740b09d49b7fda76403a3a49513ded2a9
/tests/testthat/test-generate_igraph_inputs.R
fd586105ed370136e51529dd71d2220f627b6da3
[ "MIT" ]
permissive
jandraor/readsdr
2f2d15ba78337161d22d5727399acb1aa1c78271
b92dc373eaba5625bd322e8da8a925a690e6f167
refs/heads/master
2023-06-23T15:51:22.659018
2023-06-09T12:05:48
2023-06-09T12:05:48
205,191,444
17
3
null
null
null
null
UTF-8
R
false
false
4,285
r
test-generate_igraph_inputs.R
context("Generate igraph inputs") structure_m1 <- list( parameters = NULL, levels = list( list(name = "Population", equation = "net_growth", initValue = 100) ), variables = list( list(name = "net_growth", equation = "Population*growth_rate") ), constants = list(...
6e9c8ae91657fc07010136b9013e95c4656f056d
6077c6ffe370c6aacc8cfeab2de85ea69b7fec18
/birth_weight.R
b81ef173c45993808da524711567c459e2d25f69
[]
no_license
cmdoret/data_analysis
2a74672505dfcb7ec35d6ac7eb05065bcee44cd4
caf0657ab5ec7c5ec314ad47c09a777d75b22203
refs/heads/master
2021-06-10T12:45:52.116673
2017-01-09T01:23:40
2017-01-09T01:23:40
72,785,771
1
0
null
null
null
null
UTF-8
R
false
false
897
r
birth_weight.R
# First report for advanced data analysis. Birth weight dataset. # Cyril Matthey-Doret # Thu Nov 3 10:34:26 2016 ------------------------------ # Loading data: setwd ("/home/cyril/Documents/Master/sem_1/Data_analysis/data/") birth_weight<-read.table("birtweigth_study.txt", sep= " ") row.names(birth_weight) <- NULL #...
ad695e0355bb3299fd5cda35585b2489416c7f1e
2e0d783a6efe476d9f3c51d255d61e2450a207b8
/loop_script.R
ac5b6ba08cefb5c6eb562256d6b7ef793ede026d
[]
no_license
TomKellyGenetics/R-Parallel-Lesson
93805a2ce15764627b7eefed8087192da462d873
083d5d3ec9a31d6d31936648807c8518dd77191e
refs/heads/master
2020-05-23T08:03:11.694731
2017-02-07T10:25:16
2017-02-07T10:25:16
80,489,310
0
0
null
null
null
null
UTF-8
R
false
false
368
r
loop_script.R
library("snow") dataset <- matrix(rnorm(600), 60, 10) cl <- makeSOCKcluster(2) # number of cores clusterExport(cl, list=ls()) mg_data <- matrix(NA, nrow(dataset)/3, ncol(dataset)) mg_data <-parLapply(cl, 1:(nrow(mg_data)), function(ii){ svd(dataset[(ii-1)*3+1:3,])$v[,1] }) mg_data <- t(as.data.frame(mg_data)) stopClu...
980567c7ad5b2102e48fa004072857358c43aa63
88f03f016156266d669af61fc437b410ba65433e
/2_script/calculos_enigh.R
7048243b3b6e40aeea9aacdb6e4d7ad2c574d5b2
[ "CC-BY-4.0" ]
permissive
pCobosAlcala/tesina
de778af29e4e8a1aab90949128a221428ff67696
0b4cbad4a8192af565e3801378c885e13ede80f2
refs/heads/master
2022-11-02T20:19:25.030276
2020-06-17T01:51:46
2020-06-17T01:51:46
268,036,321
1
0
null
null
null
null
UTF-8
R
false
false
8,473
r
calculos_enigh.R
### Configuración inicial ---- if (!require("pacman")) install.packages("pacman") p_load(tidyverse, readr, doBy, survey, gt) ## Setup Sys.setlocale("LC_ALL", "es_ES.UTF-8") # Mac Sys.setlocale("LC_ALL", "Spanish_Mexico.1252") # Windows options(scipen=999) ## Eliminar objetos rm(list = ls()) ### Base d...
457b932a45b95d2ea22599ef6322648ba9dfb19a
8c50265b43add0e91e30245cc7af3c2558c248f5
/R-package/tests/testthat/test_img_seg.R
4af7d62cf533125a146484f7b9209c1b5ea9b2d7
[ "BSD-3-Clause", "BSD-2-Clause-Views", "Zlib", "Apache-2.0", "BSD-2-Clause", "Intel" ]
permissive
awslabs/dynamic-training-with-apache-mxnet-on-aws
6a67f35d7e4b12fa8bba628bd03b2b031924e211
1063a979417fee8c820af73860eebd2a4f670380
refs/heads/master
2023-08-15T11:22:36.922245
2022-07-06T22:44:39
2022-07-06T22:44:39
157,440,687
60
19
Apache-2.0
2022-11-25T22:23:19
2018-11-13T20:17:09
Python
UTF-8
R
false
false
5,944
r
test_img_seg.R
# Licensed to the Apache Software Foundation (ASF) under one # or more contributor license agreements. See the NOTICE file # distributed with this work for additional information # regarding copyright ownership. The ASF licenses this file # to you under the Apache License, Version 2.0 (the # "License"); you may not u...
8f6fdf0e5d7ba6c89c794f905d22d1bab95ffc94
940ef234ab31e206a4d94a607a93bdf0f33069b4
/HGTS_processing.R
e22b44a54cccdb870bb3bbbaa97282030ff865a5
[ "MIT" ]
permissive
salvatoreloguercio/RepSeqPipe
f7ffd7716afbf0f5b67945075144aea66452d434
b647f923da792fa17fb2699f5603ef1d176c556f
refs/heads/master
2021-09-10T15:43:08.803596
2018-03-28T19:19:16
2018-03-28T19:19:16
105,821,593
0
0
null
null
null
null
UTF-8
R
false
false
15,342
r
HGTS_processing.R
#! /usr/bin/Rscript options(stringsAsFactors = F) options(java.parameters = "- Xmx1024m") # HTGS abstar processing # input_file="EK-gDNA-053017_S22_mergedpairedend_15overlap.csv" # input_type="gDNA" # dedup=T library(optparse) option_list = list( make_option(c("-i", "--input_file"), type="character", default=NUL...
7c234bee58685eb27bcb6c6adadc43219714a6f9
3b573c294b0edca37dfc78dc836056132bf3cced
/tests/testthat/test_trinROC.R
b6e694cd188d5daa61044e007cfb0b8afe1b596e
[]
no_license
cran/trinROC
86511c3cb3b640da01979f9fee58dc5fa7dd2e67
a3c96fffe4ef2bf8b37fef7168bd3307944b7095
refs/heads/master
2022-11-10T03:44:34.633497
2022-10-27T22:40:02
2022-10-27T22:40:02
147,187,664
0
0
null
null
null
null
UTF-8
R
false
false
5,806
r
test_trinROC.R
############################################################################### ## test.R --- ## Author : Samuel Noll ## Document created: 21/12/2017 ## Last modified : ././2018 Descripiton ## : RF: 26/05/2019 adapt seed change ## : AC: 20/10/2022 adapt SD() and VAR() changes ...
4e10a2000de2266531e1df688f2bd3363a48d6b9
5f3c70f720b234b2239c6bc5c9690767ec604df0
/MarousisA_Inclass2_Part1.R
784ed919409def85c0de82aa623e76fd825cf561
[]
no_license
am8739/CMDA
efdd75da4dc32a7f89ac1cc235018a73dad0d903
d22979143ab72a0eb081baf44489de4a214612d2
refs/heads/master
2021-01-02T22:51:45.822861
2014-09-15T15:15:51
2014-09-15T15:15:51
null
0
0
null
null
null
null
UTF-8
R
false
false
649
r
MarousisA_Inclass2_Part1.R
#Lecture 7 getwd() setwd('C:\Users\amandamarousis\CMDA') #The health insurance customer data load('exampleData.rData') #Examine data names(custdata) dim(custdata) class(custdata) #Summary statistics summary(custdata) #for the entire data frame #look at individual variables to spot problems summary(custdata$is.emp...
0b4be6857495b00eaa42f64d63b37e66b906716a
c9208d8e7a16364ef4a811bb16a53fa1ce27634f
/cachematrix.R
dc2215f145141ed16caf43114a69a726805e32ec
[]
no_license
jd2g/ProgrammingAssignment2
adfb6d8ffd60a85d54995642174e4e48309aca70
4f888d2e5c8310ed86d8f8284bcfcd6c31a36a1e
refs/heads/master
2021-01-22T11:29:09.383352
2015-05-24T23:10:35
2015-05-24T23:10:35
35,384,545
0
0
null
2015-05-10T19:20:21
2015-05-10T19:20:21
null
UTF-8
R
false
false
1,563
r
cachematrix.R
## This code is for Coursera Data Science Specialization 2015. ## It is based in the Example: "Caching the Mean of a Vector" ## provided in the readme to introduce the assign operator `<<-` ## Contains a pair of functions to compute the inverse of a matrix ## To get the result the function includes a cache to store th...
601030efaccad3bbabdacfbb79c1d8bdfce5d38e
9517d726128e5a65541ffb253225e50b0ba14a46
/fibbonaci.r
a77f56ad6e46bb7e28fc9f735729a2c6645a24d6
[]
no_license
KiltzX/r-repository
8095b39b79d021fd1b0651fa41fef00996f309e9
0af8c336f2275c278718ffb57a3e07298bd7079c
refs/heads/master
2021-05-22T00:03:31.286623
2020-04-04T01:16:17
2020-04-04T01:16:17
252,872,649
0
0
null
null
null
null
UTF-8
R
false
false
118
r
fibbonaci.r
#Fibbonaci n1 <- 0 n2 <- 1 n3 <- 0 while (n3 <= 200){ n3 <- n2 + n1 n1 <- n2 n2 <- n3 print(n3) }
1346710eefcd9b1fc489d2af303d21d2f92b2daf
1b149e5703bd6acff71f52ef5a880ee8461c7bbc
/Combine_MotifEvalue_with_Mismatch.R
4a3f5fc37b93a0324e36ea6fca0571e355e6c686
[]
no_license
Tlicknack/Paramecium_Motif
8e02f192c8e25545137623d02e2f49eac8af98c8
20594156b15b43d2c5573a7f505adc6a424814f1
refs/heads/master
2020-03-14T19:18:57.666174
2018-11-26T21:52:53
2018-11-26T21:52:53
131,758,834
0
0
null
null
null
null
UTF-8
R
false
false
1,116
r
Combine_MotifEvalue_with_Mismatch.R
#DONE #This script will take a csv which has motif, evalue, wgd_family and another table attached to it that has file and mismatch per site... can change to include two separate tables #It will combine them on the basis of the file from which the motif/evalue and mismatch count came mismatch_table = read.csv("All_Aure...
55f13d79706e753fb186411503cebad7a22f1619
63caf4d9e0f4b9c9cb5ab101f5795a94f27d575d
/man/landsatAdd.Rd
9bd6ef43890fe80d2e8c3cc24366d14bc311bfb0
[]
no_license
marie-geissler/oce
b2e596c29050c5e2076d02730adfc0c4f4b07bb4
2206aaef7c750d6c193b9c6d6b171a1bdec4f93d
refs/heads/develop
2021-01-17T20:13:33.429798
2015-12-24T15:38:23
2015-12-24T15:38:23
48,561,769
1
0
null
2015-12-25T01:36:30
2015-12-25T01:36:30
null
UTF-8
R
false
false
1,779
rd
landsatAdd.Rd
% vim:textwidth=80:expandtab:shiftwidth=2:softtabstop=2 \name{landsatAdd} \alias{landsatAdd} \title{Add a band to a landsat image} \description{Add a band to a landsat image} \usage{landsatAdd(x, data, name, debug=getOption("oceDebug"))} \arguments{ \item{x}{A \code{landsat} object, e.g. as read by \code{\link{r...
630ef80568712323826bfff3c77244f2ec947ea5
78dba4fac357dfd416a339b711452fecdc30cdd3
/R/getMethylInfo.R
744a19fe787b33d24ea3c144d53d013777cca73b
[]
no_license
pterzian/dmprocr
55aadaa7db38ddaf065e6d5aa60499a3b5f9fd64
6ddfd34738b821f9df49f5aacbf053a9ca72890d
refs/heads/master
2020-06-20T05:49:41.720514
2017-07-25T23:08:30
2017-07-25T23:08:30
94,194,039
0
0
null
2017-06-13T09:15:30
2017-06-13T09:15:30
null
UTF-8
R
false
false
1,648
r
getMethylInfo.R
#'getMethylInfo #' #'Return a subset of diff_meth_study list for a given gene bedline and a size of window #' #'@param diff_meth_study list composed of a methylation differential table, an exp_grp dataframe and a platform #'@param bedline is a line of of the bedfile dataframe #'@param win is the width of the window on ...
686bd05e9cfb98c14dbef95c6ffd9afb5abb5260
617a2b428dbee689943fbeb0d7058592666dc33b
/keyUtilities.R
f5896c09dbad49d0f099f9bcc90240cea0ec5fd8
[]
no_license
mksaraf/finance-stockStrategy
b4c9aacbc562e3de01e530dc5500d11dbeddc722
6cb09e8a08bf62256eb5e0d2de144fb70fc0c840
refs/heads/master
2021-09-27T14:26:47.496263
2018-11-09T04:03:16
2018-11-09T04:03:16
null
0
0
null
null
null
null
UTF-8
R
false
false
1,430
r
keyUtilities.R
library(XML) stocks <- c("AXP","BA",'aapl','bb','cat','cost') getKeyStats <- function(stk){ stk = toupper(stk) url <- paste0("http://finviz.com/quote.ashx?t=", stk) webpage <- readLines(url) html <- htmlTreeParse(webpage, useInternalNodes = TRUE, asText = TRUE) tableNodes <- getNodeSet(html, "//tab...
297faa701afbbe665c95df1a5c1b8194fb2c9cb2
1cde4de03b724bc76fbc5d9baec0707088e70ac6
/Notes/Slides/03_GettingData/Code/03_05_mergingData.R
f43e9e96bb429476fa6ad0b85a3c24be9a0665fc
[]
no_license
k173man/R
d4f937389e17dcacc29e6f70df7e54e1f2b54ccd
893cc65b126c3289309c3d31762a6c34f5e49e2c
refs/heads/master
2021-01-10T20:32:33.620837
2017-07-27T03:57:16
2017-07-27T03:57:16
31,445,963
0
0
null
null
null
null
UTF-8
R
false
false
1,008
r
03_05_mergingData.R
if(!file.exists("./data")) { dir.create("./data") } fileUrl1 = "https://dl.dropboxusercontent.com/u/7710864/data/reviews-apr29.csv" fileUrl2 = "https://dl.dropboxusercontent.com/u/7710864/data/solutions-apr29.csv" download.file(fileUrl1,destfile="./data/reviews.csv",method="curl") download.file(fileUrl2,destfile="./da...
d6b6a40e508b5055713a67d80262372560412a79
d1f82b18c7a6214872083d62f468fc95c34e4aab
/diss2/scripts/woodPrice.R
a4c29cb57d1faa401bd0b9180eb11a891fe92167
[]
no_license
sbannist/publish
c3b40ee86ef4bcf24547f954d841e62f40867b8d
8654b5ddfe3719998ac858399f8c48b59cfee229
refs/heads/master
2020-04-19T10:38:05.729098
2015-09-21T01:43:08
2015-09-21T01:43:08
9,862,659
0
0
null
null
null
null
UTF-8
R
false
false
2,048
r
woodPrice.R
#woodPrice #wood = read.csv('../data/woodPrice.csv') filepath <- c('../data/') imagepath <- c('../images/') wood <- read.csv(paste(filepath,'woodPrice.csv',sep=''),header=TRUE,stringsAsFactors=FALSE) require(ggplot2) ggplot(data=wood)+ geom_line(aes(x=midPoint,y=price,colour='blue'),size=1)+ # geom_point(aes...
c50bb56469124da75a3c692c0e1d4209dd650c68
2251dce56bd92b89ba4651baffccffdcd6a6f06c
/man/Logrank.stat.tie.Rd
1611634e67237c1cf494625913983c2f42c0b444
[]
no_license
cran/depend.truncation
c6d8bc5aa98f6fc0647cf18ebf42e95c2a7cd5da
ede799f2324e4ce0147b3b50456b97e67bf9caa6
refs/heads/master
2021-05-04T09:34:01.450749
2018-02-27T11:43:41
2018-02-27T11:43:41
17,695,460
0
0
null
null
null
null
UTF-8
R
false
false
1,931
rd
Logrank.stat.tie.Rd
\name{Logrank.stat.tie} \alias{Logrank.stat.tie} %- Also NEED an '\alias' for EACH other topic documented here. \title{ The weighted log-rank statistics for testing quasi-independence (with ties in data) } \description{ The three log-rank statistics (L_0, L_1, and L_log) corresponding to 3 different weights. } ...
4e1f9d069d8f410178166163ee2a5eed9ad089fc
4eb8d68d4dc3bf23ccdae7cc0b93082570321434
/pkg/man/binned_tabulate.Rd
61909299971625de95c9a7418fe35a58c9a02b74
[]
no_license
edwindj/ffbase
5d034d8d1ec65e94e7f4feec3da81e20841aa405
98236ab7501fc9765741300879f80baddfe991a3
refs/heads/master
2023-07-08T22:39:38.448615
2023-06-21T07:59:40
2023-06-21T07:59:40
8,315,596
26
8
null
2023-06-21T07:59:42
2013-02-20T15:15:55
R
UTF-8
R
false
true
1,271
rd
binned_tabulate.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/binned_tabulate.R \name{binned_tabulate} \alias{binned_tabulate} \alias{binned_tabulate.default} \alias{binned_tabulate.ff} \title{Fast tabulating in different bins} \usage{ binned_tabulate(x, bin, nbins = max(bin), nlevels = nlevels(x), ...)...
2e85cf41d42c8e0ad5c98005461d644993a7184b
d00d7eb6a2a1a784500dc61ec39fac3b9fe3dc0c
/data.R
168ab643f822d20e659b554419a1f33ae196d970
[]
no_license
91Mrwu/SpectralImputation
4a052a8f369364f4f34f37de2a008089a1d5ccfe
62bd7930c28caef4b677072b654e39b497c2d86e
refs/heads/master
2023-04-22T09:45:55.078739
2020-08-08T21:00:12
2020-08-08T21:00:12
null
0
0
null
null
null
null
UTF-8
R
false
false
2,824
r
data.R
## data selection and testing, explore several datasets to choose one as an approporaite validation set dat17 <- readRDS("../Downloads/OceanLocations17.rds") # one track all through 2017 dat177 <- readRDS("../Downloads/OceanLocations177_1.rds") # first part of July of 2017 in the region selected dat <- readRDS("../201...
e3b145d9096ba5ad3b37cf921eda90e7f0f667b4
0db279202a70363e9df4b55c7dc07f2e6119bb83
/3_visualize.R
dba41766b0288a1bf44b18f73749434a902ca6ca
[]
no_license
AndyMcAliley/ds-pipelines-targets-2
9594185b94c189bbb49c2e0cd954ed4bfc474212
0ff4bfecfcbd2cfa88072a874c7a870f860e7747
refs/heads/main
2023-08-02T17:04:15.370762
2021-09-21T18:56:57
2021-09-21T18:56:57
406,921,657
0
0
null
2021-09-21T18:56:57
2021-09-15T20:53:07
R
UTF-8
R
false
false
342
r
3_visualize.R
source("3_visualize/src/plot_timeseries.R") p_width <- 12 p_height <- 7 p_units <- "in" p3_targets_list <- list( tar_target( p3_figure_1_png, plot_nwis_timeseries(fileout = "3_visualize/out/figure_1.png", p2_site_data_clean, width = p_width, height = p_height, units = p_units), ...
e84b704e3e7b18ad8d2f2eb7430362915b472b51
ca17e23492efd1a8cf1af9ad9d950c62d0364e94
/R/colorplot.R
e083b426df5b047d1769eb9e99b5b4cc6763677e
[]
no_license
thibautjombart/adegenet
a8b7f535510687dbf29c81f6da96eeacb442344e
bb8b9e89674adf55993d7d5abc5995485b38b8c9
refs/heads/master
2023-02-07T11:36:19.650854
2023-01-28T00:12:40
2023-01-28T00:12:40
31,032,458
169
70
null
2023-01-28T00:12:41
2015-02-19T19:25:14
R
UTF-8
R
false
false
1,790
r
colorplot.R
## ## COLOR PLOT ## ## used to plot up to 3 variables in space using RGB system ## ## all coded in S3 method (arguments vary largely) ## ########## # generic ########## colorplot <- function(...){ UseMethod("colorplot") } ################# # default method ################# #' @export colorplot.default <- func...
7837cccbf9b633abafce2f129b57d78ecd63db14
56fc93f3d1003af3c18e8e0c729a854412974439
/man/TwoWayFEWeights.Rd
e8a981f3992bca0c9cf13a2f302d8dbe22e7d93a
[ "MIT" ]
permissive
econjoseph/twowayfeweights
4942fb1022bd9dedfa1329f47a62a20c1f4ba852
9c0d42f19b55967e9d6c1166ec2929bbe18b8dd5
refs/heads/main
2023-05-05T11:35:33.401350
2021-05-16T07:53:35
2021-05-16T08:07:50
null
0
0
null
null
null
null
UTF-8
R
false
false
10,704
rd
TwoWayFEWeights.Rd
\name{twowayfeweights} \alias{twowayfeweights} \title{Estimation of the weights attached to the two-way fixed effects regressions.} \description{ Estimates the weights and measure of robustness to treatment effect heterogeneity attached to two-way fixed effects regressions.} \details{ It estimates the weights a...
555d24efa375f70fe973241df55208415d824e91
0a021f843670c168c4a212207c13be1b0a88ddbe
/man/add_bars.Rd
fc4b90b79060b19bba8e9ba5528310893a8e19cf
[]
no_license
cran/plotfunctions
ddc4dd741ad2a43d81deb0ef13fe2d7b37ca84bd
ebacdd83686e1a32a4432a35f244bf82015a19a5
refs/heads/master
2021-01-20T18:53:05.464513
2020-04-28T09:00:02
2020-04-28T09:00:02
59,847,744
0
0
null
null
null
null
UTF-8
R
false
true
2,781
rd
add_bars.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.R \name{add_bars} \alias{add_bars} \title{Adding bars to an existing plot.} \usage{ add_bars(x, y, y0 = NULL, width = 1, horiz = FALSE, ...) } \arguments{ \item{x}{Numeric vector with x-positions of bars.} \item{y}{Numeric vector with h...
39ca799dddd8186a64ed25c94bebbe9b61708f32
a203b66dcc815505fbf69ab5057593481f296e83
/R/MTFM.R
3765c7da264d5a8f766d6720f6f2db69dc85b0a3
[]
no_license
chr1swallace/MFM-analysis
f776108a21fa35ffc7c455c29f7e045a04c6cc42
741813c98fa9a7f49cfef3b68216da23b4de9e5e
refs/heads/master
2020-04-23T02:29:59.812991
2019-02-15T10:46:52
2019-02-15T10:46:52
170,848,393
0
0
null
null
null
null
UTF-8
R
false
false
4,924
r
MTFM.R
#!/usr/bin/env Rscript library(methods) library(randomFunctions) library(annotSnpStats) library(magrittr) source("~/DIRS.txt") setwd("~/Projects/cd4chic/GUESSFM") #library(GUESSFM) library(devtools) load_all("~/RP/GUESSFM") load_all("~/RP/MTFM") args <- getArgs(default=list(d=file.pa...
7b476125d1a7d2b69d1da395b41adc12e97a8244
7a95abd73d1ab9826e7f2bd7762f31c98bd0274f
/metafolio/inst/testfiles/est_beta_params/libFuzzer_est_beta_params/est_beta_params_valgrind_files/1612988243-test.R
14461da1eca9659f45f6b4f431a29168e4d19861
[]
no_license
akhikolla/updatedatatype-list3
536d4e126d14ffb84bb655b8551ed5bc9b16d2c5
d1505cabc5bea8badb599bf1ed44efad5306636c
refs/heads/master
2023-03-25T09:44:15.112369
2021-03-20T15:57:10
2021-03-20T15:57:10
349,770,001
0
0
null
null
null
null
UTF-8
R
false
false
141
r
1612988243-test.R
testlist <- list(mu = 2.81776900841821e-202, var = 2.81776900829939e-202) result <- do.call(metafolio:::est_beta_params,testlist) str(result)
436d400197815e7f88475512f5edc05c03e2f74e
185eb75246acc598d15d43a6a487ef2ee0b3d231
/R/geo/preprocessing/preprocess-GSE75330.R
de2dca825f6ffeee5f608531c28003fec89280db
[]
no_license
suzannejin/SCT-MoA
4cd295da2252475d482905bbdfffa48aa9ca4c2d
bfd455479d94db92d30153b763d06f5732879606
refs/heads/master
2023-05-30T01:18:39.043455
2019-02-25T18:20:10
2019-02-25T18:20:10
362,417,400
0
0
null
2021-04-28T09:50:38
2021-04-28T09:50:37
null
UTF-8
R
false
false
1,237
r
preprocess-GSE75330.R
# Dataset: GSE75330 # Cells: single oligodendrocytes from mouse brain regions # Values: counts setwd("~/git/SCT-MoA") options(stringsAsFactors = F) source("R/functions.R") # read data dat = read.delim( "data/geo/raw/GSE75330/GSE75330_Marques_et_al_mol_counts2.tab.gz", check.names = F) # read SOFT files lines = r...
b52c3aefabbe7401299031f2392268990cff3d7d
25815be16bffa67b6f5c862a5829b0b2867a5efb
/draft2.R
42ba1f8444bfcbe009a808c036cdadebd5d3d197
[]
no_license
sayefi/wearableml
d578fc4220c869ec20f0fe9f19baec4c0fdf7d4c
c5cf3f0f1840cf7602766319db291750d631043a
refs/heads/master
2021-08-08T20:38:04.313286
2017-11-11T04:15:02
2017-11-11T04:15:02
109,638,476
0
0
null
null
null
null
UTF-8
R
false
false
11,713
r
draft2.R
url<-"https://d396qusza40orc.cloudfront.net/predmachlearn/pml-training.csv" download.file(url,"data/training.csv") url<-"https://d396qusza40orc.cloudfront.net/predmachlearn/pml-testing.csv" download.file(url,"data/testing.csv") trainData<-read.csv("data/training.csv") testData<-read.csv("data/testing.csv") summary(trai...
4214ea45e4eb10a0c1aa060f4d2e5f88c31462d0
7d3b834c7eec5c5bf3bd1b1206347c8969ec1320
/working/R/power_gen_orig.R
d08e75be39760b358ddbd7800f616cc75f2b4021
[]
no_license
camerynbrock/esm-262
ebd790815b5b008b478ba05ebb7bf1951f44fa17
b806700ff56945e30810e3d49efcceee076e7236
refs/heads/master
2023-03-22T19:54:49.713977
2021-03-03T01:08:18
2021-03-03T01:08:18
337,192,259
0
5
null
null
null
null
UTF-8
R
false
false
60
r
power_gen_orig.R
power_gen_orig = function(a,b) { add = a+b return(add) }
ca13e7490325c996e238491ce0e617ad3b87686a
184180d341d2928ab7c5a626d94f2a9863726c65
/issuestests/metadynminer3d/inst/testfiles/hills3d2p13/hills3d2p13_output/log_c9adb054ca2d424da9297ff68fa8399f24de4220/hills3d2p13-test.R
aa5c1ada54f4058d8ddeab230068d81a08f3bdf2
[]
no_license
akhikolla/RcppDeepStateTest
f102ddf03a22b0fc05e02239d53405c8977cbc2b
97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5
refs/heads/master
2023-03-03T12:19:31.725234
2021-02-12T21:50:12
2021-02-12T21:50:12
254,214,504
2
1
null
null
null
null
UTF-8
R
false
false
8,977
r
hills3d2p13-test.R
testlist <- list(cv1 = c(-5.26369149538019e+153, -5.77049913748844e+199, 8.94491153200418e-224, -1.13317236858005e-264, -1.71354221939578e-36, 1.06697892804715e+153, -5.69990451539225e+25, -6.28641323885007e+122, 6.5705330222511e-167, -2.21837045632867e+264, 3.65979666020449e+52, -3.43953413019155e-209, Inf, 8.0545...
f07500d020bff107a51b4f5b94baed7d30098721
bb8f6b2327f427d2874a6b2e7d112f2f883261e8
/Trial2.R
cd0390506e66d735736703c97512f7cfde5113fd
[]
no_license
JuliaHarvie/CanislupusPopulationInvestigation
6ab1d1dade92370e5b7163c8c5aa3f50b8d1a107
d5e9af25ccc0628ce2ab26b4db5f8a674ee8d087
refs/heads/main
2023-01-28T22:25:37.348328
2020-12-13T19:24:07
2020-12-13T19:24:07
319,728,305
0
0
null
null
null
null
UTF-8
R
false
false
4,836
r
Trial2.R
library(Biostrings) library(tidyverse) library(muscle) library(DECIPHER) library(ape) library(viridis) library(cluster) library(seqinr) library(adegenet) library(pegas) library(apex) library(mmod) library(poppr) Wolf <- read_tsv("http://www.boldsystems.org/index.php/API_Public/combined?taxon=Canis&format=tsv") write_...
02909108f6e5dabd0eb4e340d3973e7de003a969
e4f30066cfe4c6e12d9d1d1ec435289da64fb396
/AES_set1/lm_simple_features.R
ae76f4e9b3368fbfdcdb7fd397991654cbd340bc
[]
no_license
dpalmasan/tesismagister
8d79c6a98fad912905209ad9c0896f6a443f11c5
e9579b72698d3693dda3c8cdd9fcdedf72b4cdc2
refs/heads/master
2020-04-05T23:47:48.895640
2016-09-13T22:18:18
2016-09-13T22:18:18
48,250,676
0
0
null
null
null
null
UTF-8
R
false
false
1,123
r
lm_simple_features.R
library(caret); library(Metrics); source("AgreementMeasures.R"); source("auxiliares.R"); library(ggplot2) load("grades") dataset <- read.csv("dataset_features.csv") nzv <- nearZeroVar(dataset) dataset <- dataset[, -nzv] dataset$grades <- grades # Crea particion de datos trainIndex <- createDataPartition(dataset$gra...
461c88b1f133046d6cb16bee9eb04d84e65b8a71
963472d385805d4f266da785c9d9e798de2e99d3
/Rossmann/Kaggle_Rossmann_2015_10_11.R
5c6beadbdd2d48e119a598c2bd757d56bb3bc23c
[]
no_license
hanakysela/Kaggle
e4bf030dbdf9a9614a9ca00c36897bb755e37fb1
234c995703d76bfc6a2af348163495872a0caeb6
refs/heads/master
2021-01-18T05:02:41.688457
2016-04-22T14:29:08
2016-04-22T14:29:08
44,120,317
0
0
null
null
null
null
UTF-8
R
false
false
1,586
r
Kaggle_Rossmann_2015_10_11.R
### Kaggle Rossmann completition 2015_10_11 ### #### Intro and packages #### setwd("C:/Users/Hana/R/Kaggle_Rossmann") ## delete everything old rm(list=ls()) #install.packages("ggplot2") library("ggplot2") #### Import and Clean Up #### ## import train and test data ## train<-read.csv("train.csv") test<-read...
6507b5778b3f10061750be842deb4c0dac5354e3
7ad9ae835d29ea5325775ed56a5ff4898820dafb
/R/weightSign.R
f6fc52ef2af63c99a2d8e965387672e901b7839b
[]
no_license
mronkko/matrixpls
829528a76ee2c81ddcdd93aa3c9a39e8174cef1e
7ae8b9c6e7b20d2503d452b328e12496278f5a70
refs/heads/master
2022-09-04T13:39:52.636494
2022-08-05T07:54:50
2022-08-05T07:54:50
7,702,950
6
8
null
2021-04-29T04:57:34
2013-01-19T12:31:41
R
UTF-8
R
false
false
1,715
r
weightSign.R
# =========== Weight sign corrections =========== #'Sign ambiguity corrections #' #'Sign ambiguity corrections adjust the signs of the weights to satisfy a criterion. #' #'Instead of fixing a weight to a particular value, composite variables are typically provided a #'scale by standardization. This leads to sign indet...
415f255acb31f1c8eb363e300046af07fa7d7c48
08c3bd0ad768c63a08cce512c16a3b1626983aa0
/figure2.R
4e8a2a3d91b07a341bf10de23a5689e1662c2939
[]
no_license
cxhnaklih/ExData_Plotting1
f7654c7312a10ba27cf6f471ff30f56ca79db1c0
36b00906e593519b1d43ebbce3328e91bea7ac0a
refs/heads/master
2021-01-18T04:55:05.782152
2015-05-13T04:11:45
2015-05-13T04:11:45
35,474,615
0
0
null
2015-05-12T07:52:47
2015-05-12T07:52:46
null
UTF-8
R
false
false
689
r
figure2.R
household_power_consumption <- read.csv("../household_power_consumption.txt", sep=";", na.strings="?", colClasses = c("character","character", rep("numeric",7))) household_power_consumption$dateTime <-with(household_power_consumption, as.POSIXlt(paste(Date, Time), format="%d/%m/%Y %H:%M:%S", tz='UTC')) hpcSub <-househo...
6054b8da2b283e3cc945f2dd932443f1612d4278
fc49e481a679798e5aeaf999b82881b064118bb8
/SupportVectorMachine.R
2cc3981e1ab15c17f6bca706ff0726630ab0119c
[]
no_license
FranziskaDee/MachineLearning
038a2374fe580c1f6da1ac123cd4ca9c49418f6d
21389c513e6f51eba1b3597fd0d3b28761435827
refs/heads/main
2023-09-01T08:19:56.704580
2021-10-25T14:06:25
2021-10-25T14:06:25
null
0
0
null
null
null
null
UTF-8
R
false
false
1,210
r
SupportVectorMachine.R
# Machine Learning with R - Chapter 7 ## Second example - OCR data in support vector machine #install.packages("kernlab") library(kernlab) letters <- read.csv("letterdata.csv", stringsAsFactors = TRUE) str(letters) letters_train <- letters[1:16000, ] letters_test <- letters[16001:20000, ] ###Training the...
142231f388e37c1c644a399ef2d7ae4cee81acfe
63e2218c1764408c21d4dbf7f31567bfe48ceade
/Inferència I/Inf_pr_04_codi.R
de0b4b7188ce2d578c392f636be9d9a09b1f0326
[]
no_license
dessipat/Mentoria
b0d9793a5640ff0681dbef1fb83b395df0d48b8e
fef2679362016eb3b1d7a0745964be54e7bf5b28
refs/heads/main
2023-05-13T00:29:42.330230
2021-06-07T10:16:47
2021-06-07T10:16:47
368,145,572
0
0
null
null
null
null
UTF-8
R
false
false
1,950
r
Inf_pr_04_codi.R
# Ex 1 setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) dades <- read.csv(file = 'HDI-Data.csv') head(dades) summary(dades) dades$HDI_group <- factor(dades$HDI_group, levels = c(1,2,3,4), labels = c("Low", "Medium","High", "Very high")) dades$GDI_group...
d4b110fb5b27bd3cf1da5747df5499ed8d1444b5
5c9a4259b32b72505f914b52777372771adfe6e8
/scripts/env/8.14.18.MercuryInfo.R
3e947561f45475210449140f46a8518ab11850ea
[]
no_license
lianwguo/FUIteam
b82d8b140d147d065ed8076f8911faebbaf4fef4
7e9d15a9a27fdfec8d79f8f8bf823c5ef92db800
refs/heads/master
2021-06-09T05:57:55.341333
2021-04-13T20:35:41
2021-04-13T20:35:41
142,158,910
0
0
null
2018-07-24T13:04:49
2018-07-24T12:59:30
null
UTF-8
R
false
false
1,901
r
8.14.18.MercuryInfo.R
#looking at average mercury content head(CloseMerc306) str(CloseMerc306) unique(CloseMerc306$Common.Name) #aggregate mercury results and fish weight by common name and year agg306 <- aggregate(cbind(Mercury.Results, Average.Fish.Weight..grams.)~Common.Name, data=CloseMerc306, mean) agg306 write.csv(agg306, "~/FUIteam...
808690586204222114b56bb1170881ed8e7c956c
14e3be6cbfddcc912a6705500f301d4e2159be7a
/run_analysis.R
2e463923bac1ba1b0d686a896c4c55a2c41a75ae
[]
no_license
StreetsefeR/GettingCleaningDataCourseProject
513fb159647e493a81787b0ab92e79b134b27a81
2eac8bf73103dbd821dc32976ee981f029b0a703
refs/heads/master
2020-06-04T03:43:39.534065
2015-03-22T15:13:39
2015-03-22T15:13:39
32,680,369
0
1
null
null
null
null
UTF-8
R
false
false
1,971
r
run_analysis.R
# GettingCleaningDataCourseProject # 1. Merges the training and the test sets to create one data set. temp1 <- read.table("UCI HAR Dataset/train/X_train.txt") temp2 <- read.table("UCI HAR Dataset/test/X_test.txt") X <- rbind(temp1, temp2) temp1 <- read.table("UCI HAR Dataset/train/subject_train.txt") temp2 <- read.t...
8a399abdbf346af621c64d3e519db84b8c439524
4249ddaf7daa8381627889ba2c03208e53783566
/r-package/prep_data/read_quilombo_area.R
c8bedcb1d3a6e62c8b169d9809da3b53c4f8ea34
[]
no_license
ipeaGIT/geobr
04d16b346398485c39788dca202b15ac65099c2a
9d7e89efc88871378711086671a11b47940dad47
refs/heads/master
2023-09-01T19:13:11.811800
2023-08-31T01:49:56
2023-08-31T01:49:56
177,215,782
711
133
null
2023-09-14T12:14:05
2019-03-22T22:15:22
R
UTF-8
R
false
false
1,377
r
read_quilombo_area.R
#' Download spatial data of quilombo areas in Brazil #' #' @description #' The data set covers the whole of Brazil and it includes quilombo areas. The original data #' comes from the National Institute of Colonization and Agrarian Reform (INCRA) and can be found at #' \url{ttps://certificacao.incra.gov.br/csv_shp/expor...
316ac62460e5d3c9cd2864ddb181f04d8337ee1e
4ed306474b02cf5c074a8e8dcb35b98018671fe0
/munging_results_cor.R
717f13bb9067e11fe8a2cf6cb40709572151cd62
[]
no_license
Karagul/ahp-scenarios
e999712e34f3c7f03a38255bb8a942e3d0b80f9d
cb2141c6e132630fb9c6fe44b36d43d1f4140a45
refs/heads/master
2020-06-17T20:09:30.690031
2018-11-06T18:30:23
2018-11-06T18:30:23
null
0
0
null
null
null
null
UTF-8
R
false
false
3,655
r
munging_results_cor.R
# concatenate individual results files and save as one big file library(tidyverse) # result files from experiment res_files <- list.files("output", pattern = "cor") # names of the models used in the experiment models <- c("allst", "sc1", "sc2", "sc3", "sc4") # parameter combinations for experiment 1 & 2 pars <- exp...
9d2777f94aeac988c27ac5afa8a660df1ad9c18f
7917fc0a7108a994bf39359385fb5728d189c182
/cran/paws.end.user.computing/man/workdocs_describe_document_versions.Rd
e4ed7b430bc6117c4f518b01376152b1bec90f9e
[ "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
2,018
rd
workdocs_describe_document_versions.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/workdocs_operations.R \name{workdocs_describe_document_versions} \alias{workdocs_describe_document_versions} \title{Retrieves the document versions for the specified document} \usage{ workdocs_describe_document_versions(AuthenticationToken, D...
0ea459260dbc6f21ff319a70db8e22c92d4ec46e
df21fb8b2efe7e9c7b753699dba066b0500aae55
/rstudio/CustomerChurnDashboard/clientPanel.R
e188e4eb4b0d3bc4982f36b5bf2995421a228336
[]
no_license
hunglb/Telco-churn
e92d91d0098c01cb1e55386148d16c9a3987cab7
26a2cfc448f849edb913f0877ad4cabc7d3bfa6b
refs/heads/master
2022-07-08T19:49:46.895388
2022-06-30T06:15:23
2022-06-30T06:15:23
204,580,701
0
1
null
null
null
null
UTF-8
R
false
false
12,704
r
clientPanel.R
# Sample Materials, provided under license. # Licensed Materials - Property of IBM # © Copyright IBM Corp. 2019. All Rights Reserved. # US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. # Load shap JavaScript shapjs <- content(GET("https...
27da6a4b42c5a8023f180f8f4caabfe21ace964e
7b842e47b36c5eccaee6b71c77e22519b49c0168
/R/variables-webdata.R
2cc94734296d932efd24ec21bf8cf87d9acab00f
[]
no_license
cran/geoknife
5dc92ca0aa7e7afe2afac3fd848e3b7fc99c07c4
e6dba004a958f5954317cfcd7faaec1d8d094ae9
refs/heads/master
2023-07-20T09:34:10.506446
2023-07-06T07:00:12
2023-07-06T07:00:12
48,080,629
0
0
null
null
null
null
UTF-8
R
false
false
1,072
r
variables-webdata.R
#' the variables of a webdata object #' #' access or set the variables of a webdata object #' #' @param .Object a \code{\link{webdata}} object #' @param value a character vector for variables #' @docType methods #' @usage #' variables(.Object) #' variables(.Object) <- value #' @rdname variables-webdata #' ...
9a70a1297a6faab09b024254c163333d8dd2537d
0a906cf8b1b7da2aea87de958e3662870df49727
/borrowr/inst/testfiles/matchesToCor/libFuzzer_matchesToCor/matchesToCor_valgrind_files/1609958224-test.R
f46ab3875416685366c9d6fd8748fd706298c81d
[]
no_license
akhikolla/updated-only-Issues
a85c887f0e1aae8a8dc358717d55b21678d04660
7d74489dfc7ddfec3955ae7891f15e920cad2e0c
refs/heads/master
2023-04-13T08:22:15.699449
2021-04-21T16:25:35
2021-04-21T16:25:35
360,232,775
0
0
null
null
null
null
UTF-8
R
false
false
215
r
1609958224-test.R
testlist <- list(x = structure(c(6.15188497603355e-304, 7.00767890330898e-310, 3.23469718988723e-319, 7.29023541236781e-304, 0, 0), .Dim = c(1L, 6L))) result <- do.call(borrowr:::matchesToCor,testlist) str(result)
142b8e3b0ab052390ff961d54c5ca4b72c520b6f
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/assocInd/examples/CECI.Rd.R
4deb88e589c0b210ee973b7f387b74fa7612a80d
[]
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
351
r
CECI.Rd.R
library(assocInd) ### Name: CECI ### Title: The Combined Error Corrected Index ### Aliases: CECI ### ** Examples # Simulated values x <- ya <- yb <- yab <- 10 ynull <- 0 # Set parameters to make equivalent to the SRI psi <- 1.0 w <- 0 E <- 0 # Calculate the group location error corrected index CECI(x...
8201510e02a2469cd288614853413e2b5c4bc17f
bd2ce17ca2fe9b630ef755b91639178bfe11f45c
/examples/beast.R
cd7c43a58d257c12cfe1f4b66f796ed47643198f
[]
no_license
DomBennett/om..beast
96866656a5c4de1c4a5ef79a3423b31bb2e8356c
586d605eaca51578720145af5f996b08f22b42fd
refs/heads/master
2020-04-22T17:15:04.640758
2019-10-25T13:06:59
2019-10-25T13:06:59
170,534,357
0
0
null
null
null
null
UTF-8
R
false
false
96
r
beast.R
library(outsider) beast <- module_import('beast', repo = 'dombennett/om..beast') beast('-help')
fb04bd4e172bff60913521f8154b04ad50db389d
44e47ad78f8c4588a4b0dc5813a79eda6fa04a24
/src/ESWA_2-clusteringValidation.R
6f7c8ad220d4a58478748d728f1189b945bfa090
[ "MIT" ]
permissive
vrodriguezf/ESWA-2017
895ec5e66e1592b9bef667e3a040e8b02846a5c0
9778cf54724b6c55f68dfe77bbfc206aab769730
refs/heads/master
2021-06-18T05:13:37.510292
2017-06-30T16:34:41
2017-06-30T16:34:41
null
0
0
null
null
null
null
UTF-8
R
false
false
5,582
r
ESWA_2-clusteringValidation.R
# # This scripts take the object "simSeries", i.e, the processed performance measures from the simulations in DWR, # and perform time series clustering for every performance measure. # # library('ProjectTemplate') load.project() SAVE_PLOT <- FALSE SAVE_OUTPUT<- TRUE #Check dependencies with previos source script files...
3985234a5ef399593ace89db829e06716b8f7590
29585dff702209dd446c0ab52ceea046c58e384e
/IntClust/R/WeightedClust.R
df18a4882f0292a6055c757698eb4f87b95674fe
[]
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
5,441
r
WeightedClust.R
WeightedClust <- function(List,type=c("data","dist","clusters"),distmeasure=c("tanimoto","tanimoto"),normalize=FALSE,method=NULL,weight=seq(1,0,-0.1),WeightClust=0.5,clust="agnes",linkage="ward",alpha=0.625,StopRange=FALSE){ # weight = weight to data1 #Step 1: compute distance matrices: type<-match.arg(type) ...
d39f2db8d842f9aef42c190ce4b635c6ab7ffe11
acd55e98c04534f8100d6878c7baa863b818b8f1
/man/text_to_upper.Rd
9b08440e4bc37cf50d215ee1d28930ba4ced0427
[]
no_license
cran/stringb
28f1912ec4caad26560b51cf9bd2ff5e5657ea23
ee0aa7e4a4fc594b03749bf9dd327dca863e3378
refs/heads/master
2021-07-25T10:18:26.950969
2021-01-25T21:10:02
2021-01-25T21:10:02
72,453,861
0
0
null
null
null
null
UTF-8
R
false
true
422
rd
text_to_upper.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/text_to_lower.R \name{text_to_upper} \alias{text_to_upper} \alias{text_to_upper.default} \title{function for make text lower case} \usage{ text_to_upper(x) \method{text_to_upper}{default}(x) } \arguments{ \item{x}{text to be proc...
ebcbe3c88f20bb38b7bf7b31b0ca0dabcb96fc78
6477bb5c57a8af47a2f025634a195910d25ebf39
/Old/Class Projects/PS7/PS7/PS7-Problem 1.R
d18c888e91ebc5d83d8be2b60e9afabf922da88d
[ "MIT" ]
permissive
clintonTE/CCA
b011683673818fd9887d2767dd49049a14efa012
a555cc1fa4b6d5f1464de44e2e322d32336d1e3a
refs/heads/master
2023-05-11T20:43:35.457854
2021-06-03T23:00:23
2021-06-03T23:00:23
373,653,707
0
0
null
null
null
null
UTF-8
R
false
false
3,772
r
PS7-Problem 1.R
set.seed(11); #allows for reproducibility #The likelihood function for a multinomial distribution #In: A set of parameters and a data set #Out: The sum of the log likelihoods for each data point logitLogLike = function(V, cMat) { minLike = -10 ^ 9; maxLike = 10 ^ 9; denom = matrix(apply(V, 2, function(x) ...