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
b913af87b88101d1668dde1f553ad1aa0dc6f65e
ebbe08d58a57ae2e9d308a12df500e1e0ef8d098
/scRef/codes/Benchmark_bak/fig_cross_species.R
fb1e88aec855a3e5e24faf76aa5903dfdc4e79ca
[ "MIT" ]
permissive
Drizzle-Zhang/bioinformatics
a20b8b01e3c6807a9b6b605394b400daf1a848a3
9a24fc1107d42ac4e2bc37b1c866324b766c4a86
refs/heads/master
2022-02-19T15:57:43.723344
2022-02-14T02:32:47
2022-02-14T02:32:47
171,384,799
2
0
null
null
null
null
UTF-8
R
false
false
4,292
r
fig_cross_species.R
library(ggplot2) library(RColorBrewer) # data ref.dataset <- c('BaronM', 'BaronM', 'MCA', 'MCA') sc.dataset <- c('panc8_celseq2', 'panc8_smartseq2', 'pbmc3k', 'pbmcsca_10Xv2') sc.legends <- c('Baron(inDrop) -> Muraro(CEL-seq2), Pancreas', 'Baron(inDrop) -> Segerstolpe(SMART-seq2), Pancreas', ...
589146b330ab688cef783830a7d246e81bfb69b0
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed_and_cleaned/10485_2/rinput.R
b63b4c2d760a28a05ad91551b86f320d016cc1dd
[]
no_license
DaniBoo/cyanobacteria_project
6a816bb0ccf285842b61bfd3612c176f5877a1fb
be08ff723284b0c38f9c758d3e250c664bbfbf3b
refs/heads/master
2021-01-25T05:28:00.686474
2013-03-23T15:09:39
2013-03-23T15:09:39
null
0
0
null
null
null
null
UTF-8
R
false
false
137
r
rinput.R
library(ape) testtree <- read.tree("10485_2.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="10485_2_unrooted.txt")
6d45c29fa0ba451c023a0f068ac8910cbec89edd
2b08c32c1b91f99414f808803d2fff4dc43e5ff1
/R/buildparams.r
fa145171882f354a77057563d7b8ab0c730b462e
[]
no_license
AustralianAntarcticScience/ptrackr
598d5bab337acc111c9d0cd7f92fd3869bd42f03
86d8440500b70b8e11641dc43a432fafbed3d728
refs/heads/master
2021-01-11T04:27:37.793303
2016-09-02T01:13:00
2016-09-02T01:13:00
null
0
0
null
null
null
null
UTF-8
R
false
false
1,072
r
buildparams.r
#' buildparams #' #' Function to set up parameters for the sedimentation equation used in the trackit_2D function #' #' @param speed sinking speed #' @param r particle radius #' #' @return list(p0 = p0, p1 = p1, cosO = cosO, g = g, K = K, E = E, r = r, Wd = Wd, Ucsq = Ucsq, SedFunct = SedFunct) #' @export buildparams...
121eaed97b496fd11347c0cef5e8211df69988e4
10fa702aecca039f7221eb63b1e86a2c4fda526e
/plot2.R
0f2ceea554917df8575a44f4052c0163d60afbf2
[]
no_license
huckdn/Exploratory-Data-Analysis---Project1
d787c864efe7e3de0f7c626500b364b6fb803ff3
2899c351ba6edc92d41f8d2cbb015f5087c9fdf9
refs/heads/master
2021-01-19T22:10:07.550144
2015-05-10T23:03:30
2015-05-10T23:03:30
35,390,744
0
0
null
null
null
null
UTF-8
R
false
false
665
r
plot2.R
rawData <- read.table("household_power_consumption.txt",header=T,sep=";", na.strings="?",colClasses=c("character","character","numeric","numeric","numeric","numeric","numeric","numeric","numeric")) rawData$DateTime <- paste(rawData$Date, rawData$Time) rawData$DateTimeActual <- strptime(rawData$DateTime,format="%d/%m/...
f5cc42db6ffe5f778d4facc6c04cda7cc42fc7f7
382624a9e4b24389735e5490f8333b112feb103d
/Simulation Functions.R
625a3aa091f0b04aa11fb852eee14bf792e5f42a
[]
no_license
joshcullen/method-comparison
283f92c2dd0d2af0555261fdf151a06b56a70e99
d46399b569e5b30d172f50524bf809c20c0669fb
refs/heads/master
2020-11-25T14:05:12.536407
2020-02-05T15:51:55
2020-02-05T15:51:55
228,704,768
0
0
null
null
null
null
UTF-8
R
false
false
5,333
r
Simulation Functions.R
### CRW model CRW.sim=function(n, behav, SL.params, TA.params, Z0) { #n=duration of each randomly sampled state #behav=vector of behavioral states #SL.params=df of shape and scale params #TA.params=df of mean TA and concen. param #Z0=initial location #uses gamma and wrapped cauchy distribs #behavior...
07b933965c363a3ec0e812e9c8b9610f8eeaf40c
c4b86ad27a16524b978bcad04d3920b98bd77aba
/langaage.R
6df05417a54b2443b56f333a67db2e2834277bac
[]
no_license
nripeshtrivedi/Conversion_analysis
5ec900a97ba685720356cba1b7e1f7111a867b90
d9c9ac2c7a4a2e4e46492c82f530036b256120de
refs/heads/master
2020-12-24T07:04:03.717117
2016-11-20T07:26:29
2016-11-20T07:26:29
73,382,456
0
0
null
null
null
null
UTF-8
R
false
false
1,918
r
langaage.R
library(rworldmap) ddf = read.table(text=" country Number_of_Languages ATG 1 AFG 3 ALB 11 DZA 2 AND 3 AGO 1 ARG 5 ARM 2 ASM 2 ABW 3 AUS 3 AUT 4 AZE 3 BHS 1 BHR 3 BGD 2 BRB 1 BLR 2 BEL 3 BLZ 3 BEN 1 BMU 2 BTN 1 BOL 2 BIH 3 BWA 1 BRA 4 VGB 1 BRN 3 BGR 3 BFA 1 MMR 1 BDI 3 KHM 2 CMR 2 CAN 2 CPV 1 CYM 1 CAF 1 TCD 3 CHL 1 CH...
cb42ca087077badb96138c96ddaec4d07f0c4302
4c48d5612451f1d35fd3c263bd2002d82af91653
/ML/boosting.R
1e114f92402daa50584b78e217ca767979bdb841
[]
no_license
EvanOman/RProjects
d64a153f654fc268a82d774f5ec5f91b10a46ded
9b05d3c9ff6a401e6f40d1b8a7f9069c280b7b29
refs/heads/master
2021-06-24T14:03:33.619988
2017-02-09T22:13:15
2017-02-09T22:13:15
34,800,987
0
0
null
null
null
null
UTF-8
R
false
false
962
r
boosting.R
# Basic idea of boosting: # 1. Take lots of possibly weak predictors # 2. Weight them and add them up (kind of like bagging) # 3. Get a stronger predictor # More detail: # 1. Start with a set of classifiers h_1,...,h_k # 2. Create a classifier that combines classification functions: f(x) = sgn(sum_{t=1}^T alpha_t h_t ...
fd35bddfc4cf9b2b22f4b7d618800996d2a6ceb4
3a41adda8d1e10543cd2d72cb9a0048f79d81baf
/PJI/DATA/best/best.R
f2ec18e6aa4c5287f1c2d5e59c71bc4594f39890
[]
no_license
AntoineCanda/M1_S2
5a91dffcc591cbaf3b988bde7e26e895c59c9865
ea592675667d9a1fe441c9cd287f2826cf4bc31a
refs/heads/master
2021-01-22T03:49:29.103441
2017-05-25T13:33:21
2017-05-25T13:33:21
92,406,364
0
0
null
null
null
null
UTF-8
R
false
false
640
r
best.R
args <- commandArgs(trailingOnly = TRUE) fileName <- args[1] threshold <- args[2] data <- read.table(fileName, header=FALSE,sep=" ") size <- nrow(data) windowSize <- size / 10 conv <- function(){ for (i in 2:(size - windowSize)){ ## cat(i, ":", i+windowSize, " = ") if(IQR(data.matrix(data[i:(i+wi...
843598b20631365dd0c6ed705f46a3b00e08d701
021498dd1ed1eb755575e7dfbc8b8f9fae927831
/man/ISOHierarchyLevel.Rd
56fb1ac65c8a749c8c5b47b30807422e9256a861
[]
no_license
65MO/geometa
f75fb2903a4f3633a5fcdd4259fd99f903189459
c49579eb5b2b994c234d19c3a30c5dad9bb25303
refs/heads/master
2020-04-08T12:22:44.690962
2018-11-22T22:51:57
2018-11-22T22:51:57
null
0
0
null
null
null
null
UTF-8
R
false
true
886
rd
ISOHierarchyLevel.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ISOHierarchyLevel.R \docType{class} \name{ISOHierarchyLevel} \alias{ISOHierarchyLevel} \title{ISOHierarchyLevel} \format{\code{\link{R6Class}} object.} \usage{ ISOHierarchyLevel } \value{ Object of \code{\link{R6Class}} for modelling an ISO H...
29b1743b2ff68345d203df1fe6f6667561630785
83f721d3114f5cda645be927e1dd228fe843e84f
/Session_22/path_plot.R
8bda395676bf0394fe33b3b4730010fbb59702d0
[]
no_license
ahdvnd/cs112-swirl-courses
41ad58a968dfdae235d480ef70d25f07658e59c3
0f155e921a8eee3af32c4e515e1b0526bb7c24fa
refs/heads/master
2021-11-25T17:42:48.460660
2021-11-05T14:38:26
2021-11-05T14:38:26
249,019,001
1
6
null
null
null
null
UTF-8
R
false
false
334
r
path_plot.R
# path plot par(mar=c(1,1,1,1)) path.plot(synth.res = synth.out, dataprep.res = dataprep.out, Ylab = c("real per-capita GDP (1986 USD, thousand)"), Xlab = c("year"), Ylim = c(0,13), Legend = c("Basque country","synthetic Basque country"), abline(v = 1969, co...
2e4526bf7a3c2b19e58cdd911cf0c78de4b2fb01
96ee862a4c92ed6a97787c1521d64934794cae32
/man/evall.Rd
6822757dcdc4c1e6f8ab48f84c5e8153fa86059e
[]
no_license
cran/senstrat
708a8881ec49580d03e11c7ee64b351ede60e3da
d7cecc6ddc58d4263c0b8dc789524398adf937b6
refs/heads/master
2021-01-01T06:20:01.588080
2017-07-16T20:01:17
2017-07-16T20:01:17
97,411,096
0
0
null
null
null
null
UTF-8
R
false
false
2,966
rd
evall.Rd
\name{evall} \alias{evall} \title{ Compute expectations and variances for one stratum. } \description{ Of limited interest to most users, the evall() function plays an internal role in 2-sample and stratified sensitivity analyses. The expectation and variance returned by the evall() function are defined in the t...
96bea89f458af289bbad472ea8fe05bc9ba892a2
7bbbb8a9ad9e725cf1d49b5137da16e4e64ad512
/man/mdt.feedback.no_score.Rd
9422479b50ec7dddcd35281b06fe5c128dc2db8f
[ "MIT" ]
permissive
pmcharrison/mdt
56c5d5c75516faf88a608cf12f2349259d6ae6dc
f86659c00c776e87bfc7e4d7302b796160d30bb8
refs/heads/master
2023-08-07T10:18:17.518197
2023-07-26T21:26:37
2023-07-26T21:26:37
138,870,343
0
6
NOASSERTION
2021-12-13T11:45:19
2018-06-27T11:07:07
R
UTF-8
R
false
true
469
rd
mdt.feedback.no_score.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/feedback.R \name{mdt.feedback.no_score} \alias{mdt.feedback.no_score} \title{MDT feedback (no score)} \usage{ mdt.feedback.no_score(dict = mdt::mdt_dict) } \arguments{ \item{dict}{The psychTestR dictionary used for internationalisation.} } \d...
ef9f0571d4a026340481eae76092ae374ea53832
8d34a5846b55474e1db54cc3595ac725b1a96404
/R/lst.R
99de8af541b70e9044eb84a7b556334bd20e13b9
[]
permissive
federman/poorman
6f1f76ea1c262a430dbd80b840897d4f1b603b76
3cc0a9920b1eb559dd166f548561244189586b3a
refs/heads/master
2023-05-14T12:33:25.016104
2022-12-29T18:35:59
2022-12-29T18:35:59
243,791,745
0
0
MIT
2020-02-28T15:19:14
2020-02-28T15:19:13
null
UTF-8
R
false
false
2,733
r
lst.R
#' Build a list #' #' @description #' `lst()` constructs a list, similar to [base::list()], but where components #' are built sequentially. When defining a component, you can refer to components #' created earlier in the call. `lst()` also generates missing names #' automatically. #' #' @param ... Named or unnamed elem...
8aaf48822f0592bba0accb996a7d415bc21df561
a26cce1c6ab0347cc7fb7baa3d8150a918223fde
/script.R
b1050a02a4c82020ae09145085313a6fcc63e93d
[]
no_license
salvadorENR/Primer_Parcial_R
437bd9ba506992ec7c6ed066a4742d064edeb984
39d92efac645c8b29bf75b6e7c5240d26852fe9d
refs/heads/master
2016-09-06T09:24:52.176428
2015-09-14T13:24:33
2015-09-14T13:24:33
42,383,016
0
0
null
null
null
null
UTF-8
R
false
false
609
r
script.R
#solución de parcial require(XML) theURL <- "http://www.jaredlander.com/2012/02/another-kind-of- super-bowl-pool/" bowlPool <- readHTMLTable(theURL, which = 1, header = FALSE, + stringsAsFactors = FALSE) bowlPool theUrl <- "http://www.jaredlander.com/data/Tomato%20First....
86e9224df443dbf9798ac105f8baaa28098a7eaf
2270c222eeec55ff1d7e1b2a476c39e624f2140a
/Code/Fig7_table.R
9438e8711d4ceca563479242d2d92d103109f30d
[]
no_license
halleybrantley/detrendify
3fe3babb539f5994d500fcfd29d9833797b401f8
33ca04ad2d4ce7b011a7285701f40ed3318937a7
refs/heads/master
2020-08-24T11:00:42.542598
2019-11-20T22:20:14
2019-11-20T22:20:14
216,812,726
0
0
null
null
null
null
UTF-8
R
false
false
5,171
r
Fig7_table.R
################################################################################ # RMSEs from Simulation 1 ################################################################################ library(tidyverse) library(Cairo) library(grid) library(Hmisc) rm(list=ls()) source("sim_generating_functions.R") colPal <- c('#00...
dc2a0544d43e33fd0e0c512182f69e71d432b536
bc7da505db39e6e5b0dcbca9e9c935dd4ca34eb3
/man/noising.Rd
8906f8e96bdc6042d7d8c2a1e8edbafd029a8029
[]
no_license
cran/PheVis
fba5649ea6b3abbfcd0a74b7c54afd5fd2b51dc9
cc19834d117db49595edb989c89d29a4da74aa8d
refs/heads/master
2023-03-09T14:13:42.362852
2021-02-23T08:40:21
2021-02-23T08:40:21
339,444,782
1
2
null
null
null
null
UTF-8
R
false
true
310
rd
noising.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/noising.R \name{noising} \alias{noising} \title{noising} \usage{ noising(X_boot, p = 0.3) } \arguments{ \item{X_boot}{matrix to perform noise on} \item{p}{amount of noise} } \value{ A noised matrix } \description{ Noise a matrix }
9c891113bb2592a9012db5f6e71a9267f3232e47
b9ba5bdcbf41ffa1ca0d8b8c46d9bb5417dfe9cd
/Advance R.R
79f5b6bce889379af5e9c6079ad63971fa47cc0e
[]
no_license
rajeshmalpani/datascience
38948ca2850e77290ea40595893c7e3d25e16c58
3b047e27dba4ccfab759dae3440c7defd2393b1e
refs/heads/master
2020-05-29T22:48:53.383823
2016-01-22T08:53:03
2016-01-22T08:53:03
31,932,763
0
0
null
null
null
null
UTF-8
R
false
false
8,232
r
Advance R.R
### Advanced R Programming Part I and II #### url <- "http://www.jaredlander.com/2012/02/another-kind-of-super-bowl-pool/" require(XML) # read an HTML table bowl <- readHTMLTable("http://www.jaredlander.com/2012/02/another-kind-of-super-bowl-pool/", header = FALSE, stringsAsFactors=FALSE, which=1) bowl ### Chapter...
4d9b1c4b17f7d74a36fcff1545798b787e3f4e12
e5e00467881cdb38233b20d1e781611212f66bd7
/R/support_funcs.R
4ad5eefefa70b0f444a64479747d4fddde871bd6
[]
no_license
dpritchard/takiwaR
8ec7c9b7e5e52ecef3e5b6acf902dda50bd5041c
8f26dba56cb24683f7a2af0c8b69fe48b0c9ae5d
refs/heads/master
2021-01-18T21:36:55.920324
2018-05-19T03:56:21
2018-05-19T03:56:21
26,068,132
1
0
null
2017-01-20T01:06:03
2014-11-02T01:15:56
R
UTF-8
R
false
false
2,946
r
support_funcs.R
cm2in <- function(x){ cm <- x*0.393701 return(cm) } compare <- function(v){ first <- v[1] rest <- as.list(v[-1]) res <- sapply(rest, FUN=function(z){ identical(z, first) }) return(all(res)) } make_key <- function(string, subs = "takR"){ key <- as.character(string) key <- stringr::str_t...
e352f47415df7b946c1f2ca0446068d500243d42
122659e9874d73b463cbb714db795f195f154a9b
/correlateLhsColumns.r
ac6686c73f7225292a3088f80e93797fb993e504
[]
no_license
bertcarnell/Rsandbox
ac7e808b9446422cbc40e231f3b17b79ad87a35a
11ef0962b9504a811bf5aa8aa064ddee0d059d75
refs/heads/master
2021-06-05T15:11:06.610766
2018-11-24T23:48:37
2018-11-24T23:48:37
5,023,424
2
0
null
null
null
null
UTF-8
R
false
false
705
r
correlateLhsColumns.r
require(lhs) correlateLhsColumns <- function(targetSample, correlatedSample, rho, permutations) { P <- sapply(1:permutations, function(x) order(runif(length(targetSample)))) Z <- apply(P, 2, function(x) correlatedSample[x]) cors <- apply(Z, 2, function(x) cor(x, targetSample)) ind <- which.min((cors - ...
b023b4a69bd8a39d5fb8bdc5272dc9357aa7db9f
906e6bbbda8b4f46a6efaf31abbb318180a9c536
/R/nextItem.R
3174b05bee1e2635b72c79a6f64373390f06927e
[]
no_license
cran/catR
6c8dffc1a1027b3883f5ffcd4ec5b3d0f4017fed
112a2efb6621fed446a5df4b1467e4bfe937ab81
refs/heads/master
2022-07-10T15:36:37.953792
2022-06-24T07:00:02
2022-06-24T07:00:02
17,694,983
3
3
null
null
null
null
UTF-8
R
false
false
15,593
r
nextItem.R
nextItem<-function (itemBank, model = NULL, theta = 0, out = NULL, x = NULL, criterion = "MFI", method = "BM", priorDist = "norm", priorPar = c(0, 1), D = 1, range = c(-4, 4), parInt = c(-4, 4, 33), infoType = "observed", randomesque = 1, random.seed = NULL, rule = "length", thr = 20, SETH =...
7fa5d7d5255da0167ed234614475c7e2e9651a0f
568a4c35c73e6a7046c19aa9c8340c266972a10b
/man/nwos_estimates_add_tele.Rd
9ede2065bec25e985adc69f8e476c77834875fa9
[]
no_license
jfontestad/nwos
7a0596f7ee81e26d26651e1435d3bf81e16a1e99
f71969b594a07710719ac97add8e5e7fb4ef479d
refs/heads/master
2023-04-11T16:16:20.985189
2021-05-03T18:09:00
2021-05-03T18:09:00
null
0
0
null
null
null
null
UTF-8
R
false
true
770
rd
nwos_estimates_add_tele.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nwos_estimates_add_tele.R \name{nwos_estimates_add_tele} \alias{nwos_estimates_add_tele} \title{Add TELE Variables to NWOS Dataset} \usage{ nwos_estimates_add_tele(x, data = QUEST_WIDE) } \arguments{ \item{x}{list number. Only applicable if i...
bcba19b5a6da459423b06e4dc1390e45c466138e
c0f2e73c9ada0d7e9833c9b33ead06726c90d9d0
/R/metropolis_z.R
4429ec85e2d2bab6ad62f94a91f644c2735d7af3
[]
no_license
BrandonEdwards/spmm
d0525da17cc2616848bf84e10c189bdda6bd7d88
5ead1a57bfae0b3156cc4052a3e46e755fe665a9
refs/heads/master
2020-12-30T00:02:01.813296
2020-04-08T21:47:55
2020-04-08T21:47:55
238,786,741
0
0
null
null
null
null
UTF-8
R
false
false
1,945
r
metropolis_z.R
#' Metropolis Z #' #' Does M-H algo for Z, the allocation vector #' #' @importFrom stats rmultinom #' metropolis_z <- function(Y = NULL, Z = NULL, alloc = NULL, X = NULL, at_risk = NULL, disease...
6e05ff621aada8c21d25eb51d07da8c40c469b24
d30fe412ba2aca9af494b95c042a7798db83d273
/movies.R
bbab5859a9ca289abd01e5802b0c83a54907fe32
[]
no_license
akashjaisingpure/Assignments
084c9125d92fc51c580c437045d8312f5e3ee0a7
6e36b49dbf473ada153f84396a4ac8c39a9d41a8
refs/heads/master
2021-03-10T20:03:27.811720
2020-08-17T07:19:39
2020-08-17T07:19:39
246,481,986
0
0
null
null
null
null
UTF-8
R
false
false
756
r
movies.R
#reading the data library(arules) movie <- read.transactions(file.choose(),format="basket") View(movie) summary(movie) inspect(movie[1:10]) itemFrequencyPlot(movie, topN=10) #applying apriori rules# rules <- apriori(movie,parameter = list(support=0.0909,confidence= 0.85, minlen=3)) inspect(sort(rules,b...
1c8d6b587dc3682c956e3aebf1ab2df05655cbf5
47195fd29fd237ef1b88da004051730d92233a2b
/Chapter_2/VaR_visualisering.R
cc1092f863c613ed1685828b4f692a27d284ba58
[]
no_license
TokeZinn/P7-Multivariate-GARCH
f09ad3b1fd5687d5c2dc97959d4bbc869f9bbafa
7c62af7903f1a44608388fa00cb7da89e02ccbe7
refs/heads/master
2021-07-15T05:41:36.384939
2019-02-12T10:00:14
2019-02-12T10:00:14
151,698,564
1
0
null
null
null
null
UTF-8
R
false
false
1,465
r
VaR_visualisering.R
setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) pacman::p_load(tidyverse,emdbook,mvtnorm,plotly) Sigma <- as.matrix(cbind(c(9,2),c(2,9))) ; e <- c(1,1) sim <- rmvnorm(10^4,sigma = Sigma) w <- (solve(Sigma)%*%e) / as.numeric(t(e)%*%solve(Sigma)%*%e) x <- seq(-10,10,by = 0.05) y <- seq(-10,10,by = 0.05) ...
31befb71b54457dbb4c592947fed7854ad042a9c
19a8acee397d902c5df3d1fd33627bfdc6e48c11
/Proyecto_genomica/Progecto_genomica.R
27fedcedae588c92e8d442d0d13ed2099af8b969
[]
no_license
Emilio-O/Proyecto_genomica
0acdb4018d11f7fbf100ce9b9ee5122ddc693c90
c87e5ba085c02bdbc5e94e55bf005064a476e7bf
refs/heads/main
2023-05-06T06:41:24.292935
2021-05-28T15:27:30
2021-05-28T15:27:30
369,679,727
1
0
null
null
null
null
UTF-8
R
false
false
4,903
r
Progecto_genomica.R
setwd("C:/Users/52442/Desktop/Proyecto_genomica/") memory.size(max = T) library(Biostrings) library(msa) hCoV19_Mexico <- readDNAStringSet(c("Wuhan_refseq.fasta","1_Estado_de_Mexico.fasta", "2_CDMX.fasta", "3_Jalisco.fasta", "4_Veracruz.fasta", "5_Puebla.fasta", ...
c8ba855642580550820b5dee7c9401bfa408871d
3d1ec18944e584c2f00e2b9902dcaaccb79c8c41
/man/qdata.Rd
c3246487a37f0a3e0f622a2a43237ceae1953e95
[]
no_license
tudou2015/cranvas
a84ffebf61fac235959cefb8acbd4c7bdb0d7d58
af082a2a1cb09d42ca95c0021f8046df5054240f
refs/heads/master
2020-06-10T18:52:07.441557
2015-03-13T17:03:09
2015-03-13T17:03:09
null
0
0
null
null
null
null
UTF-8
R
false
false
3,564
rd
qdata.Rd
% Generated by roxygen2 (4.0.1): do not edit by hand \name{qdata} \alias{qdata} \title{Create a mutaframe from data with attributes for interaction} \usage{ qdata(data, color = "gray15", border = color, size = 4, brushed = FALSE, visible = TRUE, ...) } \arguments{ \item{data}{a data frame (it will be coerced to a ...
0861608c7a08e64edb4f616b2c4c4c70437008f8
fd6fc65d8014e1a6e75bbf81f88fc4b2bd78ea95
/man/glbin_lcd.Rd
da73be1eebd3f78d3f71aacc7693bb763eac632c
[]
no_license
jeliason/glbinc
4e622d1b09427074f5ca487220be850839770963
072979519bef0fcb79993ab2926577e245768acf
refs/heads/master
2023-03-16T07:59:39.289718
2019-07-30T08:17:13
2019-07-30T08:17:13
null
0
0
null
null
null
null
UTF-8
R
false
true
908
rd
glbin_lcd.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/glbin-lcd.R \name{glbin_lcd} \alias{glbin_lcd} \title{Block coordinate gradient descent for logistic group lasso} \usage{ glbin_lcd(X, y, offset, index, eps = 1e-04, lambda, lambda.min = 0.01, nlambda = 50, dfmax = ncol(X) + 1, verb = 1, st...
c5da3514c9bb8243621656c9941a0be2a40ea416
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/funData/examples/dimSupp.Rd.R
715bd2061f9cb2fa019f20a6ff5e9e93c877d6ae
[]
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
570
r
dimSupp.Rd.R
library(funData) ### Name: dimSupp ### Title: Support dimension of functional data ### Aliases: dimSupp ### ** Examples # Univariate (one-dimensional) object1 <- funData(argvals = 1:5, X = rbind(1:5, 6:10)) dimSupp(object1) # Univariate (two-dimensional) object2 <- funData(argvals = list(1:10, 1:5), X = array(rnor...
48e7521b9bba452e087fef3898b0ebb24ed744c9
8cf88ae109da417b513b5411cb85b6a33ce0c16c
/Functions/clean catch data.R
73d018b7796ab1619f4b567643a0f360fea7ed68
[ "MIT" ]
permissive
cheesesnakes/sea-snake-resource-use
33e8db58a9d1124dd03c2afd5d50dab7b414f97c
27e16f4eeae2832693563fa826cf0579a07da04c
refs/heads/master
2023-06-29T01:54:02.465837
2021-08-05T09:32:11
2021-08-05T09:32:11
265,837,034
0
0
null
null
null
null
UTF-8
R
false
false
4,505
r
clean catch data.R
#importing catch data and fishing info ssf = read.csv("Data/Fisheries Catch Data_SSF.csv") trawler_catch = read.csv("./Data/Fisheries Catch Data_Trawler.csv") trawler_lvb = read.csv("./Data/Fisheries Catch Data_LVB.csv") gutcontent = read.csv("./Data/Sea_snakes_gut_content_2018-19.csv") trawler_info = read.csv("./Data...
63da5baae51985b275dee45735fcb20040c49f4f
e863d45e013b72f5d24127fb0eb44aad00930d23
/MM703/w09.R
ecb7d50808c5fdcc0dddb1110f858336e611a82a
[]
no_license
pkkirilov/MSc-Data-Analytics
31d52696c474b8aaa02e76d039d628189d8dc982
969ed88bd5a32f31a1a8e09e6cd699e466870981
refs/heads/master
2021-01-20T17:02:44.366619
2017-11-26T10:14:51
2017-11-26T10:14:51
82,820,580
0
0
null
null
null
null
UTF-8
R
false
false
1,324
r
w09.R
#Lecture 9 Continuous dist #Lec example 1-pnorm(12, 12, 3) sum(dnorm(9:14, 12, 3)) pnorm(15,12,3)-pnorm(9, 12,3) pnorm(15,12,3) qnorm(0.75,12,3) #Q1 dpois(0,1) dpois(1,1) ppois(1,1) ppois(2,1) 1-ppois(1,1) dpois(0,2) dpois(1,2) ppois(1,2) ppois(2,2) 1-ppois(1,2) #Q2 dpois(3,1) ppois(2,1) 1-ppois(4,1) ppois(3,1)-ppois(0...
adb9928a7f4a19ba0ce93080e3f04f0cb94ff885
585935570659d04383685d3f8acd03d5f0efb81a
/src/scripts/findPredictionError_boot_Top.R
67e4f52cfa8672239febdcd470002df71888c42b
[]
no_license
debmandal/Surprisingly-Popular-Voting
d68e0eda0fa0721c5b5f37322cac1f7b24c5205d
27238902a66129d2c4a52fe33f5b148ae638e4f3
refs/heads/main
2023-05-10T10:06:10.614052
2021-06-09T16:59:09
2021-06-09T16:59:09
364,456,833
1
1
null
null
null
null
UTF-8
R
false
false
5,433
r
findPredictionError_boot_Top.R
responses <- read_csv('~/Documents/SPVoting-Analysis/Analysis/question_responses.csv') # use regex to find the predictions responses$prediction <- gsub(".*\\[", "", responses$response) responses$options <- strsplit(gsub('\\[|\\]|[[:space:]]', '', responses$options), ",") responses$prediction <- strsplit(gsub('\\[|\\]|...
98eb772926f385e70a8c3bc7d7d7f0ef65d241dc
4848ca8518dc0d2b62c27abf5635952e6c7d7d67
/R/ATS_21_i_2lp1.R
e6c125b5bc0b20fc1fa520947b8a56b93a59b319
[]
no_license
regenesis90/KHCMinR
ede72486081c87f5e18f5038e6126cb033f9bf67
895ca40e4f9953e4fb69407461c9758dc6c02cb4
refs/heads/master
2023-06-28T00:29:04.365990
2021-07-22T04:44:03
2021-07-22T04:44:03
369,752,159
0
0
null
null
null
null
UTF-8
R
false
false
2,230
r
ATS_21_i_2lp1.R
#' Average Travel Speed of One-direction, i Section in 2+1 lane road #' #' This function follows <Formula 7-15> in KHCM(2013), p.187. #' @param ATS_up The speed of the one-way basic section of the i-th two-lane road (upstream part of the 2+1 lane road) #' @param ATS_dn Traffic speed in one direction downstream of the i...
c7dd267ace668aefba7156d640469596afd6b83f
8aa563b38192da5f8a7cf0860c9decb792eea9c8
/AstroDataSets/mmfs_data/CarinaFDR-Reg.R
6d2aee00c77c87c5ba31b6d54adac8e4837c957b
[]
no_license
NabarunD/NPMLEmix
45c55d041cd2229111a76b01970186f01cd09593
f4095847202e1e01ca2380d1aff3b741f318cc17
refs/heads/master
2021-07-11T15:10:21.728904
2020-06-18T21:21:59
2020-06-18T21:21:59
157,926,617
0
0
null
null
null
null
UTF-8
R
false
false
343
r
CarinaFDR-Reg.R
data = read.table('carina.dat') x = data[data$V8 + data$V9> 0,] # x = x[x$V6 < 3,] rv = x$V4; # represents the Radial velocity data of stars in the Carina galaxy rr = x$V1; th = x$V2; mg = x$V6; x1 = rr*cos(th); x2 = rr*sin(th); r = sqrt(x1^2 +x2^2); plot(x1,x2) plot(r,rv) plot(mg, rv) #plot(r,rv) dens = de...
bc5057f418d87792c88547e6fa78c666a51a2343
ad28636649343e836cc2dff67a94e1876dbc6dd8
/man/epidemic_timeseries_plot.Rd
04dd2e525a9e0655aeb89e3ea1ebb2e96a194571
[]
no_license
OJWatson/outbreakteachR
63954ca86c0cef95e94adf43bd5a4b1f345a2d67
db39fe1de7c4ccb013632a47ea5aaa3716ed8891
refs/heads/master
2020-12-30T13:20:04.423650
2018-11-21T10:47:07
2018-11-21T10:47:07
91,345,394
1
0
null
null
null
null
UTF-8
R
false
true
570
rd
epidemic_timeseries_plot.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/epidemic-timeseries-plot.R \name{epidemic_timeseries_plot} \alias{epidemic_timeseries_plot} \title{Plot epidemic time series} \usage{ epidemic_timeseries_plot(outbreak.dataset, title = NULL) } \arguments{ \item{outbreak.dataset}{Outbreak Data...
1caf5488efdde453f2cc118d9cd7018f30e1f3f5
41edcef0f23e5e407ffe94654faf131973b8f398
/scripts/3. rate-evo-psychs/server.R
9a5a914a7830ac15927df0d05d46f93ca0436b53
[ "MIT" ]
permissive
d-vanos/Twitter-Political-Ideology
5f77d275ef6282a145125a7b94da4e9fa1e53be2
bd406d7b37968417af7b1134a6605228a1042d5b
refs/heads/master
2023-02-15T18:18:22.829461
2021-01-11T04:42:24
2021-01-11T04:42:24
282,373,238
0
0
null
null
null
null
UTF-8
R
false
false
4,718
r
server.R
library(shiny) library(tidyverse) library(DT) library(googlesheets4) library(googledrive) shinyServer(function(input, output) { options( gargle_oauth_cache = ".secrets", gargle_oauth_email = "dvanos@outlook.com.au" ) drive_auth() sheets_auth() # FUNCTIONS # Reduce da...
9a76d5b79248e9da4d3465f6f344608fb44b0a19
bdab686e5894eec9db3f5bfd323735ab9f1b790a
/scripts/dvdt.R
b5c8c66eed4e5384ffc109bf40872375b19c0c73
[]
no_license
larsgr/eve_analysis
94f76377a510485fad9da9ffcbb361779b374caa
cf7868f89d3969f38d3b2828764a99a74f2642cf
refs/heads/master
2020-05-16T13:33:58.415241
2019-04-23T19:13:37
2019-04-23T19:13:37
183,078,400
0
0
null
null
null
null
UTF-8
R
false
false
4,732
r
dvdt.R
# This file contains functions to calculate gene likelihoods assuming an individual beta value between genes. # To run the calculation as a whole execute the function calculateLLIndivBeta. The total likelihood result # will be returned from the function. The full results will be stored to an .RData file; to view these...
108bfd09ccb9f93d6a3e716f4c517c63e7af0292
a3541fa9afdcbc4bd1360afda4b6f8d170244889
/man/ejscreen.acs.rename.Rd
c3da8821f3daed8bd62f3db41c7e143db8ceb40f
[]
no_license
ejanalysis/ejscreen
4349236260c94dd9a9d0cfdcae237adebcec2d8a
6af10b7d3b47c683cb512fd4792c2eef0e1d695a
refs/heads/master
2023-05-27T11:59:13.144072
2023-05-25T23:40:52
2023-05-25T23:40:52
40,103,218
7
0
null
null
null
null
UTF-8
R
false
true
1,046
rd
ejscreen.acs.rename.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ejscreen.acs.rename.R \name{ejscreen.acs.rename} \alias{ejscreen.acs.rename} \title{Rename Fields of ACS Data for Use in EJSCREEN} \usage{ ejscreen.acs.rename(acsraw, folder = getwd(), formulafile) } \arguments{ \item{acsraw}{Data.frame of ra...
c732aa7609f6e7947c1e30fbde2756777f879838
6a87801a407c16c1fc2c79b9e0a99adfbbe69821
/phase2/P-arm-loss.R
a3f8863c0ee41265c384ac2d2ab4ef76a92eb258
[]
no_license
Shicheng-Guo/marshfield
57b2d1416e501665489004eebf4f81cec64ef4f6
b06bca005aed3fb653e5113b6037612cc527b260
refs/heads/master
2021-05-03T13:39:30.180468
2018-11-21T00:11:15
2018-11-21T00:11:15
120,510,507
1
0
null
null
null
null
UTF-8
R
false
false
377
r
P-arm-loss.R
plink --bfile ../S_Hebbring_Unr.Guo --keep parmloss.txt --chr 23 --allow-no-sex --recode --tab --transpose --out 1176608-1-0238062177 setwd("C:\\Users\\guosa\\Downloads") data<-read.table("1176608-1-0238062177.tped",head=F) het<-apply(data,1,function(x) sum(! as.character(x[5])==as.character(x[6]))) plot(het~data$V4,...
4b01fc5e128e9305ca679c4d4030fc2587c21721
3ab965f5bd927e483e38c6ebd8aac1334f9161cf
/R/calc_furcation.R
a66c5dd01104093dda33c1a8c30bd97527871526
[]
no_license
cran/rehh
9fe8561d8ae917a9a39b2ba1977f2f8a80b97890
8352ae4f74a46cf03a5388ef8ed522ab4d8a625b
refs/heads/master
2023-04-07T08:26:08.911479
2021-09-15T12:40:02
2021-09-15T12:40:02
17,699,118
7
3
null
null
null
null
UTF-8
R
false
false
7,671
r
calc_furcation.R
#'calculate furcation trees around a focal marker #'@description Calculate furcation trees around a focal marker. A furcation tree captures #'in greater detail than EHH values the decrease of extended haplotype homozygosity at #'increasing distances from the selected focal marker. #'@param haplohh an object of class h...
5698e43e0071d02810680f0b12bae2dd7b1488b4
253a070d7b4c5a2cd9b4c7b863642599d2067ca3
/movielens_rscript.R
ac6c88a1b21a53972d1bab64a09f2e8eccff056b
[]
no_license
Dinicharia/movielens
e40d1b0c34937081cdce39b129f56c56ea9b28b1
5bf2636901ce52f375fccde5d9c49a4315911785
refs/heads/main
2023-06-29T23:16:24.731714
2021-07-02T04:00:35
2021-07-02T04:00:35
377,329,981
0
0
null
null
null
null
UTF-8
R
false
false
9,684
r
movielens_rscript.R
########################################################## # Create edx set, validation set (final hold-out test set) ########################################################## # Note: this process could take a couple of minutes if(!require(tidyverse)) install.packages("tidyverse", repos = "http://cran.us.r-project.o...
4b43b1bf83a06b7eb8619aa37f22aa47867ed686
e064b65266998795d9cc0f6c8dfff6ea5be2e3ea
/R/Shiny.R
dc9b38d66eb58ce88ad63417a85b365ba409b294
[ "Apache-2.0" ]
permissive
Jake-Gillberg/CohortDiagnostics
2e3d2d30f06e9b515e90fabc1250eb0374829268
98af47ed799849f5650607ed3b20880dbb14208e
refs/heads/master
2023-08-27T13:57:03.444582
2021-10-12T17:39:03
2021-10-12T17:39:03
null
0
0
null
null
null
null
UTF-8
R
false
false
12,910
r
Shiny.R
# Copyright 2021 Observational Health Data Sciences and Informatics # # This file is part of CohortDiagnostics # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/li...
e4512d88222ad13ac254a92d8d004b4ec2be9332
1749987a842830efe70397f8ca036b8ac0936356
/man/ihazr.Rd
05506795a92de0f25a1eac848f7a629995e341e8
[]
no_license
webbkyle/ihazr
f30a5faf9bccc2dd78be3bbc73d119df0cf98b1b
e8d3ee5f8cf330cef885ee84d48c5b328d329f4c
refs/heads/master
2020-03-25T11:56:02.928173
2018-10-25T16:24:20
2018-10-25T16:24:20
143,754,439
0
0
null
null
null
null
UTF-8
R
false
true
5,038
rd
ihazr.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ihazr.R \name{ihazr} \alias{ihazr} \title{ihazr} \usage{ ihazr(time, status, marker, buttons = TRUE, bandMax = 10, width = NULL, height = NULL) } \arguments{ \item{time}{A vector of observed follow up times.} \item{status}{A vector of stat...
22a7368418bd7c08559486145adf4458808eab43
6a8af4e89e5eb04762f7629c7be2af71f340413a
/man/dimension.Rd
eba6f352af840fa15dd6a11aa160269ac06bd2f4
[ "Apache-2.0" ]
permissive
comchangs/RDruid
50c693af63bf7d2d44ccf81ad23283269f64b165
75f8e6f49e4ccf44954f476f1ade32eca3821f5e
refs/heads/master
2021-01-24T23:13:21.102885
2016-01-08T05:41:29
2016-02-22T09:37:35
36,798,726
0
0
null
2015-06-03T11:14:28
2015-06-03T11:14:28
null
UTF-8
R
false
false
282
rd
dimension.Rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{dimension} \alias{dimension} \title{Creates a Druid dimension object} \usage{ dimension(name) } \arguments{ \item{name}{dimension name} } \value{ a Druid dimension object } \description{ Creates a Druid dimension object }
705dc4c8ddf738acb2d98aa297279dcec67a6cc2
c07c277199acfc12cb113953b673af550cd7c52a
/ENAR_scraper/ENAR_Scraper.R
907caefab4e4957fc3c502ffa0284507f18387b4
[]
no_license
muschellij2/ENAR_Over_Time
c9a0341cc3332d4cd845a6f3d1c0f2ef0cb90458
0cdf7a98fab391f7a81426af6b10895b09e9a24e
refs/heads/master
2016-09-05T15:25:17.124870
2014-03-12T22:09:24
2014-03-12T22:09:24
17,357,132
0
1
null
null
null
null
UTF-8
R
false
false
2,516
r
ENAR_Scraper.R
rm(list=ls()) library(tm) library(stringr) uri <- "2013_abstract.pdf" # download.file("http://www.enar.org/meetings2013/2013_abstracts.pdf", uri) last <- function(x) { l <- length(x) if (l == 0) return(NA) x[l] } absl <- readPDF(control = list(text = "-layout"))(elem = list(uri = uri), ...
0f01d990281d2b4cdc61bdca7ecf514c7fd64e37
25e234463075d57c376bfc80111626b14ae348bb
/man/cf_field_to_css.Rd
53ee752b3340f7bfede8b93e77f0857431de88fe
[]
no_license
cran/condformat
e2480ef9432aecfe7543de3d1fb190c0780527d3
a2d9cd81131dfb08ab840c8feec5a6f07033cab9
refs/heads/master
2022-12-03T22:27:41.731080
2022-11-26T10:20:03
2022-11-26T10:20:03
54,424,154
0
0
null
null
null
null
UTF-8
R
false
true
901
rd
cf_field_to_css.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/render_html.R \name{cf_field_to_css} \alias{cf_field_to_css} \title{How to export a cf_field to CSS} \usage{ cf_field_to_css(cf_field, xview, css_fields, unlocked) } \arguments{ \item{cf_field}{A cf_field object. This is like a rule, but with...
fc5d4f19c2bad6311aed5ae4ca9d20fa26757d2f
7eb63399fa00e3c547e5933ffa4f47de515fe2c6
/man/GAinitialise.nullAverage.Rd
7a1c9bbc8494303e68dd5880f44a1d5408238a89
[]
no_license
bentaylor1/lgcp
a5cda731f413fb30e1c40de1b3360be3a6a53f19
2343d88e5d25ecacd6dbe5d6fcc8ace9cae7b136
refs/heads/master
2021-01-10T14:11:38.067639
2015-11-19T13:22:19
2015-11-19T13:22:19
45,768,716
2
0
null
null
null
null
UTF-8
R
false
false
567
rd
GAinitialise.nullAverage.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/gridAverageMethods.R \name{GAinitialise.nullAverage} \alias{GAinitialise.nullAverage} \title{GAinitialise.nullAverage function} \usage{ \method{GAinitialise}{nullAverage}(F, ...) } \arguments{ \item{F}{an object of class nullAverage} ...
1c0d9e13ddbe7e7e0e67086010217f69f7eff2ac
53e070f00aa3fd8b1744487af95177633eb8b053
/R/testhelpers.R
7c01034613566db8e3144941621b7b9b1492064a
[ "MIT" ]
permissive
gluc/datalicenseR
75eab57b44812b09a27925d45e9072a45012278b
5c9b7fa590717b6d236245e11a75ee3bd69db0c3
refs/heads/master
2021-08-27T16:23:05.758221
2021-08-02T15:41:03
2021-08-02T15:41:03
34,683,123
2
3
MIT
2021-08-02T15:41:04
2015-04-27T18:18:02
HTML
UTF-8
R
false
false
1,722
r
testhelpers.R
DESRounttrip <- function(fileContent, SUNOS = FALSE, HEX_KEY = FALSE, ECB = FALSE, UUENC = FALSE, uuencFile = "") { fileIn <- tempfile() #Write something into it writeLines(fileContent, fileIn) #name of the target encrypted file fileEnc <- paste0(fileIn, ".enc") key <- "Ab4qY9qm" #call the...
ccc750ea08f3e1001245acfd94b82c0f781c5785
67a257f33cac54b60519d1f27e171a2b474a5a6e
/cachematrix.R
52b6287092442f9e40bebeb8169bc1f428bdf30e
[]
no_license
mmorley22/ProgrammingAssignment2
2473055db75626707e2ba9ffdf90de9d93437e1f
706de395db8e580b51a494fcf0fa1c791e777471
refs/heads/master
2020-07-14T06:31:51.883153
2014-11-19T14:45:35
2014-11-19T14:45:35
null
0
0
null
null
null
null
UTF-8
R
false
false
929
r
cachematrix.R
## These functions take a matrix and allow the inverse of the matrix to be ## cached so that it does not have to be recalculated each time ## This function creates a vector that stores both the matrix and its inverse ## if the inverse had already been calculated makeCacheMatrix <- function(mat = matrix()) { inv <- NU...
d2ad322c85f7a756f0852e642d10c271ba266904
af8ba7f3052b9bde6c8e497b832d52da7624336a
/imagejprocessing_backgroundsubtract.r
17bdd6c3a1a5d76c64441f1700af5fbdc61288e4
[]
no_license
BradyAJohnston/upsfret
4f316df8a666ef91ba8637bed76c2b7491ff8f68
f3a9fd4e5ae005fd12c33055b9c3cd67032edc97
refs/heads/master
2020-07-15T18:16:46.477421
2020-02-09T23:29:42
2020-02-09T23:29:42
205,622,437
0
0
null
null
null
null
UTF-8
R
false
false
6,525
r
imagejprocessing_backgroundsubtract.r
library("drc") require("ggplot2") require("reshape2") require("scales") require("tidyverse") require("ggthemes") require("ggdark") direc <- "~/Dropbox/BondLab/Data/Typhoon Images/200205/rna/fijidata/" fl<- list.files(direc, pattern = ".csv") fl.cy3 <- list.files(direc, pattern = "Cy3") fl.fret <- list.files(direc,...
07145e6e2cd06388d3642dbe93147d20ffeaf9e2
82f144c9d095217772f8bac0722c4012652fa14f
/man/spat.med.Rd
25f121411bc612a345f0972f5763ac06f2e760de
[]
no_license
RfastOfficial/Rfast
41cb1a922c3fc77b8045e5e00a031e012374c261
11cc9fc68b679eccfd6d0453c7f267e7f163cf41
refs/heads/master
2023-09-01T08:32:01.112957
2023-07-03T13:44:28
2023-07-03T13:44:28
213,182,742
107
15
null
2023-07-03T13:44:30
2019-10-06T14:25:53
C++
UTF-8
R
false
false
1,601
rd
spat.med.Rd
\name{Spatial median for Euclidean data} \alias{spat.med} \title{ Spatial median for Euclidean data } \description{ Spatial median for Euclidean data. } \usage{ spat.med(x, tol = 1e-09) } \arguments{ \item{x}{ A matrix with Euclidean data, continuous variables. } \item{tol}{ A tolerance level to terminate the proces...
bd54cdd7c154e1a29559024fbefc1065556eea40
391c70316b9a679631f0e2bb8b2e9bb2a3efa0d8
/scripts/scripts/testing/automations/austria.R
f1cac68a365bd5d409baca0c554fa6ae46858213
[]
no_license
rsavaris66/covid-19-data
a6125fbb1c9d94316a1f13f18ab6223fcd3b50a0
76a9f78c2738aedf06c3e95037872d57ced338f9
refs/heads/master
2022-12-13T06:31:06.278318
2020-09-15T15:30:47
2020-09-15T15:30:47
295,803,177
2
0
null
2020-09-15T17:35:19
2020-09-15T17:35:18
null
UTF-8
R
false
false
639
r
austria.R
url <- "https://www.sozialministerium.at/Informationen-zum-Coronavirus/Neuartiges-Coronavirus-(2019-nCov).html" count <- read_html(url) %>% html_node(".table-responsive table") %>% html_table(dec = ",") row_n <- which(str_detect(count$Bundesland, "Testungen")) col_n <- which(str_detect(names(count), "Österrei...
0330c02ea1819c67b4461821dc97769d077c4870
f1f1b786f77cfe59bde852cf53d2aeb5907d844b
/man/persp.loca.p.Rd
3cf7ef47425c78190f0274bfd6f1a2465171c1ee
[]
no_license
cran/orloca
69fad98a17c6f1c92cac80309943fb9d9f08852e
d80e3d721bb9cbb82540e3c3439dd8d2c886f1e6
refs/heads/master
2023-05-26T11:31:08.153995
2023-05-16T10:10:02
2023-05-16T10:10:02
17,698,127
0
0
null
null
null
null
UTF-8
R
false
true
1,345
rd
persp.loca.p.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/persp.loca.p.R \name{persp.loca.p} \alias{persp.loca.p} \title{Plots of the min-sum objective function} \usage{ \method{persp}{loca.p}( x, lp = numeric(0), xmin = min(x@x), xmax = max(x@x), ymin = min(x@y), ymax = max(x@y), n = ...
04c68d7f9c07524a4f200b35e6afc2c0ecadd145
8c9c2cc41eea2b9e370098bfa105b17c4282b538
/data-raw/exemple_dataset.R
0cb46f6c4093330d4f67161da1efdccaef96cbb3
[]
no_license
AThibault92/paleotools
760a435479fc94a392fdc4e7ea8760976c6230d5
382ec4b42bca2de735370ba6473fdcd8b4712698
refs/heads/master
2023-03-23T14:11:38.918615
2021-03-19T11:44:31
2021-03-19T11:44:31
312,003,845
0
0
null
null
null
null
UTF-8
R
false
false
170
r
exemple_dataset.R
## code to prepare `exemple_dataset` dataset goes here example_dataset <- readr::read_csv("./data-raw/template.csv") usethis::use_data(example_dataset, overwrite = TRUE)
1c2a6d34d70fafafbdc326544411a1ec2c6c9be9
29585dff702209dd446c0ab52ceea046c58e384e
/write.snns/R/write.snns.R
d0bf46c21f9580661f0166b543a21613498d9a26
[]
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,592
r
write.snns.R
################################################# # write.snns.R (v0.0-4.2) 2007/04/03 # # Authors: # # Manuel Castejon Limas. # # mail: manuel.castejon@unileon.es # # Joaquin Ordieres Mere. # # mail: joaquin.ordieres@dim.unirioja.es # # Francisco Javier de Cos Juez # # mail: decos@api.un...
989921e3011e693cd7ebe02f76a4b1b368a3dca8
0c99b3fa7b411e5c5d8e2daced527a4fadfddc7d
/seminar_5_12.R
ff8cbff2f3af31ed9e318aef2ebe15f00834499c
[]
no_license
ArtemBaskal/regression-models
9ae9bcac3b10b4d925317728fb3ed8765972d947
38ba9400ddd78792af1167a78dbee95694ad923c
refs/heads/master
2022-04-06T04:04:56.817873
2019-12-14T21:02:29
2019-12-14T21:02:29
null
0
0
null
null
null
null
UTF-8
R
false
false
6,182
r
seminar_5_12.R
"b - beta Модели бинарного выбора Зависимая переменная - бинарная - принимает значения 1 или 0 y = 1 или 0 (например вернет ли кредитор кредит) Вероятность возвращения кредита это доля - sum(yi..n) / N - доля это выборочна оценка вероятности 1) y = b0 + b1*x1 + ... + bk*xk E[y|x] => P{y=1|x} = x*b P{y=0|x} = 1 - x*b...
7d912ea477a9f67244a694311e5f090c053be12d
b12facd976f77577b0a99cd4b7ed69c72babb824
/R_code_faPAR.r
32d4c06fc6ca580ec3c65f97827cb8a9433f9c29
[]
no_license
SofiaPrandelli/Monitoring
a8a84eb2650aece6c1b0efa65d2d110c90930a58
bedb6670c65dfb374252f3e5f4eb028f9a957bbc
refs/heads/master
2021-04-23T23:30:25.610006
2021-02-12T15:03:05
2021-02-12T15:03:05
250,031,536
0
0
null
null
null
null
UTF-8
R
false
false
2,793
r
R_code_faPAR.r
# R_code_faPAR.r # how to look at chemical cycling from satellites # install.packages("raster") setwd("/Users/sofiaprandelli/lab") library(raster) library(rasterVis) library(rasterdiv) plot(copNDVI9) copNDVI <- reclassify(copNDVI, cbind(253:255, NA)) levelplot(copNDVI) faPAR10 <- raster("faPAR10.tif") levelplot...
9423be505962ada7f5da594658c6a914f4bfa2ee
9889b1c92fba3feaac26f0d67f0ee34fb2a85482
/R/draw.nmds.R
2bbf2556f6e6cf458806dc6f46de0a69aaeedfc6
[]
no_license
zdealveindy/ordijuice
3e7f542b4564299e9c2d6c18c51234125317d27d
cbaf6dd33c4ae90a185c2290a5d451de5e66ebef
refs/heads/master
2020-06-03T14:44:23.151763
2015-01-27T21:40:28
2015-01-27T21:40:28
29,902,092
0
0
null
null
null
null
UTF-8
R
false
false
3,493
r
draw.nmds.R
draw.nmds <- function(display.in.diagram = c('sites'), display.species = c('none'), display.sites = c('points'), axes.shown = c(1,2), display.EIV = FALSE, display.header = FALSE, display.envelop...
a688d21f7a8e0135496aea8c765a51db6e72f9c7
97f1e3e6e908a83489e4243268ba539316196176
/man/var.Rd
66f092f83e7b5dcbc26646eaf18052e244fee9ff
[ "Apache-2.0" ]
permissive
ANTsX/ANTsRCore
1c3d1da3bea84859da7d18f54c34ae13d2af8619
8e234fd1363c0d618f9dc21c9566f3d5464655a2
refs/heads/master
2023-05-24T23:53:30.886217
2023-05-22T02:52:39
2023-05-22T02:52:39
83,897,912
8
22
null
2023-05-22T02:52:40
2017-03-04T14:09:48
C++
UTF-8
R
false
true
698
rd
var.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/zzz_Summary.R \name{var} \alias{var} \alias{var.default} \alias{var.antsImage} \title{Variance generic} \usage{ var(x, ...) \method{var}{default}(x, ...) \method{var}{antsImage}(x, ..., na.rm = FALSE, mask = NULL) } \arguments{ \item{x}{an ...
20a0832881fd54aad746e36243492856d5eecf3a
f74447afeedad183a2df5f5a2197f52f49202281
/R/get_M.R
a4ad8da75bb1883e8fbb512ba648647faace529d
[]
no_license
bacovcin/tsinfer-R
e02630cc3e8b110481393d4428240f42ca2a1b36
6766fd8a5f5a7fc09078fd8d8ff00fe9b76934a4
refs/heads/master
2021-09-14T01:16:14.173769
2018-05-07T02:27:58
2018-05-07T02:27:58
65,288,884
2
0
null
2018-05-07T02:27:58
2016-08-09T11:14:23
R
UTF-8
R
false
false
119
r
get_M.R
get_M <- function(x0, s, t) { if (s == 0) { return(1) } else { exp(-s * t)/(x0 + (1-x0)*exp(-s*t))^2 } }
4726074fa344b5400a1ca6cad922d98f3bef1ed9
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/hyperSpec/examples/wl.Rd.R
f01c61d77478c6e82ed12f756ca6391a840e97cf
[]
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
523
r
wl.Rd.R
library(hyperSpec) ### Name: wl ### Title: Getting and Setting the Wavelength Axis 'wl' returns the ### wavelength axis, 'wl<-' sets it. ### Aliases: wl wl<- ### ** Examples wl (laser) # convert from wavelength to frequency plot (laser) wl (laser, "f / Hz") <- 2.998e8 * wl (laser) * 1e9 plot (laser) # co...
45b5cc369129aa6efdc540e3c1358f99430a0cbc
6b7330c8b2d0f485af470c5be84eb33c5aa45114
/run_analysis.R
06acc75523b2882f0d198189c3cc1b19cd8887e7
[]
no_license
IBarata/Getting_and_Cleaning_Data_Project
16f597fdaaccfba7b43402c396eef072c89b1213
533bc22a468e63e380d46d17635821cb28f8e296
refs/heads/master
2021-01-20T06:50:11.621388
2017-08-27T01:04:03
2017-08-27T01:04:03
101,518,493
0
0
null
null
null
null
UTF-8
R
false
false
3,581
r
run_analysis.R
####Getting and Cleaning data Project #Set working directory: setwd("C:/Users/Inga/Desktop/Coursera/3_Getting_and_Cleaning_Data") #Check if file exists: if(!file.exists("./dataProject")){dir.create("./dataProject")} url <- "https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Datas...
32a6b9d6147b3b2ab9e2ea03b0c1442ddcfedd76
4947e18a214971585d0c0e5b18552fb6dd786db0
/sentence_bucketter.R
4170e89d6a13e4ca5224c72ec6052f2b06d9a05f
[]
no_license
connermcb/next_word_predictor
acbb7c92039dd7457583ac78332b5085fffe8f83
bf3fae2cfe2e7f1c18af61303476aa98e3ac4fb3
refs/heads/master
2020-03-27T20:05:21.159387
2018-11-18T03:01:22
2018-11-18T03:01:22
147,037,145
0
0
null
null
null
null
UTF-8
R
false
false
4,002
r
sentence_bucketter.R
## Script for sorting sentences into buckets by length, i.e. number of tokens # packages library(tidytext) library(readr) library(quanteda) setwd("c:/users/conner/jhopkins_data_science/capstone/final/") # load dictionaries load("unique_tokens_dict.RData") load("reverse_token_dict.RData") # function for bucketting s...
da65124e6bc14eee9385b06fcbc89005ae3bf8a6
50a224c2e0a946c21950a8102370979b1dfea695
/man/process_pheno.Rd
bd53f108030b5070f09d0b2cc087dc8fa2f62f6b
[]
no_license
AndersenLab/cegwas
0c5c0eb9568fe1b1f3ee931b2dfd0a27c894b21f
9ee400c8e11a1f317d382010bcfecf81ab92160a
refs/heads/master
2020-12-11T18:46:06.022585
2020-03-02T22:30:15
2020-03-02T22:30:15
41,169,335
3
3
null
2015-10-26T03:43:42
2015-08-21T17:48:22
R
UTF-8
R
false
true
1,947
rd
process_pheno.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/process_phenotypes.R \name{process_pheno} \alias{process_pheno} \title{Process Phenotype Data} \usage{ process_pheno(data, remove_strains = TRUE, duplicate_method = "first", use_bamf = TRUE) } \arguments{ \item{data}{is a dataframe containi...
d10680b05f71ef2bbdcfd5c3001617bb54938624
37166e4736d20b82228a243d092b493061669e78
/pwn/man/dlsplit.Rd
c85e9e1b8f0ad6bf8936e10a149bd2e4d927d230
[]
no_license
renegadeWolfe/pwn
7e6c83b7aabe08a2d368975519848b1498cc9c48
3e3c39a7e01b8b884d11aa4ca2526083a1e606be
refs/heads/master
2020-03-14T09:24:30.356523
2018-06-26T02:02:16
2018-06-26T02:02:16
131,544,232
1
0
null
null
null
null
UTF-8
R
false
false
2,638
rd
dlsplit.Rd
\name{dlsplit} \alias{dlsplit} %- Also NEED an '\alias' for EACH other topic documented here. \title{ %% ~~function to do ... ~~ Splits the "<" sign from those annoying variables that have a detection limit and have been keyed in as such. } \description{ %% ~~ A concise (1-5 lines) description of what the f...
e5143ecc9821c93db459e6ee387949fd3d5cd0bb
41cd2ef22cbbc05b56bda9a635a9bbc75b52ac62
/man/FitARz.Rd
5e20762144e3a06ef15492ef910aba8742774339
[]
no_license
githubfun/FitAR
02d05c8c0682769a985e86c2b25d742ea741d789
015df6beac6d9e0beff55c2f20a01a9e07911e67
refs/heads/master
2018-02-28T10:48:51.369858
2013-03-15T00:00:00
2013-03-15T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
3,982
rd
FitARz.Rd
\name{FitARz} \alias{FitARz} \title{ Subset ARz Model Fitting } \description{ The subset ARz model, defined by constraining partial autocorrelations to zero, is fitted using exact MLE. When length(p)=1, an AR(p) is fit by MLE. } \usage{ FitARz(z, p, demean = TRUE, MeanMLEQ = FALSE, lag.max = "default") } \ar...
d01d474c4f3e95b5921d2fae8964bcacab410c82
813a1779df54e2f23976f55780ec3e0acee49128
/simulation_code_and_results/common_efron.R
688744fe3ccb1e9c6e93ad195efcd0dea45ebc7d
[ "MIT" ]
permissive
kapelner/sequential_matching_simulations_2
dcce09135447c01be873aaec119c96049be76caf
25137e8a378c0e903fd2fcfb1982e68dd2adeb5e
refs/heads/master
2021-01-13T01:50:38.743716
2013-12-25T01:01:13
2013-12-25T01:01:13
13,599,365
0
0
null
null
null
null
UTF-8
R
false
false
804
r
common_efron.R
#initialize the indicator treatment vector indic_T = array(NA, n) EFRON_ALPHA = 2 / 3 #his personal favorite #now we're going to go through and do the matching for (i_match in 1 : n){ if (sum(indic_T == 1, na.rm = TRUE) == sum(indic_T == 0, na.rm = TRUE)){ indic_T[i_match] = rbinom(1, 1, prob_trt) } else if (su...
c432a9a7ba7f4f9b4c9848e4f3a215b1cfa95ad0
6a28ba69be875841ddc9e71ca6af5956110efcb2
/Probability_And_Statistics_For_Engineers_by_Richard_L._Scheaffer,_Madhuri_S._Mulekar,_James_T._Mcclave/CH6/EX6.26/ex_6_26.R
e254869a7266b43d78b1453bd9edeaaefdf9ae71
[]
permissive
FOSSEE/R_TBC_Uploads
1ea929010b46babb1842b3efe0ed34be0deea3c0
8ab94daf80307aee399c246682cb79ccf6e9c282
refs/heads/master
2023-04-15T04:36:13.331525
2023-03-15T18:39:42
2023-03-15T18:39:42
212,745,783
0
3
MIT
2019-10-04T06:57:33
2019-10-04T05:57:19
null
UTF-8
R
false
false
231
r
ex_6_26.R
# USing Weibull Distribution Theeta =50 gama = 2 #a cat("P(X>10) = ", 1 - pweibull(10,shape = gama,scale = sqrt(Theeta))) #b cat(" Expected lifetime of thermisters is E(X) =", (Theeta^(1/gama))*(gamma(1+(1/gama))))
8e3ab42df7bca90ed2ad36c776955eb6312629fa
1c9e02b3e531f1dad978afff5fd863e6fe007383
/R/fw13_createRawDataframe.R
9d17a87f3d06ca1b8e0fdb25a91bfc5a4d1b7300
[]
no_license
mgjust/RAWSmet
95d23fdc45bba8e3cfa3974f85847e8b077ac4ac
79bad67e4d8a13a966dc19c40144bddba44e6254
refs/heads/master
2023-02-18T21:39:20.503427
2021-01-19T00:25:55
2021-01-19T00:25:55
null
0
0
null
null
null
null
UTF-8
R
false
false
3,321
r
fw13_createRawDataframe.R
#' @export #' @importFrom rlang .data #' @import MazamaCoreUtils #' #' @title Obtain RAWS FW13 data and parse into a tibble #' #' @param nwsID Station identifier. #' @param baseUrl Base URL for data queries. #' @param verbose Logical flag controlling detailed progress statements. #' #' @return Raw tibble of RAWS data....
7a22d9359c7120c2ee1111ebba2c1a06b58e1f56
45f9cb0b85b684e2e4d68304971996441c005848
/ParamInferenceMBaiki.R
7da4b5fe40263ec934395eab5558cbf00a4bf815
[]
no_license
EricTonygo/MyShinyApp
bdfa442439ad1487b8f233fd1a5e3469f28b9819
4283544fa610766cac57fa9365e5b17fbda61c26
refs/heads/master
2020-07-22T22:38:49.491289
2016-08-31T06:34:19
2016-08-31T06:34:19
66,434,113
0
0
null
null
null
null
UTF-8
R
false
false
1,203
r
ParamInferenceMBaiki.R
################################################################ # Parameter for the inference of the models for MBaiki dataset # ################################################################ # WARNING : Modifying the below parameters implies to run the function ClusteringWithFlexmix before FCM # Diameter classes...
259a83a77c3a95bd4fb66b79c95c1f0d13b7a95d
1455cd41f97808910607bea910a7d1387797ca6e
/man/deferred_errors_flush.Rd
c5f64dcfae785056b34fc02e126f317d5387b0a7
[ "MIT" ]
permissive
reside-ic/defer
415e986e86a65d08bc2f3b02466a9fb51d6960b7
b9f933772c59974dc904de09cdcc4972f0812f0c
refs/heads/master
2020-07-01T15:20:27.418962
2019-08-13T16:01:00
2019-08-13T16:01:19
201,209,156
9
0
null
null
null
null
UTF-8
R
false
true
674
rd
deferred_errors_flush.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/defer.R \name{deferred_errors_flush} \alias{deferred_errors_flush} \title{Flush deferred errors} \usage{ deferred_errors_flush() } \description{ Within a \code{\link{defer_errors}} block, flush any deferred errors, turning them into realised ...
b71dd59ce8e7e64b5767cc046d96ed941a7d621b
5fa68e8446818a831bef92514f08ea49e02cd4dc
/src/extras/read_quality.R
8b7edfe1c7ce89045d2efccda5937bfb49a5de75
[]
no_license
rajwanir/flongle_actinomycetes_paper
da44f513657001582429163f4cdda65f69d84f91
60675446d838413e16373ab040baaecfcd91c60f
refs/heads/main
2023-07-12T18:28:06.859935
2021-08-06T16:03:40
2021-08-06T16:03:40
393,417,935
0
0
null
null
null
null
UTF-8
R
false
false
423
r
read_quality.R
library(tidyverse) # library(nanoR) guppy_stats = read.csv("data/rawdata/vanRsoilactino_10222020/basecalled_fastq/sequencing_summary.txt", sep = '\t') ggplot(data=guppy_stats %>% filter(mean_qscore_template<7), aes(x=sequence_length_template))+ geom_histogram(binwidth = 1) + scale_x_continuous(br...
861a390946a14a866e627a866c182ca4e0cd05a3
02f053ce70b065724d4a02619fb402adcc0ec997
/analysis/boot/boot392.R
2620c8e0f679b2b0375815958acdf40c1814eb0b
[]
no_license
patperry/interaction-proc
27950482929240bba55c7d0f2f8c5235d770feea
cf8dfd6b5e1d0684bc1e67e012bf8b8a3e2225a4
refs/heads/master
2021-01-01T06:11:47.125853
2012-12-04T20:01:42
2012-12-04T20:01:42
673,564
1
3
null
null
null
null
UTF-8
R
false
false
3,751
r
boot392.R
seed <- 392 log.wt <- 0.0 penalty <- 2.8115950178536287e-8 intervals.send <- c() intervals.recv <- c(56, 112, 225, 450, 900, 1800, 3600, 7200, 14400, 28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600, 29491200, 58982400) dev.null <- 358759.0022669336 df.null <- 35567 dev.resid <- 225771....
becf59ac27a72861719e2f6352315d483328bf2c
a4b54038d49ebdb4d9e222cc94f12e3634e9db3a
/scripts/plot_functions.R
78c7f8e204ddd6a85e02f9b2bd72f5b54103051e
[ "MIT" ]
permissive
wdoyle42/fed_projections
eb0956a666b53cfe01f7546049c5a6f5f27627f9
f7f4cd07508eccbbdcf2b011da0ec792e33d4024
refs/heads/master
2020-05-16T05:13:19.139284
2019-04-23T18:43:02
2019-04-23T18:43:02
182,809,775
0
0
null
null
null
null
UTF-8
R
false
false
4,960
r
plot_functions.R
## Functions for gifted mapping app library(albersusa) library(tidyverse) library(plotly) library(readxl) library(scales) library(sf) library(readxl) library(usmap) library(leaflet) library(sp) library(sf) library(tigris) library(albersusa) library(htmlwidgets) library(scales) library(RColorBrewer) library(tidyverse) ...
a7138c23616b1c712c244cb1b72541038f972650
13aa67012a9cb7f3d5bb0f0eb30b8088e8e33203
/R/plotprofile.R
84fa2304a878d9e5c10ef0b133466e59abf9a11e
[]
no_license
yaomin/DESnowball
0db4e7afd8693e42c0c61870a032f227f4affc69
cb053e96615d71b7e761a90fc25392b5f02c82a1
refs/heads/master
2020-05-21T06:59:33.352890
2014-09-22T16:52:21
2014-09-22T16:52:21
14,316,645
1
0
null
2014-09-26T20:55:29
2013-11-11T23:27:39
R
UTF-8
R
false
false
56
r
plotprofile.R
plotprofile <- function(x,...) UseMethod('plotprofile')
bb5bbd975a0964d2ed07fca450f006021fab64f5
ee84363f1dbc3c0dfc28f8a385730b1b1ae0a016
/2021/10-08-2021/10082021.R
322113df9b41b923922e64477b7ae05ae40e1f81
[]
no_license
Rohan4201/tidytuesday-2
15455f4b7c1c214a105974ebca5a77cea7acdc8a
08841bf71f571af945f36dc0cb3fc289c55e804b
refs/heads/main
2023-07-19T05:52:02.701163
2021-08-31T18:51:01
2021-08-31T18:51:01
null
0
0
null
null
null
null
UTF-8
R
false
false
3,238
r
10082021.R
library(tidyverse) library(extrafont) #library(patchwork) tuesdata <- tidytuesdayR::tt_load('2021-08-10') investment <- tuesdata$investment ipd <- tuesdata$ipd chain <- tuesdata$chain_investment #president data new_presidential <- presidential %>% add_row(name="Truman", start=as.Date("1947-01-01"), end=as.Date("1953...
26bf993879659685bea9dda38a3964a695b7c279
7e7bb7bfdf62c24b7fecf78f5247d28839728710
/MAP Analysis/2014-2015/src/7th_grade_KAMS_reading.R
1e2a9235a6d54ad8e7b37dba2789de80cf989b3a
[]
no_license
kippchicago/Data_Analysis
1ad042d24c7a1e11e364f39c694692f5829363a4
8854db83e5c60bc7941654d22cbe6b9c63613a7f
refs/heads/master
2022-04-09T10:10:43.355762
2020-02-20T18:03:40
2020-02-20T18:03:40
5,903,341
2
0
null
null
null
null
UTF-8
R
false
false
1,225
r
7th_grade_KAMS_reading.R
map_mv$cdf %>% left_join(map_mv$roster %>% select(termname, studentid, studentlastname, studentfirstname, school), by=c("termname", "studentid")) %>% filter(grade == 7, school == "KACP", m...
54be4aec664f1770c8c821de74b787842b93bbc4
92f9c71721dbd2b4d6af9afc5ce6ce9db6840d3f
/i686-pc-linux-gnu/arm-xilinx-eabi/mep/bin/arm/arm7ejs.rd
6b6390a22ffe4a32f77aae947f75f31ea3c60ac2
[ "Apache-2.0" ]
permissive
Kayuii/arm_xilinx_linux_gnueabi
a845c9c8542b41786dca6f3652510936d367ec9e
a2348d16d170149716c9a2e27e798f306a0c48e7
refs/heads/master
2023-02-10T03:57:47.262945
2021-01-07T03:40:17
2021-01-07T03:40:17
327,490,208
3
0
null
null
null
null
UTF-8
R
false
false
79
rd
arm7ejs.rd
// ARM7EJS CP15 Register Definition File // INCLUDE "arm926ejs.rd" // // <eof>
169dabb04c78483cc015bd0609a012a5b0b289b3
60b3cc53f8f94ea1fa6b903c2bdb90748f2002a0
/R/batches-utils.R
6dae4f3543c2718cd3ea0fef9fbc8f4774825440
[ "MIT" ]
permissive
news-r/artm
5835329f64e4031393b7a5fdee8bf0c529bda35b
610340fa56aa0c19ec1fcacb4886665219487bdd
refs/heads/master
2022-01-12T23:32:05.863580
2019-08-01T16:18:36
2019-08-01T16:18:36
198,298,264
1
0
null
null
null
null
UTF-8
R
false
false
1,196
r
batches-utils.R
#' Batch Vectorizer #' #' @export batch_vectorizer <- function(preprocessed_file, batches = NULL, collection_name = NULL, data_format = c("vowpal_wabbit", "batches", "bow_uci", "bow_n_wd"), target_folder = NULL, batch_size = 1000, batch_name_type = "code", data_weight = 1.0, n_wd = NULL, vocabulary = NULL, ga...
0b76969d7e72656c83aa3b8e785638f5d2b4db1e
c9f874e7b459735d7808ce0964da891c5ba8ac9e
/R/utils.R
125f5ac49b3bd7e5d7bde258be1afdc22d6e72a6
[ "MIT" ]
permissive
Covid19R/covid19nytimes
606f0cdf3903481bf18ac7d3b8c85b5fb2456a7f
024299451b8fb004ee3897599ee176a39cebc704
refs/heads/master
2021-05-17T18:31:52.168215
2020-05-15T13:56:15
2020-05-15T13:56:15
250,919,721
27
6
NOASSERTION
2020-04-07T20:28:57
2020-03-29T00:09:38
R
UTF-8
R
false
false
1,159
r
utils.R
reshape_raw <- function(tbl, location_col) { tbl %>% dplyr::rename( cases_total = cases, deaths_total = deaths, fips_code = fips ) %>% tidyr::pivot_longer( cols = c(cases_total, deaths_total), names_to = "data_type", values_to = "value" ) %>% tidyr::pivot_longer...
98ddc99dd3158d39acc18bf5d055115415b237d9
c0bce42fcea5993c3d9976248c157f4a4433db0b
/figure_CLL/code/26_zscore_CNV_PT1.R
ab698464aaef6189095e438937d008cfb1103649
[]
no_license
ChenPeizhan/mtscATACpaper_reproducibility
a01b22f43c6222a56e04e731d68de7440c3cfc76
e543610bf29dbac1094994c54d3e7edd41609d5a
refs/heads/master
2022-12-11T11:31:24.877462
2020-08-29T18:40:36
2020-08-29T18:40:36
null
0
0
null
null
null
null
UTF-8
R
false
false
2,170
r
26_zscore_CNV_PT1.R
library(SummarizedExperiment) library(BuenColors) library(dplyr) library(Matrix) library(BuenColors) library(data.table) library(ggbeeswarm) library(dplyr) library(matrixStats) library(ComplexHeatmap) library(circlize) library(stringr) # Get the typical profile of a fragment distribution base_pbmcs <- readRDS("../.....
a15f87c6976b4c9c1fc12e467069d556a1cfb19c
a6fce712325cd8ba786d36be33fe8d4402b97a4b
/Analyses with full sample/2 Behavioral/2b Eval_RT_Supplemental material.R
a837d2ddc5b50ebe62b2399eee837cd89f1734ff
[]
no_license
hivolpertes/ERP-fix-analyses
57c6c61bef15376e3f9fb8d9c120cda5a7fe5293
a5df46905694e211d208c3dccc98680a44249ecb
refs/heads/master
2021-09-29T15:02:06.857877
2018-11-25T23:57:53
2018-11-25T23:57:53
null
0
0
null
null
null
null
UTF-8
R
false
false
5,691
r
2b Eval_RT_Supplemental material.R
require(dplyr) require(tidyr) require(ggplot2) evalDat = read.delim("./Analyses with full sample/2 Behavioral/evalDat.txt") # includes practice trials # 512 trials per subject # Practice: Trial = 1, SubTrial = 1...16 # First half: Trial = 2, SubTrial = 1...256 # Second half: Trial = 3, SubTrial = 256...512 # take ou...
66b1f6e54785f5035b3cc6465a2b2fe6bdffbbd1
f995cb1d7908397cfe56492fa65419914ee9a334
/R/OptSig.Chisq.R
415b02987a1219a64205e268b0283849ec1c09bc
[]
no_license
cran/OptSig
2c0f15382ba344787e898cd4675589e2bc4ab863
2fbf7b2e65234a14d88d32245210faeb8c5164d2
refs/heads/master
2022-07-12T19:53:34.684022
2022-07-03T11:30:14
2022-07-03T11:30:14
114,993,984
0
0
null
null
null
null
UTF-8
R
false
false
518
r
OptSig.Chisq.R
OptSig.Chisq <- function(w=NULL,N=NULL, ncp=NULL, df, p = 0.5, k = 1, Figure = TRUE) { alphavec = seq(0, 1, 1e-05) if (!is.null(ncp) & is.null(w)) betavec = 1 - Power.Chisq(df, ncp, alphavec, Figure = FALSE)$Power if (is.null(ncp) & !is.null(w)) betavec = 1 - pwr.chisq.test(w=w,N=N,df=df,sig.level=alphavec,p...
834bd78ed6c1fcaee345288b86e3be4751deb09d
8a1f07759a8a75cf37d7a0e962544c8ab3fa3c96
/other-cases/04a-rebuild-unemp.R
9caa759bb1db8421e7c9f4a8a9f730fb90819f77
[]
no_license
amoran57/thesis
6b2938cc9ca8ea0262a942e32057eeb1592ab537
af2073c4135bb89929ca56dcdfa210979e40c099
refs/heads/master
2023-03-29T17:20:52.014132
2021-03-28T21:56:42
2021-03-28T21:56:42
287,563,573
0
0
null
null
null
null
UTF-8
R
false
false
4,449
r
04a-rebuild-unemp.R
# Header --------------------------------------- rm(list=ls()) header <- source("header.R") #Code ------------------------------------------ us_df <- read_rds(paste0(export, "master_data.rds")) #Review the transformation process ---------------- us_values <- us_df %>% select(date, unemp, rate3month) unemp_ts <- t...
cb366ba5536502c705da90ae3ba261340f3d61fa
bcb827857c741281b6a99616c8244d02a0d0bfc6
/R/proper.R
7a5cab9ac79588d8c967aab9b2ed522794cdf330
[]
no_license
ellyck/upgraded-waffle
d6cd301b7af6941ec523f0000e994118e476c8b1
f1fd6c8f160d6cc182123c50b62181b02c79a8e0
refs/heads/master
2022-02-22T00:52:38.209064
2017-11-21T22:21:58
2017-11-21T22:21:58
null
0
0
null
null
null
null
UTF-8
R
false
false
534
r
proper.R
#' Proper function #' #' This function allows you to capitalize the first letter of a word and lowercase subsequent letters. Equivalent to the PROPER() function in Excel. #' Credit: Matthew Plourde #' https://stackoverflow.com/questions/24956546/capitalizing-letters-r-equivalent-of-excel-proper-function #' @param st...
a8705bfea6b13fa914a9d207a8219a2d5192292e
319ddd88db39ec4bf32532de30048bfb894a34d7
/PL/R/Requirements.R
a5c85470ca19fc5eb897058b7386e88cd6344e06
[ "Apache-2.0" ]
permissive
gkantsidis/Utils
52d82ff50b14b936655348cb7851a23dae36da05
47b415dcd578d328c85e2bc2167fb3ddfbcab4c8
refs/heads/master
2021-06-10T20:49:42.584416
2021-03-15T18:39:18
2021-03-15T18:39:18
142,796,162
0
0
null
null
null
null
UTF-8
R
false
false
759
r
Requirements.R
packages = c( "data.table", "filehash", # key-value database "foreach", "ggrepel", # extension for ggplot2, with the purpose of adding labels to plots. "jsonlite", # processing json files "plyr", # tools for splitting, applying, and combining ...
31d0d8281b79ce85a6691e45f79255d18a66d302
613b31a6ab86690a46756605e551c58408b53d65
/code/20210510_second_stage_modeling_2019.R
befbe7473f31d8381a615800c455c01832748337
[]
no_license
mike-z-he/no2_model_mexico_city
c02b53a9e27fa77a629894038b37cb628463e0af
ebd106229fa5a5b6b1eeab9fd602555469437a9e
refs/heads/main
2023-06-19T06:19:38.791913
2021-07-19T23:21:14
2021-07-19T23:21:14
330,858,908
0
0
null
null
null
null
UTF-8
R
false
false
8,733
r
20210510_second_stage_modeling_2019.R
#### Second Stage NO2 Modeling with 2019 data #### #### May 10, 2021 #### ## 5/14: updated to change outcome to non z-scores options(mc.cores=parallel::detectCores()) #### Load packages #### library(tidyverse) library(lubridate) library(ranger) library(lme4) library(reshape) library(foreign) library(ggplot2) librar...
0626bbca7d3a5ce77bfd0d5ca364daccc432c73e
3b1c82ecb7622ce0030470c19732c17f6fda89ff
/SC2019Lab-1-刘方宇-16081127.R
a20445b835347896b9041c2f8d1d0517ef37ad51
[]
no_license
anhnguyendepocen/SC2019-assignments
64bbb7a8d82afba4cc636122ed89268db8aca25e
a4cc348c40c4dc4cb373cbbde2cf92acb71cd69b
refs/heads/master
2020-09-02T03:41:35.656473
2019-04-12T12:48:48
2019-04-12T12:48:48
null
0
0
null
null
null
null
GB18030
R
false
false
502
r
SC2019Lab-1-刘方宇-16081127.R
library(dplyr) #读入数据 pools1 <- read.table("E:\\swimming_pools.csv",sep = ",",header = T);pools1 pools2 <- read.csv("E:/swimming_pools.csv",sep=",");pools2 #输出数据 write.table(pools1, "E:/file1", sep = ",") dput(pools1, "E:/file2") save(pools2, file = "E:/file3") #重新读取保存数据 read.csv("E:/file1") dget("E:/file2") ...
d661feb41949010a6e14db934dad9edc7d5e96f6
7a2fa7a3ea14fc702ab000f37655a123129a0391
/cachematrix.R
06642197278c50fe2443e37d24b0519a94b83c35
[]
no_license
RBelson/ProgrammingAssignment2
320f3c63b2370571feb0617556eb91c49149d4d1
119ad7ddfdbef0c93178f0218f59a1e3ca4af923
refs/heads/master
2020-03-28T21:23:53.067685
2018-09-17T20:36:27
2018-09-17T20:36:27
147,934,830
0
0
null
2018-09-08T13:15:23
2018-09-08T13:15:23
null
UTF-8
R
false
false
2,039
r
cachematrix.R
## Coursera Assignment - R Programming - Assignment 2: Lexical Scoping # These 2 functions are useful because they allow the user to calculate the inverse of their matrix and cache the results. # This can help avoid recomputing the same inverse matrix repeatedly and allow the user to quickly access the stored result. ...
15c20771014094a8030a64b18448dc3bfded7b4c
07194315eb96fa85bb0bc0eda24900f1f571fa6d
/plot2.R
2af3b8f48f7e0760ed56b590aaa99135442347a0
[]
no_license
srajasek/ExData_Plotting1
0bc8113abbd4ea7185239085280ff64775edf6de
a802c58a101fad4f7944e874bf25c60a67c44824
refs/heads/master
2021-01-12T21:45:07.083007
2015-10-11T18:38:46
2015-10-11T18:38:46
43,988,295
0
0
null
2015-10-10T01:35:38
2015-10-10T01:35:38
null
UTF-8
R
false
false
1,049
r
plot2.R
## Sets detination directory where data file exists. destdir <- "household_power_consumption.txt" ## reads data from the text files and puts into a data frame. powerData <- read.csv(destdir, header = TRUE, sep = ";") ##head(powerData) ## Subsets the data for 2 days reqData <- subset(powerData, Date == "1/2/2007" | ...
fd39874c558ae0ffdc72b8b1aac77a442192a06f
ecf1aa864dfc40840f5b0c98965f7d55875e135f
/MODULES/MORE/modelCode.R
320950e5430878d8ee39a746b2d2f77c8905c60d
[]
no_license
VeenDuco/shinyforcmdstan
78b03ec5cd2378ab594ab1a7552a655f70ca3462
74da0751f7958d08a969d05c17d168e91a2ecd18
refs/heads/main
2023-02-09T22:56:25.189305
2021-01-04T19:16:23
2021-01-04T19:16:23
325,535,205
0
0
null
null
null
null
UTF-8
R
false
false
594
r
modelCode.R
modelCodeUI <- function(id){ ns <- NS(id) tagList( div(div( img( src = "wide_ensemble.png", class = "wide-ensemble", width = "100%" ) ), div( style = "margin-top: 25px", img(src = "stan_logo.png", class = "stan-logo"), div(id = "shinystan-title", "S...
05dab13eadb618091f68c6ed92eb436d1e7db96e
b8723b94da48a1e39bb7b9b2495f6eb68c9dd7e8
/R/readwrite.R
9f5026b5042b57a40e70621a691e221e70b7a046
[]
no_license
cran/kstMatrix
50d9bdc9f8ebfb0b3fddb135a04e8fbba39df578
b5fbab8ae6e34ce0461bd1b0eeb47b068ce62347
refs/heads/master
2023-01-28T00:44:11.723822
2023-01-23T14:30:02
2023-01-23T14:30:02
148,498,260
2
0
null
null
null
null
UTF-8
R
false
false
1,398
r
readwrite.R
#' Knowledge spaces on reading and writing abilities #' #' Bases of knowledge spaces on reading/writing abilities obtained from querying #' experts. #' #' Three experts were queried about prerequisite relationships between 48 items #' on reading and writing abilities (Dowling, 1991; 1993). A forth basis represents #' t...
105de425c9140630f92bcb4baa3a31dab557de8e
9108f2123a3ab44b45701a3e045c8194ed4b147a
/R/save_plot_template.R
2b5780a185cc103c8d65257f031bc961b9c6e3fc
[]
no_license
RStelzle/rstfuns
79c9f47cd76b6d49be033b25ba9dfede7b414332
5cdc8767d7a70d6576a2d37c86bddab2ecfc0399
refs/heads/master
2020-12-10T01:21:11.526890
2020-09-30T11:11:16
2020-09-30T11:11:16
233,469,518
0
0
null
null
null
null
UTF-8
R
false
false
1,232
r
save_plot_template.R
#' Exporting Plots for use in LaTeX #' #' #' @param plot_object Plot to save. Defaults to last_plot() #' @param filenames name of the .tex and .pdf files #' @param pdfwidth Width of the .pdf file in inches #' @param pdfheight Height of the .pdf file in inches #' @param latexwidth Proportion of the linewidth to use in L...
3a8b0381e3198a56eda7784bfb939693594dff2c
27c44597a702f993af2c5ccf2608999903e1ac69
/Fall_18/ESL506_StatisticalDataMiningI/HW1/HW1_Sol.R
6469e6274b33b6c68bddc73a9989b35eb4ec580a
[]
no_license
mybinaryworld/UB-MS-Data-Sciences
d56e55b0dcda13e0bafaa0a39172243daaed50cc
87fe1b8a5752991a97e061d25c3603b51e2035fd
refs/heads/master
2020-04-16T17:33:36.017567
2019-02-17T17:06:02
2019-02-17T17:06:02
165,780,090
0
1
null
null
null
null
UTF-8
R
false
false
21,774
r
HW1_Sol.R
setwd('/Users/abhishekkumar/Documents/MS_UB/Fall_18/ESL506_StatisticalDataMiningI/HW1/student') library(ggplot2) d1=read.table("student-mat.csv",sep=";",header=TRUE) d2=read.table("student-por.csv",sep=";",header=TRUE) d3=merge(d1,d2, all = TRUE) print(nrow(d3)) # 382 students ########################################...
dba0a06ccf3dfa9175969fdde5ee322da4e39d09
0a0268f255e13dee6264a0e7c24aacbad87461c6
/R/matter_fct.R
c1f57d35172996b3ec9df6b35b4ae5a2bf003ab0
[]
no_license
kuwisdelu/matter
45fd08a00618236a53af254e32dcf97609025649
9d2055cc9e753aded6bc2736de641140289ac7fb
refs/heads/devel
2023-08-25T10:13:18.152860
2023-08-21T22:49:38
2023-08-21T22:49:38
64,353,260
53
7
null
2023-06-27T17:41:27
2016-07-28T01:18:22
R
UTF-8
R
false
false
3,196
r
matter_fct.R
#### 'matter_fct' class for file-based character vectors #### ## ---------------------------------------------------------- setClass("matter_fct", slots = c( levels = "ANY", labels = "character"), contains = "matter_vec", validity = function(object) { errors <- NULL if ( !is.null(object@levels) ) { if (...
9cca73a747ad118880769fe1f32bc4064f7a6e53
f997169854672f36810e793a2932313f11b52139
/data/florida.R
ec34fa9d737a3dceefe474f43dde904a5faf6481
[]
no_license
jverzani/UsingR
7e3fcbddae97a0ecd0268a9068af7a70ecc82907
d1cd49622b6e85cf26710c5747423b4ba0721ef6
refs/heads/master
2021-01-09T20:53:56.202763
2020-07-29T16:53:55
2020-07-29T16:53:55
57,312,995
1
3
null
null
null
null
UTF-8
R
false
false
6,091
r
florida.R
"florida" <- structure(list(County = structure(c(1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67), .Label ...
07b444b4a17aca620a7b79b777810b9cd84bd215
852da529709d8baace2d7666bd985456784b8ffd
/Scripts/Vectors.R
41af565a7cfec16ff547afbffd1af540705c5f87
[]
no_license
kristulr/2017-06-06_R_workshop
21338695199236acdc59271a4b8674c6a7598482
9ba2ce2859e199d008a4ae74d01ebf150484c4da
refs/heads/master
2021-01-25T04:49:46.603800
2017-06-07T12:51:17
2017-06-07T12:51:17
93,488,772
0
0
null
null
null
null
UTF-8
R
false
false
1,834
r
Vectors.R
x <- 5*6 x #how to check if x is really a vector is.vector(x) length(x) x[2]<-31 X x x[5]<-44 x # [ -> shift + alt + ( x[11] x[0] x <- 1:4 x y <- x^2 y x <- 1:5 y <- 3:7 x y x+y z <- y[-5] x+z z <- 1:10 z^x c("hello", "workshop", "participants!") str(c("hello", "workshop", "participants!")) c(9:1...
19bfe85664b21bbc003829276b857cfd5318e6b2
bbc3943cfd57260dfc3c0603a48a80eadfd19220
/man/bipartNetwork.Rd
2e58d33da439d443fb174621ac6114f9940dd497
[]
no_license
umatter/netensembleR
cef47df9c67c139bba8a5238aa2deecb605249b1
6f5f62a62d3d25f7ec330a1df0086809af8a208c
refs/heads/master
2021-01-19T08:41:20.719220
2016-07-19T07:25:19
2016-07-19T07:25:19
87,662,883
0
1
null
null
null
null
UTF-8
R
false
true
822
rd
bipartNetwork.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bipartNetwork.R \name{bipartNetwork} \alias{bipartNetwork} \title{Build bipartite network} \usage{ bipartNetwork(m) } \arguments{ \item{m}{a matrix with one type of observation (e.g., legislators) in rows and the other type of observation (e....
be7b238080843d84c729f438f743126f442c6b8b
2c47584f81ed8e2dc987923b1d4981badd4381d0
/ui.R
26e125ffe1c34f825be69a99dd6d555c71691d03
[]
no_license
kevinbgunn/Developing-Data-Products
ea6c8cab2a1533d05322abbc7345e5505a798f9a
6ab337ad9f1f56dbeda893af2aab8c423c25bc12
refs/heads/master
2020-07-02T03:58:08.532721
2016-11-21T05:27:08
2016-11-21T05:27:08
74,328,407
0
0
null
null
null
null
UTF-8
R
false
false
1,418
r
ui.R
library(shiny) shinyUI( pageWithSidebar( # Application title headerPanel("Body Mass Index (BMI) Calculator"), sidebarPanel( numericInput('weight', 'Insert your weight in pounds', 150, min = 50, max = 400, step = 1) , numericInput('height', 'Insert your height in inches', 60, mi...
9dea8232c7584564fe1b39692702da53898b3da9
66295ea19b0485b4fe0d8bcfb7054bb7fbb578d0
/Step05_Boxplots_without_tissues.R
59732f083a2dbb4602589d8af80e81155a9980b6
[]
no_license
NicoPillon/Muscle_Models_Profiling
717baeda0d68ac1e1a35f15b2a5a5eb33313011b
cc325ce01c0164b97eccd1be765bf22034c7608c
refs/heads/master
2022-03-16T04:03:15.813054
2019-12-12T18:41:15
2019-12-12T18:41:15
192,915,604
1
0
null
null
null
null
UTF-8
R
false
false
7,352
r
Step05_Boxplots_without_tissues.R
############################################################################################################################## # Expression data in rat, mouse and human muscle, L6, C2C12 and human myotubes ======== ##################################################################...
b31e427835827c1ec31e3d00cbebd76bd2f865a0
c6f1c615abb4f9c8a9a3ebe17f14a7c67d01d0bd
/02-building-blocks-of-data/sampling-from-vectors.R
c4476e4fb757d3365768872bc906c13081f3729d
[]
no_license
melff/dataman-r
05b903ace706d41ef91e7a113adcedc92c0be879
4e919fd9be46acc243f702889fdb88ed8c4429d7
refs/heads/main
2023-06-23T03:24:28.475559
2021-07-15T19:53:32
2021-07-15T19:53:32
324,203,840
0
0
null
null
null
null
UTF-8
R
false
false
111
r
sampling-from-vectors.R
#' # Sampling from vectors set.seed(143) sample(1:9) sample(1:1000,size=20) sample(6,size=10,replace=TRUE)