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
815ac5c24a6bca5c2ca0fa6c524057188b3ece8d
c0e968187ca7b3f93f29562467f66f534cff43da
/analysis_code_and_data/mbmf_online_data_quality.R
c37af9786dadcc70e32419e5e428417566ba4711
[]
no_license
eknowles-bch/online_two_step_replication
0cb41d471872693e48284056a7986347758a1697
f0a561ef15b7b55e1956669cc507a03226e1d269
refs/heads/master
2023-03-07T06:30:13.071168
2021-02-25T21:22:08
2021-02-25T21:22:08
null
0
0
null
null
null
null
UTF-8
R
false
false
9,652
r
mbmf_online_data_quality.R
## Check mbmf data quality ## # Kate Nussenbaum - katenuss@nyu.edu # Last updated: 7/17/20 # This script reads in all mbmf data files and saves a .txt file with # mean data quality metrics across age groups, as well as plots of metrics # across all subs and binned by age #### Load needed libraries #### library(tidyv...
2a69d441d8329927c1bb48b2922dac0fb1387831
254c032cc8490c34212da47e8a2eaaf9d00de8b0
/R/covariance_functions.R
f9ee5d45994ae40d6f242b6ffadd276633fc8009
[]
no_license
nefan/registration
f60aa5ed37202d5e7bd3cac03e20cee6f85e0e3a
d3425cd69c0ab06f44b2136827477a789bab6013
refs/heads/master
2021-01-18T02:57:48.830580
2015-01-19T10:50:53
2015-01-19T10:50:53
null
0
0
null
null
null
null
UTF-8
R
false
false
2,167
r
covariance_functions.R
# TODO: # EXPLICITLY GENERATE INVERSE OF BROWNIAN COVARIANCES (+OTHERS?!) #' Generate Brownian covariances #' #' This function generates a Brownian motion/bridge covariance matrix corresponding to specified evaluation points. #' @param t evaluation points. #' @param tau scale parameter. #' @param type type of covari...
72ded32c9c5990c6022bf11dd5cfdad6dd676d88
d817306da0abebcc7185fcfdf4953bb9d2a48f68
/code/0_auxiliar_functions.R
3841d68a9e3bd2dda30759844d15d6357a35d645
[]
no_license
ejosymart/MVEchubmackerel
c5b821dcb4723c090ce00e5d3d255c1944d63a09
085a7444683d8101d49f5ccf6c504dd199e2a2b6
refs/heads/master
2023-07-10T15:57:08.385722
2021-08-08T19:43:25
2021-08-08T19:43:25
394,046,550
0
0
null
null
null
null
UTF-8
R
false
false
1,794
r
0_auxiliar_functions.R
myvif <- function(mod){ v <- vcov(mod) assign <- attributes(model.matrix(mod))$assign if (names(coefficients(mod)[1]) == "(Intercept)") { v <- v[-1, -1] assign <- assign[-1] } else warning("No intercept: vifs may not be sensible.") terms <- labels(terms(mod)) n.terms <- length(terms) if (n.terms <...
04a0a8ffc749eea8ddf8b074d5acd4a0cc767130
24ac6bd01d0ff7256cb7c3d628672077a3ee471f
/AreaCentre.R
0a08c4d8cb8f73080d3025d405e0f7d2372431f9
[]
no_license
fall2018-wallace/ist6
ed2a23acb9eabefb4deacba1433a68c217b8596e
6a0033227715ca87fe599effd3e114ca58f65f0a
refs/heads/master
2020-03-30T20:47:56.721907
2018-10-18T01:26:32
2018-10-18T01:26:32
151,604,353
0
0
null
null
null
null
UTF-8
R
false
false
471
r
AreaCentre.R
library(maps) library(ggplot2) stateName<- state.name #Reading in the inbuild dataset state.name area<- state.area #Reading in the inbuilt dataset state.area center<- state.center #Reading in the inbuilt datadrame state.center dataframe<- data.frame(stateName,area,center) #Creates a dataframe of the three variables ...
12e642f90b7bbd4a585ee5f58229aaa1c0a43130
c9e02a75abbd1d5048446a65aa23b10f79492b2f
/scripts/populations.R
aaddb61fa7b714108dd80b4148c42255e5efe019
[]
no_license
somasushma/R-code
f8290d3ecd8ea87ef778b1deb0b7222e84b811be
2e1f0e05ae56ebe87354caeb374aebb19bf00080
refs/heads/master
2021-10-27T14:42:26.847193
2021-10-25T22:02:51
2021-10-25T22:02:51
137,162,116
0
1
null
null
null
null
UTF-8
R
false
false
12,725
r
populations.R
library("readr") library("dplyr") g25 = read_csv("R/Dataexperiments/data/Global_25_PCA.csv") g25s = read_csv("R/Dataexperiments/data/Global25_scaled.csv") g25=data.frame(g25) pops=strsplit(x=g25$Pop,split = ":" ) indv=unlist(lapply(pops, function(x) x[1])) pops=unique(indv) colr=sapply(indv, function(x) match(x...
c75ebf5cda78939bd536cd567b8a8a26940a1678
125da5c7a9a00cb30e460259e2b63951b3a63e5d
/man/df_swets08.Rd
69153bd75df9f28b6ad08d1ab39a94a3fabe26ac
[ "MIT" ]
permissive
anhnguyendepocen/bcogsci
1db2919cce749d9ac5fde721b139b043fc11ef3e
069accf6984c9358428147492260821ba8952147
refs/heads/master
2023-08-15T06:03:04.914839
2021-10-13T04:42:45
2021-10-13T04:42:45
null
0
0
null
null
null
null
UTF-8
R
false
true
953
rd
df_swets08.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{df_swets08} \alias{df_swets08} \title{Data from a self-paced reading experiment that records reading times in milliseconds at the post-critical region. \insertCite{swets2008underspecification;textual}{bcogsci}} \fo...
20878e7d737f9b6d9752622a429f9df13464a525
cb795c484ce72851bebe5f6263d5112d2b3550bc
/qsims_quantE/run.R
513bb43df723eb20a61cc26a9a511edf43623643
[]
no_license
andywdahl/gxemm-scripts
14b178615a32c1b729b794289450cae39d959427
db2876be8c4beadafac52608f629db457ff24718
refs/heads/master
2020-06-05T08:02:52.306122
2020-01-02T19:04:43
2020-01-02T19:04:43
192,369,534
1
0
null
null
null
null
UTF-8
R
false
false
2,126
r
run.R
rm( list=ls() ) library(BEDMatrix) library(GxEMM) source( '../code/sim_fxn.R' ) load( 'Rdata/setup.Rdata' ) it <- as.numeric( commandArgs(TRUE)[[1]] ) set.seed( round(as.numeric(Sys.time())) + it ) for( xval in sample(nx) ) for( sigtype in sample(5) ) try({ if( sigtype == 4 & xval == 1 ) next savefile1 <- paste0...
22ab55c860ebe6040fb0ba39f346e7e666aac239
e9995af2a873e6cab06f48e262f9afba090d10ca
/man/chud.Rd
87920f91ff0046cc6d14384db5ad3d56f740622e
[]
no_license
cran/SamplerCompare
a428addb371d32120a5aefbab275de18bd9f7964
a0c229fb56aeafcdfdaef7826dca0526be88e724
refs/heads/master
2023-04-27T16:55:50.126450
2023-04-24T05:00:02
2023-04-24T05:00:02
17,693,637
2
0
null
null
null
null
UTF-8
R
false
false
843
rd
chud.Rd
% From SamplerCompare, (c) 2010 Madeleine Thompson \name{chud} \alias{chud} \alias{chdd} \title{Cholesky Update/Downdate} \description{Rank-one updates of Cholesky factors} \usage{chud(R,x) chdd(R,x)} \arguments{ \item{R}{an upper-triangular matrix} \item{x}{a vector} } \value{ An updated version of \code{...
3d7f01d7fcd437fe499cf2adaac5f1dc60cde30a
064ede5b34491a58c95346d6833d99a5ee5553d1
/ReadInData.R
d0661fbdaaf2c916a5d7bfecb10fc7ffae6b292b
[]
no_license
shamrockiris/credit-card-strategy
24d8338296af53add76b060d335d120b70b1f721
1e92b508828842f320d9feddc05c692d77830472
refs/heads/master
2016-09-06T10:03:45.014064
2015-02-06T00:37:40
2015-02-06T00:37:40
29,219,194
0
0
null
null
null
null
UTF-8
R
false
false
258
r
ReadInData.R
# import data from file, before that, sava as .csv sourceData <- read.csv(file.choose(),header=F) # want to delete the comma in data and put it to numeric type attach(sourceData) for(i in 4:15) { sourceData[,i] <- as.numeric(gsub(",","",sourceData[,i])) }
6d2e37ba8658717b17605202b06ac01095e90c4d
8749cd76d533720e28877bdfaf9b7fe45e1ccf5f
/man/garch.Rd
9b2704f5496302016e8241e1ff1ad6638ea7dadb
[]
no_license
bigdatalib/RTL
89ecba94b24ea1fa65bb87408b0c08eaa5809b23
9fe64900c618cae4d5286d6440774bf92819d387
refs/heads/master
2020-12-25T00:02:56.479952
2014-05-21T18:19:23
2014-05-21T18:19:23
null
0
0
null
null
null
null
UTF-8
R
false
false
922
rd
garch.Rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{garch} \alias{garch} \title{\code{garch}} \usage{ garch(x = data, ret = "rel", roll = TRUE, cmdty = "") } \arguments{ \item{x}{Univariate or multivariate xts price series.} \item{ret}{"rel" for relative returns, "abs" for absolute returns or "flatprice" if no ...
9d7cf08c17455b4261de51ce8364fb0ad53a0aae
610bf65e89c9c27e5f0ea0df0d95fd2bb9e65ccf
/Code/data_3.R
906a9b6d3eba4646fe25ffd52afbd9688c7d0747
[ "MIT" ]
permissive
jingeyu/single-cell-RNA-cluster
7cf2e16fe20becd2547d8d63de73a57b113afeb1
c67f02cb650c6d18e75841908a2391f1593f6e9a
refs/heads/master
2023-01-19T19:05:04.164536
2023-01-12T10:17:54
2023-01-12T10:17:54
263,781,833
2
1
null
null
null
null
UTF-8
R
false
false
11,337
r
data_3.R
suppressMessages(library(ggplot2)) suppressMessages(library(dplyr)) #----data read ---- ST1 <- read.csv('ST_complete.csv',header = TRUE) rownames(ST1) <- ST1[,1] ST1 <- ST1[,-1] X <- as.matrix(ST1) L = 31 W = 33 G = dim(ST1)[1] N = L * W ind_com <- matrix(0,L*W,2) for(j in 1:W){ for(i in 1:L){ ind_com[i+L*(j-1),...
268a8a9383a8fb0e50a107b4b0ae938ec5d74013
4dcf41d2a4309b6edf28e11b7f1ba1a29a1836f3
/question5.R
7b1ef24dd79ee451c13d914ad38bd447b8e11c8f
[]
no_license
RowAtk/credit-bank
4d2d44a619c3b0a9d1578227254161d161355099
cf4caf27bf305d6caa059e7b5648a4b9ecdac756
refs/heads/master
2022-04-25T16:43:28.720108
2020-04-30T16:26:46
2020-04-30T16:26:46
259,198,701
0
0
null
null
null
null
UTF-8
R
false
false
338
r
question5.R
# make a date string #string = paste(5, 3, year(today), sep = "-") # make a date #something <- mdy(paste(5, 3, year(today), sep = "-")) bank.data$deposit_date <- mdy(paste(bank.data$month, bank.data$day, "2019", sep = "-")) # temp <- today() - bank.data$deposit_date[1] bank.data$last_deposit <- today() - bank.data$...
3bd71b4165e7f87122289decb2fcce52e0308329
ce94d643cfad67f755ddc8f8d8123a66b5651de3
/14_IntroMultivariate/IntroMultivariate.R
7fdabbd5f5514475d3ce61e4df289d4345d889e2
[]
no_license
lindstroje/IntroRangeR
79353b90f6e22632f60c943ba8b9dd112433a21b
36587f2958179ff218d5cea11885dc2e9c43fcd7
refs/heads/master
2020-12-18T15:11:05.009388
2020-01-21T17:39:18
2020-01-21T17:39:18
null
0
0
null
null
null
null
UTF-8
R
false
false
2,940
r
IntroMultivariate.R
pacman::p_load(ggplot2, vegan, vegan3d) setwd("C:/Users/Devan.McGranahan/GoogleDrive/Teaching/Classes/Intro to R/course materials/class session materials") # Load data spp.d <- read.csv(file="./data/VareExample/SpeciesData.csv") chem.d <- read.csv(file="./data/VareExample/SoilChemistryResults.csv") man.d <- read.c...
c98ec1efc71e8044b6bc879b693a3793fdc501d1
c8e3c0c84adc9286c995e8416b2e447e5003afd4
/Test.R
a04736b3fbe33c643aec86a5fc35ab06a668b007
[]
no_license
RoryMurphy1997/GitHubAPIVis
da916dcb44382a658285da1dee208aac5ea95c71
c445bab452a29acf79c6545104583abc2aa11e75
refs/heads/master
2020-04-04T20:01:24.708442
2018-11-28T10:18:09
2018-11-28T10:18:09
156,230,629
0
0
null
null
null
null
UTF-8
R
false
false
87
r
Test.R
install.packages("shiny") library(shiny) runGitHub( "GitHubAPIVis", "RoryMurphy1997")
7596f42cd98348b2052c8fff956bc03c9d4e5431
7f19f9579b5ffcc613041b0acfa94ed5971bf2a4
/run_analysis.R
bb7d423af936a1f49dafa5887c96458fb2fd9f9f
[]
no_license
CFCubero/Getting-CleaningData_Project
685de138608390ac762ba9270dc4cf06ee485de4
768d123a0f0898823377d3cdd10b7384c5917068
refs/heads/master
2021-01-01T18:12:13.561238
2015-08-20T17:45:28
2015-08-20T17:45:28
40,993,592
0
0
null
null
null
null
UTF-8
R
false
false
2,338
r
run_analysis.R
## Download and store raw information if (file.exists("./data")){ setwd("./data") } else { dir.create("./data") setwd("./data") } url<-"https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip" file<-"data.zip" download.file(url,file, method="libcurl") unzip(file, exdir = ".")...
8c13ec8935f1ed98eace43c9ee399937ab291525
55d0bb93590f13ae17f24a28a40726dcf339b91d
/20210615/20210615.R
bf4d30d464a201d3212ae8264efa251a8d8ab592
[]
no_license
nschampions2004/slice_data_science
5a0c54e64490b33f1e388bf848ef8971ea839e37
de009ebee69fbf4ab1270ce5787c2250a602eb5d
refs/heads/master
2023-06-02T17:16:31.860543
2021-06-21T13:53:46
2021-06-21T13:53:46
348,585,014
0
0
null
null
null
null
UTF-8
R
false
false
3,535
r
20210615.R
library(tidyverse) library(tidymodels) library(DataExplorer) library(skimr) data_folder <- "data" plots_folder <- "plots" predictions_folder <- "predictions" models_folder <- "models" theme_set(theme_minimal()) income_data <- readxl::read_xls(file.path(data_folder, "tabn025.xls")) %>% janitor::clean_names() %>% ...
bdb2a7ff8d696fb6c39d67bcd67a3b04e6b9c8c3
d47b1dff47241e469eda6c5a6302544c0b6bf189
/plot3.R
24c450854059fa6f773b96a7c8d45d5db3dd5bfa
[]
no_license
UshaKota/ExData_Plotting1
8add56ccfdf5637867979c190ae9fec06985a269
dae9babb55736298fd42a7441977dadc8ef23e65
refs/heads/master
2021-01-12T19:43:19.532108
2015-01-11T16:17:26
2015-01-11T16:17:26
29,003,708
0
0
null
2015-01-09T06:19:49
2015-01-09T06:19:49
null
UTF-8
R
false
false
1,479
r
plot3.R
library(data.table) ## is there an elegant way to set the global var filename?? readData <- function(filename, var1, var2){ dtime <- difftime(as.POSIXct(var2), as.POSIXct(var1),unit="mins") numRows <- as.numeric(dtime) DT <- fread(filename, sk...
76905036fe1c79f1e837c04808033c3debf884f3
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/broom/examples/tidy.pyears.Rd.R
509fb5d4046ea38edf733fc28c3b689ab3d8d5fb
[]
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
707
r
tidy.pyears.Rd.R
library(broom) ### Name: tidy.pyears ### Title: Tidy a(n) pyears object ### Aliases: tidy.pyears pyears_tidiers ### ** Examples library(survival) temp.yr <- tcut(mgus$dxyr, 55:92, labels=as.character(55:91)) temp.age <- tcut(mgus$age, 34:101, labels=as.character(34:100)) ptime <- ifelse(is.na(mgus$pctime), mgus$...
f9bd41f5f9ada9e944b9a52d41888c57dac46d62
12a7f100025cba229ca5cf635883c657c165c813
/man/env.sp.Rd
2bd922d0dcd678afd986eb59ae50dd22a0a5415e
[]
no_license
cran/EnvNJ
d205e51da116d906e3e9fc54342e1db2084241e8
e5e6a81a21b56cd9eabe67f964b1cea227303b8d
refs/heads/master
2023-08-06T22:20:52.413911
2021-09-27T09:50:02
2021-09-27T09:50:02
372,565,905
0
0
null
null
null
null
UTF-8
R
false
true
1,355
rd
env.sp.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/envcoding.R \name{env.sp} \alias{env.sp} \title{Extract the Sequence Environments} \usage{ env.sp(data, sp, r = 10, aa = 'all', silent = TRUE) } \arguments{ \item{data}{input data must be a dataframe (see details).} \item{sp}{the species of ...
d2f5c4ea39a9220c1b5553da0840d62dcba01a49
368dee3431cd632867da90e99309139602e72725
/temp/CM/nhpi/new/1.SortGPS.R
0f69810e47a21c8537482ae8306eae46aecfd1b3
[]
no_license
anasanz/NHBD
f064d8f3cb8916b87ff29a49b085a4c9c8b61f5a
d41eaf83e18b66bf1ce16aed08aa96327b98901e
refs/heads/master
2021-04-06T08:36:06.858463
2018-12-31T17:43:32
2018-12-31T17:43:32
125,345,673
0
0
null
null
null
null
UTF-8
R
false
false
8,840
r
1.SortGPS.R
library(sp) library(rgdal) library(rgeos) # ==== I. LOAD DATA ==== #setwd("~/Norway/NHBD_humans/Antonio") rm(list=ls()) # ==== 1. AIMEE CYRIL DATA ==== setwd("C:/Personal_Cloud/OneDrive/Work/Skandulv/NHBD2/nhbd_2/data") gps1 <- read.csv("Final_GPS_Data_Aimee.csv", header = TRUE, sep = ",") gps2 <- read.csv("Final_GPS_...
863651429b0210066e949a5d5e46258cc638790d
d5af8a438820926528dc00601adbba5aa71b9efb
/scripts/VIF_example.R
738fc9d10b99b282011066975bd942533f257e78
[]
no_license
mdsi-disaster/part-a
0a1a30dc67f6f12f4f76f31f7ce75e99b56ef4e3
0431775f61250e3461419cbc7c3d0d762b39d86d
refs/heads/master
2022-12-25T17:41:46.477769
2020-10-09T09:38:32
2020-10-09T09:38:32
288,412,150
0
0
null
null
null
null
UTF-8
R
false
false
1,257
r
VIF_example.R
library(car) library(tidyverse) library(here) library(gvlma) data <- read.csv(here('data','mn_model_df.csv'),stringsAsFactors = TRUE) data$id <- 1:nrow(data) train <- data%>%sample_frac(.75) test <- anti_join(data,train,by='id') model <- lm(formula = log(house_price)~crime_murder + crime_rape + crime_robbery ...
3fdcaf0704714b19f44393aa8b17309cbc61424d
17702ad07b28844fda4799bba3da728bfdc5704b
/modules/data.land/R/InventoryGrowthFusion.R
974afc3813dcfd40ae7c97d585681f7e47cade6f
[ "NCSA", "LicenseRef-scancode-unknown-license-reference" ]
permissive
yogeshdarji/pecan
c4d620590f37ab3928f1d28b006456fee0b96b7b
109381603fab9f9927ad18c95b9389cea68deef1
refs/heads/master
2021-06-15T05:56:03.976607
2017-03-25T17:33:58
2017-03-25T17:33:58
86,267,939
1
0
null
null
null
null
UTF-8
R
false
false
3,070
r
InventoryGrowthFusion.R
##' @name InventoryGrowthFusion ##' @title InventoryGrowthFusion ##' @description this code fuses forest inventory data with tree growth data (tree ring or dendrometer band) ##' for the same plots. Code is a rewrite of Clark et al 2007 Ecol Appl into JAGS ##' ##' @param data list of data inputs ##' @param random = wh...
cc5b16a32cdb8824c3296905e9243d100b3ae0e3
3e9147968c3800363d57e8b1b0652f9ef0e012b5
/tests/testme/RtestsExpectations/integrative+T3.R
8851b543d28641a37b58e5d725d48d2225f46142
[]
no_license
sboehringer/testme
39471fa197d7c0891d08359eb81732d5e007e6df
6e4c6c89255824d3bf8fe6a1b8106d3579150327
refs/heads/master
2020-09-23T06:17:03.656726
2020-05-01T16:42:06
2020-05-01T16:42:06
225,425,545
1
0
null
null
null
null
UTF-8
R
false
false
249
r
integrative+T3.R
structure("Error in try(if (4 != E2) stop(), silent = T) : \n", class = "try-error", condition = structure(list( message = "", call = doTryCatch(return(expr), name, parentenv, handler)), class = c("simpleError", "error", "condition" )))
af24107ef50b286c3926ddebdacb8c18e6e28afe
162ef5c93ef47fb5ce1944815e1303e179093af6
/R/heatmap.R
1cd016e91ba9f7929ab3c4f242c68d856d9f967d
[]
no_license
MichelledeGroot/virusunburst
98c6bbccba7681c1aa421494bbe8c2efe9a253bf
b0aae2ba64b2733f343d8efd873d15c9f571b512
refs/heads/master
2023-06-26T11:09:58.111472
2021-08-04T08:49:33
2021-08-04T08:49:33
382,149,656
0
0
null
null
null
null
UTF-8
R
false
false
1,177
r
heatmap.R
#' Create a heatmap #' #' This function loads a ViruScreen output file as a dataframe and creates a heatmap #' of all columns #' #' @param csv_file Path to the input file #' @import tidyverse #' @import d3heatmap #' @export make_heatmap <- function(csv_file){ full_taxonomy <- read.csv(csv_file ...
aeb06922fba18d40655e94b3fc0acf12dea1c9f8
37707b403d3be700a7d34c137c781f96e763588c
/07-Modeling_Practice/modeling_practice.R
37ae36dab47b8997d23e02ce385bcf71fc3643d9
[]
no_license
davidtnly/R
2c939e56d7bc7afeb1f5fbb3ed7800041832979a
b59fa6f06f839d844f5a899c434d06b0f3a245fd
refs/heads/master
2020-05-22T09:55:46.905765
2019-07-24T03:50:42
2019-07-24T03:50:42
186,274,640
1
0
null
null
null
null
UTF-8
R
false
false
1,470
r
modeling_practice.R
library(tidyverse) library(MASS) library(gridExtra) library(ggthemes) ## ggplot theme Reference: http://ggplot2.tidyverse.org/reference/theme.html pt(2.201, df = 429, lower.tail = FALSE) * 2 # Graphing ggplot(mtcars, aes(x = `car name`, y = mpg_z, label = mpg_z)) + geom_bar(stat = 'identity', aes(fill = mpg_t...
62aed022b5a434af5705f775cd918a362ee43d41
1fc421ae8d2d0cc87944ec21ea53b37b1ef02544
/man/DevFactors.t1.Predictive.Rd
a80e50b0ac0a58cc2638334c92c09cefdf803f76
[]
no_license
EduardoRamosP/MackNet
5f3df28a30385e83c4d3de0eb10606a416499c92
1281f90ccad86df2f496b6e1a33aeab18cf81807
refs/heads/master
2022-12-18T22:17:47.097987
2020-09-21T20:30:55
2020-09-21T20:30:55
296,931,038
2
0
null
null
null
null
UTF-8
R
false
true
526
rd
DevFactors.t1.Predictive.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DevFactors.t1.Predictive.R \name{DevFactors.t1.Predictive} \alias{DevFactors.t1.Predictive} \title{DevFactors.t1.Predictive} \usage{ DevFactors.t1.Predictive(Triangle.Cumulative) } \arguments{ \item{Triangle.Cumulative}{Cumulative triangle} }...
f71142471657883e8e0a87d5a00f58810cef55c9
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/MetProc/examples/subset_met.Rd.R
1e96992715dd733ebe5fda1d064f052a44f5202b
[]
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
715
r
subset_met.Rd.R
library(MetProc) ### Name: subset_met ### Title: Group Metabolites based on Pooled Plasma Missing Rate ### Aliases: subset_met ### ** Examples library(MetProc) #Read in metabolomics data metdata <- read.met(system.file("extdata/sampledata.csv", package="MetProc"), headrow=3, metidcol=1, fvalue=8, sep=",", ppkey="P...
3e6ace656e6ff5b3e496bdee94ff2c69229daeff
ee2aa3368bd279171ae514fc2e5f9138364a6dc1
/man/rWEO-package.Rd
339cdd2d511876bc4572c62a320a199be4f54037
[]
no_license
mingjerli/rWEO
f297f0ad0cd94c37cd2e9f15a3d46c189ee30180
c23b3bc7523383fa7f33d7f0e4219e3d207e6406
refs/heads/master
2020-06-02T14:10:35.554111
2014-10-22T14:55:54
2014-10-22T14:55:54
25,585,923
1
0
null
null
null
null
UTF-8
R
false
false
1,005
rd
rWEO-package.Rd
\name{rWEO-package} \alias{rWEO-package} \alias{rWEO} \docType{package} \title{ ACCESS LATEST IMF WORLD ECONOMIC OUTLOOK (WEO) DATA IN R } \description{ The rWEO package allows R to directly access World Economic Outlook data. World Economic Outlook is basically a survey conducted and published by the International Mon...
f7cdeac94a66080ef6642f31f9fd5d0119fdcdfd
aea88f9190f1f7b52815bf3035e4e470edf8d4e8
/notebooks/diagnose.R
54e42f800fede2326ec40ce4b7efcfe97c35bf6e
[ "MIT" ]
permissive
marcpabst/bayesian-mice-decisions
2fe9ef6e772783073d87325c26e5b3553b3e5854
f393cfe506dfb0d948d1105abe5b3543f08d4062
refs/heads/master
2023-07-26T07:28:01.650109
2021-08-23T11:17:18
2021-08-23T11:17:18
394,764,874
0
0
null
null
null
null
UTF-8
R
false
false
1,545
r
diagnose.R
# This script uses `cmdstanr` to run the Stan model. Using R gives us access to a wider variety of tools, including those included in the `bayesplot` package. # load stuff library(BayesHMM) library(bayesplot) library(tidyverse) library(bayestestR) library(ggplot2) library(abind) library(cmdstanr) # load data from csv...
02d1819756061048d56133508057cdb7dbfc483c
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/RMOA/examples/MOA_classification_ensemblelearning.Rd.R
00b562868bfe9bfc14f872b359518cfcaf74a703
[]
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
531
r
MOA_classification_ensemblelearning.Rd.R
library(RMOA) ### Name: MOA_classification_ensemblelearning ### Title: MOA classification using ensembles ### Aliases: MOA_classification_ensemblelearning AccuracyUpdatedEnsemble ### AccuracyWeightedEnsemble ADACC DACC LeveragingBag LimAttClassifier ### OCBoost OnlineAccuracyUpdatedEnsemble OzaBag OzaBagAdwin Oza...
c025143ef991b5390d321e4db9bc501f89bf088b
cf88e5d651a4312623a922be1d093f0c2ff6074c
/Source code/Survey Analysis.R
5cb402082e086f75fdac09b8ce59ae9d28e71317
[]
no_license
RezaSadeghiWSU/Sleep-quality-in-caregivers
8853286bf065dff5ae49639d7147b237fe1da066
ecf23f8937f376804033e05bdaa5b79e5ccc7db7
refs/heads/master
2021-06-07T17:45:19.665599
2021-05-25T00:19:20
2021-05-25T00:19:20
147,614,619
8
4
null
null
null
null
UTF-8
R
false
false
5,072
r
Survey Analysis.R
# Author: Reza Sadeghi # Email: reza@knoesis.org; sadeghi.2@wright.edu # Date: 4/22/2018 # Description: Servay analysis of Dementia Caregiver managment # Import data #library(readxl) #Sleep_Survey <- read_excel("C:/Users/Reza Sadeghi/Desktop/Dementia Caregiver Sleep Dataset/Sleep Survey.xlsx") Sleep_Survey <- ...
4d4e2ad248bf3c816dd88bd6df628905ef6990be
d73d1fffc2c69ed18638262380186db28ef129c8
/R/reduceloadsolar.R
cf906f057424ad3643eda54754019d3d748ed3fb
[]
no_license
estalenberg/ptrm
7f48a545e679fcefcddaf7009c8f7304e21883bf
262755ead3ee8b6e0900775134ac401e799ddc4c
refs/heads/master
2020-04-30T12:26:35.587724
2019-07-31T09:22:56
2019-07-31T09:22:56
176,826,698
0
0
null
null
null
null
UTF-8
R
false
false
881
r
reduceloadsolar.R
#' Reduction in energy load from solar #' #' Formula for calculating tbe cumulative reduction in energy load GWh from increased solar per year #' #' #' @param yearslabel label of projection years from 2020 #' @param other.df dataset of DNSP static vectors #' @param custongrid number of customers on grid #' @param psola...
25e62d207427518d885710b3706659a3a973804f
0e38b8f94d9294247e8a60be458cdbcb69398c5b
/tests/testthat/test-branch.R
8a0d15cf664fde3dd306fe6868bd6792805c70c5
[]
no_license
mverseanalysis/mverse
d57aa46f424f15fa9e317928c065aa06d688973b
bf15309a2542c14223cb53c222b0cb7e023311e9
refs/heads/master
2023-08-16T19:52:37.579380
2023-08-07T18:54:34
2023-08-07T18:54:34
241,745,842
8
2
null
2023-08-07T18:54:36
2020-02-19T23:03:43
R
UTF-8
R
false
false
7,158
r
test-branch.R
test_that("Branches require at least one rule.", { expect_error( mutate_branch(), "Error: Provide at least one rule." ) expect_error( filter_branch(), "Error: Provide at least one rule." ) }) test_that("*_branch() defines branches without 'name'.", { expect_equal( rlang::quo_name(mutate_b...
2769edf9aa9e5cf0225eb93ff7de697605404e63
69103d17a9a04a02aff5c1246f30c7a45ea566ea
/R/load_data.R
e396342f63298798a54fd06935e419d0a71d7d1d
[ "MIT" ]
permissive
jincio/covidPeru
0de7d30a41bacdf6385ef2d80ec422ee766473ee
4b3f9ff6234b913d8bd3ea3c5819d8da47c4fa01
refs/heads/master
2023-06-04T11:31:46.198051
2021-07-02T16:37:57
2021-07-02T16:37:57
291,585,607
8
6
NOASSERTION
2021-07-02T16:37:57
2020-08-31T01:32:30
R
UTF-8
R
false
false
3,186
r
load_data.R
#' Load positive COVID cases #' #' Cargal la base de datos de casos confirmados desde la página de datos abiertos #' #' @return data_frame #' @export #' #' @examples da_positivos<-function (){ file="https://cloud.minsa.gob.pe/s/Y8w3wHsEdYQSZRp/download" data=data.table::fread(file,encoding="Latin-1") data1 = dply...
3d940fcffc159814e665130e3d8256004587bc45
d1ae4717b37ccc96792c3c5b342b1d3be07517ec
/R_Q2.r
2085df360e8565a477b627841c85e30acfe43433
[]
no_license
solankivaibhav789/r-programming
6736671612e07e415ebe3b24510cebcc8371e4e0
ad43fdf53a25507893f3275bc689323a16d5a5af
refs/heads/master
2020-03-14T09:39:02.860274
2018-04-30T04:52:47
2018-04-30T04:52:47
131,549,149
0
0
null
null
null
null
UTF-8
R
false
false
292
r
R_Q2.r
df=data.frame(instv=c("i1","i2","i3","i4"), v1=c(1.5,2.0,1.6,1.2), v2=c(1.7,1.9,1.8,1.5)) l=c(1,2,3,4) Fun_euclid_distance<-function(x,y){ p=100 index=100 for(i in l){ y=sqrt((df[i,2]-x)^2+(df[i,3]-y)^2) if(p>y){p=y index=i} return (i)} } x<-Fun_euclid_distance(1.4,1.6) print(x)
dd538678b35944d39463836561296e43963f97d9
381ea93b5654c74584e203676ceb9bd17bd608b0
/man/saveload.Rd
e501c68051e35f5f3d332a4e9d95a9064201c05a
[]
no_license
gmbecker/GRANCore
e26962f45f2ee646cc3c24f24ebe11212a51ec62
47809ff6789185df947159f1d73249abd7694bee
refs/heads/master
2022-01-11T10:00:33.795287
2019-10-31T00:35:24
2019-10-31T00:35:24
112,526,940
1
5
null
2019-05-24T21:23:05
2017-11-29T20:56:19
R
UTF-8
R
false
true
644
rd
saveload.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Utilities.R \name{loadRepo} \alias{loadRepo} \alias{saveRepo} \title{Backwards compatible load utility} \usage{ loadRepo(filename) saveRepo(repo, filename) } \arguments{ \item{filename}{The file to load} \item{repo}{The GRANRepository objec...
c5f7c4c1f1d202c096c71f48518dabba296d6db5
5e533da27bf1d338f42aa6363f0f217dfb592d02
/man/arima_boost.Rd
65b07184559111128c8817aae200cd3a31e8d17c
[ "MIT", "LicenseRef-scancode-generic-cla" ]
permissive
eashanadhikarla/finnts
8bb47f9e9c22d48efbb10d9091b1aa1bf2c39678
cba6266c8d53d21eac139003cb2d7a11d57bbb73
refs/heads/main
2023-09-04T22:15:37.359842
2021-11-12T17:09:52
2021-11-12T17:09:52
null
0
0
null
null
null
null
UTF-8
R
false
true
722
rd
arima_boost.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/models.R \name{arima_boost} \alias{arima_boost} \title{ARIMA Boost} \usage{ arima_boost( train_data, frequency, parallel, horizon, tscv_initial, date_rm_regex, back_test_spacing, fiscal_year_start, pca ) } \arguments{ \item{...
69e3203f4db3a8ae1dbdf629dead668ec6052e68
a9842718967767bdb67ebab2c7f0506709a77d5f
/Empirical Examples/Cattaneo/Cattaneo.R
7fc08a2e5059a818ebd1d968ac2dab0cfea72c6f
[]
no_license
QuantLet/Outcome-adaptive-Random-Forest
a0e2f762157b1dc7b2e1a5a4449fb31f4417d132
ad24e8171ea0be5e7926a9d0e7875a3a3c76b6a1
refs/heads/main
2023-06-23T11:03:47.549947
2021-07-26T12:09:26
2021-07-26T12:09:26
389,566,312
1
0
null
null
null
null
UTF-8
R
false
false
2,349
r
Cattaneo.R
library(ranger) library(scales) library(MASS) library(ggplot2) library(cowplot) library(glmnet) library(RRF) library(haven) cattaneo2 <- as.data.frame(read_dta("cattaneo2.dta")) View(cattaneo2) cattaneo2$Y <- cattaneo2$bweight cattaneo2$A <- cattaneo2$mbsmoke cattaneo2$bweight <- NULL cattaneo2$mbsmoke <- NULL cat...
d76063a90b9628481fdcc9b2dd416f155ad6430e
c9c7ead98512805ea11054e80096d859ebf98537
/R/ExampleFunction.R
c3c8102d58d4714841ebf8f05ecdde64e09df979
[]
no_license
NabeelBedar/Optimization
d1c45dc5777fca59bc873ba0007d07c37d80e24a
514a0c5a66aaff63607aa93b261f5b53296d0208
refs/heads/main
2023-04-22T07:21:46.778069
2021-05-08T14:58:03
2021-05-08T14:58:03
351,846,258
0
0
null
null
null
null
UTF-8
R
false
false
147
r
ExampleFunction.R
#' Finds the minimum point of a function #' @export #' @param f function #' @param x variable f <- function(x){ x^3 + 5*x^2 - 4*x + 2 }
88e508daa6df3376bb0c6cbc62dbcf52fe3a886e
c88df554b1de89825402bb751b45e54a4f9e4293
/run_analysis.R
b82285613c89afda8c5e04f566a0cced90735e43
[]
no_license
SamLawrance/gcd
5fe191ca696a9b6c89dbf200e1e64480fb453918
bbc54ce0726305c3a4441d04e187e2383f4e23f4
refs/heads/master
2016-09-01T19:33:20.038218
2015-02-22T12:56:30
2015-02-22T12:56:30
31,161,968
0
0
null
null
null
null
UTF-8
R
false
false
2,714
r
run_analysis.R
# Sam Lawrance - Getting & Cleaning Data Course Project # Where you see [n], it refers to the numbered list in the assignment # description. Eg. [1] refers to "Merges the training and the test # sets to create one data set" on the assignment web page. # dplyr is used for left_join and select functions. library(dplyr)...
07a9a764356362dbe8df56abc10469c72bba7a7d
833fad22658188b3220e563860c9319929805de1
/man/projectUMAP.Rd
c478db3be1a3f09cfbf2ec19d7386c888a69f46c
[]
no_license
yz46606/Socrates
ba7622bdce687fdadb407626a2b8b4250b1cbfba
87ef203624ed6c5992b52ee960c39b9fed4a9917
refs/heads/main
2023-09-02T15:22:04.597315
2021-11-16T00:38:33
2021-11-16T00:38:33
null
0
0
null
null
null
null
UTF-8
R
false
true
1,038
rd
projectUMAP.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/reduce_dimensions.R \name{projectUMAP} \alias{projectUMAP} \title{Project cells into a reduced embedding with UMAP} \usage{ projectUMAP( obj, m.dist = 0.01, k.near = 40, metric = "cosine", svd_slotName = "PCA", umap_slotName = "UM...
7b12a0b7e76d234e5f8029d611b27448c2ea0598
128025338a34d4751aa16adc2109c57d97b0da3f
/man/strata.Rd
5893bd70747ae8eab4b0b38b9ee41b0f321c88e1
[]
no_license
MurrayEfford/openCR
e2de3810d9582406d598d0637fa4dd864468b961
949c39e3c65be41be859499fb7d3c9645e951629
refs/heads/master
2023-07-21T22:28:22.287511
2023-07-11T08:52:45
2023-07-11T08:52:45
116,920,401
2
0
null
2021-12-02T20:16:51
2018-01-10T06:57:54
R
UTF-8
R
false
false
1,797
rd
strata.Rd
\name{strata} \alias{strata} \alias{strata<-} \title{ Stratum names } \description{ Extract or replace the stratum names of a \code{capthist} object. } \usage{ strata(object, \dots) strata(object) <- value } \arguments{ \item{object}{ object with `stratum' attribute e.g. \code{capthist} } \item{value}{ charac...
f63ef723797495e05ca928678bf6921dd57d5e32
9d86e7d498f58a0c0cd69d969db68b1c5dcf44a4
/students/20201210_question_cn.R
309e7799d41a92dc6d021fa0c4e7fd6a6f3af463
[ "CC-BY-4.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-unknown-license-reference" ]
permissive
qsmei/lbgfs2020
f5314e4505201b4fd2ece542e64d87ee8f4a3b17
50001936dfaf2a4e4ec9ba3436665d4783b1dd29
refs/heads/master
2023-02-02T18:11:47.311100
2020-12-19T08:21:31
2020-12-19T08:21:31
null
0
0
null
null
null
null
UTF-8
R
false
false
2,355
r
20201210_question_cn.R
# Solution by C.N. n_nr_trait <- 2 n_nr_founder <- 3 n_nr_animal <- 8 n_nr_observation <- n_nr_animal - n_nr_founder tbl_data_sol12p01 <- tibble::tibble(Animal = c((n_nr_founder+1):n_nr_animal), Sex = c("Male", "Female","Female","Male","Male"), S...
bc3b8b1e7a320d202518ab2d9e9eb797cafcc53f
31e3cc6b91ee5b169685fa1c04bc49196224ec68
/project3_Bootstrap Project/BootstrapProject_part1_YifengLan.R
14d17d3d2d4aa09dac8ba53468595e72320e7a30
[]
no_license
AliceLLLLLan/APPLD-MULTIVAR-ANAL
72de99c86208e9d8f53cce11504989bb807cf841
46d4f94e6a5aed0c96daa225c0d7fe986c4c0be6
refs/heads/master
2020-04-03T18:11:13.203224
2019-01-22T23:02:00
2019-01-22T23:02:00
155,474,125
0
1
null
null
null
null
UTF-8
R
false
false
1,349
r
BootstrapProject_part1_YifengLan.R
Heart<-read.csv("/Users/AliceLan/Desktop/R Class/Heart.csv") my.bootstrapci.ml <-function(vec0,nboot=10000,alpha=0.1) { #extract sample size, mean and standard deviation from the original data n0<-length(vec0) mean0<-mean(vec0) sd0<-sqrt(var(vec0)) # create a vector to store the location of the bootstrap stud...
2531627e5855ce4e52a5d78a9dfcee937ed585bb
fa13b20aec42378fb383aee1c43d22a322a43f9f
/man/select_eye.Rd
d90cc2e61f7ca8138b99b3261e106caa31254a75
[]
no_license
dr-JT/pupillometry
5d69d06046d44d2bed9ef6b98833b1726cc51073
06e12f13021b214791fa7880e768fa8f3fba7b20
refs/heads/main
2023-05-31T02:06:12.279030
2023-05-03T22:46:14
2023-05-03T22:46:14
146,345,641
3
0
null
null
null
null
UTF-8
R
false
true
752
rd
select_eye.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/select_eye.R \name{select_eye} \alias{select_eye} \title{Select eye} \usage{ select_eye(x, eye_use = "") } \arguments{ \item{x}{dataframe.} \item{eye_use}{Which eye to use? left or right?} } \description{ Choose which eye to use for analysis...
0049963aad4b5d5368e7901a9b294c4d6988cc22
d495cef21676e32838467a8960331b61a638cf1e
/man/rocx.Rd
1749439b79795d087e8f409c3b6fa9425063b8dd
[]
no_license
davan690/rocx
6f04f92939ab25de205bd7507bee04593fdcf5d6
efe822f2298beaab5fda749c983ebf0e94680f1c
refs/heads/master
2020-07-05T00:57:37.943261
2016-11-24T18:21:40
2016-11-24T18:21:40
202,476,354
1
0
null
2019-08-15T04:54:24
2019-08-15T04:54:24
null
UTF-8
R
false
true
365
rd
rocx.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rocx.R \name{rocx} \alias{rocx} \title{rocx} \usage{ rocx(reference_docx, draft = TRUE, keep_old = FALSE, use_bookdown = TRUE, ...) } \description{ This is the function that is called internally to generate the memos in different forms. Th...
2f07870952c26a9c7aaa52f1cda2e919a57ebdb6
22bbe5aeec6cca2c152a3c90b83743717f96a4a2
/02_INSPIRES_leaflet_example.R
5935f02a37600f4154c0ff4e9195fd1ce2df6f5e
[]
no_license
onetreetwotrees/INSPIRES_shared_site_map
4da5224e4c73b4ff0e5eb8b90c183e92afcfe557
b76552232afed84f1a2b663273f884738dfec67b
refs/heads/main
2023-03-24T11:08:39.377479
2021-03-23T16:11:57
2021-03-23T16:11:57
350,753,289
0
0
null
null
null
null
UTF-8
R
false
false
3,710
r
02_INSPIRES_leaflet_example.R
library(shiny) library(leaflet) #library(raster) library(rgdal) ## Leaflet examples from https://nceas.github.io/oss-lessons/publishing-maps-to-the-web-in-r/publishing-maps-to-the-web-in-r.html ## Accessed 2021-03-02 ## Try with Track 2 sites track2_sites <- read.csv("data\\Track2_site_coordinates.csv", header = T) b...
fca629924db547d92196a404500b7c9016da9165
19d60de824aaf4a4f6bc0fb97371791ee53d5166
/man/getSubsetReads.Rd
555f042288c44de022043785a3db7ea39b92f606
[]
no_license
tgirke/systemPipeRdata
6eb30d9681062fc2462cbf4c0fa561131f69c60c
8fa1d78931a3c68e226ec988421ee838a9058c78
refs/heads/master
2022-10-30T13:07:31.454000
2022-10-23T20:56:55
2022-10-23T20:56:55
39,166,821
10
15
null
2023-08-21T22:00:34
2015-07-15T23:54:51
R
UTF-8
R
false
false
2,259
rd
getSubsetReads.Rd
\name{getSubsetReads} \alias{getSubsetReads} \title{Subsetting fastq data} \description{ Returns subsets of fastq files data based on specific mapping regions or list of genes or GRanges object. } \usage{ getSubsetReads(args, geneList = NULL, gr = NULL, MappingRegion = 1:1e+05, sample_range = 90000:1e+05, tru...
c0e5d83a5e6bfaa879cec086a5a158f24df35a18
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/PET/examples/readSifData.Rd.R
8203f7af3dcc2417224e018a6ec3fe70dcc28f74
[]
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
496
r
readSifData.Rd.R
library(PET) ### Name: readSifData ### Title: Reloaded System Matrix ### Aliases: readSifData ### Keywords: IO file ### ** Examples ## Not run: ##D P <- phantom(n=101) ##D rP <- markPoisson(P, nSample=1800000) ##D irP <- iradonIT(rP$rData, 101, 101, KernelFileSave=1, ##D KernelFileName="SystemMatrix...
ce7dd687cf8d22ae0a994fecf03fe1d9d51fbb75
fbfe4ad157c97e83391339e4d17b93697b9ab6be
/plot1.R
a554b2146d27426a9427d8eab90ac14e0bc7817f
[]
no_license
mx3Carlangaz/ExData_Plotting1-1
50f6c0fae90dfc50907731d6400532a8e9f613b9
d3feeb76d07a511b2edb0ed75441148770f44656
refs/heads/master
2021-01-22T00:10:41.158727
2016-03-13T23:39:01
2016-03-13T23:39:01
53,813,484
0
0
null
2016-03-13T23:33:51
2016-03-13T23:33:51
null
UTF-8
R
false
false
526
r
plot1.R
f.path <- "household_power_consumption.txt" file <- read.table(f.path, stringsAsFactors = FALSE, sep=";", header = TRUE) file$Date <- as.Date(file$Date,"%d/%m/%Y") file$Global_active_power <- as.numeric(file$Global_active_power) file <- subset(file, Date %in% c(as.Date("1/2/2007","%d/%m/%Y"),as.Date("2/2/2007","%d/...
ed34a781baba690647f8c9cf253c1d9d318c2b91
c5bc2307bcead541658ccd7f49db4eda9a6a3762
/R/noise.R
8ff1c9a1702faabef995a1444dc42d29c2678dbc
[]
no_license
shfischer/FLife
b2216da5bdf3f463cc7ea354e49115f598ecafe0
4979df14be234debeb468d89cf2659bb2f659836
refs/heads/master
2021-08-18T07:43:51.998014
2020-08-02T18:35:08
2020-08-02T18:35:08
238,467,826
0
0
null
2020-02-05T14:20:48
2020-02-05T14:20:46
null
UTF-8
R
false
false
1,844
r
noise.R
#' @title Random noise with different frequencies #' #' @description A noise generator for lognormal errors #' #' @name rlnoise #' #' @param n number of iterations #' @param len an \code{FLQuant} #' @param sd standard error for simulated series #' @param b autocorrelation parameter a real number in [0,1] #' @param ...
7b91c9516c42aac3663559ed88042acf3fa83f29
ac607fe77bec7c73fc153da682651f43ea535d25
/man/L.Rd
56567f3ee8591697288d2e4095dd7e5ac44ffc04
[]
no_license
cran/Calculator.LR.FNs
ee38253eb9efe983871732bd832b2fd3708bb39b
f7d7c1b6faef82b6ff23c24758870f0a9863d5cb
refs/heads/master
2021-01-10T13:17:31.510783
2018-05-02T11:04:22
2018-05-02T11:04:22
55,230,693
0
0
null
null
null
null
UTF-8
R
false
false
2,087
rd
L.Rd
\name{L} \alias{L} \title{ Introducing the form of L fuzzy number } \description{ Considering the definition of LR fuzzy number in \code{LR}, if the left and the right shape functions of a LR fuzzy number are be equal (i.e., \eqn{ L(.) = R(.) }), then LR fuzzy number is a L fuzzy number which denoted by \eqn{...
8eb436ec92c395e2b47f5e6ca623d2d8de9cee01
105fdf07504ddc0c8093c3fa713eca42f1a3edb0
/src/esom.R
f5dcc7186b4148c2284d97834ba3691e1c09a0e1
[ "MIT" ]
permissive
rebelrebel04/emergence
d27fe3463d0578feeef2e8fc2ff21c8f4ffbaf27
1b5bbc6ad2b3e400f9e08b8bb815e8683dd6b2e8
refs/heads/main
2023-08-28T00:27:09.203106
2021-11-12T00:27:24
2021-11-12T00:27:24
417,932,835
0
0
null
null
null
null
UTF-8
R
false
false
888
r
esom.R
library(Umatrix) data('Hepta') ir <- iris %>% select(-Species) %>% as.matrix() res <- esomTrain(ir, Key = 1:nrow(ir)) # res <- esomTrain(Hepta$Data, Key = 1:nrow(Hepta$Data)) res Umatrix::plotMatrix(res$Umatrix, res$BestMatches, TransparentContours = TRUE) map <- Umatrix::esomTrain(as.matrix(distances), K...
de6e706b710c055feeafe182132bca509b6b4a7d
f0bff74ed6fc7d62e3f4ea7d50f2be1757f994f7
/PlanB/clonevol2FIshplot.R
00a5ae926d0f9a4cf14b660b20b441f564f42e76
[ "MIT" ]
permissive
Ninomoriaty/Schism2Fishplot
379b278cb809eee6f0c3a61e591c0830171ee5ad
796b1677b20e783135c66ceb0f1897b2cc38b64d
refs/heads/master
2020-05-06T15:29:04.110989
2019-05-29T17:47:38
2019-05-29T17:47:38
180,192,163
0
0
null
null
null
null
UTF-8
R
false
false
1,726
r
clonevol2FIshplot.R
# dependencies of clonevol library(gridBase) library(gridExtra) library(ggplot2) library(igraph) library(packcircles) library(trees) # dependencies of fishplot library(png) library(Hmisc) library(plotrix) library(clonevol) library(fishplot) ### need to be automated sc2 = read.table("/home/ninomoriaty/R_Project/E...
0f38de3a839a4b3cf95efeef4ca21d944e2f8533
10005fa385fcfb01d8dd89fbbcf6fd6001fb3f38
/tex_file/jcgs/figs/new_experiment_figs/plotmh.R
f04b9e6ee51e6cc870a8c45607189a722de2c6b2
[]
no_license
boqian1000/MJP_Boqian
ca605fd1dc8a20202f7c173c15895e3c3317598f
53364d977fbb35827e88ee72b16d5b61ab8a9ca4
refs/heads/master
2021-05-04T11:06:32.068175
2020-03-25T22:04:18
2020-03-25T22:04:18
52,987,313
0
0
null
null
null
null
UTF-8
R
false
false
4,999
r
plotmh.R
# exp model final plot setwd( "/Users/Isaac_Zhang/Research/MCMC/simulation_result/data/exp_dim3/") library(ggplot2) load("rda_var") #load("rda_L") load("gbs_a") gbs_a$var2 = var[,1] + 0.02 gbs_a$var3 = var[,1] - 0.01 load("gbs_b") gbs_b$var2 = var[,1] + 0.02 gbs_b$var3 = var[,1] - 0.01 load("mh_a") mh_a$var2 = var[,1...
ca9cd95314ae3a10727953e72625b787b452f877
0cbd783c8c2323ab714d01c7bc30f30726268358
/src/cve_analysis/plot_err_fpsize.R
532d72a042cab6eefc8bbee5747b5c0be28813d5
[]
no_license
kingjml/cveureka
fb3de6b448b81e40e81c4e120eaf8042d5e53e9a
82b1472f857ad5f8eef34a7e50d1e674f31b9c3f
refs/heads/master
2022-04-10T21:19:25.889747
2020-03-30T06:44:20
2020-03-30T06:44:20
255,668,508
0
1
null
2020-04-14T16:50:31
2020-04-14T16:50:30
null
UTF-8
R
false
false
1,102
r
plot_err_fpsize.R
# Error value vs. footprint size source("config.r") d = sql.fetch(sql.query(" SELECT fp_size fp,{sq.error_stat} FROM {db.schema}.asr_error JOIN {db.schema}.asr_grid_zone USING (id_asr) WHERE dens_adj AND offset_calib = '{qp.offset_calib}' GROUP BY fp_size ")) dcont = d[d$fp>0,] dpdl = d[d$fp==-1,] p...
d6f5a9d2c9671ad0a5bb4150ea4b2c39d3387783
2d271f2b775acde9dc6e9f42d86cccce0729ade5
/man/rowCofactors.Rd
180d75b6af6d887c766c65ba0e7a44c795c5a00c
[]
no_license
cran/matlib
6275bab0cadc45b1259e87a2864012f429e3f2f8
876d6181d63e3f9922d01adf2e32621775ab3e03
refs/heads/master
2022-12-22T02:35:55.163954
2022-12-08T16:20:15
2022-12-08T16:20:15
48,083,459
0
0
null
null
null
null
UTF-8
R
false
true
1,025
rd
rowCofactors.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/determinants.R \name{rowCofactors} \alias{rowCofactors} \title{Row Cofactors of A[i,]} \usage{ rowCofactors(A, i) } \arguments{ \item{A}{a square matrix} \item{i}{row index} } \value{ a vector of the cofactors of A[i,] } \des...
19cb752d72fe83559120efce7d5c241b8c10955c
c82776509a0587d12ab512853f6035cbb026292d
/productionfunction.R
687f1e8d3a91908f7c782ddd7960059156c65380
[]
no_license
fidocash/SFA
d857f6a84c4ecea583905fd6ee6fb773b85c48b3
61824125ea83cf7f29eb520da7efb8a6c29a7db2
refs/heads/master
2020-06-26T20:19:35.949912
2016-08-20T13:22:58
2016-08-20T13:22:58
66,147,568
4
0
null
2016-08-20T13:33:47
2016-08-20T13:13:29
R
UTF-8
R
false
false
1,032
r
productionfunction.R
##translog #B&C95 | INPUTS = LABOUR, CAPITAL (PENN WORLD TABLES 9.0) | OUTPUT = REALGDP (PENN WORLD TABLES 9.0) | VARIABLES IN THE EFF.MODEL = FDIPERGDP (UNCTAD), ECI (HARVARD), HC (PENN WORLD TABLES 9.0 BY BARRO) # ADDED VARIABLES = t (TIME TREND), DGEO (GEOGRAPHICAL DUMMY, FOR MOST DEVELOPED COUNTRIES, 1 if MOS...
91aceb850c9b6fd709cd0ce148c9ea0567ccdaad
f0b76f4edc64b465f387205e026addf28581611d
/man/LoglikelihoodSM.Rd
fa11d8d5fce333c831313063cf48ea3a449c53eb
[]
no_license
cran/SMM
74f37de99ee98521e80ba8dde25abd439cdee592
f3b14f0517376ee60ec23143994aa81a9e43658e
refs/heads/master
2021-01-01T17:20:54.441906
2020-01-31T12:30:02
2020-01-31T12:30:02
98,057,464
1
0
null
null
null
null
UTF-8
R
false
false
5,559
rd
LoglikelihoodSM.Rd
\name{LoglikelihoodSM} \alias{LoglikelihoodSM} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Loglikelihood (semi-Markov model) } \description{ Computation of the loglikelihood starting from sequence(s), alphabet, initial distribution, transition matrix and type of sojourn times} \usage{ ## para...
2e8c0957aaad0d1dcbf3d11c62ca3f8c82751612
1e79975906acd1d42637be95cedd0aa8219877f7
/R/plot_latencias.R
341b2a0df337fc98a83d480b8b494dbee01ef121
[]
no_license
dekassegui/db-megasena
ee8d1ffd89bcb96402519395e2d669471b372e05
ba6ec72a3bf8b3a8168a6d3f0c608aefc652c796
refs/heads/master
2022-02-05T00:01:28.722488
2022-02-03T01:46:04
2022-02-03T01:46:04
32,427,202
7
3
null
null
null
null
UTF-8
R
false
false
2,907
r
plot_latencias.R
#!/usr/bin/Rscript --no-init-file library(RSQLite) con <- dbConnect(SQLite(), dbname='megasena.sqlite') concurso <- dbGetQuery(con, 'SELECT MAX(concurso) FROM concursos')[1,1] latencias <- dbGetQuery(con, 'SELECT latencia FROM info_dezenas') # "prepared statement" para requisitar as máximas latências de cada número rs...
67067f2c01c178a82d45994f39508c4c1de41015
6b4fe2baa84e74af637f319ea5d887cb2fd6f9a2
/kevin/rimod-analysis/methylation/methylation_promoter_integration.R
6d02d8a101464e145bf89290f30f3f053b24824d
[]
no_license
dznetubingen/analysis_scripts
1e27ca43a89e7ad6f8c222507549f72b1c4efc20
4fcac8a3851414c390e88b4ef4ac461887e47096
refs/heads/master
2021-06-25T10:47:40.562438
2021-01-04T16:02:34
2021-01-04T16:02:34
187,789,014
1
0
null
2020-09-03T11:37:25
2019-05-21T07:55:17
Jupyter Notebook
UTF-8
R
false
false
1,508
r
methylation_promoter_integration.R
############################# # Integration of methylation and promoter shifting results ############################# setwd("~/rimod/integrative_analysis/methylation_promoter_analysis/") # load promshift ps <- read.table("~/rimod/CAGE/cage_analysis/promotor_shifting/frontal/grn_shifting_promotors.txt", sep="\t", ...
37953bed85ff1fc86f74a679728ac68ba45cdce6
530e4a6c55866b9a9ec608ca63d3b4a5c8e51bde
/build-script.R
bc16746325cc120a79d476567990d124f6001a8b
[ "CC0-1.0" ]
permissive
christophsax/statistical-software-review-book
0baff7bc6d866fe29e0ab13ffe6438a94d5448d3
861f5df10b697dbdb691b0a773e3ef9125a64808
refs/heads/main
2023-05-24T00:01:48.260862
2021-06-09T14:53:22
2021-06-09T14:53:22
378,166,477
0
0
null
2021-06-18T13:55:33
2021-06-18T13:55:32
null
UTF-8
R
false
false
336
r
build-script.R
#!/usr/bin/env Rscript source("scripts/getZoteroNotes.R") Sys.setenv("CHROMOTE_CHROME" = "/usr/bin/google-chrome-stable") # bookdown::render_book("index.Rmd") # bookdown::render_book("index.Rmd", output_format = c ("bookdown::gitbook", "bookdown::pdf_book")) bookdown::render_book("index.Rmd", output_format = c("bookdo...
5535a89712cce9319ec4d0391e9eca62758f0865
b1ff0a836e26d49dcd4af717017f5ae17e25502b
/rstudio script.R
917fd6d2ee1dd8a1d968b58c07eca74093705404
[]
no_license
daniellim051000/HourlyWeatherData
f020a37745291087ece12be34efcd79e60509ecb
a49a65f8afebf83f2e67317ddefb5eb582bc2368
refs/heads/master
2023-01-19T17:27:21.348143
2020-11-21T09:11:30
2020-11-21T09:11:30
313,641,511
0
0
null
2020-11-21T09:11:31
2020-11-17T14:16:47
R
UTF-8
R
false
false
6,855
r
rstudio script.R
#PDFA Assignment #Lim Zheng Yu #TP051131 #Import data filepath = '/home/daniellim0510/Documents/HourlyWeatherData/4.Hourlyweatherdata.csv' data = read.csv(filepath) #Attach Library library(ggplot2) library(dplyr) #summary of dataset summary(data) #Pre Processing #Drop Year Column data = select (data,-c(year)) #cha...
d5638edf643d9d484b04ed7a6e75775a1b2afb14
d04ce3da9081f0b6fb09d2379cacacd36ef23629
/R/integral.R
3c22400b97836003815695d28cce8b8768a3b247
[ "MIT" ]
permissive
gbasulto/mvdeconvolution
89ce5851548e335e8b0786672dcdce6cfb3358bd
6dafeb2f735b2bd8ee5be7bba550bb2edd48cae8
refs/heads/master
2016-09-10T00:14:23.666683
2016-03-04T03:29:38
2016-03-04T03:29:38
19,830,893
0
0
null
null
null
null
UTF-8
R
false
false
6,454
r
integral.R
#' Multivariate Fourier integral #' #' This function computes the a Fourier integral of a function with #' support in a hyper-rectangle. Right now, this function only #' computes univariate and bivariate continuous Fourier transform #' based on the paper 'Fast computation of multidimensional Fourier #' integrals' by I...
ecf0971060d45167337f1774d8fc9418d4d9a8bb
591771c6a3972cab8c680696771fd4b4aa0c3f20
/R/createDirectoryStructure.R
e30e08b2a7a65bf3028b4bf2b4cd9757f8ccd371
[]
no_license
Sumpfohreule/S4Level2
a36dfc014dde47763009dcc4420a198ce11a9a5d
9034cddbd04efed8cea8c5b90cb2e4fbf16209e7
refs/heads/main
2023-08-19T08:58:05.616624
2021-09-29T14:47:03
2021-09-29T14:47:03
304,371,990
0
2
null
null
null
null
UTF-8
R
false
false
246
r
createDirectoryStructure.R
######################################################################################################################## setGeneric("createDirectoryStructure", def = function(.Object) { standardGeneric("createDirectoryStructure") } )
8c2307353831745c08d266798f2bee6e2aa4990b
90f6e07975c0b8963d8de4c34eb8f43e061c270f
/R/InfoCritCompare.R
815393a7b5c5e4f7121d30c10d4601ed14132571
[]
no_license
jayverhoef/SSN
1411244d238170b90a23ac9e1f710e32d2bc1455
047c5fec5075422512e17b7360b797b66a113b9e
refs/heads/master
2023-05-01T17:42:59.986179
2023-04-21T21:04:06
2023-04-21T21:04:06
86,113,217
8
2
null
2020-06-03T16:13:52
2017-03-24T21:48:15
R
UTF-8
R
false
false
966
r
InfoCritCompare.R
InfoCritCompare <- function(model.list) { IC <- NULL for(i in 1:length(model.list)) { if(class(model.list[[i]])[[1]] != "glmssn") { stop("All models must be of type glmssn") } model.name <- NULL ind <- !duplicated(attributes(model.list[[i]]$estimates$theta)$terms) terms<- attributes(model.list[[i]...
44b9b5bba807608a99b1224009819a2ca62e7e85
a210d772d34187c6dc7ebc0fdf854c25330c6f10
/Welcome to R Programming/rankall.R
82b62f7b1a0a7146b66707038edeb47276c1af7b
[ "Apache-2.0" ]
permissive
dynamicdeploy/datasciencecoursera
79a36dff5c0fe60afea85914ca6e3cc05350e161
99229fba6a835be4003b3ebe7c2ceb89444293a0
refs/heads/master
2016-08-11T09:13:54.880398
2016-03-26T20:10:43
2016-03-26T20:10:43
52,928,312
0
0
null
null
null
null
UTF-8
R
false
false
4,715
r
rankall.R
## This function reads the outcome-of-care-measures.csv file and returns a 2-column data frame # containing the hospital in each state that has the ranking specified in num. For example the function call # rankall("heart attack", "best") would return a data frame containing the names of the hospitals that # are the bes...
699bddf0142e3c5112a067c9e94f61ba52349659
29585dff702209dd446c0ab52ceea046c58e384e
/clere/inst/doc/SimulatedDataExample.R
99ce0efa858d97b803ee5c541986fe78d2b39798
[]
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
1,760
r
SimulatedDataExample.R
source("Methods.R") ## Set seed Seed <- 1234 set.seed(Seed) ## Simulation parameters sigma <- 1 n <- 25 p <- 50 g <- 3 ## Beta intercept <- 0 g <- 3 probs <- c(0.36+0.28,0.20,0.12+0.04) Eff <- p * probs a <- 4 B <- a**(0:(g-1))-1 Beta <- rep(B,Eff) ## Generate da...
08482c36b5bbe0b6213884779efa5cb0caf0bdf2
cd8932e6ebfdfaf6a1a4f1773aa703780f710c27
/Chapter8.R
35a4d0e5693cc57caece50b3f37abb4bcfa3cae0
[]
no_license
st107755/R-for-data-science
97c283d8d3e48a339a720c49d903f2b6ecb3fce3
0e6165dd06bd95b9ab5d211de71804ae65476147
refs/heads/master
2020-04-29T00:15:40.105799
2019-03-14T19:35:30
2019-03-14T19:35:30
175,687,303
0
0
null
null
null
null
UTF-8
R
false
false
783
r
Chapter8.R
library("readr") library("ggplot2") locale(date_format = "%B") d1 <- "January 1, 2010" d2 <- "2015-Mar-07" d3 <- "06-JUN-2017" parse_date(d1,"%B %d, %Y") parse_date(d2,"%Y-%b-%D") parse_date(d3,"%D-%b-%Y") spread(table2,key = type,value = count) table2 %>% mutate(cases_per_day = ifelse (type == "cases" ,count/365,...
53485f0f3d50caa805a530fe46e451505b59450f
65c596764a3edd3576c04f6ec66fa5dd7ff9d642
/scripts/script1.R
d1f6d0bccd2a73bc4d42e01d54d8b823b1d36541
[]
no_license
anhnguyendepocen/irrs03
3dc45d18e0a0ca3ee93f53d7aa8796194dbe859e
966627755fedf825a5efcc2e2ff4e74da797d52f
refs/heads/master
2023-03-21T01:39:22.843592
2021-03-18T23:13:06
2021-03-18T23:13:06
null
0
0
null
null
null
null
UTF-8
R
false
false
670
r
script1.R
# This line does ..... composites <- c(4, 6, 8, 9, 10, 12) # preprocess -------------------------------------------------------------- composites_plus <- composites + 1 # visualization ----------------------------------------------------------- composites_minus <- composites - 1 # foobar ------ my_mean <- function...
f4c996baca1d1b2fb2d2d90bfa4f6cd1de233afe
145c99c7c8fb80dbc66e82cb370dd818427c7e9d
/Analysis/R_project/ReadAei.R
9ff3625d4c78a4359961161d3e2741bfe3a21fbe
[]
no_license
RJWorth/Lithopanspermia
7efa7456aac9c774a92f34360ffe911d154edbab
f74b9f588778ea5b9942f33f32ca4fa5a902e671
refs/heads/master
2016-09-05T20:57:40.634528
2014-03-05T19:31:39
2014-03-05T19:31:39
null
0
0
null
null
null
null
UTF-8
R
false
false
996
r
ReadAei.R
#read .aei for planets, rocks print('Read .aei files') subset=rocks[rocks$File==16,] colors=factor(subset$Destination,labels=c('gray','yellow','cyan4','cyan', 'blue','red','purple','light gray')) colors=matrix(colors) nobj.m=742 obj.m=list() #for (j in ObjInd) { for (j in c(0:10,165,638)) { # dir=file.path('/astro/g...
39d22dc14aae5e37382827942042f3c71a8fc1de
f0f67678e9029972c3dc1846f2a4f7c9968d2623
/model.R
07c5a321d3f37bbcdf2067359feefc8ed2670ac8
[]
no_license
marchiocchia/statistical-analysis-on-Trust-in-EU
35e45a79a48528988817e66cdd485cb40ba8213c
14a71ad0c3c725df54a561d262d39a87c553a799
refs/heads/master
2022-11-09T08:43:55.595109
2020-06-22T08:32:36
2020-06-22T08:32:36
274,079,290
0
0
null
null
null
null
UTF-8
R
false
false
10,918
r
model.R
library(arm) library(foreign) library(gmodels) ##MODELLO LOGISTICO TOTALE (28 STATI MEMBRI) dati$COUNTRY<-relevel(dati$COUNTRY,"(24) LT - Lithuania") dati$CLASSI_ETA<-relevel(as.factor(dati$CLASSI_ETA),"(2) 25 - 39 years") dati$COMMUNITY<-relevel(as.factor(dati$COMMUNITY),"(3) Large town") dati$CLASSI_ISTRUZIONE<-rel...
ecc9ef8e1a11db0ef51a47ebecbd2ec6793aa9ca
ba5d410c8756292ffdd3be28def5454cd08be267
/chapter03/09_Applied.R
47b9775abb4430357f520cf48857cce63c56814e
[]
no_license
saadlaouadi/ISLR
1f838022fd16c05ccef8f05a288ce351c4724c62
4cdb3ef128088216444f60a06ac26fb834098551
refs/heads/main
2023-03-21T09:02:34.141784
2021-03-18T20:45:23
2021-03-18T20:45:23
null
0
0
null
null
null
null
UTF-8
R
false
false
3,392
r
09_Applied.R
# Loading libraries library(MASS) library(ISLR) # (a) pairs(Auto) 'Horsepower and weight is highly correlated. (RED BOX) Displacement and weight are highly correlated. (GREEN BOX) MPG and acceleration seems like a non linear relationship (BLUE BOX) ' # (b) cor(Auto[,!colnames(Auto) %in% c("name")]) ' Numerically ...
e25c8bd64d388a20202b38660d8686fed05931ac
ad799d1d329b273fa22db8ea0340f275fff46776
/R/data_tree.R
1df6808138d262c7c76617d0e7057b4808c69141
[]
no_license
HongY23/acPCoA
70372001fbd1ae7a3a50b8a19ce12eb54af58bd0
5cb575677afbbfb4c10b5d230219980ce112509e
refs/heads/master
2023-08-13T07:15:59.441093
2021-10-12T09:59:07
2021-10-12T09:59:07
null
0
0
null
null
null
null
UTF-8
R
false
false
1,288
r
data_tree.R
#' @title Tree data. #' @description NGS whole genome shotgun (WGS) sequencing data of white oak trees. #' #' @format A list with multiple elements, which are #' \describe{ #' \item{DistMat.d2star}{the n by n distance matrix. n is the number of samples. d2star distance is applied.} #' \item{DistMat.d2shepp}{the ...
0304d5ddda712ec52353a43fb7aff0654690aed9
e23a3c63994d87aa5c78f7c4a8a9e805df860c58
/Analytics/SourceCode/MAS 3e - Param Persistence.R
d4282e26e95842e9b01e68a6dd17c9844c20b148
[ "Apache-2.0" ]
permissive
VHAINNOVATIONS/PerceptiveReach
090deab3f0a4a1019fc2f6ee18503d8311794f2c
29bb8c3cc47de0f75b6a6dd6be8577be661727bb
refs/heads/master
2020-04-06T03:34:13.383566
2017-10-27T18:36:28
2017-10-27T18:36:28
24,638,380
3
6
null
2016-08-30T17:04:06
2014-09-30T13:10:23
JavaScript
UTF-8
R
false
false
1,752
r
MAS 3e - Param Persistence.R
############################################################################### # Another aspect of the simulations is to determine if there is significant # fluctuation between simulation runs with the parameter coefficients. One # major aspect of examining the parameter estimates is to determine if there # are variab...
dea59934f0c85eb48ad32972c98fb6110132ff2e
b570732604126b9a84305e508ddf77471bd36119
/cachematrix.R
39055608c81871f09f4064c7286b8b7c07a18502
[]
no_license
n8atkinson/ProgrammingAssignment2
c75a919d24b09219aa2195e7bdabc4df1d75ca4a
0d5938d3ee65f3986cfd927a56cd80c036c3d2a1
refs/heads/master
2020-12-30T10:37:14.283846
2017-07-31T15:28:05
2017-07-31T15:28:05
98,849,059
0
0
null
2017-07-31T04:47:47
2017-07-31T04:47:46
null
UTF-8
R
false
false
1,752
r
cachematrix.R
## This a is secondary function call that returns already calculated matrix inverse or that it needs to be done makeCacheMatrix <- function(x = matrix()) { inverse <- NULL # Still a little unclear about this set <- function(y) { x <<- y inverse <<- NULL ...
f1a99f96bb9508207094472087ee280d53084ecf
3875910f927debbe78f30387404e2309faae00c9
/R/api_client.R
1884b5322785b2b82b43db1e09bc2cbd928be323
[ "Apache-2.0" ]
permissive
stjordanis/client-library-r
0fd44372e19196ab6b90c9c0ea5a86fd87c57a1e
e752cadf58135e2ebe9a4632a112acb95eec846f
refs/heads/main
2023-06-24T06:03:04.769727
2021-07-20T07:42:05
2021-07-20T07:42:05
null
0
0
null
null
null
null
UTF-8
R
false
false
5,931
r
api_client.R
# UbiOps # # Client Library to interact with the UbiOps API. # # UbiOps API version: v2.1 # Generated by custom generator based on: https://openapi-generator.tech get_setting <- function(var.name, local.var, default="") { if (!is.null(local.var)) { local.var } else { Sys.getenv(var.name, unset...
487b002e50a95ac4fddb938bf7245ac179c026cf
5f9489f9e7b5226616de6269f25afae0a03b6209
/R/SCR2DNAmcmc.R
4de9c0f781d9390a44f328964bdd01738c7be9e6
[]
no_license
benaug/SPIM
247c0c49a246d790fc1620f70a9d05b9cfc290db
b95be7391d5455c500677a9426b56d2944654d06
refs/heads/master
2022-02-20T03:03:35.775080
2022-01-22T19:46:40
2022-01-22T19:46:40
62,909,308
1
2
null
2021-02-04T18:27:19
2016-07-08T18:32:54
R
UTF-8
R
false
false
9,783
r
SCR2DNAmcmc.R
#' Run MCMC algorithm for basic SCR model with 2 observation processes that may or may not share sigma parameters #' @param data a list produced by simSCR2DNA or in the same format #' @param niter number of MCMC iterations to run #' @param nburn number of MCMC iterations to discard as burn in #' @param nthin MCMC thin...
a3852a46bc60f4fed28b195f948046e52ade9e38
13cb16a2eff4bae3ddd5f4826edfd879a03001a0
/man/SetTpcaResultTable-tpcaResult-method.Rd
435d15a2404db5b3ce741af4233433c41b05aef0
[]
no_license
nkurzaw/Rtpca
2a3471ff14756699883f57a6be7590bdd05cd940
c1922eb6c195263cae2fe941584f32b8035b3df1
refs/heads/master
2023-05-29T19:50:58.078565
2023-04-25T15:20:19
2023-04-25T15:20:19
227,799,428
3
0
null
null
null
null
UTF-8
R
false
true
817
rd
SetTpcaResultTable-tpcaResult-method.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tpcaResult-class.R \name{SetTpcaResultTable,tpcaResult-method} \alias{SetTpcaResultTable,tpcaResult-method} \alias{SetTpcaResultTable} \title{Set TpcaResultTable} \usage{ \S4method{SetTpcaResultTable}{tpcaResult}(object, df) } \arguments{ \it...
2d810d428e7056cb8492bbef2a3152ccc501691f
109862b6950a6a8f25483d2a2568c32bc59dcd39
/R/Meat-data.R
e6edddefe2a3bd64f9fa59a5f7a40119e959ccad
[]
no_license
cran/RPEClust
4a99f36edf713d74452e1f5002e743d35686c61c
c32a70c9c2c0375dccc3556cc4996d2bcabae970
refs/heads/master
2020-12-22T18:13:10.511347
2019-11-06T11:50:05
2019-11-06T11:50:05
236,885,005
0
0
null
null
null
null
UTF-8
R
false
false
709
r
Meat-data.R
#' Meat Data #' #' This is the near-infrared spectroscopic meat data used in Murphy, Dean and Raftery (2009) <doi:10.1214/09-AOAS279> and originally collected by McElhinney, Downey and Fearn (1999) <doi:10.1255/jnirs.245>. #' #' @docType data #' #' @usage data(Meat) #' #' @format A list with two components: #' \describ...
cd30ca6b7b10c8c01ef96b006f3cec6f7f60e701
be74788faa9e7dbe5a902e4b4542efda99f0a9fd
/Code/02_all_cichlids_fishbase_info.R
954edce49909f09755e9cad4f7bb65451a0236c0
[]
no_license
hiweller/mouthbrooding-morphology
7ab5d93ad8f17853ee0195a3e74c6b91613b2bea
950d85a928e916ba370608ee525789afa52ba644
refs/heads/master
2020-05-29T10:12:57.228222
2019-05-29T12:44:09
2019-05-29T12:44:09
189,088,574
0
0
null
null
null
null
UTF-8
R
false
false
4,697
r
02_all_cichlids_fishbase_info.R
# FOR ALL CICHLIDS: # get diet, reproduction # in a big table! # any species with more than one entry for a category -> concatenate unique values into a single string # manually confirm mouthbrooding and sifting # get a location (Central America, South America, Africa - lakes, Africa - rivers) # for each specie...
c848269bff0b4c18fbc37fc321f5c70e9810d1de
ee8862f0009d2844a80ad847f1d102b1e920b5b5
/Artificial Neural Networks Code.R
3195946c42b0095d82bbf7852fd59083eb230b17
[]
no_license
kubilayerislik/Girisim_Sirketleri_Yapay_Sinir_Aglari_Lojistik_Regresyon_Analizi
47f4353f6ac552f8bb2d5aafa64fd1db54ad250d
e154e2bfad3ada38af644cc0c9445a0a0d234502
refs/heads/master
2020-12-27T20:44:32.563098
2020-02-03T19:49:42
2020-02-03T19:49:42
238,047,466
0
0
null
null
null
null
UTF-8
R
false
false
1,000
r
Artificial Neural Networks Code.R
#Prepare Data for(i in 1:7) {data[,i] =(data[,i]-min(data[,i]))/(max(data[,i])-min(data[,i])) } ind = sample(1:nrow(data),567) train_data = data[ind,] test_data = data[-ind,] #Create Model library(neuralnet) n = neuralnet(Category~No_Stage+Seed+Stage_A+Stage_B+Stage_C+Stage_D,data = train_data,hidden = c(4,4,4...
c58b8c00cf3bac37cfb52c1fa4d439641c4c24f9
ea9f6419dcc0f72748c55bd8d46d7dda2f296296
/R/fgsea_with_wgcna_modules/brown-leading-edge-BTM-table.R
76ac099504aaddea25b09124a0f490008c16c9ab
[ "MIT" ]
permissive
kimjhkp/baseline
9e3f12690c9c6ebdc2ad565b5acb830b5dcf74c6
8f8a40c44bc72951ace0ccb1504c41ada07f3d1b
refs/heads/master
2021-01-16T09:57:50.861227
2020-06-01T01:19:08
2020-06-01T01:19:08
243,071,685
0
0
MIT
2020-02-25T18:33:12
2020-02-25T18:33:12
null
UTF-8
R
false
false
1,486
r
brown-leading-edge-BTM-table.R
library(data.table) library(tmod) library(fgsea) library(methods) dn.out = file.path(PROJECT_DIR, "generated_data/fgsea_with_wgcna_modules/") dir.create(dn.out, showWarnings = F) fn.cd38.cor = file.path(PROJECT_DIR, "generated_data", "CHI", "robust_corr_all.genes.txt") df.cd38.cor = fread(fn.cd38.cor) ranked = df.cd...
4713ea24778f73f4b0dfd10c2a12a8600153d86c
82bb2981b8e25fb0423427200e36c8d25e982a80
/0802_plot_582.R
8fd163aaee3cf1c18624fe9ed1aca7a2cc272957
[]
no_license
irichgreen/UnicornFactory
f357b1b184a289f32e9a3ec49c725c7fffa4a735
d916669410b200e41b07a6c87bf38109485cb836
refs/heads/master
2020-12-25T14:22:49.308401
2017-10-20T00:59:57
2017-10-20T00:59:57
63,758,538
0
0
null
null
null
null
UTF-8
R
false
false
6,205
r
0802_plot_582.R
###### 1 plot.new() plot(df582$ts, df582$Force.Sum.Actual, type="l", pch=1, col=3, xlab="Time(PQ0582)",ylab="",ylim=c(min(df582$Force.Sum.Actual),max(df582$Force.Sum.Actual)),main="Force.Sum.Actual") mtext("Force.Sum.Actual",side=2,line=2,col=3) par(new=T) plot(df582$Thickness.Deviation.Absolut, axes=F, xlab="",ylab=""...
1c88b7c5eb0ff48d6a2cf03ffc55c97e956d4e19
2c24a525328c494a936e78a0d2c8d72f22278f6b
/enhancer/getREChanges.R
308dbd2286fe8a2bdf6ec310fd166278233f38a2
[]
no_license
Danko-Lab/CD4-Cell-Evolution
fb8edd528c32922856de217fe07a7ee615a8456e
745fc9f1900c0c171aeb25edc4da67a8ea40a334
refs/heads/master
2021-04-30T18:34:21.462995
2018-03-29T02:40:40
2018-03-29T02:40:40
20,419,882
2
2
null
null
null
null
UTF-8
R
false
false
9,694
r
getREChanges.R
## This script identifies branch-specific changes in RE activities. ## load("../annotations/fdr.RData") source("../lib/normalizeSubsample.R") highth <- 0.30 lowth <- 0.05 require(boot) tss_aln <- fdr_df[grepl("dREG", ca$annot_type),] hspv <- hs[grepl("dREG", ca$annot_type),] tss <- read.table("tss.tsv") tss <- d...
6235a589f3daefd865e84894d96f46b4252656a3
befd978632e45a391ecb8ccacbdb77dd267fe6ef
/Table 1.R
a149b8aa87cecfae6a5f462dd6fabb9dd50f088c
[]
no_license
bank-fenyves/COVIDprot
41509ecf18aa90448d7dc4c27dc9c60898938e9f
c34af61050c347fc0e73154f1ca595c6e7d30688
refs/heads/main
2023-05-21T22:21:03.376107
2021-06-15T07:47:10
2021-06-15T07:47:10
351,146,052
1
0
null
null
null
null
UTF-8
R
false
false
1,365
r
Table 1.R
clinical <- read_excel("clinical_data.xlsx") data <- clinical ##All patients by COVID status table1 <- data[,c("COVID", "VTE", "Ethnicity", "Age", "Sex", "BMI", "HEART", "KIDNEY", "LIVER", "LUNG", "DIABETES", "HTN", "Severity", "Vaso", "plts_0", "plts_3", "plt...
95367890c714652e5f4f78340c479ba150d7c727
aea5237a007ceda88a4fb1b10fbfbb27bc027583
/Functions/BlockBoot_apply_subregions.R
cc1c26f0dd45c535f0505104adeb56621ac6fdc5
[]
no_license
EveSlavich/Block-Bootstrap
be6e11cb0651c642ee96b38ddb7e5304abe596fb
c435e84ad66fed1f19af719336c957068bcf6282
refs/heads/master
2021-04-15T17:27:15.953564
2018-03-26T23:21:59
2018-03-26T23:21:59
126,899,005
0
0
null
null
null
null
UTF-8
R
false
false
6,693
r
BlockBoot_apply_subregions.R
BlockBoot_apply_subregions = function (x,y,m_x,m_y, dat, block_Ls, Grid_space,shape,NBoot,Stat.function,sampling_type, lookuptables.folderpath,type,subregion.division,...){ print(subregion.division) if(subregion.division == "mutually.exclusive"){ bins = break_into_subregions(x , y , m_y = m_y , m_x = m_x) bin...
63ae0535dbd4083f75533af1ae97be9b05c508eb
66136f71ee8be6055328dbe616c17854b4003182
/Hierarchical Clustering.R
792d35d76c26bbd4cae52578d528bf0a90b957be
[ "MIT" ]
permissive
rahul1192/Machine_Learning_with_R
60f6da99a389da2194d24749e6311004b446ca64
b74c4e4dcec467ab6d1338fbb406a2f13a9dca6b
refs/heads/master
2023-04-28T10:05:13.075486
2021-05-23T11:00:08
2021-05-23T11:00:08
null
0
0
null
null
null
null
UTF-8
R
false
false
1,825
r
Hierarchical Clustering.R
# Hierarchical Clustering #- There are two types of Hierarchical Clustering; # 1. Agglomerative # - It is the bottom up approach. # 2. Divisive # ** Steps for Agglomerative HC ** # Step 1 : Make each data point a single point cluster -> That forms N clusters. # Step 2 : Take the two closest data points and make t...
10c07fdf748521fa9cd35b6788ae4455a15e90f5
e646bb6522693173d7d0c0e1c12e685139b8e543
/bin/quick-rnaseq-ma.R
9d3a424bc8eb08c48b7eddf8f836af1bab986080
[ "MIT" ]
permissive
stracquadaniolab/quick-rnaseq-nf
d7ecbac1e789cea3fdaa642824d2a53d088c84b6
bd75a622952b8a86c4615436fdc05b34b9721ca3
refs/heads/master
2023-04-12T19:55:11.116454
2022-06-17T12:25:34
2022-06-17T12:25:34
411,712,364
0
0
null
null
null
null
UTF-8
R
false
false
1,645
r
quick-rnaseq-ma.R
#!/usr/bin/env Rscript "quick-rnaseq-ma.R Usage: quick-rnaseq-ma.R <inputfile> <outputfile> [--control=<contrast_control>] [--case=<contrast_case>] [--transform=<tf>] [--log-foldchange=<lfc>] Options: --control=<contrast_control> Condition to use as control [default: control]. --case=<contrast_case> Co...
81323c8869528bf3e5f85cb555fa5b4b23efd512
e54b786c875ff2e6c1eae31ee774c6b6147794c2
/R/S4/HGRL_RNAfold.R
e0236881d6b57541ef2c3e800a5060ca8830f97d
[]
no_license
hjanime/STAU1_hiCLIP
9f1d5516b6b5f7413709315b2f0985d729719480
861051cae1b2508a9c3871bf24f377479ae460a7
refs/heads/master
2020-12-11T05:26:01.387765
2015-01-07T22:00:06
2015-01-07T22:00:06
36,923,073
1
1
null
2015-06-05T09:05:11
2015-06-05T09:05:11
null
UTF-8
R
false
false
7,732
r
HGRL_RNAfold.R
############################################################## #' shiftCD #' #' shiftCD was used to adjust the coordinate to the "3' UTR base" from "transcript base" #' @param \code{hgrl}. HybridGRL object to be examined. #' #' @export #' @docType methods #' @rdname hybridGRL-methods #' #' @examples #' exportHybrid...
177bcd38a7485d8d7e34609224108fa411c8cb21
d64acae137ca604f9ca3d8cb281cf096b82e2b79
/R/extract_linf_k_from_fishbase.R
7522e724f7885a0555b9066e09e5d639abfa5699
[]
no_license
cddesja/R4Atlantis
fed3ad4e95836f9193a9b0e36ad3cc3ab6dfa938
13d8437ceb0c77e9bcbf97dee83f4001720f32c9
refs/heads/master
2016-09-10T10:14:02.158937
2016-01-05T16:32:51
2016-01-05T16:32:51
19,950,936
1
0
null
2015-02-12T14:34:02
2014-05-19T17:24:50
R
UTF-8
R
false
false
4,351
r
extract_linf_k_from_fishbase.R
#' Extract values for Linf and k from www.fishbase.org #' #' #' This function extracts values for Linf and k from www.fishbase.org #' @param vector of fish species with genus and species #' @param specification if subspecies (e.g. Sprattus sprattus balticus) should be excluded! #' @return a dataframe with species, coun...
7f8a12b393fcf41a32930db8b9877383adb77590
835617872c76c175c275f6835fdf6998ab728b92
/run_analysis.R
3a4e5b91615eb828ce4422145c873a6811180c6a
[]
no_license
analyticsexpertise/GettingAndCleaningDataProject
53e024539606fe9fdfcf4c2b9ef9df03878f103a
d8926e8843196808654c3703279527e62d13e41a
refs/heads/master
2016-09-05T18:01:03.443505
2015-02-23T00:11:12
2015-02-23T00:11:12
31,187,492
0
0
null
null
null
null
UTF-8
R
false
false
21,164
r
run_analysis.R
## run_analysis.R ## Mark Stephens ## Getting and Cleaning Data ## Coursera Course Project ## 02/22/2015 require(dplyr) require(plyr) require(reshape2) require(data.table) ## This script performs the following operations: ## 1. Merges the training and the test sets to create one data set ## 2. Extracts only the mean...
6e1edb3bc117baafdd23897b98cd655062c03156
12fa376b23d0fdf46aadbf32c5a883dbff91f6ec
/run_analysis.R
0417195e66b7ee14651b4ebbb07fc45fa00a0aa5
[]
no_license
Steeffan/Getting-and-Cleaning-Data-Project
07a3773c8560718eb71697029304703c97bc09a8
48e862757e3e5e7236d0d6e8b52372c1d890e3f8
refs/heads/master
2020-05-01T00:37:15.453231
2015-02-21T17:30:20
2015-02-21T17:30:20
31,068,066
0
0
null
null
null
null
UTF-8
R
false
false
5,287
r
run_analysis.R
########################## ## Settings and options ## ########################## ## Please, set the working directory on the UCI HAR Dataset directory that contains all the data setwd("~/Coursera/Getting and Cleaning/Project/UCI HAR Dataset") ## Export dataset ## if TRUE export the averageData into the export File e...
fe939e9ec489e63b3acc38998f736f2704588c1e
710868a96ec9172a3533e46443348addf08846da
/R/case.R
c6454016ee0fd6f73267e8666a224f95f63fcd05
[]
no_license
cran/gdata
c12b7e7f59f885d31aec721c9bd5c6b514bcb1c1
21146034feeea59ee869df28e04114b3049481f8
refs/heads/master
2023-05-13T06:46:53.031948
2023-05-05T22:00:02
2023-05-05T22:00:02
17,696,299
4
3
null
2022-10-05T14:49:48
2014-03-13T04:49:01
Perl
UTF-8
R
false
false
415
r
case.R
case <- function(x, ..., default=NA) { magic <- "....default...." alternatives <- c(...,"....default...."=magic) x <- as.character(x) retval <- factor( x, levels=alternatives, labels=names(alternatives) ) levels(retval)[length(altern...
1b31690adff131b90fa7cae15def4d7ce7ffd2bb
c822df0d9fb31f76939e2190149764afb66ae593
/gapminder.R
2b10baa08ee488d5243df79b88ef2382503a7b35
[]
no_license
sjwallace06/SoftwareCarpentryWorkshop
dd454c2365797812ffbcfee8fac0aef54922b1be
ecb2b27ff9114cd7b9e31c3402545687c8df611f
refs/heads/master
2021-01-20T16:55:19.675247
2017-02-22T20:25:38
2017-02-22T20:25:38
82,836,808
0
0
null
null
null
null
UTF-8
R
false
false
969
r
gapminder.R
library(gapminder) gap <- gapminder str(gap) colnames(gap) dim(gap) summary(gap) mean(gap$gdpPercap) sum(gap$pop) sum(as.numeric(gap$pop)) sd(gap$gdpPercap) numbers <- c(1,5,10,15,3,5,67,NA,NA) numbers numbers >= 10 numbers[numbers >= 10] mean(numbers) numbers[is.na(numbers)] numbers[!is.na(numbers)] mean(numbers...
74b6ab1b7693a89c11d420cb358b7f7606f13e81
1be5cfcde0acfe3ac780d0a091c34a736aee502a
/Models/Analysis/profile.R
5c5d17263fab6d509779b4dd3d0abac1c1b648ff
[]
no_license
JusteRaimbault/UrbanGrowth
b74e7f722a2b28fbbfdace7c7958755fed7710f8
aeff2db8797726f198f1bd09c66c0893f5321eed
refs/heads/master
2023-08-07T22:04:26.835342
2023-07-20T11:01:09
2023-07-20T11:01:09
128,037,870
0
1
null
null
null
null
UTF-8
R
false
false
1,206
r
profile.R
setwd(paste0(Sys.getenv('CS_HOME'),'/UrbanGrowth/Models/urbangrowth/openmole/calibration')) library(dplyr) library(ggplot2) source(paste0(Sys.getenv('CS_HOME'),'/Organisation/Models/Utils/R/plots.R')) source(paste0(Sys.getenv('CS_HOME'),'/UrbanGrowth/Models/Analysis/functions.R')) # parameters : where calibration r...
de61f6d2758e354348ea261640b2c8ce114da673
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/imp4p/examples/gen_cond.Rd.R
a84b6200b5abe9cd6c554c42ac9fb4e5417cef8a
[]
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
299
r
gen_cond.Rd.R
library(imp4p) ### Name: gen.cond ### Title: Function allowing to create a vector indicating the membership ### of each sample to a condition. ### Aliases: gen.cond ### Keywords: Simulated data ### ** Examples cond=gen.cond(nb_cond=2,nb_sample=6) #[1] 1 1 1 1 1 1 2 2 2 2 2 2 #Levels: 1 2
014bd044cb47eac13752bff84b1e86a349cca278
410a8d842e07781b23fac1912d30cb844ed1ca69
/R/trainModels.R
b669af316da3ba4ea4ad0f0efe21686d480f79e2
[ "BSD-2-Clause" ]
permissive
pbalapra/mlrMBO
70313b3661853c581f91239debada7ca060c3bfb
5a279271f427170f78f546756115a8b9b732e679
refs/heads/master
2021-01-19T21:23:51.319804
2017-05-07T23:00:08
2017-05-07T23:00:08
88,652,344
0
0
null
2017-04-18T17:31:22
2017-04-18T17:31:22
null
UTF-8
R
false
false
469
r
trainModels.R
trainModels = function(learner, tasks, control) { # if (control$multifid) # learner = makeMultiFidWrapper(learner, control) models = vector("list", length(tasks)) secs = NA_real_ tryCatch({ start.time <- Sys.time() for (i in seq_along(models)) { models[[i]] = train(learner, tasks[[i]]) } ...
0ced8738cf16da0fdae08c65c3f60794365ff764
3c324a39b86bb126f3481477e9e08bdf8c5b1aba
/bfacs.R
ff324ff49b7bc4d1e07261ec4c6457aa882996c2
[]
no_license
Joannavonberg/R-scripts
6f6999ba58284f2a8679a181e8753798d01f29b9
f69958f55fb1c2d7f6ec76c7483e2f801cca2597
refs/heads/master
2021-01-09T20:45:44.242180
2016-07-28T12:13:33
2016-07-28T12:13:33
63,954,300
0
0
null
null
null
null
UTF-8
R
false
false
3,651
r
bfacs.R
options(stringsasFactors=FALSE) d <- AllInOneFile("norottrans_bfac_CA_1.txt") d <- RefAndMean(d, cryo=FALSE, avg=FALSE) d <- data.frame(scale(d)) c <- ColourByChain() c <- rbind(c, rep(220, 8)) #c <- ColourGradient("red") PlotB(d, c, normalized=TRUE) ColourGradient <- function(rgb1, rgb2=NULL){ tc2 <- matrix(c(r...
6fa7872a2caabb130a0b18a3b8293648d0daf979
47bb2db5e59f6ba96533f7fd7106caa8c7ef9e5e
/man/make_filename.Rd
4f352b900dc4e4b1cbf1d182a41c3f34a1e15bfb
[]
no_license
MartinPons/fars
ce9d5f5f57f275f626068e2512bc8f6498a925fa
9c51d782186c81f00cbe60172913e5318efd9d65
refs/heads/master
2021-01-12T06:33:32.806508
2016-12-27T23:49:41
2016-12-27T23:49:41
77,382,594
0
2
null
null
null
null
UTF-8
R
false
true
433
rd
make_filename.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fars_functions.R \name{make_filename} \alias{make_filename} \title{Create a file name for a FARS year} \usage{ make_filename(year) } \arguments{ \item{year}{four digit year either as a number or character string} } \value{ a character string ...