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
71a02cbc5548f1b94d3153410c8f31acdd39c109
59000449dc5950d0bd0c1c41cf3613748ce6d01c
/R/get.loadings.R
37edf18c770afe54ad474581319923b6f5d0973f
[]
no_license
JMMaronge/medals
ff04cd980304aef4c42431b820f1e3f2d29fc9f4
543243e12f386ee3e6b8a8cd8b0b6e998a315e5e
refs/heads/master
2020-05-21T13:47:35.370634
2018-11-13T04:08:34
2018-11-13T04:08:34
64,878,710
3
2
null
2016-09-24T16:34:18
2016-08-03T20:55:17
HTML
UTF-8
R
false
false
394
r
get.loadings.R
#' A function to create the loadings matrix for MEDALS. #' #' This function allows you to create loadings matrix for PC scores in the MEDALS pipeline. T #' @param cov.mat The crossproduct matrix ($X^TX$) for decomposition to get loadings. Should be the output of imaging.cp.mat() #' @export get.loadings <- function(cov...
1499a77d6ac1740fbc82a0f184102f2e4ea533cc
ba3f90e83341174a1970706c7ce54c2d570ac828
/AnalyticsEdge/Complete/Week 2/PS2 - Climate Change/climateChange.R
cea4d5c00f07df775f2cfe81d13908a8689f771f
[]
no_license
sivansasidharan/Edx-References
1dd9eff813cc560c59e51e70bdb5888a462a022f
43b36fbd79f57d6ffb50714b580250cb0cf8c214
refs/heads/master
2020-03-27T23:30:31.343412
2018-09-04T09:40:32
2018-09-04T09:40:32
147,321,105
0
0
null
null
null
null
UTF-8
R
false
false
2,073
r
climateChange.R
#!/usr/bin/Rscript # Loading data # The file climate_change.csv contains climate data from May 1983 to December 2008. climate = read.csv("climate_change.csv") str(climate) # PROBLEM 1.1 - CREATING OUR FIRST MODEL # Split the data into a training set, consisting of all the observations up to and including 2006, and a ...
f90f91e7e2c03e76056e444e18d01949f098e8d6
a5ced02be5ef57cfc093b9a77fbb71cdb18d9d76
/misc/man-deprecated/createStaticNASIS.Rd
f1c95933edaf4fcc3c0bd0be7226523717ca2a98
[]
no_license
Emory-ENVS-SihiLab/soilDB
e882de8337a3f3bd9943046c781f42a473723669
fca026cc1039f3f8936b70d0efe8c092950db4ee
refs/heads/master
2023-08-13T16:25:03.372504
2021-09-18T00:48:57
2021-09-18T00:48:57
null
0
0
null
null
null
null
UTF-8
R
false
true
1,262
rd
createStaticNASIS.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/createStaticNASIS.R \name{createStaticNASIS} \alias{createStaticNASIS} \title{Create a memory or file-based instance of NASIS database (for selected tables)} \usage{ createStaticNASIS( tables = NULL, SS = FALSE, systables = FALSE, sta...
c856f6807e644824d48c87948c1d3ab0455b8cf3
956f493986a2e4836cd7d5565fb23be636645a24
/man/CTFDeserializer.Rd
47a4329769837f64699100990ae3c96a005b335e
[ "MIT" ]
permissive
Bhaskers-Blu-Org2/CNTK-R
d2fcb0eab33a5f6a9134fa20937622b308590b4a
5e2b8f5320a48dc492fa7dd1654532dd9e3e856a
refs/heads/master
2021-08-20T10:36:09.764093
2017-11-28T22:55:53
2017-11-28T22:55:53
276,122,540
0
1
MIT
2020-06-30T14:28:11
2020-06-30T14:28:10
null
UTF-8
R
false
true
732
rd
CTFDeserializer.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/io.R \name{CTFDeserializer} \alias{CTFDeserializer} \title{CTFDeserializer} \usage{ CTFDeserializer(filename, streams) } \arguments{ \item{filename}{A string containing the path to the data location} \item{streams}{A python dictionary-like o...
9d4f12b0c31fa3e6b2acb467cb47f2ef1ce5aff4
9512fa6d10e69e32f6b14e68ec6086d09909f537
/Health Index/Functions/HIfunctions.r
98cdcd648a0fcb27417b68b70b41cc2883b71891
[]
no_license
KiriakosXanthopoulos/BioArchaeology_In_R
701797c08c79a981f525d858d29dbef85c67ad95
c09567908f9c11d6075ec7ff83209840a649d4c0
refs/heads/master
2021-01-17T21:29:13.918766
2016-05-24T17:56:27
2016-05-24T17:56:27
null
0
0
null
null
null
null
UTF-8
R
false
false
7,555
r
HIfunctions.r
#Collection of all the functions used in the HealthIndex ##################################################################################### #1. LovejoyAdj LovejoyAdj<-function(age,info=FALSE){# age= numeric, info=logical #info function provides details of the method used and reference #default value= FALSE if ...
f0fbc516b4019b7dd9d1c2c0bdc161c37223102c
82116dcffc5fc59f80f143ca7b99902aa02a2e3e
/man/getSkylineSubset.Rd
7b8896cf4b812bfea3c0747741db922fa78133e5
[]
no_license
laduplessis/bdskytools
e4c6d719d07f439f284ab10dc2076c467ab8164a
c474052357f136080de9fb998c3a6447a0a28088
refs/heads/master
2021-01-17T20:32:09.107012
2018-11-28T16:28:25
2018-11-28T16:28:25
62,892,428
11
2
null
null
null
null
UTF-8
R
false
true
361
rd
getSkylineSubset.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Logfile_Utilities.R \name{getSkylineSubset} \alias{getSkylineSubset} \title{Extract all matching parameters from the logfile} \usage{ getSkylineSubset(logfile, par) } \description{ if par="R0" extract (R0s.1 R0s.2 R0s.3 etc.) } \details{ par ...
571daa37182e28f1c6c7c463892cd605dd911ca2
3de0f7ed52c248f04f1308573eec012fa76cc82b
/data/Scripts/config.r
aa4530e35b458a99722b4bacc3e5348c9949ab1c
[]
no_license
ozway/FinalLog
e3f684cf4b1f33250a023255ad286a20be86a637
f18ed3d29d96c30e64bc9b45dee3dc2aeb20f9a6
refs/heads/master
2020-06-01T14:35:20.706408
2015-02-12T22:08:18
2015-02-12T22:08:18
30,726,138
0
0
null
null
null
null
UTF-8
R
false
false
4,778
r
config.r
print.config <- function(config) { cat("MCMC parameters:\n") cat(paste("Number of samples between checks:", config$n.samples, "\n")) cat(paste("Min samples:", config$min.samples, "\n")) cat(paste("Max samples:", config$max.samples, "\n")) cat(paste("Reset QR until:", config$reset.qr, "samples\n")) cat(paste...
8cb59f469dd81a86bceb43f69b08a1246c5bd568
f89ffc588173d602176706659bf0529e52f0ed8a
/Week7_Exercises.R
0fc6ee1221d7930a19cb00a57c7949ecdca7f665
[]
no_license
Viveniac/Advanced-R
cc7980d1629fe24510ff11ef7cd6a8d566f7b1af
ba0148478500687b9f4e958ff274e9347b3a91e2
refs/heads/main
2023-06-08T02:54:56.085732
2021-06-23T14:18:15
2021-06-23T14:18:15
379,626,129
0
0
null
null
null
null
UTF-8
R
false
false
403
r
Week7_Exercises.R
# Week 7 Exercises # ## EX 1 -------------------------------------------------------------- # See if you can combine the gganimate and ggmap packages to create an animated map # of violent crimes (from Week 7 material). # Start with the point version of the data. ## EX 2 --------------------------------------------...
ff1a1c35ca484815e998adf7ff817c35c9a29ac0
17e0b4e4c0fddaa71ce2b137b7f59d17fa47243b
/res/and_zpx.r
10e6088e508a33a8d2e3f21331d9202e50c836b9
[ "MIT" ]
permissive
JSpuri/EmuParadise
6f6d26c43d9dce8f05448b6c07db133d691e39b2
b8f6cf8823f8553f28dab5c6b44df20978ad6ba0
refs/heads/master
2020-06-28T18:33:56.341244
2019-11-22T22:49:53
2019-11-22T22:49:53
200,309,043
0
0
MIT
2019-09-27T15:59:31
2019-08-02T23:26:20
C
UTF-8
R
false
false
1,928
r
and_zpx.r
| pc = 0xc002 | a = 0x00 | x = 0x02 | y = 0x00 | sp = 0x01fd | p[NV-BDIZC] = 00110100 | | pc = 0xc004 | a = 0x00 | x = 0x02 | y = 0x0a | sp = 0x01fd | p[NV-BDIZC] = 00110100 | | pc = 0xc006 | a = 0x00 | x = 0x02 | y = 0x0a | sp = 0x01fd | p[NV-BDIZC] = 00110100 | MEM[0x0015] = 0x0a | | pc = 0xc008 | a = 0x05 | x = 0x02...
aaa9959027da66c4a243eab3fa03746ed5055b14
e1c1e6a06250330968fe40ce6a1a8d7ac9ad1649
/RScript/Run.R
811d3754d400d45aa557b16c557e6c67e6c48cc8
[]
no_license
nathanjenx/data_Mining
778c0cf50ac0d4961e6860f6f9cfcf6b81026728
3dbfd7def03c9cebca98ea63f5a1f088c33b59c2
refs/heads/master
2020-04-02T22:48:03.934541
2018-10-28T15:53:25
2018-10-28T15:53:25
154,844,908
0
0
null
null
null
null
UTF-8
R
false
false
6,381
r
Run.R
source("~/Documents/Uni/Data Mining/Project/RScript/Data.R") source("~/Documents/Uni/Data Mining/Project/RScript/Analysis.R") trainingData <- importTrainingData("~/Documents/Uni/Data Mining/Project/Original Data Download/all/train.csv") mixes <- getMixes(trainingData) #testData <- importTestData("~/Documents/Uni/Data ...
0506941b3c01eca4a5e3d238eb77d0e36cb3002f
3ed202cbe6aa396223fcdbdd6031608d01acb1db
/yo_2019_calculate_weighted_points.R
be97f2c1d6d102e1fefd3900b6caa0487902a4d1
[]
no_license
vkarhula/Data_Analysis
7e79fef72439ff9ec015d2d64ecd2ab8c4d498ce
d94bae2fdff86d968a5fce3045ebb77dbea86e06
refs/heads/master
2022-09-25T05:07:18.520512
2020-06-06T18:21:15
2020-06-06T18:21:15
270,046,764
0
0
null
2020-06-06T18:18:00
2020-06-06T17:03:41
null
UTF-8
R
false
false
7,379
r
yo_2019_calculate_weighted_points.R
######################################################################################### # # This code calculates weighted points for medical faculty entrance exam for all students, # who have grade in chemistry and biology. # Data is sorted and stored in data frame, which is written in csv file. # Some visualiza...
d1965e7b234ab925ad649bb2979300b758a94cde
2d34708b03cdf802018f17d0ba150df6772b6897
/googleadmindirectoryv1.auto/man/CustomerPostalAddress.Rd
695cb81e5ad0bdb04e3e0fc3c2fe89a7f6a2803c
[ "MIT" ]
permissive
GVersteeg/autoGoogleAPI
8b3dda19fae2f012e11b3a18a330a4d0da474921
f4850822230ef2f5552c9a5f42e397d9ae027a18
refs/heads/master
2020-09-28T20:20:58.023495
2017-03-05T19:50:39
2017-03-05T19:50:39
null
0
0
null
null
null
null
UTF-8
R
false
true
1,059
rd
CustomerPostalAddress.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/admin_objects.R \name{CustomerPostalAddress} \alias{CustomerPostalAddress} \title{CustomerPostalAddress Object} \usage{ CustomerPostalAddress(addressLine1 = NULL, addressLine2 = NULL, addressLine3 = NULL, contactName = NULL, countryCode = N...
fa3b9d0ddab07cc1da3eb90437e50b45a9bc5296
ec27cf3f57d324b6132d151c875112530390b617
/cachematrix.R
cb3c036cb9401d3f6da92118db8bf19a4b007ebb
[]
no_license
laxano/ProgrammingAssignment2
c7713e517775effc8f1a61888b099926d8ca2199
9594fdf661ed1898c75f61786315ac851a1b4a62
refs/heads/master
2021-01-18T07:16:04.215994
2015-09-22T09:02:28
2015-09-22T09:02:28
42,921,472
0
0
null
2015-09-22T08:31:11
2015-09-22T08:31:11
null
UTF-8
R
false
false
1,178
r
cachematrix.R
## A function to create a vector of 4 functions: ## (1) set the value of the vector ## (2) get the value of the vector ## (3) set the inv matrix ## (4) get the inv mean makeCacheMatrix <- function(x = matrix()) { invx <- NULL set <- function(y=matrix()) { x <<- y invx <<- N...
cb3012726c1680a60ae4ad83de5ebd1143706489
9e6542d620d7576c48bd49a911cb73484775d379
/DownloadData.R
40a9e330631b51e096fd6f3b2d9f2ac94c2ac172
[]
no_license
hdnguyen88/HieuNguyen_CaseStudy1_MSDS6306
e2508b602a2bc1ffd04f3b4547e90094a94187d6
9f230f2d79627541162d9dcc89126b21bbb1b8ad
refs/heads/master
2021-01-23T01:01:27.261484
2017-03-23T18:43:44
2017-03-23T18:43:44
85,862,446
0
0
null
null
null
null
UTF-8
R
false
false
598
r
DownloadData.R
##Download the files file1 <- "https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2FGDP.csv" download.file(file1, destfile = "GDP.csv") file2 <- "https://d396qusza40orc.cloudfront.net/getdata%2Fdata%2FEDSTATS_Country.csv" download.file(file2, destfile = "EDU.csv") ##Format the columns ##Skip column 3 because it is...
890551338d8069cb35c86fcb9cd84af84ced6ada
52694abcc9168ef0ffcd6a428382102c521278f8
/SKRYPTY/MODELING/scripts/fcu/scripts/cases_avg_score_plot.R
ad3a9a5d4acb8ec042aa7289c5c4c8cbe060724c
[]
no_license
MMandziej/magisterka
7d18fa0e1a9a437c4235a912aa0733530fb45e3f
33453fbbd7ede2e5ccb2771e8a3029a927a844c5
refs/heads/master
2023-02-13T04:44:41.581638
2021-01-21T23:37:26
2021-01-21T23:37:26
322,721,319
0
0
null
null
null
null
UTF-8
R
false
false
2,474
r
cases_avg_score_plot.R
cases_avg_score_plot = function(scored_cases_backlog) { scored_cases_backlog <- scored_cases_backlog %>% filter(Stage == 'production') scored_cases_backlog$week <- floor_date(scored_cases_backlog$pqc_timestamp, 'week') #scored_cases_backlog$pqc <- as.numeric(as.character(scored_cases_backlog$pqc)) cases_sent_to...
f5ada297bc459fa7d79c8dc2d9cec9193c268baf
29585dff702209dd446c0ab52ceea046c58e384e
/WRS2/R/print.spp.R
d8522fd2fddd1184d3aae8d1682d75ff11bb9f27
[]
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
176
r
print.spp.R
print.spp <- function(x,...) { cat("Call:\n") print(x$call) cat("\nTest statistic:", round(x$test, 4),"\n") cat("p-value:", round(x$p.value, 5), "\n") cat("\n") }
86927645443124ae0208b6802882b8377072607f
ce03150a7185ac44ffb974114f77d6e5f798b07c
/binary/realdata/ROML/cal.tsp.lumAB.R
70b0c7d18ebfa8430aa3aa1ace436aa1ce8561dc
[]
no_license
chilampoon/ROML
d2ed4c00157d112c96cb745e04c5328d05816af8
85f765c27137119b113b8e21efa0f7004405db7c
refs/heads/master
2021-06-11T09:39:12.007370
2021-05-07T19:03:01
2021-05-07T19:03:01
176,788,387
1
0
null
null
null
null
UTF-8
R
false
false
1,020
r
cal.tsp.lumAB.R
### Calculate KTSP scores source('~/ktsp/script/function/cal.TSPscore.R') # Balanced LumA vs LumB data.dir <- '~/ktsp/data/binary/realdata/balanced' load(file.path(data.dir, "TCGA.balance.LumAB.Rdata")) load(file.path(data.dir, "MB.balance.LumAB.Rdata")) lb.brca <- factor(brca.clin.sub$final_assign) lb.mb <- factor(...
aeda9ca937ebb915ea9e0860bc256b2c82787f45
30a03e76baf3efed2039af06a1aa6de8b01f15a0
/src/r/pooled/functions/compute_PCA.r
eaf00e9e8e0cd70ac5077d0ab2475a6646705661
[]
no_license
dbgoodman/tcsl-lenti
dbb2dd75209a2d7e7a45284383145f9745759901
e0473acdb52114f8467ff70799beb538c859c395
refs/heads/master
2023-05-25T10:11:24.882572
2023-05-20T01:19:03
2023-05-20T01:19:03
249,501,469
1
0
null
null
null
null
UTF-8
R
false
false
1,893
r
compute_PCA.r
compute_PCA <- function(data.dt, group) { # Using car.bin.pct cast.car.bin.pct <- dcast(data.dt[k.type != "NA"], sort.group + batch + donor + timepoint + assay + t.type + CAR.align + k.type ~ bin, value.var = 'car.bin.pct') cast.car.bin.pct <- cast....
137434b83a38ca53ad5627ae43440925533b14ce
5328c09eacae1c89afaf2c7e13ac72d7f387681f
/p_parameters/02_parameters_CDM.R
6d563a4a0f97632a5d4c3cf00a0edb6137e2ec44
[]
no_license
ARS-toscana/CONSIGN
02368d32f17fd5f9b507ef9ed28454974454ee5b
03c6c1448107fa3c0d60fbc034ba19385e72b69d
refs/heads/master
2023-06-15T21:39:04.575752
2021-07-06T08:46:48
2021-07-06T08:46:48
381,303,450
0
0
null
null
null
null
UTF-8
R
false
false
18,716
r
02_parameters_CDM.R
################################################################### # ASSIGN PARAMETERS DESCRIBING THE DATA MODEL OF THE INPUT FILES ################################################################### # assign -ConcePTION_CDM_tables-: it is a 2-level list describing the ConcePTION CDM tables, and will enter the functi...
a2b3b8fbc0ef86c72d3a9063932ae3ff0c9fd219
502c72395267d17d03f40e0b5f22c88237a1498e
/script/exemplo.R
be404f7fba8675df6accc7efe4fe4ec328fb6445
[]
no_license
RafaMariano/sits.rep
c1d6a67be8e3720b7c6cb362e66ed380ee0b5caf
9aa6f71caa45f8625237d236e25157ccf0d85a07
refs/heads/master
2021-06-28T05:05:39.722137
2021-01-19T00:13:36
2021-01-19T00:13:36
210,867,951
0
1
null
null
null
null
UTF-8
R
false
false
2,124
r
exemplo.R
samples <- function(){ library(inSitu) library(sits) data(br_mt_1_8K_9classes_6bands) bands <- c("evi") # , "ndvi", "nir", "mir" samples.tb <- sits_select_bands_(br_mt_1_8K_9classes_6bands, bands = bands) return(samples.tb) } # svm_model <- sits::sits_svm(cost = 1, # formula = sits...
4fb979500245e359f052818ad773de2c577cfab6
6df71467ddd9483d708dd1ce6015e378333c2d54
/code/new_format.R
36582f5ec0b144a83e9a35a83f63dee6430fd220
[]
no_license
kiernann/dc-bmp
62bd4c32f671b49d66248dcc383c90f0d282179d
7c71c86d43317aaa093e025a5e297e47004ddcb3
refs/heads/master
2021-10-25T01:33:47.471354
2019-03-30T19:58:25
2019-03-30T19:58:25
110,895,536
0
0
null
null
null
null
UTF-8
R
false
false
1,605
r
new_format.R
library(tidyverse) library(maptools) library(sp) library(sf) # read data --------------------------------------------------------------- tract_shapes <- getKMLcoordinates(kmlfile = "https://opendata.arcgis.com/datasets/b78d164649ad487db0f2b20a9261fb8c_17.kml", ignoreAltitude = TRUE) %>% map(P...
73cf2c91cc154094f98541dab2ae5304f43b193c
e3d271f526cb0ce859f798034f9f1faaf1092908
/code/12-plot-jlhd-mbm-models.R
2e2a6aa256d31b131f97b172f97e3285c6a5f2f1
[ "Apache-2.0" ]
permissive
jdyen/size-trophic
406f25049ca5a0079cde03a36132e655db64e42e
730bdf285c1a5d205edfd2ad68405ad47c022eb3
refs/heads/master
2020-11-25T05:35:16.415014
2020-08-18T04:19:11
2020-08-18T04:19:11
228,522,931
0
0
null
null
null
null
UTF-8
R
false
false
2,403
r
12-plot-jlhd-mbm-models.R
# the caret package should make our life easy library(caret) library(rstanarm) library(edarf) library(plotrix) # load fitted model workspace load("outputs/fitted-models-body-mass.RData") # load some helper functions source("code/helpers.R") pd_jlhd <- readRDS("outputs/pd_jlhd.RDS") # plot Fig. 3 for JlHd model: par...
8583da3b70583e0f164a68dbccf7e50a25135b85
c42f5671f9e09c868cc0e24e4e1accfff1a2c73b
/man/package_trial1.Rd
b60398ec95a298c21bde6773ba37be6049026c48
[]
no_license
JerryTucay/mfdata
1d23e5c5e186d207a5785bb74cdb0e21ccb2d5dd
f05e7ee66222a4b609c74bba3162cbf096c023d4
refs/heads/master
2020-04-03T22:35:33.402383
2019-05-06T17:33:13
2019-05-06T17:33:13
155,607,894
1
1
null
null
null
null
UTF-8
R
false
false
1,795
rd
package_trial1.Rd
\name{mcar} \alias{mcar} %- Also NEED an '\alias' for EACH other topic documented here. \title{ MCAR: Missing completely at random } \description{ mcar() alows the user to forcibly input missing values (NA) that replicates being missing completly at random. This kind of missing data is missing by random chance. } \usag...
0bed0ffe67c2f907718f7a032e44f56486274451
daa108df46230bc11ffafd679ec8e99125c88dd9
/R/merge_files.R
b487723b726d59fbaf018c7ca00cb532031a5cca
[ "MIT" ]
permissive
ArnaudDroitLab/wgs
42235346cdeb23214cff4fa331035bc99c27860d
c11f75c9b959e7c1e6dec2dffbf398dcb916fe23
refs/heads/master
2020-05-29T09:44:34.538744
2019-06-19T16:15:11
2019-06-19T16:15:11
189,075,967
0
0
null
null
null
null
UTF-8
R
false
false
2,418
r
merge_files.R
#' Merge multiple assemblies #' #' @param n The names of the bacteria to download, correcponds to the #' \code{organism_name} column from the \code{metadata} parameter. #' @param output The filename to save the merged fasta. #' @param dir The download directory. Default: \code{.}. #' @param metadata The metadata file d...
dbbaf5c2e460a9c64f75736e85a58a82ae976216
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/aws.kms/examples/rotation.Rd.R
3dd39a4d10be485386fb11923f86e0b5e3389112
[]
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
527
r
rotation.Rd.R
library(aws.kms) ### Name: enable_kms_rotation ### Title: Enable/Disable Key Rotation ### Aliases: enable_kms_rotation disable_kms_rotation get_kms_rotation ### ** Examples ## Not run: ##D # create key ##D k <- create_kms_key(description = "example") ##D ##D # enable rotation ##D enable_kms_rotation(k) ...
58cc14988682a5a62483b3a009c58abeea19436f
8fe48f24b9405e4bb50be7411190b4753bb8a09f
/Genomics/Structure/Pop_structure.R
eb41da44ab5f05a1d741895470a7b7f2cbbcc1a0
[]
no_license
joycepra/Association-Environment-Genome-and-Morphometry-analysis
da325067125be7adf2cef8af9f2ba01ccc857dd6
27bd4c26bf7898333f89166d365895423fec0bb3
refs/heads/main
2023-06-27T16:08:59.639859
2021-07-31T22:31:15
2021-07-31T22:31:15
null
0
0
null
null
null
null
UTF-8
R
false
false
6,166
r
Pop_structure.R
################################################################################################################# #install packages if("adegenet" %in% rownames(installed.packages()) == FALSE){install.packages("adegenet") } else {print (paste0("'adegenet' has already been installed in library"))} if("AssocTests" %in% r...
1f451c9cb52b828c5a8fea7daf88cdad88e3ffde
3b9f656885e4822849d265a2e7b4476528ea3337
/R/MTTF.OICI.M1.D2.R
2a60ff3ca1c79d814acbb53a3ffd45930c99f01c
[]
no_license
cran/iDEMO
f31322c5e8c1680f84eb5320f7c1a87cad265570
ce4fcdc6adefc20177e18f434ff0bab3534bff7a
refs/heads/master
2020-05-17T11:12:52.543048
2012-06-06T00:00:00
2012-06-06T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
3,338
r
MTTF.OICI.M1.D2.R
MTTF.OICI.M1.D2 <- function(alpha, W, Eta.M1, sEta.M1, Cov.Mat.M1, h.val, ...){ if( h.val > min(Eta.M1/2, sEta.M1^2/2) ) h.val <- min(Eta.M1/3, sEta.M1^2/3) #approx. MTTF.approx.M1 <- W / Eta.M1 var.MTTF.approx.M1 <- ( -W / Eta.M1^2 )^2 * Cov.Mat.M1[1,1] OICI.lower.MTTF.approx.M1 <- MTTF.approx.M1 ...
ceb82aaffaa63077a0dce6ae7ee055f94a37f98d
2931c0b42f80075e212b4a28cd0b9b1586eac6af
/Talleres/Taller3/punto 6.R
b2a4a54d55bd74cbe6592d92cf21851ef5253a78
[]
no_license
mgalvis60/Analisis_Numerico_1910
f4edfe9091643c362d8366acb224c4e869024ca7
d3a8def7b35956c3cf54efe4e9660a09439ef7b1
refs/heads/master
2020-04-20T04:32:38.040374
2019-05-15T12:09:06
2019-05-15T12:09:06
168,630,617
0
0
null
null
null
null
ISO-8859-1
R
false
false
741
r
punto 6.R
#Punto 6 library(pracma) f1<-function(x) (exp(x)) f2<-function(x) (1/(x)) #a r1<-c(taylor(f1, 0, 4)) r2<-c(taylor(f2, 0, 4)) x<-c(0,1,2,3,4) for(i in 0: 4) { r1[i]=round(r1[i], 5) r2[i]=round(r2[i], 5) } datx=x[1:5] daty1=r1[1:5] daty2=r2[1:5] #b polyAjuste1=poly.calc(datx, daty1) poly...
d007c1d6d43d52cf5cfc0a770c0ad4ec39a66452
d4c98a25eeeaeb76b698a4499ce918a84a292572
/Practice Diet/e.R
0b19ff9eb302e9d59d2598363feedd6131628bfe
[]
no_license
RoelRotti/EDDA-Data_Analytics-2021
e431422d29ddf0e6d3fb491c62c248a19d632b52
5f6b0f84aeac018ed72f13d7bad8ff827bcfd946
refs/heads/main
2023-06-10T22:50:57.141883
2021-07-01T11:03:00
2021-07-01T11:03:00
350,256,495
0
0
null
null
null
null
UTF-8
R
false
false
462
r
e.R
## e) is.numeric(diet$height) # just to check height is numeric mod4=lm(weight.lost~diet*height,data=diet) anova(mod4) # no interaction between diet and height ## Is the effect of height the same for all 3 types of diet? # Yes, because there is no interaction between diet and height. # Now we test for the main...
487541c2f5bd1c677afeb7492253f5fb64146a3b
1a0a84f21df6f7788bb80f5e0a38fa150121370d
/regimeSwitch_th/plotcode/weatherInclPanel.R
f5950182afa2038eb46e33c304e0a521f92d4b6b
[]
no_license
juetaoLim/regimeSwitchTH
aacc6495f84bb592aacdbac511a1f2a859aaf2fd
f6bbbf5fbdbfd5b7528c9c7b4940ee236bdbc4ef
refs/heads/main
2023-01-15T15:44:18.723798
2020-11-24T09:00:48
2020-11-24T09:00:48
315,547,225
0
0
null
null
null
null
UTF-8
R
false
false
1,884
r
weatherInclPanel.R
rm(list=ls()) load("~/nBox/regime_switch_hamfil_thailand/results_mapAll/out_cluster.RData") clust <- ind load("~/nBox/regime_switch_hamfil_thailand/results_lassoBoot_all/out.RData") #preprocess store <- list() for (i in 1:length(coefs)){ temp <- coefs[[i]] inclProb <- apply(temp,MARGIN=1,function(x)length(w...
6459bbcf231f7278566f45c001cef460b2e99030
0c2380c77abb4bec2805460813b2e3ad8d7e0eda
/man/primate.continuous2.Rd
d7976df7c350db703e174fecc6aa97834c219ebf
[ "MIT" ]
permissive
balthasarbickel/btw
832d4d289583a280677f31614fdb65ea161b5727
41efa42c9f92f96a9431a70fe225122e67ec02c5
refs/heads/master
2020-04-06T04:35:10.657763
2016-11-23T10:52:46
2016-11-23T10:52:46
54,259,996
0
1
null
2016-03-19T10:23:20
2016-03-19T10:23:20
null
UTF-8
R
false
false
354
rd
primate.continuous2.Rd
\docType{data} \name{primate.continuous2} \alias{primate.continuous2} \title{Random pair of continuous traits for primates} \format{Text file} \source{ Random data generated in R } \description{ This is just random data to demonstrate how to use BayesTraits functions. } \author{ Randi H. Griffin } \usage{prima...
becf28ce5be470e12a5fd1b0733be41b1fe2b0bb
0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb
/cran/paws.storage/man/efs_create_mount_target.Rd
9889bb4a5939ea4277862b1034fd04fbc21a8db1
[ "Apache-2.0" ]
permissive
paws-r/paws
196d42a2b9aca0e551a51ea5e6f34daca739591b
a689da2aee079391e100060524f6b973130f4e40
refs/heads/main
2023-08-18T00:33:48.538539
2023-08-09T09:31:24
2023-08-09T09:31:24
154,419,943
293
45
NOASSERTION
2023-09-14T15:31:32
2018-10-24T01:28:47
R
UTF-8
R
false
true
1,111
rd
efs_create_mount_target.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/efs_operations.R \name{efs_create_mount_target} \alias{efs_create_mount_target} \title{Creates a mount target for a file system} \usage{ efs_create_mount_target( FileSystemId, SubnetId, IpAddress = NULL, SecurityGroups = NULL ) } \arg...
95dcf81fbe9fe7dd488e67c9a4cb8643d6d21f5b
e5c5e9f55fc275e5c9b91f48f7b8d293df803083
/Solutions/day_22.R
cb704c58f1283b1b764da149933185ee7cf7dfca
[]
no_license
zapateros/aoc2018
0eeddb7ae501c80613914aca6b3d4a0b0e85a81c
ba519df333bf76389f803209d8615e757a45e958
refs/heads/master
2020-04-09T15:09:50.199962
2019-01-13T12:56:23
2019-01-13T12:56:23
160,417,621
1
0
null
null
null
null
UTF-8
R
false
false
6,719
r
day_22.R
# Today's problem was the first, and only, one where I had no clue how to do it (22.2). I looked into some solutions online # and it was actually a small change in my own solution for 22.1. Small, but very helpfull, because it opened my eyes for # solving many other (future) problems. Bytheway, the solution was to add ...
aa2e4d19a09ec6a732d440d397d4f18c78db9b2e
f9d607dd79d2e3a1da2b32a319726cbf4ef36f80
/R/analyse_log.R
cbe416eca64a390dc474964188c40e9c4ee209ac
[ "MIT" ]
permissive
stibu81/WordBox
4652f7e0177a4ed421e5eccc0bd3d97727135509
f9336ca69d6128caaaf7f9fc980f86b63f9ca0f2
refs/heads/master
2022-12-26T05:01:37.754675
2022-12-10T12:07:10
2022-12-10T12:07:10
205,691,037
6
0
NOASSERTION
2020-11-01T17:04:31
2019-09-01T14:51:42
R
UTF-8
R
false
false
3,436
r
analyse_log.R
#' Analyse the Log and Plot Quiz History #' #' Read in and analyse the log file that is written by the WordBox shiny #' app. Create a plot of quiz history with various options. #' #' @param file path to the log file #' #' @return #' a tibble with one row per quiz for `analyse_log()`. A `ggplot2` or `plotly` #' plot for...
13dab6b12097c9fd1ba517ae94df0c5c6fc5c50b
e6b93a2c7a53c6dbc7c8af547c87205442311383
/man/error_max_value.Rd
c7a24c80e29c5472a17c158ccce150c47503dd6c
[]
no_license
sarahlotspeich/stride
9433272f8c1b318eca591209b2b81c24b72c95d8
5e135f50ce96666c21f8e2bb2f9affbf4ed44325
refs/heads/master
2023-03-19T22:09:29.138238
2021-03-07T01:41:04
2021-03-07T01:41:04
null
0
0
null
null
null
null
UTF-8
R
false
true
639
rd
error_max_value.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/main.R \name{error_max_value} \alias{error_max_value} \title{Error from exceeding maximum} \usage{ error_max_value(x, max_x, variable_name) } \arguments{ \item{x}{numeric vector or array object.} \item{max_x}{maximum allowed value in the vec...
44650e2c65437d5815dd20810ed40a6af122d1f1
626e67873449847d250ff4da4068f12e7ba4fc33
/analysis/redaction/infection_v2_AB.R
08f898d741c618441264335325679fad943a4c34
[ "MIT" ]
permissive
opensafely/amr-uom-brit
26787eb94341dc34e8500d8947f841cfa8079193
59ef7ca778d4971d98d7c1f39f6ac3269f8b3645
refs/heads/main
2023-09-02T20:55:20.701664
2023-07-14T15:08:51
2023-07-14T15:08:51
404,285,598
1
0
MIT
2022-11-01T10:13:20
2021-09-08T09:21:36
HTML
UTF-8
R
false
false
37,379
r
infection_v2_AB.R
############## library("data.table") library("dplyr") library('here') library("tidyverse") library("lubridate") library("ggpubr") dir.create(here::here("output", "redacted_v2")) rm(list=ls()) setwd(here::here("output", "measures")) #setwd("/Users/user/Documents/GitHub/amr-uom-brit/output/measures") ########### UTI...
e4099ba92d3a59315230add66b8cd39e846d82ee
ebd407af7f841a5abc89e6fb44391cf2c6dc40f5
/R/preText.R
b7d3e284bdcc35441cd53dc5b38b1fcf600c1077
[]
no_license
ttrann202/preText
117ef8a73b69cd98cce09d9b487ccca451582261
4d40c44c680cfea921a55f5ded9940b3e6d1b6a6
refs/heads/master
2023-06-24T06:32:14.502689
2021-07-25T19:10:37
2021-07-25T19:10:37
null
0
0
null
null
null
null
UTF-8
R
false
false
3,854
r
preText.R
#' @title preText Test #' @description Calculates preText scores for each preprocessing specification. #' #' @param preprocessed_documents A list object generated by the #' `factorial_preprocessing()` function. #' @param dataset_name A string indicating the name to be associated with the #' results. Defaults to "Docume...
2ceb2d3296764e378bb9c03f2b62dd0a4c14c1e4
29585dff702209dd446c0ab52ceea046c58e384e
/rAvis/tests/testthat_disabled/test-avisSpeciesSummary.R
048be0e883dbf1a3ccf0744c9f9259506abe5bba
[]
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
123
r
test-avisSpeciesSummary.R
# test for avisSpeciesSummary in rAvis context ("avisSpeciesSummary") # TODO: add tests based on .avisApiBusEspecie
7fe6de8dba7ebd063fa1f061176742360292c7fc
163bf40d37623797f5922a8516b9a1d4d423974c
/R/CZUncertainty.R
09b2cf9f3aa49a6d3746bdf3dc1045709ffc1fcc
[]
no_license
cran/kgc
0d64870f3279a6be8a88510581db2c0594ce6707
9f3821df9921a0b957529c07a9521a3c55da4a30
refs/heads/master
2021-08-31T09:49:09.755738
2017-12-20T22:44:53
2017-12-20T22:44:53
111,388,881
0
0
null
null
null
null
UTF-8
R
false
false
1,472
r
CZUncertainty.R
#' CZUncertainty #' #' This function will return the uncertainty associated with the predicted climate zone along with other potential climate zones. #' #' @name CZUncertainty #' @param data The co-ordinates for the location you are trying to predict the climate zone of. #' @return The uncertainty associated with the l...
6ceca1f56916a6e7e8df5105a27b2650f4fa80b9
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/RSE/examples/Pred.Fk.Naive.Rd.R
9dc4e9bf7637d89de9a0f851ae21ad460aee9d53
[]
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
673
r
Pred.Fk.Naive.Rd.R
library(RSE) ### Name: Pred.Fk.Naive ### Title: Abundance-based data: unweighted naive estimator ### Aliases: Pred.Fk.Naive ### ** Examples ## As an example, Herpetological assemblage data are used here. data(HerpetologicalData) ## two columns represent two samples of species abundance data X.merge = Herpetologic...
cd097e040beea4a318d9dfed878d0dfaab26ff79
5e8334b072ad5261403cc5ba390ef132b1ac8498
/scratch.R
f9ea1561cfe59b3f9e7836a6f116dcd15abef07d
[ "MIT" ]
permissive
stephbuon/concept-lab-viewer-march
8b2aa3d55c0409d49c2760b8571918a5d0fe1a97
a072f9bf3eb668506f57297e752bb535b89dfcde
refs/heads/master
2022-01-04T15:02:50.044410
2019-08-19T16:51:04
2019-08-19T16:51:04
null
0
0
null
null
null
null
UTF-8
R
false
false
2,496
r
scratch.R
library(dplyr) library(feather) library(igraph) library(readr) library(xtable) ## Despotism tests r1 <- read_feather('../data/ecco_90_dist_100_cut_10_2.feather') r2<- read_feather('../data/ecco_90_dist_10_cut_10_2.feather') rels <- read_feather('../data/times_coocs_unigrams_cutoff_d1.feather') rels <- group_by(rels...
b4b9f1825b558aaceb44de2f06701da118b69f0d
769898772e7225264fd942b2e5a666af3105d3a1
/R/insert.R
8babb8cbc023ee7dee48c08d730b90d33da37f1a
[]
no_license
cran/spatialEco
3fa4393496453b091c547cc7601a984e54bf2be6
22944d790b25451c848d420b61d386471073b1ee
refs/heads/master
2023-07-08T05:04:12.117110
2023-06-30T07:40:02
2023-06-30T07:40:02
30,218,937
5
3
null
null
null
null
UTF-8
R
false
false
2,289
r
insert.R
#' @title Insert a row or column into a data.frame #' @description Inserts a new row or column into a data.frame #' at a specified location #' #' @param x Existing data.frame #' @param MARGIN Insert a 1 = row or 2 = column #' @param value A vector of values equal to the length of MARGIN,...
d11a73d9ee99f570387cd33cc7e1283d70f1a3b9
fdb8524680771ee42251161404df4e8a7a96315c
/vectorization/vectorized_logical_02.R
4dcffb2cceb345711f68d8acbef1f32541a5bc46
[]
no_license
ttedla/data_analysis
92c2089d034360f8d0829e8b0f5b8014ebd5ab06
4881a3059b21872ace93b01ce588dcd0f4f83a4d
refs/heads/master
2022-11-27T12:44:14.232561
2020-08-10T01:58:05
2020-08-10T01:58:05
198,594,644
0
0
null
null
null
null
UTF-8
R
false
false
338
r
vectorized_logical_02.R
# ------------------------------------------------------------------------- # E.g-02: logical comparision # ------------------------------------------------------------------------- x <- 1:4 # we wanted to know which elements of x are greater than 2 x>2 # Of course, subtraction, multiplication and division are...
e4b899bb112594b772b5339ce14f0c98c1961835
63caf4d9e0f4b9c9cb5ab101f5795a94f27d575d
/man/swN2.Rd
035db1d08106198131a6e68d8d1ee5f94c88422b
[]
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
4,584
rd
swN2.Rd
\name{swN2} \alias{swN2} \title{Squared buoyancy frequency for seawater} \description{Compute \eqn{N^2}{N^2}, the square of the buoyancy frequency for a seawater profile. } \usage{swN2(pressure, sigmaTheta=NULL, derivs, df, eos=getOption("oceEOS", default="gsw"), \dots)} \arguments{ \item{pressure}{either pres...
e5d8c2aa5b40f1324ca88dcfc792f934d3c8c3f7
a4a658d367ddf2cf2ad2f2c381605573cc0228fb
/man/news.Rd
19c861003e4eacb6d0c9f2d7e51208ae768e9a60
[ "MIT" ]
permissive
Dschaykib/newsmd
1054d016e48f25490906149a51b756f1b4501ffc
1614d02eca9c35af7360de86ca1a5ce85251fd9a
refs/heads/master
2023-04-19T19:56:02.042189
2023-04-19T09:54:56
2023-04-19T09:54:56
141,821,455
7
2
NOASSERTION
2023-04-19T09:55:52
2018-07-21T14:44:57
R
UTF-8
R
false
true
4,998
rd
news.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/newsmd.R \docType{class} \name{news} \alias{news} \title{Manipulate the NEWS.md file} \format{ An R6 class. } \description{ Manipulate the NEWS.md file. } \examples{ ## Create a template my_news <- news$new() my_news$add_subtitle("improved th...
021ace3e55e49c9f9d8da12fbc778ebf3181abc3
7afcb6eac2fc59c8f536b10d581eee3e2b0002bd
/redPATH/R/data.R
92e472ad7c66a468defd4f9acad97992622d5951
[]
no_license
tinglab/redPATH
06e6c08b5c5812193ca3c44fb86b5182c32f7d1a
7737a3e26b036cffae90119d454056db97cece94
refs/heads/master
2020-04-24T11:14:54.975144
2019-05-08T14:32:57
2019-05-08T14:32:57
171,919,131
4
0
null
null
null
null
UTF-8
R
false
false
1,843
r
data.R
#' MGH107 - single cell glioma dataset of MGH107 patient. #' #' A dataset of 252 cells. #' Referenced from: #' Venteicher, A.S., Tirosh, I., Hebert, C., Yizhak, K., Neftel, C., Filbin, M.G., Hovestadt, V., Escalante, L.E., Shaw, M.L., Rodman, C. et al. (2017) #' Decoupling genetics, lineages, and microenviron...
1aa4fe7c2556eb36009eab8753f6c7a298797568
bcc81487edbe00a92f5a076bef6ab70dea20c4c8
/Advanced visualization.R
1e1e4294a87022891c9f1a273bdf06228868258b
[]
no_license
ismailhm/R-programming
625aa49a75d303bef93a0bf0993fa095c7d1c6b0
1b62c7859d241a799bf0b3b98c2906df148a046d
refs/heads/master
2020-04-20T16:42:19.928870
2019-02-03T16:52:31
2019-02-03T16:52:31
168,966,306
0
0
null
null
null
null
UTF-8
R
false
false
8,601
r
Advanced visualization.R
getwd() movies <- read.csv("Movie-Ratings.csv") head(movies) colnames(movies) <- c("Film","Genre","CriticRating","AudienceRating","BudgetMillions","Year") head(movies) tail(movies) str(movies) summary(movies) #--------- factoring a numeric variable #factor(movies$Year) movies$Year <- factor(...
0b1b4c6bd9cdc8017b532bce6cda81dffbe5fe43
e3b51a48fc6fccb16764a692668dd85c315a9e99
/cegmonitor/R/bn_node_monitors.R
d7d64f6d06b223510ee00d0f09de5e41b2defca3
[]
no_license
rachwhatsit/cegmonitor
59c734b62b49728df363bc148458bbcefdc3ba0f
7c4e458bb8386c3762a3aecc87db31d0cd7c9087
refs/heads/master
2020-04-08T08:55:55.891410
2019-06-13T15:55:11
2019-06-13T15:55:11
159,200,217
1
0
null
null
null
null
UTF-8
R
false
false
5,328
r
bn_node_monitors.R
#' A function to compute the node monitors of the BN #' #' @param df data frame #' @param col_name string with the node in question #' @param prior vector prior set by modeller #' @param n integer number of records in the dataset to consider #' @param learn logical to include learning of prior or not #' @keywords bn no...
15462da63c30eb1cc490702734ea42475ef21b74
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/bestglm/examples/hivif.Rd.R
3b025cf7d2b8bcab12a9702799761d6a69c875c3
[]
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,101
r
hivif.Rd.R
library(bestglm) ### Name: hivif ### Title: Simulated Linear Regression (Train) with Nine Highly Correlated ### Inputs ### Aliases: hivif ### Keywords: datasets ### ** Examples #Simple example data(hivif) lm(y ~ ., data=hivif) # #This example shows how the original data was simulated and #how additional test data...
f317236668a3a8690659c4eccb7ab96cdb3750ea
edd52caf49c06554654462dc9df7e39878453a26
/tests/testthat/test-common.R
96bdeeaaed5aa2ab2c519d22d4bc63dbd84a9e0a
[ "MIT" ]
permissive
edgararuiz/packagedapis
ce09cac0f827c731595d51ecf9cccf4a5afe272e
037dde691f797fc379e489abe1560926d7626b9a
refs/heads/master
2023-05-22T20:08:17.421407
2021-06-01T14:36:55
2021-06-01T14:36:55
362,926,394
0
0
NOASSERTION
2021-05-10T13:48:13
2021-04-29T19:31:58
R
UTF-8
R
false
false
223
r
test-common.R
test_that("Functions work",{ expect_s3_class( show_data(), "data.frame" ) expect_type( show_model(), "double" ) expect_equal( floor(get_prediction(30)), -124, ignore_attr = TRUE ) })
b24319254a0ff3771a47337b56aa44dffe6b2885
8816c7990599e0566fb1288544b547ebf53d7cda
/cv.R
8ca387da126492ce859f4958c68890767b60b0f6
[]
no_license
dengwx11/GroupLasso_clean
81678851ec23a03fb8c492ffa2c8916fece564db
1352ed8951c1ae98898b0e6317c65bf1d29e7841
refs/heads/master
2020-03-28T16:29:52.065241
2018-09-13T21:46:55
2018-09-13T21:46:55
148,701,450
0
1
null
null
null
null
UTF-8
R
false
false
7,844
r
cv.R
########################## Cross Validation ########################## divide<-function(K,n){ # Divide samples into K folds randomly # # Args: # K = number of folds # n = sample size # # Returns: # folds = list of indices i.mix = sample(1:n) folds = vector(mode="list",length=K) temp<-s...
33b8bd386a96540581cddd94927c4c91b8c4041b
85187ceeb4cfe98463f3054b352d5a04129ee5f8
/cachematrix.R
98264801f5464fe16e8fd767626dc94151e37e06
[]
no_license
y33bai/ProgrammingAssignment2
65ecb010cae369485198c6113f078191c658678a
db6dc950225afb4e7a7f9d6adc5066e15b22513b
refs/heads/master
2022-11-13T09:31:01.204438
2020-07-01T22:39:53
2020-07-01T22:39:53
276,476,681
0
0
null
2020-07-01T20:35:07
2020-07-01T20:35:06
null
UTF-8
R
false
false
1,003
r
cachematrix.R
## This function in overall can firstly cache the calculated inverse of a matrix, and ## retrieve those cached value if needed. ## makeCacheMatrix function creates a matrix that primarily used to cache its inverse makeCacheMatrix <- function(x = matrix()) { m <- NULL set <- function(y) { x <<- y ...
19dea2b7b1593636a736c7a2ac4e6f739d4ec313
33b7262af06cab5cd28c4821ead49b3a0c24bb9d
/models/files/pre.R
fcc4730d2cf560473e23d968e14cd2a9de6cda1f
[]
no_license
topepo/caret
d54ea1125ad41396fd86808c609aee58cbcf287d
5f4bd2069bf486ae92240979f9d65b5c138ca8d4
refs/heads/master
2023-06-01T09:12:56.022839
2023-03-21T18:00:51
2023-03-21T18:00:51
19,862,061
1,642
858
null
2023-03-30T20:55:19
2014-05-16T15:50:16
R
UTF-8
R
false
false
8,508
r
pre.R
modelInfo <- list( library = "pre", type = c("Classification", "Regression"), parameters = data.frame(parameter = c("sampfrac", "maxdepth", "learnrate", "mtry", "use.grad", "penalty.par.val"), ...
332999da6c42c501c7c6744b54abedc71bb6ffcf
8b155f49fc6a93cc2a524dfb29d37404c5b7ab65
/2014_Projection.R
ade3307efc42f926221cee6ab6dd0756eeefbadc
[]
no_license
isaacmiller2004/2014-MLB-Projection-Hitters
a076dfa0feb17663d0fd8f57bbc6fa677837fa59
9eb60e2cc854a2bc76c8f2c1b0518dad593951ad
refs/heads/master
2021-01-22T23:48:37.127032
2015-05-12T22:44:29
2015-05-12T22:44:29
35,515,561
0
0
null
null
null
null
UTF-8
R
false
false
14,643
r
2014_Projection.R
library(plyr) #Load data batting <- read.csv("Batting_names.csv", header=TRUE) Roster <- read.csv("roster2013.csv") retro.2013 <- read.csv("all2013.csv", header=FALSE) retro.2012 <- read.csv("all2012.csv", header=FALSE) retro.2011 <- read.csv("all2011.csv", header=FALSE) fields <- read.csv("fields.csv") names(retro.20...
3c052cac749890ca8a1e47e386b600b9beff7506
9aa18283078113319752d6ea52003835905aad8b
/hw5/hw5_model_classification.R
c0fc8fa92d4a8d45cb3f9083607c19e49432bd8e
[]
no_license
boniu86/Stats780_data_science
312f9dd905b2dd88711656aa2a3ceae2a74cc32b
c02f4c3a078e8975b72bf25da58bfbc3c4eed04f
refs/heads/master
2021-05-12T08:48:40.005776
2018-04-17T20:24:59
2018-04-17T20:24:59
117,298,739
0
0
null
null
null
null
UTF-8
R
false
false
2,523
r
hw5_model_classification.R
### Mixture DA library(mclust) library(tree) library(e1071) library(MASS) library(tidyverse) data("biopsy") user<-biopsy[,-1] user<-na.omit(user) user[,-10]<-lapply(user[,-10], as.numeric) ## MDA x<-user[,-10] x<-scale(x) B<-c() C<-c() D<-c() Tab<-union() for(i in 1:10){ set.seed(i) user_delete<-sample (1: ...
e1f8034146fdac74855e9e66b59a7681f0c8d611
1ac4936de63f82c6865a4adfc1908da71e5a70c5
/sample_net_w_second_3-component.R
c2c8bc3116881748ce6b63504eb18be9eb9b92f8
[]
no_license
sjdayday/net
64ddc2772901c2ea8c733251999c78b8e1c41a60
5ac574b9b02ed9e8d0be1ff39775496dc9d575b9
refs/heads/master
2020-04-06T04:30:56.353801
2013-03-26T16:41:00
2013-03-26T16:41:00
null
0
0
null
null
null
null
UTF-8
R
false
false
879
r
sample_net_w_second_3-component.R
n1<-matrix(nrow=13,ncol=13,seq(0,0,length=169)) n1[1,2]<-1 n1[2,1]<-1 n1[2,3]<-1 n1[3,2]<-1 n1[2,8]<-1 n1[8,2]<-1 n1[5,7]<-1 n1[7,5]<-1 n1[2,7]<-1 n1[7,2]<-1 n1[3,4]<-1 n1[4,3]<-1 n1[4,5]<-1 n1[5,4]<-1 n1[4,6]<-1 n1[6,4]<-1 n1[4,7]<-1 n1[7,4]<-1 n1[7,8]<-1 n1[8,7]<-1 n1[2,5]<-1 n1[5,2]<-1 n1[2,6]...
981811e2ebae51c7d9b7d370aa4a9784c6dab5df
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/phylosim/examples/getTipLabels.PhyloSim.Rd.R
3c57618504932649485d8a0bb6111b046fb9d948
[]
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
410
r
getTipLabels.PhyloSim.Rd.R
library(phylosim) ### Name: getTipLabels.PhyloSim ### Title: Get the tip labels from a phylo object aggregated by a PhyloSim ### object ### Aliases: getTipLabels.PhyloSim PhyloSim.getTipLabels ### getTipLabels,PhyloSim-method ### ** Examples # create a PhyloSim object sim<-PhyloSim(phylo=rcoal(5)); # get the...
a068ca9162a62e773feaca3b1b364c34ac3385e7
bc1120b2904a035b5177e54f2dbd51ffbee51d75
/Assignment2.R
73da57c90bc8818eaf3e52d13d0f0d78acca24ba
[]
no_license
JeffreyLoo/Econometric
13de873a6c9a8d5832edb943fb34c1031cc1e4ba
e1cb49f7baad8e8adba19ac37511f1b0249a3dd8
refs/heads/master
2020-07-25T21:03:18.611758
2019-10-17T07:44:46
2019-10-17T07:44:46
null
0
0
null
null
null
null
UTF-8
R
false
false
6,243
r
Assignment2.R
library(fBasics) library(rugarch) library(forecast) library(sos) library(quantmod) ##################### P A R T A ####################### ###Opening data files ### btc = read.table("btc.txt", header=T) # Load the data eth = read.table("eth.txt", header=T) # Load the data ###Calculating the log differ...
247c197eb25a2f40dead8049ecccdda8b2cd3303
2cc8973ad90835f8d5a17cf0d7b87059bbc71f81
/R/Match_cb.R
46d454180cb35787f16d0649866fb0042f384baa
[]
no_license
my1120/Hurricane
55d4d140a0136c5eefcf54a73c270b3c185a5289
f35c5e6309f032c025a9167bd433113b6943b551
refs/heads/master
2021-01-11T18:37:09.821805
2017-10-11T20:59:07
2017-10-11T20:59:07
79,583,219
0
0
null
null
null
null
UTF-8
R
false
false
1,586
r
Match_cb.R
#' Select matched observations from original $crossbasis$ matrix. #' #' #' @inheritParams readCity #' @inheritParams readStorm #' @inheritParams CityStorm #' @inheritParams Match_data #' @inheritParams dlnm::crossbasis #' #' @return This function returns $crossbasis$ object. #' #' @importFrom dplyr %>% #' #' @export Ma...
44f438e8f63d5a017be99708d40d213e22f00fb3
05023be47e53613170dc2c5a52c602fa6e34276b
/R/invert.dataframe.R
370e096593450390a2624ff9498ee5659df4733a
[]
no_license
NathanDeFruyt/WormTools
087f7558dbf098ec965b0369840ef8ddb356ece0
5822d14e79816905c3b9166bec31c27bd82def45
refs/heads/master
2022-11-05T01:13:51.282285
2020-06-25T13:48:58
2020-06-25T13:48:58
274,924,320
0
0
null
null
null
null
UTF-8
R
false
false
433
r
invert.dataframe.R
#' Invert your data frame #' #' This function inverts data.frames #' @param dataframe a data.frame which you'd like to see inverted. #' @keywords #' @export #' @examples #' invert.dataframe invert.dataframe <- function(dataframe){ output = dataframe[nrow(dataframe),] for (i in 1:(nrow(dataframe-1))...
1851f8a815ef7e4a8e4ca5112860735fdd763cf1
b74966ae3d4cadd8248a1182526ddb8fe467b024
/man/RotpBART.Rd
02e5ac51e9241f397f036f4e25f322b76cdcbcee
[]
no_license
DongyueXie/bCART
5a4cdae4f865e610173fa6695df205a5f6b76b78
ceb95ac4021a5b4d0e7711944cdd750960b3cc7c
refs/heads/master
2022-03-30T15:03:47.528667
2020-02-03T17:18:07
2020-02-03T17:18:07
192,607,643
0
0
null
null
null
null
UTF-8
R
false
true
753
rd
RotpBART.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RotpBART.R \name{RotpBART} \alias{RotpBART} \title{Rotation BART for classification} \usage{ RotpBART(X, y, x.test, cutoff = 0.5, k = 2, binaryOffset = NULL, power = 2, base = 0.95, w = rep(1, length(y)), ntree = 50, ndpost = 700, nskip =...
aab7a72a2057610cbf75338f84cd3e19129643ea
ed1920915c1f7070c7cec39de8ca82672be18cc5
/source/predict/mainPredictStripchart.R
5b27a4308d1bf23234a36ed7e425fba45841a8c5
[]
no_license
sthallor/miscRscripts
d28f7a9cdbc53fc7c7994c6000d1753b3679236d
c3a5a206c35cdbbb15f07a4ea9250ff861b2e7f1
refs/heads/master
2022-11-06T03:39:03.951539
2020-06-21T23:21:47
2020-06-21T23:21:47
273,998,540
0
0
null
null
null
null
UTF-8
R
false
false
11,085
r
mainPredictStripchart.R
####################################################################################### # mainPredictStripchart.R V3.0 - main routine for producing prediction strip chart # Ensign Energy Services Inc. retains all rights to this software # FHS, May 10, 2017 ###############################################################...
b894bdd5fa26e49949049b50cc1d04182c16368d
c53e367a5a155cfb1ee3a41e8b0351aeaa8d331d
/snpStats/doc/imputation-vignette.R
22a76401d9e600132e1073c9a05afefc8adc40d1
[ "MIT" ]
permissive
solgenomics/R_libs
bcf34e00bf2edef54894f6295c4f38f1e480b3fc
e8cdf30fd5f32babf39c76a01df5f5544062224e
refs/heads/master
2023-07-08T10:06:04.304775
2022-05-09T15:41:26
2022-05-09T15:41:26
186,859,606
0
2
MIT
2023-03-07T08:59:16
2019-05-15T15:57:13
C++
UTF-8
R
false
false
6,411
r
imputation-vignette.R
### R code from vignette source 'imputation-vignette.Rnw' ################################################### ### code chunk number 1: init ################################################### library(snpStats) library(hexbin) data(for.exercise) ################################################### ### code chunk numbe...
63dc6191762e6ce94cb31f1df146a02f10764430
9283b2a903149cc4cf33d4ece839a3aab9a73065
/man/file_exts.Rd
bf4ff1ec6793a7fad0ea19b207dd0703187e17a2
[ "MIT" ]
permissive
quanrd/gggenomes
4193542dc3a8cc416f9dcd2774718ac0c918b49b
1bfbdfe2a6f5b4c48b59cb3d2298be178fb3e2d1
refs/heads/master
2023-03-01T09:31:22.231667
2021-02-01T23:00:53
2021-02-01T23:00:53
null
0
0
null
null
null
null
UTF-8
R
false
true
525
rd
file_exts.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read.R \name{file_exts} \alias{file_exts} \title{Defined file extensions and associated formats} \usage{ file_exts(context) } \arguments{ \item{context}{a file format context defined in \code{gggenomes_global$file_formats}} } \value{ vector o...
b67baadb78357a6f7f9fda5c795b1c3212a4c85b
682fdb45d76bd462593d07113a0f642665ff44a3
/man/track.length.Rd
49c89c0a0aec352f552162db70312e1baf5a79c8
[ "MIT" ]
permissive
dfsp-spirit/fsbrain
dd782c91f95c52b8039e4ec6642345d994a6ed84
09f506dbf5467356ab26a65246f31051da58f198
refs/heads/master
2023-07-06T10:11:18.468284
2023-06-26T16:42:45
2023-06-26T16:42:45
209,085,379
44
12
NOASSERTION
2023-01-15T19:49:54
2019-09-17T15:05:51
R
UTF-8
R
false
true
544
rd
track.length.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/vis_dti_tracks.R \name{track.length} \alias{track.length} \title{Compute the total length of a path given by the coordinates of its points.} \usage{ track.length(point_coords) } \arguments{ \item{point_coords}{n x 3 numerical matrix of 3D poi...
b312deb5a57801a5ee67e3b8ca35603d5aba42de
be4814bb289e1a3adf0cbdca2ef189592578e891
/cours1.R
de0fd16acba46dd8a335d5797d3b779b8d97759d
[]
no_license
thomas-marquis/oc-stats-inf
c8e025197787dc039cb473c2f4935e6a026e1e1e
991b0bc33625420b165cba5b1475760cce80e7f0
refs/heads/master
2020-03-26T09:16:52.510055
2018-08-14T16:06:16
2018-08-14T16:06:16
144,743,416
0
0
null
null
null
null
UTF-8
R
false
false
51
r
cours1.R
essence <- read.table("essence.txt", header = TRUE)
759ed5ef66a892229ca434776c4c8ce695c9f8b0
651db456b041d0b30466499907ea36128e2ac7a8
/euler/7.R
0529722f0f591a9e1d9f1043bafaec09b7146924
[]
no_license
willcuratolo/projectEuler
0ddf62b324c89bc9d977d404e90ec362691b895b
6953bfeb4e8d7f89ad057f6c8978a3f171305feb
refs/heads/master
2020-03-24T18:28:26.575280
2018-07-30T15:19:44
2018-07-30T15:19:44
142,893,087
0
0
null
null
null
null
UTF-8
R
false
false
1,088
r
7.R
# 10001st prime # Problem 7 # By listing the first six prime numbers: 2, 3, 5, 7, 11, and 13, we can see # that the 6th prime is 13. # What is the 10,001st prime number? # My solution to this is not very elegant, but I could see an easy solution # that reuses some code I've just written. # This lists all ...
7dd3145b3e9b97c94ae68640c2bd46f378f0f6a6
ccc766699a9eaa3d3834ccc7fcfa8c069cd0030d
/man/edp.long.Rd
9d08fb0c071a443b3b46ac1197c65c7b63978162
[]
no_license
jasonroy0/EDPlong
c2f12a1fc7581675bafdb5891783292cf08fe7e2
92084e884cbc0329266c593a1931e9763abfed0d
refs/heads/master
2020-03-21T20:42:04.459975
2017-05-11T13:25:13
2017-05-11T13:25:13
null
0
0
null
null
null
null
UTF-8
R
false
true
1,733
rd
edp.long.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/edp_long.R \name{edp.long} \alias{edp.long} \title{Longitudinal mixed model with an enriched Dirichlet process prior} \usage{ edp.long(y, trt, newtrt, x, newx, id, timepoints, prior, mcmc, spline, verbose = FALSE, printevery = 100) } \descr...
cdb6ab6f7787d08c0b50849fa242524f43d73f8f
72211cfee1b52125a8cb565d931eb26453495a4b
/cachematrix.R
4a8863c1f599449a0f7878fc251593ba51525b5b
[]
no_license
ParvathySunil/ProgrammingAssignment2
b42b001934dc97c4b9bad4e0c97fe4b9cb094027
7d1b03afa19d223399efdd7f1657be3367ec31fa
refs/heads/master
2021-08-08T01:29:53.738942
2017-11-09T09:02:53
2017-11-09T09:02:53
110,072,993
0
0
null
2017-11-09T05:47:43
2017-11-09T05:47:42
null
UTF-8
R
false
false
1,655
r
cachematrix.R
## Creating a matrix, inversing the matrix and caching the inverse to avoid repeated computation. ## If the inversing is done first time, caching is done. Everytime aftereards if inverse is attempted, ##first checks if already cached. If yes, retrieve the value from cache. ## MakeCacheMatrix function creates a new ma...
f2f6f8c07e40ebffd6d8a4107707124f63f1bfcd
3c5d52b699e6645cbb086b4f45519f898a4b2f64
/R/powt.series.R
d38e755c12b5bce7ffc8c069d296bd1e33e2eccd
[]
no_license
AndyBunn/dplR
249427c0be6c68c80c267ad4392a03a331bb056d
8bb524ae6a024affea2c9ec982b0972fc5175280
refs/heads/master
2023-07-06T04:02:45.073034
2023-04-12T21:41:31
2023-04-12T21:41:31
195,873,071
31
12
null
2023-06-23T14:33:40
2019-07-08T19:21:39
R
UTF-8
R
false
false
1,675
r
powt.series.R
powt.series <- function (series, rescale = FALSE) { # add a check for negative nums if(any(series <0,na.rm = TRUE)) { stop("'series' values must be greater than zero") } # check rescale if (!is.logical(rescale)) stop("'rescale' must be either FALSE (the default) or TRUE") # helpers # used to...
ed9bf52ebfb6b692f04c83e538f5a458046049d9
22fbeb95068332116e8c7739751a34b2649243d4
/man/wigle_region_stats.Rd
0e3bd564e715e3ac7c6ee04fd2a36c94c4e22be8
[ "MIT" ]
permissive
sindhuselvam/wiglr
c3205ef25ae4ad9e39eb5c3b08d2438e202934b2
16f13fe03a7119fb9a3e7248c674dd6775aa2a01
refs/heads/master
2020-04-24T02:51:25.814951
2019-02-18T16:20:45
2019-02-18T16:20:45
null
0
0
null
null
null
null
UTF-8
R
false
true
718
rd
wigle_region_stats.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/regions.R \name{wigle_region_stats} \alias{wigle_region_stats} \title{Get WiGLE statistics for a specified country, organized by region} \usage{ wigle_region_stats(country = "US", api_key = wigle_api_key()) } \arguments{ \item{country}{iso2c ...
36081b042a84d4db9cc24e61be64d3df5d080f85
71ee93e10a94fbfe6375352dc6da5ca2e41e802c
/stat355/proj2/src/proj2.r
185e029ed46dbce47410e52877b70c54770d8417
[]
no_license
dangbert/college
ef25b08bd16bfb48d514d0668354a01342c9e104
b137658af27f86297ca70665ff5c487be06076ac
refs/heads/master
2022-12-15T19:37:46.603666
2021-11-23T19:30:44
2021-11-23T19:30:44
191,094,083
1
0
null
2022-11-22T02:43:47
2019-06-10T04:01:26
C
UTF-8
R
false
false
1,965
r
proj2.r
# Daniel Engbert # proj2 # STAT 355 Spring 2017 # parameters: # sample size, mean, standard deviation experiment1 = function(n, m, s) { cat("---------- Experiment1 ----------\n") means <- array() sdevs <- array() for (i in 1:1000) { # r starts indices at 1 (not 0) ...
574ee561d2ab05966f74c8c56db5b9213e4eff7a
82ea05843ae51c2a3a920d2de95b0dfac534ee82
/tests.R
1693bd2645c9f0f07ebb6c802073fea0258684e6
[ "MIT" ]
permissive
TestingEquivalence/PowerLawR
b15b797b57c6f473f90abf79a59980025f822aea
a92022f072f2f2787d9bfd029d86d7ba5911accb
refs/heads/master
2021-11-08T19:17:39.225981
2021-11-05T14:36:55
2021-11-05T14:36:55
199,118,799
0
0
null
null
null
null
UTF-8
R
false
false
5,989
r
tests.R
asymptotic="asymptotic" bootstrap="bootstrap" derivative<-function(F1,F2) { Z=2*(F1-F2) Z=rev(Z) Z=cumsum(Z) Z=rev(Z) return(Z) } asympt_stdev<-function(p,derivative){ vec = derivative vnsq_1 = sum(p*vec*vec) k=length(p) vnsq_2=0 f<-function(j){ v=vec[j]*vec v=v*p[j] v=v*p r...
e603ac27c6a0986762950ad55220e2386187a3a3
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/lawn/examples/lawn_nearest.Rd.R
baf87a4a4634907202a8ae5ff5eebfb715feeb9f
[]
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
lawn_nearest.Rd.R
library(lawn) ### Name: lawn_nearest ### Title: Get nearest point ### Aliases: lawn_nearest ### ** Examples point <- '{ "type": "Feature", "properties": { "marker-color": "#0f0" }, "geometry": { "type": "Point", "coordinates": [28.965797, 41.010086] } }' against <- '{ "type": "FeatureCollecti...
06137123ce4ebf71849a85065b4545ac31f81a90
41615de6999b278c76ff3a60db4af0d4dd7c7861
/scripts/initDOM_NFI.R
e202bb3649d233a7b4ac40b110498caffdccc55e
[]
no_license
dcyr/Montmorency-Hereford
b33b744e2b9017d4c085bbb546ae9061eb2c1257
003298b165dee1775753f821c95ad548835f6a49
refs/heads/master
2022-07-17T18:11:25.144495
2022-06-22T15:08:02
2022-06-22T15:08:02
206,645,965
0
0
null
null
null
null
UTF-8
R
false
false
8,497
r
initDOM_NFI.R
################################################################################ ################################################################################ ### Some code to produce a area extent within which we fetch NFI plots for ### study area calibration ### Dominic Cyr ############# rm(list = ls()) ho...
2f1cee16a5f8e534a55deda6a16d10e1d3d8bbc8
2c5640811d4ab4a58f04229fd4b2d3c7c4a5a525
/man/RcmdrPlugin.SLC-package.Rd
94987607120ea511d46897bde43426c72d91a77a
[]
no_license
cran/RcmdrPlugin.SLC
c4ccf7abc9af9a3e364b1b8474b49ef19ec586e2
547896e0a380163ace909ce377655c1425131b48
refs/heads/master
2021-01-10T23:33:02.114780
2010-01-14T00:00:00
2010-01-14T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
861
rd
RcmdrPlugin.SLC-package.Rd
\name{RcmdrPlugin.SLC-package} \title{RcmdrPlugin.SLC: A GUI for SLC R package} \alias{RcmdrPlugin.SLC-package} \alias{RcmdrPlugin.SLC} \docType{package} \encoding{UTF-8} \description{ This package provides a GUI (Graphical User Interface) for the SLC package. It is a Plug-in for Rcmdr (R Commander). Functions o...
d2a1286b18ebc55506003dabc82d7edccb9d2e6f
12a1295e3bf8150f0ab3f2f026114ec1f4ce8e2b
/version_to_upload/function.R
dd479425c9373c55c45e45320d452e38623db4fa
[]
no_license
jojoh2943/MiBiOmics
b48cfeaec8817d1cc94c6e4a61d73d4929c73bf0
a807463ef4f21126577c3d2eba8636a4c9cc2aed
refs/heads/master
2020-04-22T11:22:22.172443
2019-11-27T08:48:31
2019-11-27T08:48:31
170,337,847
0
0
null
null
null
null
UTF-8
R
false
false
71,354
r
function.R
#-------------------------# #### GENERAL FUNCTIONS #### #-------------------------# '%!in%' <- function(x,y)!('%in%'(x,y)) rename_axis_drivers <- function(axis_drivers, colnames_df1, colnames_df2, colnames_df3, n_df =3){ right_names <- c() if (n_df == 3){ for (row in 1:nrow(axis_drivers)){ if (substr(ro...
1cfd73660e278a8f7fe21a120020cee1e15b3698
afe39a330e68856413be87018519f7119dde6508
/man/add_label.Rd
84015ad9b28760ee0ae7bacefa2ca0538bfbbff4
[]
no_license
jchrom/trelloR
4a142222c34d480b25b7f3fd75614c6af1cf66eb
cca04eb70bf5060a7c7f858fa9911bd8c68e2089
refs/heads/master
2023-08-31T06:33:57.940993
2023-08-27T18:09:07
2023-08-27T18:09:07
34,352,839
40
12
null
2017-01-21T19:47:02
2015-04-21T21:20:56
R
UTF-8
R
false
true
864
rd
add_label.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/create_wrappers.R \name{add_label} \alias{add_label} \title{Add label} \usage{ add_label(card, color, name = NULL, ...) } \arguments{ \item{card}{Card id.} \item{color}{Label color.} \item{name}{Label name; choosing different non-existing n...
12c0b172d0fbbbc859fa776e563d80688c27a7ab
ef572bd2b0515892d1f59a073b8bf99f81d6a734
/R/data.R
f0618ce2bb4b87be3dbf984358cfb07b6cc56aa6
[ "CC0-1.0" ]
permissive
pepfar-datim/datapackr
5bc604caa1ae001b6c04e1d934c0c613c59df1e6
9275632673e45948db6846513a53c1436cfc0e47
refs/heads/master
2023-08-30T23:26:48.454382
2023-08-11T13:01:57
2023-08-11T13:01:57
170,350,211
9
7
CC0-1.0
2023-09-11T21:53:24
2019-02-12T16:19:47
R
UTF-8
R
false
false
30,232
r
data.R
#' @docType data #' @title Mapping of DATIM Prioritization numerals to strings. #' #' @description Maps DATIM Prioritizations from their coded numerals (1-8) to #' their more descriptive names. #' #' @format #' \describe{ #' \item{value}{Numeral associated with DATIM Prioritization.} #' \item{Prioritization}{Name a...
5f90e00245c17b34b70ae2472f7b279b922a3130
e9a61662d35c57c52add9eb02710bda5c3f4c9b6
/plot2.R
1c78280f7df63340e79e1bd546e7d91540856409
[]
no_license
parveen-sharma/exploratory-data-analysis
ce287ae9fcec66288234ce91c83d608be187f104
ed5327701683ded8fb42db71927d6f2d9f05f1a0
refs/heads/master
2021-01-10T19:43:30.115981
2015-06-03T17:55:54
2015-06-03T17:55:54
36,706,789
0
0
null
null
null
null
UTF-8
R
false
false
890
r
plot2.R
########################### ## Author: Parveen Sharma ## Date: 2015-06-02 ## Exploratory Data Analysis ## Assignment: Course Project 1 | Task: plot2 ########################## ## set working directory - where data file is downloaded ## plots are also saved here setwd("C:/Users/Parveen/Desktop/r-prog/assign-Exploratory...
0f5ced561a7daf2b423ce89ecec20f282f69c56e
d812db15a12cfce3666d69812fbbb0da4b070c14
/code/main.R
78e72d78df9e700cb8a9468b3a5655031082eea2
[ "MIT" ]
permissive
jvpoulos/patt-c
97fba2cec409113747f246cec1cc36ee6cf21f5d
d471872f710210516c540f313437f8fa69a91e21
refs/heads/master
2021-07-07T15:02:19.941944
2020-07-31T03:27:53
2020-07-31T03:27:53
156,440,652
1
0
null
null
null
null
UTF-8
R
false
false
1,304
r
main.R
repo.directory <- "~/patt-c/" # Simulation patient.simulation <- FALSE if(patient.simulation){ source(paste0(repo.directory,"code/simulation.R")) # --> simulation_res.Rdata } source(paste0(repo.directory,"code/simulation-plots.R")) # Empirical application source(paste0(repo.directory,"code/prepare-ohie.R")) # ...
a8314f0ad2bf5c9a8a761292bdbd991ee78f01e4
7853c37eebe37fa6a0307e0dd9e197830ee6ac71
/tests/funcAttributes.R
fa2f819af85517bda1d89d3c1915118efe8be289
[]
no_license
chen0031/RCUDA
ab34ffe4f7e7036a8d39060639f09617943afbdf
2479a3b43c6d51321b0383a88e7a205b5cb64992
refs/heads/master
2020-12-22T22:47:37.213822
2016-07-27T03:50:44
2016-07-27T03:50:44
null
0
0
null
null
null
null
UTF-8
R
false
false
387
r
funcAttributes.R
library(RCUDA) cuGetContext() f = system.file("sampleKernels", "dnorm.cubin", package = "RCUDA") if(file.exists(f)) { m = loadModule(f) vals = RCUDA:::CUfunction_attributeValues # ignore the MAX entry sapply(unclass(vals)[-length(vals)], cuFuncGetAttribute, m$dnorm_kernel) cuFuncGetAttributes(m$dnorm_...
2876b7c14549151f17de948067706e523b958438
e17c16432c4d6192566ed3c19d70b885b0683405
/R/getContent.R
40e076af7c62c5d301e90e1a79c0ba07a9ceb5df
[ "Apache-2.0" ]
permissive
xy21hb/ReactomeContentService4R
bb8fb202bfefab66a1ef660cd3831e83d2cd582e
f55d6afe90e778677fb7f295512a56f4590bb61d
refs/heads/master
2023-05-06T22:04:38.800860
2021-05-26T14:40:21
2021-05-26T14:40:21
null
0
0
null
null
null
null
UTF-8
R
false
false
22,582
r
getContent.R
## Retrieve data from Content Service #' Search engines discovery schema #' @param event.id stable id or db id of an Event #' @return a list of the event schema #' @examples #' discover("R-HSA-73893") #' @rdname discover #' @export discover <- function(event.id) { path <- "data/discover" url <- file.path(getOpti...
0162f1219ac07b08bf3310aee9da96563eb58342
2621ac3d3a4bfce0d55f2a5c78aa80e4324ee766
/HunderTroutIPM_ContinuousScenarios_mH&mO1.R
cc8e8ab746c22519f77c264f82a77ec74968660e
[]
no_license
ChloeRN/HunderTroutIPM
d045baa657550002744175c82ec47d8aa11a86e5
d2b58e50ea1d8aba3e0b4671310010d7ea515490
refs/heads/main
2023-01-21T16:08:49.575614
2020-11-23T17:01:12
2020-11-23T17:01:12
315,370,911
0
0
null
null
null
null
UTF-8
R
false
false
5,981
r
HunderTroutIPM_ContinuousScenarios_mH&mO1.R
# This code builds the IPM for three different assumptions of below-dam penalty on early mortality # (none, +50%, +100%) and a set of combinations of decreases in harvest mortality # and dam passage mortality of above-dam spawners (= background mortality of smaller than # average above-dam spawners). # The relevant...
d2c9674998bfdf1156382e663f81e78fb2fac480
3a8d972ddbb072063766c9569cc67159f8c9ba02
/plot3.R
9a1553afe5f3a363a775b779aa1631a9962727b6
[]
no_license
justincassidy/ExData_Plotting1
49ec9beea25d74d28d5b1450e100464ca30f4b5c
dddbf8ed4c2b2f7aa33b6c7f31f28f8ac8085a26
refs/heads/master
2021-01-17T23:36:16.939031
2015-11-08T01:50:11
2015-11-08T01:50:11
45,758,981
0
0
null
2015-11-07T23:22:53
2015-11-07T23:22:51
null
UTF-8
R
false
false
1,626
r
plot3.R
# Plot 3 Code for Coursera Exploratory Data Analysis Course Project 1 # Read in raw data as "plotdata" data frame read.table("household_power_consumption.txt",sep=";",header = TRUE)->plotdata # Convert Date and Time columns to a "datetime" column and convert to POSIXlt object plotdata$datetime = paste(as.character(pl...
6ad1ac66fea4c7d76f1cafaf9b63a3998e288761
5327f42ac4be4ca7238806e4c2a61ed7ad863d6a
/npoint
2928532d4eb3fe378ace3ef048692bfdfc8c6d18
[ "MIT" ]
permissive
IBIC/neuropointillist
9cf13776653a8912a44d41e2fb4f9dd9e6bae6d3
d6b481f44fa3114c7096d3c986a25552a4a73c23
refs/heads/master
2021-03-27T12:31:09.794084
2020-09-14T16:00:10
2020-09-14T16:00:10
56,612,725
29
10
MIT
2020-09-08T16:57:37
2016-04-19T16:16:51
R
UTF-8
R
false
false
17,021
npoint
#!/usr/bin/env Rscript #### Make sure packages are installed and load them #rniftilib is not in this location #if (!suppressWarnings(suppressPackageStartupMessages(require(Rniftilib)))) install.packages("Rniftilib", repos="http://R-Forge.R-project.org") if (!suppressWarnings(suppressPackageStartupMessages(require(ar...
39ddd30a30bc19d8fb3d0b485b37c019aca0e945
0a906cf8b1b7da2aea87de958e3662870df49727
/grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610054882-test.R
88f806951e0c16f19aad582a5cbb13d57ed7acce
[]
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
613
r
1610054882-test.R
testlist <- list(a = 0L, b = 0L, x = c(757935405L, 757935405L, 757935405L, 757935405L, 757935405L, 757935405L, 757935615L, -1L, -1L, -53971L, 757935405L, 757935405L, 757935405L, 757935405L, 757935405L, 757935405L, 757935405L, 757935405L, 757935405L, 757935405L, 757935405L, 757935405L, 754974720L, 0L, 2960685L, 7579...
1daccbe806e009c8d7676ab5df26a217a6812751
1e28d717a28d32d2dd5fe6793de85857ae775200
/WQD170068_Assignment2.R
56d69b9dd6d0c82669ae8975545bcc6b43027405
[]
no_license
quantFactory/rBackup
feb468d9a5291c142932deab06d6da4f5dd76962
b046d300e86277dc4f2e0307a87fd37f78a88091
refs/heads/master
2020-03-31T19:56:58.140742
2018-10-10T07:52:04
2018-10-10T07:52:04
null
0
0
null
null
null
null
UTF-8
R
false
false
11,103
r
WQD170068_Assignment2.R
#################################### WQD7004: ASSIGNMENT 2 ####################################### # Name : NG KANG WEI # Student ID : WQD170068 path <- file.path("E:\\academic\\mds-sem2\\WQD7004-Rprogramming\\2008.csv") myDF <- read.csv(path) library(dplyr) # 1) Sort in decreasing order the ten most popular airport...
89b960add534c96048782f029b70300038997694
98d801be299daf76f6ccf6f4dde104e0027c9633
/man/rbeta.Rd
2df22177782b77914f86dbf35dc2e81d2f13d8fe
[]
no_license
cran/rBeta2009
90e59d3df708b6cc5e737f412f8723f0dbc8a0a2
2756392a871703b0e963c911794f4536559b34d4
refs/heads/master
2020-12-30T09:38:05.759015
2012-02-25T00:00:00
2012-02-25T00:00:00
17,698,930
1
0
null
null
null
null
UTF-8
R
false
false
2,800
rd
rbeta.Rd
\name{rbeta} \alias{rbeta} \title{ The Beta Random Number Generating Function } \description{ Random generation for the beta distribution with parameters \code{shape1} and \code{shape2}. } \usage{ rbeta(n, shape1, shape2) } \arguments{ \item{n}{Number of beta random numbers to generate. If \code{length(n) > 1}, th...
d70ec5e5ff04eb07c598ea8bc78aac336c73d81d
da51412f8bbc686f070cf9c468aa51bb302e36dc
/COAD_NormalCancer_Project/2.Molecular_dataset/2.Gene_set_analysis/4.7.COAD.MSigDB_c6_analysis.R
7df5bf2a311f80088e010641fead0f8027805a48
[]
no_license
haojiang9999/HCA_script
f7c7451e951abb2da83ada71688dd7833276dc4c
46eaaecb016559982818f9e2c7c7f5c689b27622
refs/heads/master
2020-12-21T13:14:58.616545
2020-04-01T01:58:28
2020-04-01T01:58:28
236,439,415
2
0
null
null
null
null
UTF-8
R
false
false
2,477
r
4.7.COAD.MSigDB_c6_analysis.R
#### 4.7.COAD.MSigDB_c6_analysis.R dt.c6 <- decideTests(fit.c6.2, p.value = adjPvalueCutoff ) #number = Inf DEgeneSets.blue.c6.all <- topTable(fit.c6.2, coef="blue - (brown + turquoise)/2", number=Inf,adjust="BH") DEgeneSets.brown.c6.all <- topTable(fit.c6.2, coef="brown - (blue + turquoise)/2", number=Inf,adjust="BH")...
54bffeab6c2e137ebb1eb9f21bbb561689f006ca
939e6dc1722fae8b7f617ae699e78e74e0b1a016
/man/check_RMAPI_loaded.Rd
138cd701b8e979abb37a939e997083d34d55dfd6
[ "MIT" ]
permissive
mrc-ide/RMAPI
972e1cd2b32e446ec8449f39119aefe27df0742e
515b10c7f486e3700a51dbdd5bea5ecb4ea3a939
refs/heads/master
2021-05-12T02:24:37.831396
2020-02-05T16:17:59
2020-02-05T16:17:59
117,585,480
3
0
null
2019-11-02T16:46:48
2018-01-15T19:17:09
R
UTF-8
R
false
true
356
rd
check_RMAPI_loaded.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/main.R \name{check_RMAPI_loaded} \alias{check_RMAPI_loaded} \title{Check that RMAPI package has loaded successfully} \usage{ check_RMAPI_loaded() } \description{ Simple function to check that RMAPI package has loaded successfully. Prints "R...
22f1610ab9589b3020c6a971337d11974874c7cd
9a7eca6bc81a8a5ac032645c626ad469832ba3e9
/R/p_detect.R
8451b5ec51b5c85e019b0b5a12e35894af8eaf1c
[]
no_license
fishsciences/artemis
c4608bbe38689c62053b4e9770d61cccc140bdd4
6c7b0a447f99e51e4d5bf709b2ea01b559c1f617
refs/heads/main
2023-03-15T23:35:39.867064
2023-03-07T21:53:09
2023-03-07T21:53:09
193,982,468
5
0
null
2022-04-26T22:28:04
2019-06-26T21:52:14
R
UTF-8
R
false
false
7,901
r
p_detect.R
# scripts to work with the probability of detection either to work # backwards to find the variable level which corresponds to a certain # p(detect) for a single sample or the joint p(detect) for a bunch of # samples ##' Estimate the probability of detection ##' ##' This function estimates the probability of getting a...
ff8e6ab850944a090555a449bf5af49b4adb720c
b2f61fde194bfcb362b2266da124138efd27d867
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1+A1/Database/Letombe/Abduction/aim-100-1_6-yes1-1-90/aim-100-1_6-yes1-1-90.R
e8c39ffccd7c41dafe329344b1823b099fe00324
[]
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
70
r
aim-100-1_6-yes1-1-90.R
5ed3b63ab14bfb3e78c56df188616baf aim-100-1_6-yes1-1-90.qdimacs 376 664
a1d028cc8cf6cca8f114e4ef4d0e30cc0536eb8b
6eb5c77ea5a336864a30397a5b0dbea45ce7b785
/final_project.R
4868203b197ea6de8b9e3ee41eb230d72471a61a
[]
no_license
ampatil1996/Data-Wrangling-Project
b6be85e080582bf3011fc20fbc9bd37cc1f700b1
6637746b5bde2d4c7539f530d99721d9e5f7cc6c
refs/heads/master
2022-06-13T14:31:44.591606
2020-05-05T03:11:35
2020-05-05T03:11:35
255,664,002
0
0
null
null
null
null
UTF-8
R
false
false
14,716
r
final_project.R
install.packages("hrbrthemes") library(tidyverse) library(magrittr) library(ggplot2) library(stringr) library(lubridate) library(hrbrthemes) library(ggplot2) data <- read.csv("C:/Users/Amit/Desktop/MS in Data Science/Sem4/Data Wrangling/Project/NJ Data/Combined_data.csv") df1 <- data dim(df1) #sample of data head(df...
724f35213843435ffe32e6c609997a4ef05cf50a
2a82c473bccb19ba59bbdd0696f35043b9cfcfa2
/man/quick_facet.Rd
d52bb3927cc83906b80f189d4dc36e9f85de100a
[ "MIT" ]
permissive
wkostelecki/ezplot
daab0c404af67977f4bc6daa02798c6737dd3dc0
3422e7cd110f960d63da1fd9fc3203423fbe2b3d
refs/heads/master
2023-06-23T06:56:16.773219
2023-06-17T05:23:51
2023-06-17T05:23:51
39,913,514
6
0
NOASSERTION
2020-11-15T14:05:06
2015-07-29T20:01:32
R
UTF-8
R
false
true
459
rd
quick_facet.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{quick_facet} \alias{quick_facet} \title{Quick facet} \usage{ quick_facet(g, ncol = NULL, ...) } \arguments{ \item{g}{A ggplot object.} \item{ncol}{Number of facet columns.} \item{...}{Arguments to pass to \code{facet_grid} or ...
80dba9de0b003cdf847d31fac7aec328e6a934a9
f1df80ec987a517546a34c8589691206e079fc8b
/R/lags.r
9374598fda6d29a681ec09566ef382f06b3e8674
[]
no_license
skranz/sktools
3c38b49d990a2f6e18bb92b614f8b47a79a7fc42
8e629e09f0b72b1471b4a4eb89f3ada0a43e4aaf
refs/heads/master
2021-07-11T23:03:31.263729
2021-04-06T05:34:30
2021-04-06T05:34:30
9,919,328
0
0
null
null
null
null
UTF-8
R
false
false
892
r
lags.r
examples.add_lags = function() { T = 5; N = 4 df = data_frame(i = rep(1:N, times=T),t=rep(1:T,each=N),x=runif(T*N),y=runif(T*N)) add_lags(df,var="x",lags=1:3, leads=1:2, groupvar="i",timevar="t") add_lags(df,var=c("x","y"),lags=1:3,leads=1, groupvar="i", timevar="t") } add_lags = function(data,var,lags=1,lea...
64daf921e795124b2438ebb0a49fb6ea9996bb1a
2d8ba76402f8b76391a76eb6fb92401e12d03cd3
/Chr3_GSE103091_Cibersort.R
67dca94ce3796e5f96cc9b6de9223d4776dae6ee
[]
no_license
HopeStar2018/Macrophages-Related-Gene-Signature-to-Predict-Overall-Survival-in-Patients-with-TNBC
79d88ca58bb805739ce6291ea972eec724919709
19c21ba4fa7738cd2cb2d3e5303b9f41acdd0b73
refs/heads/main
2023-04-14T21:06:04.951928
2021-04-27T05:15:51
2021-04-27T05:15:51
361,979,635
1
0
null
null
null
null
UTF-8
R
false
false
1,441
r
Chr3_GSE103091_Cibersort.R
rm(list = ls()) setwd('H:\\PHD_database\\Paper_writing\\A_Paper_XVIII_BreastCancer_LXN_ver2\\Step7_OtherGSE\\Chr3_GSE103091_Cibersort') load("H:/PHD_database/Paper_writing/A_Paper_XVIII_BreastCancer_LXN_ver2/Step7_OtherGSE/Chr1_GSE103091_reanno/GSE103091_exprdf_uniq.RData") library(parallel) library(doParal...
43f43348acadb7e5e60af302f6cb6d7f7f4b1243
cadbe42d3a9397c38d81ddc2be6c807034c03d36
/module5_DimensionalityReduction.R
a3539b458602090265518a12cef3d58fea5e80b1
[]
no_license
airsafe/edx-principles-of-machine-learning
c55cbaa5fc53f8548f6e3a4f5ac2d96c5b0d84e3
732439053528edc5fb79843213b428ffbcd69f6d
refs/heads/master
2020-06-12T23:50:34.624132
2019-07-11T16:31:03
2019-07-11T16:31:03
194,465,415
0
0
null
null
null
null
UTF-8
R
false
false
23,662
r
module5_DimensionalityReduction.R
# Processing start time sink('dim_reduction_output.txt') timeStart = Sys.time() # ADMINISTRATIVE NOTES # Note: To describe database at any point, use str(*name*) # Note: To clear R workspace, use rm(list = ls()) # Note: Searching R help files - RSiteSearch("character string") # Note: To clear console, use CTRL + L #...
cfa19594ad31a1b3c80d52b51ee697b8de6e0aee
1e912c54cb17be1e24fe47072498f3e7bbc37a1e
/R/blomCOP.R
f43bb464ee0820f7480e3ac1d51ce1497f6cf071
[]
no_license
cran/copBasic
a3149fffc343130a77e693dae608dde9ca50cd05
84adb528160d3cd5abb83e06da276a6df9af382f
refs/heads/master
2023-06-23T14:32:12.974136
2023-06-19T15:50:02
2023-06-19T15:50:02
17,695,240
0
1
null
null
null
null
UTF-8
R
false
false
1,093
r
blomCOP.R
"blomCOP" <- function(cop=NULL, para=NULL, as.sample=FALSE, ctype=c("joe", "weibull", "hazen", "1/n", "bernstein", "checkerboard"), ...) { if(as.sample) { ctype <- match.arg(ctype) if(is.null(para)) { warning("Sample Blomqvist's Beta desired but...
02850e74f13fef21b2c7983c5c75a4a172acb7b3
1e820fe644a039a60bfbee354e50c775af675f6b
/R_easysteps/Ch04_ElseIf.R
afd0d045febe8d39b146728c1f92859ecdf38683
[]
no_license
PyRPy/stats_r
a334a58fca0e335b9b8b30720f91919b7b43d7bc
26a3f47977773044d39f6d8ad0ac8dafb01cce3f
refs/heads/master
2023-08-17T00:07:38.819861
2023-08-16T14:27:16
2023-08-16T14:27:16
171,056,838
1
1
null
null
null
null
UTF-8
R
false
false
279
r
Ch04_ElseIf.R
# chaining branches hour <- 21 if( hour < 13 ) { print( paste( "Good Morning:", hour ) ) } else if( hour < 18 ) { print( paste( "Good Afternoon:", hour ) ) } else { print( paste( "Good Evening:", hour ) ) } # in a cascaded way remember !