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
3c7e6c0554cfd32abe542bf1aa55457967ba9966
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/coxinterval/examples/linapprox.Rd.R
6a8517725072e47b55b87fa3c93b26499b3d76ca
[]
no_license
surayaaramli/typeRrh
d257ac8905c49123f4ccd4e377ee3dfc84d1636c
66e6996f31961bc8b9aafe1a6a6098327b66bf71
refs/heads/master
2023-05-05T04:05:31.617869
2019-04-25T22:10:06
2019-04-25T22:10:06
null
0
0
null
null
null
null
UTF-8
R
false
false
392
r
linapprox.Rd.R
library(coxinterval) ### Name: linapprox ### Title: Linear approximation ### Aliases: linapprox ### ** Examples fit <- coxdual(Surv(start, stop, status) ~ cluster(id) + trans(from, to) + z, data = dualrc, init.coxph = TRUE) head(basehaz) Haz01 <- with(fit, split(basehaz[, 1:2], basehaz[, 3]))[[1]] al...
75a63f18bd261827bc7db52a837c51a2e54b3439
17cb64908b89c854c304e10d5a88e621728d9f37
/R/initialize_module.R
d6d3ab9fa0c4d92e9a0198826c3294811536265d
[]
no_license
EvoNetHIV/Herbeck-et-al-Vaccine-2018
494387deba8f63902a03b4ba4de68eddce540c63
bf0ee209f8924c9ad4865a2dadfe11f7b256f845
refs/heads/master
2022-12-09T23:42:17.631572
2020-09-01T19:07:32
2020-09-01T19:07:32
69,389,080
0
1
null
null
null
null
UTF-8
R
false
false
3,055
r
initialize_module.R
#' @export initialize_module <- function(x, param, init, control, s) { #Description: # runs EpiModel function EpiModel::initialize.net() # fills in viral load values for initial infected with initialize_infecteds_vl() # fills in cd4 variable values for i...
d6246fcaa98b7b59e4ab0f7741255be4aa4b010f
a99e5fbcc03fb66304b1a11a792f71fc7b5b7ab8
/R/RcppExports.R
522a3743024f98c47fa2a9ad07b51a79f84862f2
[]
no_license
vh-d/RPortfolioSimilarity
0bb8dcc9ecb5c00c46d76c52c438c9f079f35fd3
ffcacb3ab54298bcf1a70eefe507936397bf90f1
refs/heads/master
2021-01-17T07:19:10.112152
2019-10-16T19:17:26
2019-10-16T19:17:26
21,853,502
0
0
null
null
null
null
UTF-8
R
false
false
5,839
r
RcppExports.R
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 #' Generate all possible pairs from a vector or a sequence of integer numbers #' #' @rdname allPairs #' @param n maximum number of the sequence #' @return \code{allPairsRcpp} returns (n*(n-1)/2...
a0ff535e047e188d455747ae52e3526e04b4ad71
b4d7a52769de93daae1ac56808a17716364be9fe
/run_analysis.R
356d3467dad1f986e98d86ae9d607807a73c07e7
[]
no_license
zacariasyang/GettingDataCourseProject
5ccc1367779e38fda791609485926eb7a26ceb9a
b96e711b6c2a632e55952551aed5008b2931bb49
refs/heads/master
2021-01-10T01:42:57.042765
2015-10-25T13:11:35
2015-10-25T13:11:35
44,910,587
0
0
null
null
null
null
UTF-8
R
false
false
1,914
r
run_analysis.R
# read in datasets features <- read.table("./UCI HAR Dataset/features.txt", stringsAsFactors = FALSE) activityLabels <- read.table("./UCI HAR Dataset/activity_labels.txt") x_train <- read.table("./UCI HAR Dataset/train/X_train.txt") y_train <- read.table("./UCI HAR Dataset/train/y_train.txt") x_test <- read.table("./UC...
c7f03bf7101f073cbcb192d31a840bb192948bac
42cd821229e6d92091f0c9ce04433fd902a622b9
/man/sub-.bytefactor.Rd
1f18ec423ccad0d1ef051b3e1da01e8417ed2ff9
[ "MIT" ]
permissive
coolbutuseless/smallfactor
7df372c36967437651bcc3d8adf3fc9ce93bac3a
c3b1e7d8d5c0faf9d7e947962e6d930375b7ad52
refs/heads/main
2023-07-25T20:10:51.233570
2021-09-06T09:37:09
2021-09-06T09:37:09
400,427,312
7
0
null
null
null
null
UTF-8
R
false
true
293
rd
sub-.bytefactor.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bytefactor.R \name{[.bytefactor} \alias{[.bytefactor} \title{Subset a bytefactor} \usage{ \method{[}{bytefactor}(x, ...) } \arguments{ \item{x}{bytefactor} \item{...}{ignored} } \description{ Subset a bytefactor }
75fb6e57f1ff075d8bc11a17a0f991be3aa8ce4b
5aab0c7c5a35775f6278c1e307886df103c74e91
/data/Roptimize/basic-operations.R
ab410dacf9f53c1f94616de833025bf081edd492
[]
no_license
ims-fhs/badhacker
070bdf5c8d7e8fc50d2c05812a85683abeb411aa
54cc42204aadcb239e6b39e265a9cc2a48ab722d
refs/heads/master
2022-03-13T14:12:53.800997
2022-03-03T08:30:00
2022-03-03T08:30:00
117,236,946
0
0
null
null
null
null
UTF-8
R
false
false
11,227
r
basic-operations.R
#' Move all vehicles from one base to another address #' #' Vehicles at old address are set to 00:00--00:00 (not available) #' #' @param old_community A character, the name of the old community #' @param old_address A character, the address of the old community #' @param new_community A character, the name of the new c...
26dcc1648cffe172a75971cc952273f5741034fd
ebbe08d58a57ae2e9d308a12df500e1e0ef8d098
/wgk/Figures/Fig5_TF_net.R
aacc9ee551b8f5924cc6677bd3b99ab7b9abc30c
[]
no_license
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
18,278
r
Fig5_TF_net.R
################################ ## 1. EXP/TF AUC 变化趋势图 ################################ library(Seurat) library(ggplot2) library(SCENIC) require("RColorBrewer") library(maSigPro) seurat.chon <- readRDS('/home/yzj/JingMA_NEW/res/Harmony/ALL/RDS/seurat_celltype_Chond.Rdata') seurat.child <- subset(seurat.chon, subset ...
07b39023c93d0066add93f43a0d8a3327971b6fe
0b5d4f07fb7c6c1b574503877389f1ca4949a23d
/R/dex165.R
8559c9f23311c007cdfd33f1012e21f0be35bef6
[]
no_license
joemckean/mathstat
0673c5f97064b8f4ac77d21ce3f10062e98b91f6
5e008df47b5549730c5e219b62c2cec55ecf3c3f
refs/heads/master
2020-04-08T14:34:52.117179
2019-04-22T17:58:40
2019-04-22T17:58:40
159,443,068
2
0
null
null
null
null
UTF-8
R
false
false
824
r
dex165.R
#' @title probability mass function for Exersize 1.6.5 #' #' @description Suppose we have a lot of 100 items, 20 of which are defective. #' Let X be the number of defective item in a random sample of size 5 drawn #' without replacement. This function calulates the pmf of X. #' #' @examples pmf_matrix <- dex165() #' #'...
62e8aa751923aa9388922293487b73c7e5ed550c
1defdf06f288a7921676a299c0de5a224f9f749e
/2-Benchmark/3-ConcateRF-bench.R
259d2361eb03cd03427afac5e6ed9cb67d7c7668
[]
no_license
yangziyi1990/MSPL
4ac28d6a94b5cfb4a6e4185dbbd6a5ee8cc8153f
41f1224ec450875c0f9736f74f19dff8e3ca2c56
refs/heads/master
2020-06-24T10:01:15.041955
2019-12-27T02:27:56
2019-12-27T02:27:56
198,934,601
0
2
null
null
null
null
UTF-8
R
false
false
13,762
r
3-ConcateRF-bench.R
##---------------------------------- ## Code Version 1.0 ## This real data code for Random Forest embeded in the concatenation-based framework. ## Concate_RF ## Created by Zi-Yi Yang ## Modified by Zi-Yi Yang on July 23, 2019 ## Concact: yangziyi091100@163.com ##---------------------------------- ## lo...
2cb6b1eb2d4a68bc7988386ac6622a961fe854b9
177119d6a0caf84a490b3843191bfdb112efb74a
/MovingAverageSimulation.R
8fdb894d26db8f372eda1fbbbc2da933c0c92a91
[]
no_license
robruzzo/TimeSeriesAnalysis
655976082f3a3d7df3ca21f83b919d14d149ad96
7984d8ef4abec6e65dc8c6500bd8400e95c5dfc2
refs/heads/master
2021-04-03T23:51:31.667690
2020-03-27T23:39:30
2020-03-27T23:39:30
248,406,458
0
0
null
null
null
null
UTF-8
R
false
false
986
r
MovingAverageSimulation.R
"MOving Average Model Demo Unline the Autoregressive Model, the moving average model uses more white noise terms with Beta Coefficients to give the magnitude. x(t)=w(t) +B1Wt-1 +...BqWt-q The white noise will have a mean of 0 and the variance of the series THe order is q " set.seed(1) #generate values for W(t) white ...
893284b190d487ea5e2be3bf8f8a82386328c433
946a3a8bfd917b1797cb4499f259b955f28e3de4
/thesis-data-analysis/scripts/raw-dataset-analysis/lucene_stats.R
d1b52f17663499232221629c40be32d14ef954bc
[]
no_license
ansin218/master-thesis
2980089bc48901595e9f221baa96d76fa7dcb8a4
8e55a588be9f3c2784783f9233973c7ec79c12b5
refs/heads/master
2021-03-19T16:55:04.538157
2018-03-26T12:33:35
2018-03-26T12:33:35
100,115,495
0
0
null
null
null
null
UTF-8
R
false
false
777
r
lucene_stats.R
library(ggplot2) library(scales) luceneFile <- "lucene_issues.csv" luceneData <- read.csv(luceneFile, header=TRUE, sep=",") luceneData$countCat <- cut(luceneData$count, breaks=c(1,5,10,15,20,25,30,35,40,45,50,100,150)) luceneData <- luceneData[!is.na(luceneData$countCat), ] # Plot raw data analysis statistics ggplo...
2c8132e07fe48b820fd856d267e8752fd8d616a3
a2937d7268f41c5bb3c3dafc69252248a2ef34c7
/plot1.R
3154099650af540f63b42e1e4e980a4806d98bd1
[]
no_license
JTBenson/ExData_Plotting1
df46ebb30a10d228fe4bd06cde58e932a1133ef3
ac32382a4856fb904ce482ab1afc6a8a56d52281
refs/heads/master
2021-01-16T01:02:46.367599
2014-08-08T20:04:03
2014-08-08T20:04:03
null
0
0
null
null
null
null
UTF-8
R
false
false
727
r
plot1.R
#Read in data - read in only number of rows required to pull in 1-Feb-2007 and 2-Feb-2007 x=read.table("./exdata_data_household_power_consumption/household_power_consumption.txt", header=TRUE,sep=";",nrows=69516,na.strings="?") ##Subset for 1-Feb-2007 and 2-Feb-2007 dates xSub = subset(x,as.character(x$Da...
b38f9d8e6fb8926d961a2630d3e68185173bc4f1
2e8d89ca30be43dc27a9a3e369db24e7eee67ed3
/pbmc_prepro0518.R
0ff775d90a3d06e0529f186d1c9c843106235fef
[]
no_license
DaigoOkada/kernel_deef_code
d62a75953c567566806118f3a003e8f64c116d04
4ec0c4c7b9cb7a761d078c683958af1dd1c5ec48
refs/heads/main
2023-06-05T06:21:33.696127
2021-06-21T10:10:30
2021-06-21T10:10:30
370,950,339
0
0
null
null
null
null
UTF-8
R
false
false
1,432
r
pbmc_prepro0518.R
#scRNA-seq library(Seurat) out_path <- "/home/dokada/work_dir/pbmc_prepro0518/" out_path2 <- paste0(out_path,"prepro/") dir.create(out_path) dir.create(out_path2) data_path <- "/home/dokada/work_dir/scrnaseq_bld0113/data_GSE125527/" files <- sort(list.files(data_path)) #Processing sample_names <- files n <- length(...
6a91de07abfffaeb9d1eceb71371dcd80b6bb4a6
ff9429761f135642f36e2b366aa378eb71f2f686
/hw1YourNamePart1.r
43409894e863fbc583ed23b7f183ac0c3320fe8f
[]
no_license
e-turk/RStudio-Project
7e92915c950523f5253530e6f4e111c95fecd609
0965e542e378c8251a148bf5780c958c9283b064
refs/heads/master
2021-04-27T14:37:01.153819
2018-05-10T15:37:51
2018-05-10T15:37:51
122,447,866
0
0
null
null
null
null
UTF-8
R
false
false
755
r
hw1YourNamePart1.r
install.packages("tidyverse") library(tidyverse) library(readr) #Reading xlsx files library(data.table) library(ggplot2) # visualization library(scales) # visualization library(dplyr) # data manipulation library(knitr) setwd("C:\\Users\\HACI-PC\\Desktop") library(readr) UNdata_Export_20171026_130851047 <- ...
13b770bbda0185fdee62d6dd70abd4aa10120f85
93dbdf2b98ec03d5ef604426b4f3552312a174c9
/old/multi_step_model.R
44fea405f17b7969e7a942560fd841fece5b4ddd
[]
no_license
lebelinoz/ci-factor_model
6a00b89349b781525e27e1fe8a50cf512445d076
27b2afcab723d0e94c0115775e2a201c06b4e78e
refs/heads/master
2020-05-23T07:59:00.426675
2017-03-07T02:52:26
2017-03-07T02:52:26
80,478,651
3
0
null
null
null
null
UTF-8
R
false
false
611
r
multi_step_model.R
# Take the residuals of the asset vs bmark linear model, and see how much better a second step will do against it. source('experiment_on_all_tickers.R') source('show_regression.R') asset_bmark.lm = lm(asset ~ bmark, data = asset_and_bmark_and_factors) asset_and_bmark_and_factors$residuals = asset_bmark.lm$residuals s...
e3f3588cf54233ec3211e0c6dcd8db0f47df1468
f6a580a7ab6afb88d3751e4131e72eeb4037b145
/candidatePack/R/show_candidate.R
a08d6886507b626f8cb9a08a2416cd95f0ee4e9f
[]
no_license
ScottSolomon66/PS6
fbe2fbfdc5c51c1ed2e0adfe7606b563a6ca2ac4
8766f9222ac0eb951de7314197dfd1944dd194c0
refs/heads/master
2021-01-20T04:42:35.239995
2016-03-21T02:36:27
2016-03-21T02:36:27
53,739,339
0
0
null
2016-03-12T15:44:18
2016-03-12T15:44:18
null
UTF-8
R
false
false
1,326
r
show_candidate.R
#' taking an object of class "Candidate" and using the generic show function #' #' takes an object of class "Candidate" and executes show #' #' @param name a character object #' @param delegatesWon a numeric object #' @param party a character object #' #' @return the output of show for the "Candidate" object #' \it...
5c4338516dd011ad629c7cc7a01bde79c0414323
f61064bb7d0013f111123206b230482514141d9e
/man/sir_csmc.Rd
92b58dc3109b8c5386f393866bcf7133b241ca6e
[]
no_license
nianqiaoju/agents
6e6cd331d36f0603b9442994e08797effae43fcc
bcdab14b85122a7a0d63838bf38f77666ce882d1
refs/heads/main
2023-08-17T05:10:49.800553
2021-02-18T23:01:47
2021-02-18T23:01:47
332,890,396
3
0
null
null
null
null
UTF-8
R
false
true
712
rd
sir_csmc.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sir_csmc.R \name{sir_csmc} \alias{sir_csmc} \title{controlled SMC for SIR model} \usage{ sir_csmc(y, model_config, particle_config, policy = NULL) } \arguments{ \item{y}{, observations, length (T+1)} \item{model_config}{a list containing mod...
44fe79f86a35b2403e7511bcb2e5db747123b41f
ab40dbb49718e426b5e75de554c36a339c143eaa
/bigGP/man/remoteGetIndices.Rd
e23e50797da0012904236cf2cb82ca4baa97654c
[]
no_license
paciorek/bigGP
b4037380cfe23e3b28f543585a3d1052331057bb
c087c7712d67c55ba72ab93b544008c1f6dd2d41
refs/heads/master
2023-05-01T03:03:25.282229
2023-04-25T15:01:43
2023-04-25T15:01:43
38,216,446
4
1
null
null
null
null
UTF-8
R
false
false
1,917
rd
remoteGetIndices.Rd
\name{remoteGetIndices} \alias{remoteGetIndices} \title{ Determine Indices of Vector or Matrix Elements Stored on all Processes } \description{ \code{remoteGetIndices} determines the indices of the subset of a matrix or vector that are stored on each process. } \usage{ remoteGetIndices(type = "vector", objName, ...
eeb9334367a9c5e2bc345a21c47af9d6a9a12826
88f2455bd16b29da868cfed650330de6a219f215
/seurat_120419.R
5bb3d9f26896d0380ae7bd030b48f7396c02cd8b
[]
no_license
ggruenhagen3/brain_scripts
8b90902afe62d3a8c111ffb5f3fd203863330ef6
cc9f78e431cd05fdc0d7c43ed4d5ca44e715d5cc
refs/heads/master
2023-07-08T03:27:24.566197
2023-06-19T18:49:09
2023-06-19T18:49:09
225,917,508
0
1
null
null
null
null
UTF-8
R
false
false
7,756
r
seurat_120419.R
install.packages('Seurat') library(Seurat) library(dplyr) rna_path <-"C:/Users/zjohn/Desktop/single_nuc" b1.data <- Read10X(data.dir = paste(rna_path, "/filtered_feature_bc_matrix/", sep="")) b2.data <- Read10X(data.dir = paste(rna_path, "/filtered_feature_bc_matrix/", sep="")) c1.data <- Read10X(data.dir = ...
339edc3b51d62ace2a972dbcd0b14c07f95580ca
7df389c848049ebf2bc1ad8e56f0ed3bdad977f3
/src/hawkes.R
176cc1bde9df7f0ce8464546b628138f5b61593f
[]
no_license
shaabhishek/hierarchical-pp-new
a64644d3b6d27d2974ae72ec481177800c0d0101
26c1a74bcda275fb99108d5e66d00a27571f5739
refs/heads/master
2022-11-13T09:35:15.859530
2020-05-04T03:42:42
2020-05-04T03:42:42
278,703,172
0
0
null
null
null
null
UTF-8
R
false
false
7,028
r
hawkes.R
library(hawkes) library(poisson) setwd('/Users/abhisheksharma/Dev/hierarchichal_point_process/data/') params_data <- read.delim("synthetic_data_params.txt", header = FALSE) #col.names = c('lambda0', 'alpha', 'beta', 'horizon')) # n_cluster <- c(5, 10, 50, 100) n_cluster <- c(4) # lambda0 <- c(0.1, 0.2, 0.3, 0.4, 0.5) ...
91814107e858a8cece55919e042f5188d5a693de
cf044807d8d2a5c75f5576b701778afa9c7243cb
/src/parse_config.R
f803e332e8d184ef68b9e04030d376a74312baed
[ "MIT" ]
permissive
indigoblueraspberry/MuSTA
3b1e1a4f13b575055238334c7a9d62f93976bd53
92e909a08fbbce08444bccd235d14e2f83cb3901
refs/heads/master
2022-11-30T03:45:36.558244
2020-08-10T14:14:23
2020-08-10T14:14:23
null
0
0
null
null
null
null
UTF-8
R
false
false
3,417
r
parse_config.R
####general#### mut_sv_mode <- "genomon" #TODO VCF or Genomon ####software#### softwares <- c("sqanti_filter.py", "sqanti_qc.py", "lordec-build-SR-graph", "lordec-correct", "minimap2", "samtools", "salmon", "seqkit") software_path_argnames <- c("sqanti_filter", "sqanti_qc", "lordec_build_SR_graph", "lordec_...
bb73ee8aaebea59d468ceaad0daf61061feb6c0d
244d83e95927048b93885d2b2b56f298e3a1b645
/qPCR_data_workup.R
dbda971b3833d1a940e5976a6895a63e245a1195
[]
no_license
juliambrosman/Summer2014TSAnalysisTime
6c3f77eb14d4c7caec7c61f07a7b23d2ffba1f45
962064e9ebe4f9df07b6e7dd4d659b79a15b3884
refs/heads/master
2021-01-19T07:24:42.373698
2014-07-16T10:34:52
2014-07-16T10:34:52
null
0
0
null
null
null
null
UTF-8
R
false
false
1,813
r
qPCR_data_workup.R
##import qPCR data qpcr.data=read.table("TimeSeriesqPCR_data.csv", sep=",",header=TRUE) ##read data data as a date: qpcr.data$date <- as.Date(qpcr.data$date, "%m/%d/%y") #calculate copies per sample and adjust sd qpcr.data$rlcp1.smpl<-(qpcr.data$rlcp1.rxn.copies*qpcr.data$elute.vol)/qpcr.data$filt.vol qpcr.data$rlcp1...
d579d2c8ae77226443471ec0a85ddd0ecb259521
b9b42fdda0caa249802bf3e82755723981e02064
/cachematrix.R
e6583c6c0d219924a6ddbfb5905530a0e2c6187a
[]
no_license
ganaidu/ProgrammingAssignment2
303c03e38f2d8b3a54bc0b7abcc927ab14df6257
d98dde92d8810b7150e3887f48aa59869e935487
refs/heads/master
2021-01-11T17:05:43.066481
2017-01-29T19:16:41
2017-01-29T19:16:41
79,716,649
0
0
null
2017-01-22T12:33:06
2017-01-22T12:33:05
null
UTF-8
R
false
false
1,561
r
cachematrix.R
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function makeCacheMatrix <- function(x = matrix( numeric() )) { # creates a new matrix for the inverse. m <- matrix(numeric() ,ncol=ncol(x), nrow=nrow(x)) # creates a s...
d4831212738fe6acc28f7627adeebf3b98adbb04
3caf493c913baf4aa64ec49430ada88fde9bbabd
/misc/utils/PMS/prepare-LUT.R
0d789d0162e39ce7b35dc6e80e652d1e0d7bbcc6
[]
no_license
Memo1986/aqp
7af94fe03909d926f689fefbbb3a17d49593615e
5d7a98823a0c03c53214efca3bf545dc9a297721
refs/heads/master
2023-07-17T17:06:37.286703
2021-08-27T15:21:32
2021-08-27T15:21:32
null
0
0
null
null
null
null
UTF-8
R
false
false
1,101
r
prepare-LUT.R
library(aqp) ## TODO: the following creates the Pantone -> Munsell LUT ## this isn't the same as the Munsell -> Pantone LUT (entries currently missing) # https://github.com/ncss-tech/aqp/issues/124 # sourced from: # https://raw.githubusercontent.com/ajesma/Pantoner/gh-pages/csv/pantone-coated.csv # https://g...
ae35764f3438d4c024c1e9ee78043df748f92a51
64988d8ad2b3b8ef76649e919e9175523a68c2c6
/man/fitted.spARCH.Rd
ef5bbe0d75fd9e39540bdf74bc5700fdd1557015
[]
no_license
cran/spGARCH
ba3278b6bcdb7f163963265f7417c157bbea0504
e929dc5d7f9377a8950ddb259d2ed799cd03a082
refs/heads/master
2021-05-25T11:01:21.926100
2020-09-02T06:10:03
2020-09-02T06:10:03
127,176,180
2
0
null
null
null
null
UTF-8
R
false
false
748
rd
fitted.spARCH.Rd
\name{fitted.spARCH} \alias{fitted.spARCH} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Extract model fitted values } \description{ The function extracts the fitted values of a spatial ARCH model. } \usage{ ## S3 method for class 'spARCH' \method{fitted}{spARCH}(object, ...) } %- ...
26d0911a80dbff3df568a2d4cb1a990cf0b67851
f1c5692b05ed04064d8f7a8c0890eedc8f0981e8
/R/jvaLast.R
10e3bfb9cc6f872ce8f894dd66c6461df8cb5fea
[ "LicenseRef-scancode-warranty-disclaimer" ]
no_license
JVAdams/jvamisc
7caba076e1f756febd675ac40f9ed9640facba7b
522f50a3c8ff09899bfa321b260daf8c5e860e22
refs/heads/master
2021-08-28T12:54:39.344004
2021-08-04T18:55:27
2021-08-04T18:55:27
19,327,794
3
1
null
null
null
null
UTF-8
R
false
false
660
r
jvaLast.R
#' Shutdown #' #' One function with all the commands I typically want run at the end of an #' R session. #' @param file #' Character scalar, file in which to save the commands history relative to #' current working directory, default ".Rhistory". #' @param nlines #' Integer scalar, number of lines that saved to c...
de051399a5fde01a33ba1a7766785285d7b88029
452042d9a5cb876a90a9cb1f4c802d0f4b1453c7
/R/flea_rosters.R
cfcda2d4ebb160f40d961d8dc636b1614d86369a
[ "MIT" ]
permissive
jpiburn/ffscrapr
dc420370f6940275aaa8cb040c5ec001a25268b8
4e7bda862500c47d1452c84a83adce7ee1987088
refs/heads/main
2023-06-02T00:09:09.670168
2021-06-12T15:52:23
2021-06-12T15:52:23
377,976,824
1
0
NOASSERTION
2021-06-17T22:42:26
2021-06-17T22:42:26
null
UTF-8
R
false
false
1,431
r
flea_rosters.R
#### ff_rosters (Fleaflicker) #### #' Get a dataframe of roster data #' #' @param conn a conn object created by `ff_connect()` #' @param ... arguments passed to other methods (currently none) #' #' @examples #' \donttest{ #' joe_conn <- ff_connect(platform = "fleaflicker", league_id = 312861, season = 2020) #' ff_rost...
c512bc4c363715ccbfcc410e83f38302a3f9e2be
d317f7e6a38bd252cfdf69e3846905c24e14f2fc
/man/make_qc_dt.Rd
455fb712ea6a23af4c72975d866aaf5784f289e5
[ "MIT" ]
permissive
Yixf-Self/SampleQC
208bb170884c6c9dbc1596a277186abd5a43d548
82f4483eafdaac93c17710bf605e147ad4611f0c
refs/heads/master
2023-07-28T06:09:25.504772
2021-08-29T14:05:10
2021-08-29T14:05:10
null
0
0
null
null
null
null
UTF-8
R
false
true
1,427
rd
make_qc_dt.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/make_qc_dt.R \name{make_qc_dt} \alias{make_qc_dt} \title{Checks specified QC metrics and makes data.table for input to \code{calc_pairwise_mmds}.} \usage{ make_qc_dt( qc_df, sample_var = "sample_id", qc_names = c("log_counts", "log_feat...
6551bbd2d7a5119c49f8a9a5bceff2f03a96a3e9
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/lmom/examples/lmrdpoints.Rd.R
8782d167667a1bd0f3563888aea2b59684e25409
[]
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
774
r
lmrdpoints.Rd.R
library(lmom) ### Name: lmrdpoints ### Title: Add points or lines to an L-moment ratio diagram ### Aliases: lmrdpoints lmrdlines ### Keywords: hplot ### ** Examples # Plot L-moment ratio diagram of Wind from the airquality data set data(airquality) lmrd(samlmu(airquality$Wind), xlim=c(-0.2, 0.2)) # Sample L-moments...
6603d4e371c82092877b02c52617a702012a9572
f2ef99e52520a24fd08e0950937549df785481e4
/data-products/final/photo-voltaic-growth/ui.R
783c05397fb52b3977a019aa8427d60d5b62bfe9
[]
no_license
acuariano/datasciencecoursera
6b3ac276f99ec2c2b129b56f1477216746364983
ec42a4e2943a5ed8ba82bc0398816d000672f831
refs/heads/master
2020-05-29T16:42:40.006407
2018-06-04T13:37:56
2018-06-04T13:37:56
40,692,817
0
0
null
null
null
null
UTF-8
R
false
false
2,828
r
ui.R
library(shiny) library(shinyBS) library(plotly) shinyUI(fluidPage( titlePanel("Solar photo-voltaic capacity growth"), sidebarLayout( sidebarPanel( checkboxInput("use_scale_log", "Log Scale", value = TRUE), strong("Exponential gowth bases"),...
5ac08509be329c3b34d12849f38b5cfe8fade73f
308d520a92c181b7b37ba101de769b48507fad49
/run_analysis_imputeNA.R
40cf441c97c81ad5894509ad5550b1d077e14bd8
[]
no_license
igilroy/RepData_PeerAssessment1
ac9f9a35d112ebab71d92aa915e7fef0d12bc8d8
f2661eefd43ee49a3cdbc19de3fca886464c3f6a
refs/heads/master
2020-12-30T23:20:56.127841
2016-01-11T06:58:17
2016-01-11T06:58:17
49,251,877
0
0
null
2016-01-08T05:33:20
2016-01-08T05:33:20
null
UTF-8
R
false
false
7,200
r
run_analysis_imputeNA.R
# Script: run_analysis_imputeNA.R # The purpose of this script is to read a CSV data file of # human activity as measured by the embedded gyroscope and accelerometer # a personal activity monitoring device. # This device collects data at 5 minute intervals through out the day. # The data consists of two months of ...
deae6ac668bdf0f71fdb7e892ec1330807774268
1efb64b70a2acb08355702bc27e96a794d7c7697
/man/check_save_path.Rd
f5c1b40a00265356bbbb3f45c7627c530a51b595
[]
no_license
daklab/MungeSumstats
cb84af95608b7867343beda9ef122821e02da3e6
6f8946b9967f7c770f5ed7297934d3dcd1498a85
refs/heads/master
2023-08-07T18:02:51.407318
2021-09-17T08:50:55
2021-09-17T08:50:55
null
0
0
null
null
null
null
UTF-8
R
false
true
1,132
rd
check_save_path.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/check_save_path.R \name{check_save_path} \alias{check_save_path} \title{Check if save path and log folder is appropriate} \usage{ check_save_path(save_path, log_folder, log_folder_ind, write_vcf = FALSE) } \arguments{ \item{save_path}{File pa...
8a253b0f6cf9f6dcca003ae5f9c1160736c2310b
f6dcb066042632979fc5ccdd6aa7d796d3191003
/Problem Sets/Student Submissions/Problem Set 2/2416912/q1_template.R
d0fe3afc772812e757c688c6fbbcc46be68b3fc3
[]
no_license
NikoStein/ADS19
45301bcd68d851053399621dd8a0be784e1cc899
90f2439c6de8569f8a69983e0a605fd94e2e9f0a
refs/heads/master
2020-05-19T19:10:12.411585
2020-03-12T00:02:14
2020-03-12T00:02:14
185,165,255
0
4
null
2019-08-06T06:16:30
2019-05-06T09:26:01
HTML
UTF-8
R
false
false
4,139
r
q1_template.R
# Problem Set 2 # Question 1 #1a library(tidyverse) library(rvest) library(xml2) library(purrr) library(repurrrsive) library(stringr) getTagsCleaned <- function(x) { html_nodes(x, "a") %>% html_text() } ## Aufgabe 1 getTenQuotes <- function() { url <- read_html('http://quotes.toscrape.c...
6487815421b07eca1e94802930d269f7b84c7f38
4e2c87e93ffca05d39d9ce15a612c12911492364
/man/funnel_measure.Rd
7b833075a50cb0149303f8129ae5ea39a7358d31
[]
no_license
ModelOriented/DALEXtra
bc731240c42b33c22a6f6442894c26bb751413a2
a8baf5791b8d9565ca857c670c3678c568c8b3d0
refs/heads/master
2023-06-09T23:38:36.365886
2023-05-25T22:53:20
2023-05-25T22:53:20
196,374,651
63
15
null
2023-03-17T20:43:39
2019-07-11T10:38:29
R
UTF-8
R
false
true
4,374
rd
funnel_measure.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/funnel_measure.R \name{funnel_measure} \alias{funnel_measure} \title{Caluculate difference in performance in models across different categories} \usage{ funnel_measure( champion, challengers, measure_function = NULL, nbins = 5, part...
3da6242950507c9ca14e1100cf58f496e6e6cfc6
cb649b9f890d39ed47431b71ba8a89ed27037b5c
/R/02-open-saved-DI-flat-files.R
d651d8bfdd039e559b54bed5d9906c42f71c272a
[]
no_license
magerton/drillinginfo-data-import
bf0a00f3b9ab092eb93edd97a2fdaa45e4919cba
ca4d4554e755095a117555d6007e3bcf90fdecd5
refs/heads/master
2021-03-24T11:55:26.562681
2017-05-25T14:19:32
2017-05-25T14:19:35
89,253,578
4
6
null
null
null
null
UTF-8
R
false
false
1,674
r
02-open-saved-DI-flat-files.R
# Code by Mark Agerton (2017-04) # # This file is simply a set of commands to open each table saved in the prior script rm(list=ls()) library(data.table) DATE_DI_FILES <- "-2017-03-31" # import column info load("intermediate_data/column_info.Rdata") column_info[,.N, keyby=table] column_info[is_factor == T, .(table...
ff9a64f2dc5ca72394d815c75afc1cb4deec441d
f31050afb9299aeb68fe4f3bc3d4999bc3c01d3e
/pkg/tests/databases.R
35e84cc04858b93488d0e1478951fa224b796542
[]
no_license
piccolbo/dplyr.spark.hive
4e574923b43ec7ff7ecf9dce13cea69eb792c5b3
002bc997feb26b722dc0fc448edbfebc27541d40
refs/heads/master
2020-12-25T03:41:08.160622
2016-01-22T18:15:57
2016-01-22T18:15:57
40,582,624
11
4
null
2016-01-08T22:35:35
2015-08-12T05:50:23
R
UTF-8
R
false
false
4,220
r
databases.R
# Copyright 2015 Revolution Analytics # # 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/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in...
62483f80f1b99b475d9eb6aec4899787b6d258f4
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/spacesXYZ/examples/uvfromXYZ.Rd.R
6c86afb6703526151445dc173f16e55ad070ce16
[]
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
426
r
uvfromXYZ.Rd.R
library(spacesXYZ) ### Name: uvfrom ### Title: Convert from XYZ or xy to Uniform Chromaticity Spaces ### Aliases: uvfromXYZ uvfromxy ### Keywords: XYZ ### ** Examples # locate some standard illuminants on the 1976 UCS diagram uvfromXYZ( standardXYZ( c('C','D50','D65','E') ) ) ## u' v' ## C 0...
34d41ff7de31ab9808c7d51952d8ebc4fd4afa1d
69305b91a02d22b9a61eb344fc11cd22b9273c25
/plot2.R
0a8c20ae048f03fca9b5d3378bdd56bb27717194
[]
no_license
lauraviluma/ExData_Plotting1
45f0f95b26e3d52c9be604a67c088b92a5c482a6
22d92aa61b684380540564d4bd00551e64a9f2cb
refs/heads/master
2022-11-25T03:24:31.381080
2020-06-23T15:05:00
2020-06-23T15:05:00
274,139,314
0
0
null
2020-06-22T13:06:55
2020-06-22T13:06:54
null
UTF-8
R
false
false
604
r
plot2.R
setwd("~/r_scripts/Exploratory analysis/ExData_Plotting1") power_data<-read.csv("household_power_consumption.txt", sep=";" ) library(dplyr) small_data<- filter(power_data, Date=="1/2/2007" | Date=="2/2/2007") small_data1<-mutate(small_data, DT=paste(Date, Time)) small_data1<-mutate(small_data1, DT=as.POSIXct(DT, tz=""...
642257c921bb2fad8c382052da4c02a4f7e7e3a1
ff88daac885a87325c699aeef429efffbb61c08a
/man/mtkReadFactors-methods.Rd
56e9316a293c2ed6616366a19dac4db935e7b37d
[]
no_license
santoshpanda15/mtk
200fe859fefce13b1c317f0b7e26ee86b32c0494
cd69f4411837d656d80b462f9b5d431724a81041
refs/heads/master
2021-01-15T10:07:06.218323
2014-07-15T00:00:00
2014-07-15T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
497
rd
mtkReadFactors-methods.Rd
\name{mtkReadFactors-methods} \alias{mtkReadFactors-methods} \alias{mtkReadFactors} \title{The \code{mtkReadFactor} method} \description{a list of factors} \usage{mtkReadFactors(file, path)} \value{an object of the class \code{mtkDomain}} \arguments{ \item{file}{the name of the file to read.} \item{path}{the path to th...
bc95b4694ff37af474b6c5f5428cd154464ddc4f
1a17e00cca65b12329b68b33d4ad8e86d89b7a82
/components/text_abattements.R
86c39a474d65b97bf4379c06f019b0b7ef7eec2c
[ "CC-BY-4.0", "CC-BY-3.0", "etalab-2.0" ]
permissive
marion-paclot/TH
247aa3f8a1b6ee7ea7fbf279a7814d69dca049ca
8d590da5b1b9e7a327cf12796009008a9172870c
refs/heads/master
2021-06-27T17:24:15.710463
2019-05-27T17:15:59
2019-05-27T17:15:59
142,594,902
20
3
null
2018-08-09T12:28:34
2018-07-27T15:33:37
R
UTF-8
R
false
false
1,636
r
text_abattements.R
# Présentation des abattements text_abattements = "<h4>En fonction de votre situation personnelle, vous pouvez bénéficier d'abattements appliqués à la valeur locative brute de votre bien.</h4> <span><br>La valeur locative nette de votre bien est sa valeur après abattements et elle ne peut être né...
dd1827aacaf4b5efe1531f6e5b3c8899608f8d7f
e5b43b221e0d63f896a0b8bf0be9f1e3bcdb9076
/corpus_processing.R
bfea6aabea754c4a27e7a3fe7075d796e8fb5794
[]
no_license
sztomczyk86/Data_science_capstone
14faa4b35ce46e44b24920068a7db0e4b032914c
97f61b4164e14670c6720a269f8d518d8777d9a6
refs/heads/master
2023-06-21T11:45:36.581962
2021-07-20T14:06:29
2021-07-20T14:06:29
307,304,066
0
0
null
null
null
null
UTF-8
R
false
false
3,813
r
corpus_processing.R
#' pre process the SwiftKey text into a corpus library(tidyverse) library(cld2) # detect language library(quanteda) library(quanteda.textplots) library(quanteda.textstats) set.seed(666) blog <- file("Coursera-SwiftKey/final/en_US/en_US.blogs.txt") news <- file("Coursera-SwiftKey/final/en_US/en_US.news.txt") twitter...
4b966ab2e331772c655023a73c66880068ea6595
58a13652e98ccac9772196c14c69e419ed20574c
/R/subOrigData_v4.R
7ccd339be7380fcdfbc2657713f960d191cd28cd
[]
no_license
SPATIAL-Lab/isorig
41adfab5f1afcc452b16e0b303ee852832023c30
3c04ff08791fb3679d7cc294fe85abfce391169f
refs/heads/master
2021-06-27T07:14:20.359737
2019-08-13T02:56:24
2019-08-13T02:56:24
109,046,694
2
1
null
null
null
null
UTF-8
R
false
false
1,962
r
subOrigData_v4.R
subOrigData <- function(taxon = NULL, group = NULL, mask = NULL) { data("knownOrig") result <- NULL if (!is.null(taxon)){ if (all(taxon %in% unique(knownOrig$Taxon))) { result <- knownOrig[knownOrig$Taxon %in% taxon, ] } else { stop("taxon should be string or string vector given from Ta...
4868fb73ec81bfd5643fe76c37fddfc630000c33
2ac8483d0feb540b59d362759f0ca6b010fd5fe3
/cachematrix.R
ef86b2581625133d649ca0f75e8da68fbf7098f9
[]
no_license
Yuan-Hu-Pharma/ProgrammingAssignment2
e91fd5c83aa7a84c8b5487b4987ad2964e88e720
39e6231c708615bd177cfed3dbfcd989f7d4b419
refs/heads/master
2021-05-28T01:50:08.930968
2014-10-21T05:52:32
2014-10-21T05:52:32
null
0
0
null
null
null
null
UTF-8
R
false
false
2,362
r
cachematrix.R
## This is solution to R Programming Assignment 2 ## This function is used to compute the inverse of the special "matrix", and ## if the inverse has already been calculated (and the matrix has not changed), ## then the cachesolve retrieves the inverse from the cache. ## ## Usage example: ## ## m <- makeCacheMatrix(matr...
92b0be1fe76df1e1bff96415c8905e3bc3d91b10
44598c891266cd295188326f2bb8d7755481e66b
/DbtTools/RetroMAT/R/nanmin.R
cce1f3fd5dfc568877389b664019f0041183003a
[]
no_license
markus-flicke/KD_Projekt_1
09a66f5e2ef06447d4b0408f54487b146d21f1e9
1958c81a92711fb9cd4ccb0ea16ffc6b02a50fe4
refs/heads/master
2020-03-13T23:12:31.501130
2018-05-21T22:25:37
2018-05-21T22:25:37
131,330,787
0
0
null
null
null
null
UTF-8
R
false
false
547
r
nanmin.R
nanmin <- function (Data) { # spaltenweises minimum NaN werden ignoriert ## Compute row and column min for a matrix: if (length(dim(Data)) ==2) { SpaltenMinima <- apply(Data, 2, function(x) min(x,na.rm=TRUE)) SpaltenInd <- NaN # Noch nicht implementiert !!! }else{ SpaltenMinima <- mi...
945ecb0be76ed773f13951f5d1a666eb3bc98e19
515e4237e5124fc0654949be4cf4f4149ae160c0
/R/coalesce_join.R
f481e375eef80d4ad270efa384fa46e53d090e73
[]
no_license
pacific-hake/hakedataUSA
9104a97b7d3c9e8b0f7df24bce6d1df0a64bbbec
f4e7ea3fbcb2d13317e94d9b2990e19799221ac3
refs/heads/main
2023-02-07T22:06:29.045405
2023-02-02T22:12:27
2023-02-02T22:12:27
232,366,659
0
1
null
2023-02-02T22:08:37
2020-01-07T16:26:25
R
UTF-8
R
false
false
1,640
r
coalesce_join.R
#' Mutating join #' #' A join that adds information from matching columns from `y` to `x`. If the #' value in `y` is `NA`, then the value from `x` will be used. Thus, all new #' information can be used to overwrite the old information. #' #' @inheritParams dplyr::full_join #' @param join The {dplyr} function, or functi...
85aa849585ce47cb6eaa776335344c115b0e2f45
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/9799_0/rinput.R
d0b4ed86a994fa0f0f8a712e6295a8273a7ed15c
[]
no_license
DaniBoo/cyanobacteria_project
6a816bb0ccf285842b61bfd3612c176f5877a1fb
be08ff723284b0c38f9c758d3e250c664bbfbf3b
refs/heads/master
2021-01-25T05:28:00.686474
2013-03-23T15:09:39
2013-03-23T15:09:39
null
0
0
null
null
null
null
UTF-8
R
false
false
135
r
rinput.R
library(ape) testtree <- read.tree("9799_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="9799_0_unrooted.txt")
2ffaec72d420bc98ea6a3372284028447b46e1fe
d83b3df1b39b0f49b25e1c61937ce5396c9b10ef
/tests/testthat/utils.R
eeac345feefa70b98b9a768786da8e99ffe888fd
[]
no_license
al2na/bamsignals
bcc55d3db6bb08eb8169dc72be9c5170b4b4aac1
5d69d4ff959f51cb373c9401986d74b7c8fc8f1e
refs/heads/master
2021-01-21T16:31:54.470762
2015-06-15T13:52:27
2015-06-15T13:52:27
null
0
0
null
null
null
null
UTF-8
R
false
false
8,891
r
utils.R
##CONVERT READS FROM A DATA-FRAME-LIKE FORMAT TO BAM #to print integers as characters without weird stuff int2chr <- function(nums){ format(nums, scientific=FALSE, trim=TRUE, justify="none") } isPEData <- function(reads){ all(c("isize", "read1", "pnext") %in% names(reads)) } #converts reads in R format to an...
e170e0bbd9778fda8b54b434ba62871bc2e5b5f6
2203d1591c360ee124b2b0a798f3567ab2bce818
/shiny/ui/ui_aboutPage_ref_analy.R
4a9045bcf925d260906a36fa27cb4b65d294096e
[ "MIT" ]
permissive
sbalci/clinicopathological
65a7e2956fd6257f144489f20a2d9601fc86219a
2f7ebbafb1a68c335e038f68cd48b3538b320c60
refs/heads/master
2022-11-20T02:10:13.633848
2021-04-03T14:48:10
2021-04-03T14:48:10
228,191,123
1
0
MIT
2022-11-10T19:35:30
2019-12-15T13:44:17
R
UTF-8
R
false
false
1,638
r
ui_aboutPage_ref_analy.R
## Page 7c: References for Analysis ---- tabPanel( "References for the Analysis", tags$h3("Package References Used in Analysis"), tags$hr(), tags$b("Download References bib"), tags$br(), tags$br(), downloadButton(outputId = "downloadbib", label = "Download Bibliography"), tags$br()...
09b2f8ae3c6730d1da0d20cdbc7650a507b4c515
312bac9b0575c054208078d7dd7d117d96ca756e
/man/interleave.Rd
3a393fe6d1bf10ae2443fdec190c97f1f53d9cbd
[]
no_license
fbc-studies/fbcutils
ba422fdf5eb1b978ca863cd576d41037fc209c9c
d0fba39e346a7a9356a738b06a94948237f37c14
refs/heads/master
2020-03-25T18:41:48.828357
2019-02-09T14:56:21
2019-02-09T14:56:21
144,044,770
0
0
null
2019-02-19T21:15:08
2018-08-08T17:11:22
R
UTF-8
R
false
true
505
rd
interleave.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/interleave.R \name{interleave} \alias{interleave} \title{Interleave elements of vectors} \usage{ interleave(...) } \arguments{ \item{...}{vectors to be interleaved} } \value{ result of \code{c(...)} ordered to interleave elements of \code{......
b020d2a5afdfd02d3682fba6302e1a2a23cf47c7
a82978f0e25412ac1d60a340009cbf3b5ab0c998
/R/timedom.trunc.R
a000bd62e63199cba785710c590d39307fc880c4
[]
no_license
kidzik/freqdom
560d8b99f46bc7f35e987d9114e7dd3aabe4fa65
fcbfc6958cbb3e96fb02f63acb87dac56bad4dfc
refs/heads/master
2022-05-02T22:41:58.132430
2022-04-18T05:48:16
2022-04-18T05:48:16
73,332,290
2
4
null
null
null
null
UTF-8
R
false
false
750
r
timedom.trunc.R
#' This function removes lags from a linear filter. #' #' @title Choose lags of an object of class \code{timedom} #' @param A an object of class \code{timedom}. #' @param lags a vector which contains a set of lags. These lags must be a subset of the lags defined for timedom object A. Only those lags will be kept, the o...
5a1da959b7bbf4a5a9214a03662c33bdbbbc7d38
29585dff702209dd446c0ab52ceea046c58e384e
/USAboundaries/R/us_counties.R
9e4222eba84624e4abb9651c093a2e4e8044c13f
[]
no_license
ingted/R-Examples
825440ce468ce608c4d73e2af4c0a0213b81c0fe
d0917dbaf698cb8bc0789db0c3ab07453016eab9
refs/heads/master
2020-04-14T12:29:22.336088
2016-07-21T14:01:14
2016-07-21T14:01:14
null
0
0
null
null
null
null
UTF-8
R
false
false
2,434
r
us_counties.R
#' County boundaries (contemporary and historical) #' #' Get the current (2014) boundaries for U.S states, or get historical county #' boundaries for dates between 30 December 1636 and 31 December 2000. #' #' @param map_date The date of the boundaries as some object coercible to a date #' with \code{as.Date()}; the e...
7a1be839df153a53349df018933c422881ba5e9e
217251efc9afe3fce8bcc9f3bf553ebcdc67f280
/ChangedVersionMP.R
9d382bb48dffe1946cb47c99807ea8fb8ef16584
[]
no_license
PTWaade/SocCult-Exam
f36cc8ddf40317aff83a399cd75d86253fe28c90
23fbbfda642dfeaecbbbcad76f27ddfcaf9126bd
refs/heads/master
2020-03-19T04:19:28.665045
2018-06-02T12:38:02
2018-06-02T12:38:02
135,816,236
0
0
null
null
null
null
UTF-8
R
false
false
30,169
r
ChangedVersionMP.R
library(modeest) library(rethinking) #============================================================================== #=========================== parameters ======================================= #=============================================================================== # here we define values for the paramet...
02491edf9bb7e04c6b1a0675a1539b51422f05d3
854967ae768996c755bc85162a0e2225c78fca74
/R/fit.R
c41bdaec8dc7ff21b901e2851e4be2534ddbbb16
[]
no_license
hansenlab/mpra
9909bcf22f74315438db29d8c6b94dbbbd123c78
cb2f463699b40ff9e572428183f08fece71d026b
refs/heads/master
2021-07-18T18:10:06.007647
2021-02-26T16:15:09
2021-02-26T16:15:09
101,249,489
5
2
null
null
null
null
UTF-8
R
false
false
6,094
r
fit.R
mpralm <- function(object, design, aggregate = c("mean", "sum", "none"), normalize = TRUE, block = NULL, model_type = c("indep_groups", "corr_groups"), plot = TRUE, ...) { .is_mpra_or_stop(object) if (nrow(design) != ncol(object)) { stop("Rows of ...
adff5fa9a47e2cfdef65cc63fe096a3481870bbc
10f24c363ca7b7554bc4c2db539204c1ed15d6ca
/run_analysis.R
329043f4a177f2e0f6ca26d19315d71cd4e65f1d
[]
no_license
fengwanwang/GettingandCleaningDataCourseProject
690f6446176288964a868ddf1539d0129593f1fb
b6c5e5d44ae84d4b1463952732b6980932ab25a2
refs/heads/master
2021-01-21T01:46:50.664402
2014-11-24T00:15:47
2014-11-24T00:15:47
null
0
0
null
null
null
null
UTF-8
R
false
false
1,432
r
run_analysis.R
subject_train <- read.table("./train/subject_train.txt") ##read in training data sets x_train <-read.table("./train/X_train.txt") y_train <-read.table("./train/Y_train.txt") subject_test <- read.table("./test/subject_test.txt") ##read in testing data sets x_test <-read.table("./test/X_test.txt") y_test <-read.table(...
e8458dde8b4ab712d6dc904354c97cba0f2f4e11
f993ad4382087bacfe215ce672777502ee869236
/figures_A1_A2/create_figure_A1.R
0e23799dacbec5208aac1074b09830528f6c91ba
[ "MIT" ]
permissive
akubisch/smart_disp
3ffe5f25ed783a36d7a0e96877ab3a6cf9cba3b9
da96cf3f954f5bf1409427f0eedc002b15ba67d4
refs/heads/master
2021-01-18T21:08:38.637480
2016-09-01T08:13:01
2016-09-01T08:13:01
49,948,601
0
0
null
null
null
null
UTF-8
R
false
false
9,477
r
create_figure_A1.R
x11(width=10,height=7) axcex <- 2.25 par(mfrow=c(2,3),oma=c(5,5.5,5,5),mar=c(4,.5,.5,2)) ### standard sigmoid # I=0.2 data <- read.table("sig25_i02_S/data/output.txt",header=T) x <- data$frac_s1 y <- data$frac_draw # in the following we calculate the total fraction of won competitions (*1/3, because every strategy p...
5f0ff738c971c90be5b91d46ac18e51242eacff9
75c419f185ea06113b2ef838336741bdc32f5c29
/R/CombDmExPc.R
d34bb4a1e11db667ffb19c3ecee51f4c0fa553b0
[]
no_license
cran/nmw
21069a6c43ec04d3c4a0de66b543b7489f01e78b
1be8ffa1e096a62032a8c8cc8ea7e8fa032e7ca9
refs/heads/master
2023-05-28T14:20:05.201173
2023-05-10T02:40:02
2023-05-10T02:40:02
84,930,485
1
1
null
null
null
null
UTF-8
R
false
false
1,556
r
CombDmExPc.R
CombDmExPc = function(dm, ex, pc) { ColDm = toupper(colnames(dm)) ColEx = toupper(colnames(ex)) ColPc = toupper(colnames(pc)) colnames(dm) = ColDm colnames(ex) = ColEx colnames(pc) = ColPc if (nrow(dm) != length(unique(dm$ID))) stop("The first table should have only one row for each ID!") ...
85207a247b18f8a0f9424eab5c2e13e379593b7f
31628b963d51246f2a923b56597a4f26c772c819
/plot1.R
6250cb950ff99aff3858f9a1324bb253c718540f
[]
no_license
Frankie5Angels/Tauyanashe-Chitsika-ExData_Plotting1
07e6bb7dd747763b0da68021b8325347145f14d6
46ab060a22d8ff44495b08b72b34654ffdd8bbac
refs/heads/master
2021-09-10T03:05:46.700115
2018-03-20T21:03:57
2018-03-20T21:03:57
126,079,382
0
0
null
null
null
null
UTF-8
R
false
false
509
r
plot1.R
data_file0 <- read.table("household_power_consumption.txt", header = TRUE, sep = ";", na.strings = "?", stringsAsFactors = FALSE, dec = ".") data_file1 <- subset(data_file0, Date %in% c("1/2/2007","2/2/2007")) head(data_file1) class(data_file1$Date) data_file1$Date <- as.Date(data_file1$Date, "%d%m%Y") ...
cc97eb987602934ff306e18abd12654834df950d
04479a0945363db519854f8aeb02d864690fc47a
/R/summarizeMSE.R
2d7b1bfd09beb2dd5f33620d35f751677f6a82f0
[]
no_license
nissandjac/PacifichakeMSE
f398521fd096f0e55b5634ebfe08232b8d9839ef
cf967413fa052c1a843bfaf6f1fc1542afd994ce
refs/heads/master
2022-03-08T14:45:01.953621
2022-03-01T09:21:06
2022-03-01T09:21:06
124,948,437
6
8
null
2020-05-01T06:34:23
2018-03-12T20:37:25
HTML
UTF-8
R
false
false
1,721
r
summarizeMSE.R
#' Title #' #' @param ls.save a saved list of MSE's #' @param perc Percentiles to save #' #' @return Returns summaeized data #' @export #' #' @examples #' summarizeMSE(ls.save) # Get a summary of the MSE summarizeMSE <- function(ls.save, perc = c(0.1,0.9)){ # This function needs to be generalized df.MSE <- purr...
c61c9eed6481106942b1309e1456b98ff77a076f
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/rerf/examples/Predict.Rd.R
43899fe07c0816de3b62dc0778334d3f83b0d548
[]
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
514
r
Predict.Rd.R
library(rerf) ### Name: Predict ### Title: Compute class predictions for each observation in X ### Aliases: Predict ### ** Examples library(rerf) trainIdx <- c(1:40, 51:90, 101:140) X <- as.matrix(iris[, 1:4]) Y <- as.numeric(iris[, 5]) forest <- RerF(X[trainIdx, ], Y[trainIdx], num.cores = 1L, rank.transform = TRU...
dd13d705d26a3ebb0d4ef421767d9be8361a9a42
ce8d13de6aa47617809c5fc4d83ccd961b310104
/man/xgb.opt.depth.Rd
f2f216e443bb81cf7052b30efcb2b4e107949da7
[]
no_license
BruceZhaoR/Laurae
2c701c1ac4812406f09b50e1d80dd33a3ff35327
460ae3ad637f53fbde6d87b7b9b04ac05719a169
refs/heads/master
2021-01-22T12:24:50.084103
2017-03-24T19:35:47
2017-03-24T19:35:47
92,722,642
0
1
null
2017-05-29T08:51:26
2017-05-29T08:51:26
null
UTF-8
R
false
true
5,924
rd
xgb.opt.depth.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/xgb.opt.depth.R \name{xgb.opt.depth} \alias{xgb.opt.depth} \title{xgboost depth automated optimizer} \usage{ xgb.opt.depth(initial = 8, min_depth = 1, max_depth = 25, patience = 2, sd_effect = 0.001, worst_score = 0, learner = NA, better = ...
0ddc0069422ad6b5d86fe186d4c2e2c0ad8b8eba
dd1fa9020beb9b0205a5d05e0026ccae1556d14b
/itwill/R-script/chap17_2_Naive Bayes.R
de0c71e0f815db01dd06b63e69d3e79a8d2528bb
[]
no_license
kimjieun6307/itwill
5a10250b6c13e6be41290e37320b15681af9ad9a
71e427bccd82af9f19a2a032f3a08ff3e1f5911d
refs/heads/master
2022-11-13T11:55:12.502959
2020-07-15T08:14:21
2020-07-15T08:14:21
267,373,834
0
0
null
null
null
null
UTF-8
R
false
false
3,211
r
chap17_2_Naive Bayes.R
# chap17_2_Naive Bayes ################################################## # Naive Bayes 알고리즘 ################################################## # 조건부 확률 적용 예측 # 비교적 성능 우수 # 베이즈 이론 적용 # -> 조건부 확률 이용 # -> 스펨 메시지 분류에 우수함 # 조건부 확률 : 사건 A가 발생한 상태에서 사건 B가 발생할 확률 # P(B|A) = P(A|B) * P(B) / P(A) # ---------------------...
a784f5afe134474f4f893baaee12772b6feb57fb
2721957eb5c2b3e9afe2f726fee6aa4155adb8ca
/R_playtime/weight_updated.R
5106b064b9b72c2fcbe0a71aef864bd4ae1040fb
[]
no_license
dianekaplan/playtime
2f97b82dcadc7d2e6c7eb471b4a0c6563d38fc64
2bbc2d7ca29148e4c7dc6b4dbfaaad0321d189dc
refs/heads/master
2021-01-15T09:20:10.037323
2016-10-10T01:08:53
2016-10-10T01:08:53
28,461,048
0
0
null
null
null
null
UTF-8
R
false
false
931
r
weight_updated.R
# -*- coding: utf-8 -*- #weight.R #Diane Kaplan #messing around #December 31, 2014 # load data saved from download Excel file as 'csv' #all_data <- read.csv("weight.csv") install.packages ("rJava") install.packages ("xlsx") library("xlsx") all_data <- read.xlsx("weightxlsx.xlsx", SheetName= "2014") #Error: could not...
dd9f1a1b26836cff7fb7a5a600fae5b012800602
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/compositions/examples/CompLinModCo.Rd.R
dc7960e4902d36408200412c41d1ce2bdc236164
[]
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
538
r
CompLinModCo.Rd.R
library(compositions) ### Name: CompLinModCoReg ### Title: Compositional Linear Model of Coregionalisation ### Aliases: CompLinModCoReg ### Keywords: multivariate ### ** Examples ## Not run: ##D data(juraset) ##D X <- with(juraset,cbind(X,Y)) ##D comp <- acomp(juraset,c("Cd","Cu","Pb","Co","Cr")) ##D CompLinModCoR...
673b0b7fd2b1b425db9a32d676580cd3315ea22f
6e5b5050ff779266b83be384e0372fd507044b4d
/setup/PAK_detail/create_params_set.R
ced2b81775b51885f85afc11a8d2f256fd1b69c8
[]
no_license
cmmid/covidm_reports
b3968b096d40a830d775a0fa3eac7afee1e3e56e
b87f48cb81c4ef3bbbd221295ea47fad17c27b13
refs/heads/master
2022-12-05T23:36:42.314743
2020-08-10T06:38:15
2020-08-10T06:38:15
254,046,734
9
6
null
2020-08-05T20:14:54
2020-04-08T09:43:35
R
UTF-8
R
false
false
6,244
r
create_params_set.R
#' default simulation parameters suppressPackageStartupMessages({ require(data.table) }) .args <- if (interactive()) c( "~/Dropbox/covidm_reports/hpc_detailed/worldpop5yr.lfs.csv", "../covidm", "~/Dropbox/covidm_reports/hpc_detailed" # going to be writing admin#/param_set.rds ) else commandArgs(trailingOnly = ...
f890e974aa82e1269fdbf751bf2881241268e995
dc960b86670393c9b66d4a3c3851a71ae53ef84b
/plot2.R
e94852bd957c5d65e293372b250c24c4faf9239f
[]
no_license
nikly/ExData_Plotting1
bbd62a90a199b5f54fbea18131731b0e9cc43967
02664b997f5a863838b45cbe838d71c4b3f1be95
refs/heads/master
2021-01-15T20:19:01.594189
2014-06-08T19:42:25
2014-06-08T19:42:25
null
0
0
null
null
null
null
UTF-8
R
false
false
692
r
plot2.R
#plot2 - line graph of Global Active Power Data vs datetime library(sqldf) #load sqldf library for importing #read in select data for required dates data <- read.csv.sql("household_power_consumption.txt", sql ='select * from file where Date in ("1/2/2007","2/2/2007")', header=TRUE, sep=";") data$datetime <- paste(data[...
2e91d9a21bcbbe54278d36309c1c9036ab7df292
5c714607243a555a69eed41aba0b53f8747cd495
/papillary/main/deseq.R
20739bd7b3c93f1d45da581c6cac1b414e9dfd5c
[]
no_license
xulijunji/Stage-Prediction-of-Cancer
5a7912d66f92e73deacedd12446490b79c78cea8
4924468fa35a504c991fdd0051174d0489d3ff21
refs/heads/master
2021-05-06T06:45:57.242407
2017-12-11T09:26:20
2017-12-11T09:26:20
null
0
0
null
null
null
null
UTF-8
R
false
false
7,333
r
deseq.R
library(DESeq2) load('environment/stages.level.comb.RData') load('environment/dds_tumor_reported_normal_stage.RData') load('environment/dds_tumor_reported.RData') load('environment/first_trial_shrunken_classifier.RData') load('environment/dds_object.RData') load('environment/accuracy_feature/classifer_list.RData') load...
3751f0f2e62d6a7fc849218da95f6b49b9826956
f14fdd5a70e68a3e259da340167d90d5024fd653
/tests/testthat/test_get_essence_data.R
6db03f6d03fc0567296fb3925176a055812cf3e3
[ "Apache-2.0", "LicenseRef-scancode-public-domain", "CC0-1.0", "LicenseRef-scancode-us-govt-public-domain" ]
permissive
CDCgov/Rnssp
5e4f5ef1f39824b067105ab14cd4503025fdb86f
afbcb807f4c413335f6c80aab5d4c6bcad742f70
refs/heads/master
2023-08-17T11:38:00.473337
2023-02-11T16:35:07
2023-02-11T16:35:07
369,309,753
41
10
Apache-2.0
2023-07-12T14:22:38
2021-05-20T18:57:21
R
UTF-8
R
false
false
363
r
test_get_essence_data.R
context("test-get_essence_data") test_that("get_essence_data() function works!", { url <- "http://httpbin.org/json" handle <- Credentials$new("", "") expect_error(get_essence_data(url, start_date = "2021-02-15", end_date = "2021-02-15", profile = handle)) expect_error(get...
4a8bbabe5aefacd733dce39d512be7faf5d60dc6
29585dff702209dd446c0ab52ceea046c58e384e
/HWEBayes/R/DirichNormSat.R
488e2897d7e6f1cc6847055ee99ba9af3831b7cc
[]
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
365
r
DirichNormSat.R
DirichNormSat <- function(nvec,bvec){ if (length(nvec) != length(bvec) ) stop("DirichNormSat: Dimension of nvec and bvec differ\n") DirichNormSat <- lfactorial(sum(nvec)) - sum(lfactorial(nvec)) + lgamma(sum(bvec)) - sum(lgamma(bvec)) + sum(lgamma(nvec+bvec)) - lgamma(sum(nvec)+sum(bvec)) DirichNor...
053dac7939322f59b67e142d4eff37d0754dd2f6
2b2aad1308ce11fc70d7057cd32a74edc1a39af0
/man/hru_lc_ratio.Rd
94b2a23003bb4c4b0e4fae625077c389b5d2302e
[]
no_license
ln1267/dWaSSIC
495ec35e17db1782cbf4689809f14849fb9d007d
a85007f8e596525074f7d0985b8db1141005468c
refs/heads/master
2022-03-31T18:47:00.652333
2019-11-27T22:49:15
2019-11-27T22:49:15
69,312,882
0
0
null
null
null
null
UTF-8
R
false
true
720
rd
hru_lc_ratio.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Functions.R \name{hru_lc_ratio} \alias{hru_lc_ratio} \title{Zonal vegetation coverage for each Hru in dWaSSI-C} \usage{ hru_lc_ratio(classname, shp, field = NULL) } \arguments{ \item{classname}{a raster of each hru it can be vegetation type o...
2815191158fb58a88dbe9623e7f015b110cb44bd
08b6bd3f6e4501df7344b8621d6392456343c5fb
/R/globalVariables.R
db76bdf5825bd1880fbff5a57dba96bbb6d72b41
[]
no_license
rabutler-usbr/RWcheck
1e68453f3f9ae6719a742b68201a2d48a7b56a31
3ab321a04ecf632aa40d49b3b87f6453b58ff8e8
refs/heads/master
2021-01-09T04:42:21.244935
2020-02-22T00:28:20
2020-02-22T00:28:20
242,249,320
0
0
null
2020-02-21T23:36:10
2020-02-21T23:36:09
null
UTF-8
R
false
false
392
r
globalVariables.R
# global variables added so that there are no notes when running R CMD check if(getRversion() >= "2.15.1"){ # global variables necessary because of createSysCondTable from_createSysCondTable <- c('name','passes', 'fails', 'error', 'write.table', 'Timestep', 'TraceNumber', 'ObjectSlot...
d37746f072067db411df279dfafe5f528fcd5bbe
81f49f2828dd48350528bb5b17077b7af486461b
/man/vcov.gllvm.Rd
fbadba6bbc93c4db918f995d6a4c51379c76074c
[]
no_license
JenniNiku/gllvm
497a9a0b6be94080a47803afcf7948a53d33125c
9eaf0f66605e32f70ffd050b2c0c3bb051866b81
refs/heads/master
2023-08-03T11:15:33.087171
2023-08-01T06:45:42
2023-08-01T06:45:42
91,061,910
39
16
null
2023-06-13T09:58:56
2017-05-12T07:06:17
R
UTF-8
R
false
true
1,089
rd
vcov.gllvm.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/vcov.gllvm.R \name{vcov.gllvm} \alias{vcov.gllvm} \alias{vcov} \title{Returns variance-covariance matrix of coefficients in a GLLVM.} \usage{ \method{vcov}{gllvm}(object, ...) } \arguments{ \item{object}{an object of class 'gllvm'.} \item{.....
7da9f943b96cfcb79968b4e9bf1a62217db0b120
26f1cb213312ad204072dadd6b1163bcc0fa1bba
/exemples/chap8/8.29.R
1e90ae53322f4bccdb266a61953eff5dfc43853e
[]
no_license
fmigone/livreR
a9b6f61a0aab902fb3b07fc49ea7dd642b65bdc3
998df678da1559ee03438c439335db796a416f2f
refs/heads/master
2020-04-22T05:47:14.083087
2018-05-01T14:39:10
2018-05-01T14:39:10
null
0
0
null
null
null
null
UTF-8
R
false
false
395
r
8.29.R
library(ggplot2) # fonctions graphiques # diagramme en bâtons côte à côte selon le type # de location et la politique d'annulation ggplot(houses)+ aes(x = gsub(" ","\n",room_type), fill = cancellation_policy) + geom_bar(position = "dodge")+ labs(x="Type de bien loué")+ # quelques ajouts pour gé...
e8dc2508eeaccd63efa8030a53b86f5388217519
67aceca655f47d98d8e62e484cd4e606b72c8870
/Project Euler/005-Least_ComMultiple.R
26d2e4123eab700db7202f4ba945a0b054bada9b
[]
no_license
QiliWu/leetcode-and-Project-Euler
130cf8e2d50707687b8a4c97426dbdaddeca902b
ade9a06861ec97ffb5ad33d83c9d9e93b043abcd
refs/heads/master
2021-09-21T16:49:31.539051
2018-08-29T05:32:48
2018-08-29T05:32:48
103,649,704
0
0
null
null
null
null
UTF-8
R
false
false
2,065
r
005-Least_ComMultiple.R
#2520 is the smallest number that can be divided by each of the numbers from 1 to 10 without any remainder. #What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20? # 最小公倍数=两数的乘积/最大公约(因)数, 解题时要避免和最大公约(因)数问题混淆。 最小公倍数的适用范围:分数的加减法,中国剩余定理(正确的题在最小公倍数内有解,有唯一的解)。[2] 因为,素数是不能被1和自身数以外...
51441de6725f7550639dfbc1fe60d08fc9c957da
bec379c045e3d0781f546fa486ef6244f8ec6cc6
/man/AcuityView.Rd
1cf3fab09095a3ca59d4cecd84d44b7d397cc491
[]
no_license
joaoventuraoliveira/AcuityView
717cb5406b5f6b0770172403487ab3ec66b4456d
b0465ec9ff20eb5e1c2c6c15d13d08b680282f75
refs/heads/master
2021-07-06T12:05:08.139275
2017-09-28T18:03:45
2017-09-28T18:03:45
null
0
0
null
null
null
null
UTF-8
R
false
true
2,364
rd
AcuityView.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/AcuityView.R \name{AcuityView} \alias{AcuityView} \title{AcuityView} \usage{ AcuityView(photo = NULL, distance = 2, realWidth = 2, eyeResolutionX = 0.2, eyeResolutionY = NULL, plot = T, output = "test.jpg") } \arguments{ \item{photo}{The ...
5a1f6a35373059f3d551c883927bf449a2c3d646
0a906cf8b1b7da2aea87de958e3662870df49727
/borrowr/inst/testfiles/matchesToCor/libFuzzer_matchesToCor/matchesToCor_valgrind_files/1609958588-test.R
0ae8dd811f914c0d82a95b3d6b000b5e380f58de
[]
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
256
r
1609958588-test.R
testlist <- list(x = structure(c(1.0096967731662e+175, 3.94604863549254e-114, 1.16674439868909e+224, 1.51741194958664e-152, 0, 9.18962101264719e-322, 5.14291266410837e+25), .Dim = c(1L, 7L))) result <- do.call(borrowr:::matchesToCor,testlist) str(result)
36ec1af63ca8b5c0a08a6a21fd5e7165ff758c40
a71006b657906eb1e67f89edbb22c6a1e7db8dbe
/MFA/tests/testthat/test-Lg.R
94429b8e60f306b9b677bed0ccef35ec4d32a824
[]
no_license
ucb243-fall16-mfa/alfa
dd83e6abf25462590c274e9cc79a8af0eb630a8f
eabf630c6cff11546e77d5fc75a448c56f1f97bc
refs/heads/master
2020-06-11T13:39:13.985078
2016-12-17T03:34:29
2016-12-17T03:34:29
75,654,759
0
0
null
null
null
null
UTF-8
R
false
false
239
r
test-Lg.R
context("Lg arguments") test_that("check_numeric with ok vectors", { expect_true(check_numeric(matrix(1:9,3,3))) }) test_that("check_numeric fails with invalid argument",{ expect_error(check_numeric(matrix(c("a","b","c","d"),2,2))) })
fdfa34478dff924b56586ac2fb21a22c45494423
180dd82b3c98dd23bab21ba2566277cd3a2a3d51
/R/transform_options.R
a867b7eba61faef2b0abcade21df07964e7215e9
[ "Apache-2.0" ]
permissive
andrew-MET/harpIO
2e90861751a2b47ec8cdebde3de6d35414575cb7
976ddeca6337c31e7682d7a371552942cbb4cc66
refs/heads/master
2023-05-10T11:55:28.830541
2023-01-11T09:18:03
2023-01-11T09:18:03
275,838,990
0
3
NOASSERTION
2022-11-08T12:24:30
2020-06-29T14:27:58
R
UTF-8
R
false
false
8,198
r
transform_options.R
#' Generate Transformation Options #' #' When reading gridded data, three transformations are available: interpolate, #' regrid and xsection. Each of these transformations requires their own set of #' options, and these functions are used to generate those options. #' #' \code{interpolate_opts} generates options for in...
4686d8b75184259e7311a957efd1b8df922fb5d1
ddc2b096e681398f576a95e40c7fd366b65f50a2
/SDPSimulations/SubstitutionsMK.R
d68af7ceddf36fc1eb806d0d8440014cbbf0c451
[]
no_license
sbellan61/SDPSimulations
f334d96743c90d657045a673fbff309106e45fce
cfc80b116beafabe3e3aed99429fb03d58dc85db
refs/heads/master
2021-03-27T20:48:25.857117
2017-09-19T20:13:37
2017-09-19T20:13:37
21,144,447
1
0
null
null
null
null
UTF-8
R
false
false
12,648
r
SubstitutionsMK.R
#################################################################################################### ## Makes control files for each analysis within which each line giving one R CMD BATCH command line ## to run on a cluster. ###############################################################################################...
7b60d5ad1e20d02592a0988e2a69a1d0323fd435
0e7f8960beaaa7ce0403cbbb06089a436883d662
/Textmining/DemoR/Bigrams.R
f5dafcbb3484fc1c1be62a3b33a40b360ed680fa
[]
no_license
urosgodnov/BigData
511bfb69d483974731838d705ade4c05c6f67f04
9c501dbad764dfe3f3ac264664f36486b9706587
refs/heads/master
2021-01-25T04:59:07.757782
2017-06-11T16:30:54
2017-06-11T16:30:54
93,498,133
0
0
null
null
null
null
UTF-8
R
false
false
1,493
r
Bigrams.R
library(readxl) library(dplyr) library(tidyverse) library(tidytext) data<-read.csv(file="TA.csv",stringsAsFactors = FALSE, sep=";") bigrams <- select(data,Review) %>% unnest_tokens(bigram, Review, token = "ngrams", n = 2) words <- c("room", "food") bigram_counts <- bigrams %>% count(bigram, sort = TRUE) %>% ...
5efc000966cee2ac36e779f1cc3d8f21e6c92d22
c6fff18e936e11b5145112f20bdcd881832881a5
/R/methods_path.R
bac5b975a04d38d48d196fa8c7f5c26f3c740cf9
[]
no_license
hugogogo/natural
01c738409fd9d51f803e74003ca68cf2b39a6fce
745ee2468ed255633cf23ac0937d5d517c39942e
refs/heads/master
2021-09-04T09:11:59.102798
2018-01-17T16:01:25
2018-01-17T16:01:25
115,482,957
1
0
null
null
null
null
UTF-8
R
false
false
1,773
r
methods_path.R
#' print a natural.path object #' #' This function is adapted from the \pkg{ggb} R package. #' #' @param x an object of class \code{natural.path}, as returned by #' \code{\link{nlasso_path}} and \code{\link{olasso_path}} #' @param ... additional argument(not used here, only for S3 generic/method consistency) #' ...
e0f268f5930cc19fbed1e393efba6c23c40ff07d
8cf4416f7e4c9016d85a616aaae3fbf0d48cf9a4
/r/Old/SparrowAttenuation20100713.r
9bbd71e4167ab586d367d0b9a421be491eb60d54
[]
no_license
willbmisled/MRB1
35f9bb4ef9279f55b1348b8b3fbda6543ddbc70d
af39fb697255df15ae41131d76c6fcf552a55a70
refs/heads/master
2020-07-20T08:43:00.460675
2017-06-14T14:09:38
2017-06-14T14:09:38
94,337,564
0
0
null
null
null
null
UTF-8
R
false
false
2,945
r
SparrowAttenuation20100713.r
#Get the MRB1 data load(file='M:/Net MyDocuments/EPA/Data/Sparrow/MRB1Sparrow/R/MRB120100630.rda') ###################### #Calculate N_NR(mg/l) = Nin-Nitrogen removed based on Harrison et al 2009 Rcal_N<-(NLA$Ninput-(NLA$TN*10**-3*NLA$Outflow))/NLA$Ninput #estimate % Nitrogen Removed VfCal_N<--NLA$HL*log(1-Rcal_N) summ...
c775044f397bd8a7c30363e51238db55d5126520
156688b10a61b43f95a5bd2eefa2b11a3aee238f
/R/fviz_dend.R
fc6af2f44f0a241bd0fd33b7461e5dc5749d1acb
[]
no_license
qfazille/factoextra
821526929302c7df88510f4ba50bd933af1fcf46
38bce51c8a20dfc345dafa85f13b65ef86663cb8
refs/heads/master
2021-09-26T12:32:44.605756
2018-10-30T08:32:11
2018-10-30T08:32:11
111,820,008
1
0
null
2017-11-23T14:38:52
2017-11-23T14:38:52
null
UTF-8
R
false
false
19,407
r
fviz_dend.R
#' Enhanced Visualization of Dendrogram #' #' @description Draws easily beautiful dendrograms using either R base plot or #' ggplot2. Provides also an option for drawing a circular dendrogram and #' phylogenic trees. #' @param x an object of class dendrogram, hclust, agnes, diana, hcut, #' hkmeans or HCPC (Fa...
3422fb3920a57771829ae5b3e13828647a36d9b9
9048f030f96788ccb46f0b50dda2daebad828a3a
/AprendiendoQD1.R
269bc7eb3aed4613153561c39289491af4421fe2
[]
no_license
carlosrmngucuenca/RmethodsSearch
e15841f61c983329af2b3b28810f85d5c9941fe7
27182e30b62fdb31ae59a516a6c199dcbe508083
refs/heads/master
2020-09-04T16:17:08.783501
2019-11-17T15:42:33
2019-11-17T15:42:33
219,798,814
0
0
null
null
null
null
UTF-8
R
false
false
14,671
r
AprendiendoQD1.R
library("igraph") nodos=list() nodos2ways=list() opcionmenu<- 0 arnod<-read.csv("ArchivoPrubas.csv",header = TRUE, sep = ",",stringsAsFactors = FALSE) dataf=data.frame(arnod) datap<-dataf[!((dataf$fin)==""),c(1,2,3)] node<-sort(union(unique(datap$Inicio),unique(datap$fin)),decreasing = FALSE) Migrafo<-Grafo$new() Mig...
dd409f8041358c1e440b11df80a3ae5415819684
5e71c21eb28c13184810796e95b7a460ecc0d553
/code.r
dcb4e7f8d7945041d86956ab0980341a273ed9a1
[ "Apache-2.0" ]
permissive
FrancescoTranquillo/MethComp
8b187bfb6f3fbe912fa228ecb12156dced17147f
75ce6f24705bcf1671d403279d618dd673f71970
refs/heads/master
2021-04-15T08:27:09.525960
2018-08-01T15:42:41
2018-08-01T15:42:41
126,165,859
1
0
null
null
null
null
UTF-8
R
false
false
849
r
code.r
#load library library(MethComp) #import data df<-read.csv("gatti.csv", header = TRUE, sep = ";", dec= ",", stringsAsFactors = FALSE) # # #ignore columns # df<-df[,1:22] # # head(df) # str(df) # #delete record number 99 # df<-df[-c(393:396),] # # df_Meth<-Meth(df, 2,1,3,7) # # plot(df_Meth) #conv...
fdb9f76386a5a0957d8e76065938da509964b9bc
4476502e4fed662b9d761c83e352c4aed3f2a1c2
/GIT_NOTE/06_R_Quant/02_종목선택/step26_멀티팩터 포트폴리오.R
aa3ea883ced9af35ecb6b486bb26bffa0d090357
[]
no_license
yeon4032/STUDY
7772ef57ed7f1d5ccc13e0a679dbfab9589982f3
d7ccfa509c68960f7b196705b172e267678ef593
refs/heads/main
2023-07-31T18:34:52.573979
2021-09-16T07:45:57
2021-09-16T07:45:57
407,009,836
0
0
null
null
null
null
UTF-8
R
false
false
4,063
r
step26_멀티팩터 포트폴리오.R
#step26_멀티팩터 포트폴리오 # 퀄리티: 자기자본이익률, 매출총이익, 영업활동현금흐름 # 밸류: PER, PBR, PSR, PCR # 모멘텀: 3개월 수익률, 6개월 수익률, 12개월 수익률 # 변경 가능 library(xts) library(stringr) # 데이터 KOR_fs = readRDS('data/KOR_fs.Rds') KOR_value = read.csv('data/KOR_value.csv', row.names = 1, stringsAsFactors = FALSE) KOR_price = read.csv('...
aed321aeaf3df630f207d0d2b86be097d8ada446
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/longROC/examples/roc.Rd.R
5c8bda65d0ece61a6edfa8fcb4937d54e803c309
[]
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,031
r
roc.Rd.R
library(longROC) ### Name: roc ### Title: ROC curve ### Aliases: roc ### ** Examples # parameters n=100 tt=3 Tmax=10 u=1.5 s=2 vtimes=c(0,1,2,5) # generate data ngrid=5000 ts=seq(0,Tmax,length=ngrid) X2=matrix(rnorm(n*ngrid,0,0.1),n,ngrid) for(i in 1:n) { sa=sample(ngrid/6,1) vals=sample(3,1)-1 X2[i,1:sa[1]]=val...
0d826c4873c16407a8810d61acf3c51109f74745
ee63641e44dde1eaa517a412dda43f9578317f0b
/geocode-failures/geocoder-misses.R
b38187a0b4bad137eba095273ce576d23e8ac513
[ "MIT" ]
permissive
Allegheny-CountyStats/Airflow-Docker
d1ea9cc6d691c1680ad447f2b4032567a3d4d2cd
61623f2fe9080d09e157f8b97930fc33b5b412f3
refs/heads/master
2023-09-04T05:02:43.629827
2023-09-01T20:13:10
2023-09-01T20:13:10
230,480,811
0
0
MIT
2023-09-11T13:32:36
2019-12-27T16:57:33
R
UTF-8
R
false
false
1,241
r
geocoder-misses.R
#!/usr/bin/env Rscript require(DBI) require(dplyr) # dotenv::load_dot_env() wh_host <- Sys.getenv('WH_HOST') wh_db <- Sys.getenv('WH_DB') wh_user <- Sys.getenv('WH_USER') wh_pass <- Sys.getenv('WH_PASS') schema <- Sys.getenv('schema', 'Master') source_table <- Sys.getenv('TABLE') t_cols <- Sys.getenv('T_COLS') t_co...
c754c9dde6b740a07288702de9b18f6ff2b0881f
eac541ea67c4a1dc859218e323be126e0639ff42
/R/update_article.R
8fa9c9f7a81727243885004c1499d6a418f1daab
[ "MIT" ]
permissive
DaveParr/dev.to.ol
d1967075ec0febfe5f1643755b868c2568903f7d
85bbebfd8f62af6fa6acfec03f8c6151d361bce2
refs/heads/main
2022-12-03T06:51:03.387115
2020-08-05T13:34:13
2020-08-05T13:34:13
263,746,442
1
0
null
null
null
null
UTF-8
R
false
false
1,974
r
update_article.R
#' @title Update a post on dev.to #' @description Updates an existing post on dev.to by id with content from and .Rmd #' @param id The id of the post to update as a string #' @param file The path to the file #' @param key Your API key, Default: NA #' @return A response object #' @details The id of the post must be supp...
4ae2449c409495d5501a098eb9778a58677cb11d
b6ea5b277d98f8accad9fe0ddaaa349168067a6b
/Code/legacy_code/lehd_sample_code.R
62e064207d7f22e2b3abc64d8e701ef5ac29bcdc
[]
no_license
shiweipsu/Street-Improvement-Impact
55ef214d7ca94c698ef7aa3c2b2732e32e7927cb
4ad81501acb383a71ba0e7119d2675b2c5a25331
refs/heads/master
2021-01-21T22:34:56.614493
2019-06-06T23:20:16
2019-06-06T23:20:16
102,161,316
0
0
null
null
null
null
UTF-8
R
false
false
728
r
lehd_sample_code.R
if(!require(pacman)){install.packages("pacman");library(pacman)} p_load(readr, stringr, sf, purrr, tigris, dplyr) options(tigris_class = "sf", tigris_use_cache = TRUE) devtools::install_github("jamgreen/lehdr") library(lehdr) years <- 2012:2014 or_lehd <- map(years, grab_lodes, state = "or", job_type = "JT00", lodes_...
720096b2f0091893d7a3edb4cfc9e33b278c6393
a5c8aa1ed795d6b34b53ec33bc39a0670e1ca29f
/code/04-positioning/42_sequential-g.R
cc5ad0145e9504419385314a5ded886da3235765
[]
no_license
mikedecr/dissertation
6a15f45647f1205f6f3fe901108a5917f231e473
06ec3d304821ee09a28e42ba0bc11318d774b5ed
refs/heads/main
2021-06-24T08:52:45.349588
2020-11-14T17:57:54
2020-11-14T17:57:54
282,011,623
2
0
null
null
null
null
UTF-8
R
false
false
18,313
r
42_sequential-g.R
# ---------------------------------------------------- # implement sequential-g estimator # post APW this is on the to-do list. # ---------------------------------------------------- library("here") library("magrittr") library("tidyverse") library("boxr"); box_auth() library("rstan") options(mc.cores = parallel::...
3f72823f0bb6884e5c1c9b93ce544975c6544078
36c629eb5f7829a7465975b06c6fc55f0b90dd0e
/R/qmval.R
0b733e34a2a53f37edee359184ddaafa0650860c
[]
no_license
NickSpyrison/cranvas
3971869e5c5d19681b405b59bd6e1e4365ecb7cd
929f60dc75a8f34c053d5c3c08427cca170f7aa1
refs/heads/master
2020-11-30T11:53:47.617494
2012-03-30T22:11:05
2012-03-30T22:11:05
null
0
0
null
null
null
null
UTF-8
R
false
false
2,769
r
qmval.R
##' Draw a missing value plot ##' ##' A missing value plot shows the counts or proportions of missing ##' values in each variable. It is essentially a stacked bar plot, ##' i.e. a bar plot of variables split by the logical vectors of ##' missingness of observations. ##' ##' As usual, common interactions are defined in ...
0dfb0e71b19f4d7094b9cd58ecefc36300df9abe
8877d31ec9ebe7a0868adfc3d94d57250101807f
/plot1.R
25eb137b4d5ac532aee8cd3ed6cea08e99f01cba
[]
no_license
neelb84/ExData_Plotting1
d0ad10571df9eee611fa546f3e9e79a561dd5af1
619ca9893190df773a7f2ac12a778a28a22d403c
refs/heads/master
2021-01-22T12:02:17.728130
2015-04-12T18:51:20
2015-04-12T18:51:20
33,823,730
0
0
null
2015-04-12T16:10:22
2015-04-12T16:10:21
null
UTF-8
R
false
false
651
r
plot1.R
#Pull 2 days data tmp1<-subset((read.table("household_power_consumption.txt",sep=";",header=TRUE,na.strings="?")), as.Date(Date,format='%d/%m/%Y')>='2007-02-01' & as.Date(Date,format='%d/%m/%Y')<='2007-02-02') #Create the Date-Time variable from Date and Time, rest are pulled as numeric so NO change requ...
277de3959e49186ccb3694b39a0538735d9d8d45
a3ca886f83e3962f354e209baf11a8a470539de3
/ui.R
3ca2cf8b8027343dece8dd8c81bac506258af85b
[]
no_license
DSCourse001/cars
2a7daacfbc605c895232d07f46ab3bbbaa6053d8
6ee3cb214714b75fa544c105ac8025359487b843
refs/heads/master
2021-01-10T17:57:07.315157
2015-09-27T22:32:07
2015-09-27T22:32:07
43,267,838
0
0
null
null
null
null
UTF-8
R
false
false
343
r
ui.R
library(shiny) shinyUI(fluidPage( titlePanel("Cars Stopping Distance"), sidebarLayout( sidebarPanel( selectInput("system", "System of Measurement:", c("Metric","Imperial")), uiOutput("speed"), downloadButton("savePNG", "Save to PNG") ), mainPanel( plotOutput("disp...
c40a14edeec674b557204e0a0d8ebc73f09515ce
faa379ebd606e774d3511d09274bc766272a2614
/script.R
c2dbfd5cce8463fdf4f60b126189e57e30f16a4f
[]
no_license
sivacharansrc/Mushroom-Classification
5e842c92ddc39e4b7928d5f7a93c402a488608f5
737d0f46c86d72a5ddd62b04c0102caa4a0d1ea1
refs/heads/master
2021-05-05T20:56:02.991069
2017-12-28T03:30:01
2017-12-28T03:30:01
115,401,346
1
0
null
null
null
null
UTF-8
R
false
false
9,347
r
script.R
####### SETTING UP THE ENVIRONMENT rm(list = ls()) options(scipen = 999) library(dplyr) library(randomForest) library(caret) ### READING SOURCE FILE #### dataSource <- read.csv("~/R Projects/Mushroom-Classification/src/mushrooms.csv", stringsAsFactors = F) df <- dataSource %>% rename(classification ...
1749ffb78fd8f40928209106bb789677857dd9af
58785a9764947a6b9d448d0816ede97b2c22063e
/plot1.R
704325aa9dab086f93825ea8f70a985cf96f7a15
[]
no_license
ErazeX/ExData_Plotting1
cfe134bd9b0956dd2db45d46d91f83dc1c2bbde2
055c7d2f9bb8130af384bc0c3aa10f19d96bd3f2
refs/heads/master
2021-01-24T22:02:00.452206
2015-05-10T21:30:41
2015-05-10T21:30:41
26,224,135
0
0
null
null
null
null
UTF-8
R
false
false
519
r
plot1.R
power <- read.csv("~/R working/household_power_consumption.txt", sep=";",stringsAsFactors = FALSE) power$Date <- as.Date(power$Date,format = "%d/%m/%Y") graphdata <- power[power$Date >= as.Date("2007/2/1") & power$Date <= as.Date("2007/2/2"),] graphdata$Global_active_power <- as.numeric(graphdata$Global_active_power) p...
2502b06c649caa2743252c4e6776e95991478d02
4906c11ac419e3c0d7d17471e8490468f6d62ebf
/man/extract_length.Rd
fe92fab763639a7e91f4574476c63e4a72c7c7a9
[]
no_license
joelpick/measuRe
22648c95a38e1d95d5b28f9dce4d39d67227ef0b
a561071a24f908d557a4700993b57468fd031152
refs/heads/master
2022-12-22T05:14:32.099127
2020-09-24T14:47:56
2020-09-24T14:47:56
292,667,851
1
2
null
2020-09-06T18:44:11
2020-09-03T20:00:13
R
UTF-8
R
false
true
391
rd
extract_length.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/length_area_functions.R \name{extract_length} \alias{extract_length} \title{extract_length Function} \usage{ extract_length(data, metric = "pixels", pixels_per = NULL) } \arguments{ \item{data}{} \item{pixels_per}{} } \description{ Extract t...
0a017e18a1a629e715a9df6f221d358d081410d3
de2452990be8fa6f7b325f8777d520f61725384a
/predict-455/assignment3/assignment_3_jump_start_V003.r
7efc21d79d9fe0860e78ee1f48e44a3a3a638db7
[]
no_license
retropean/mspa-apps
7be84f78567be03b2e369f441afb47f33da14faf
96732c38be3a2ef85893f19a9485bdcb91dfd781
refs/heads/master
2021-01-22T23:53:48.961671
2018-06-25T18:54:54
2018-06-25T18:54:54
33,203,196
0
0
null
null
null
null
UTF-8
R
false
false
2,759
r
assignment_3_jump_start_V003.r
# Week 6 # Individual Assignment 3 # Jump Start Code v3 # Set working directory # The below references the Desktop on my Mac setwd("C:/Users/00811289/Desktop/assignment3") # Visualizing Time Jump-Start Code for Financial Time Series # begin by installing the packages quantmod, lubridate, latticeExtra, and zoo # in...
924e9ee7fa86ab397096646dd474c6770e5c5392
1170116acf04e3e7d5baf8563fd36ee313917573
/man/bench_time.Rd
4e45a7bf4d7d53bbf983190b52e510b730d151d1
[ "MIT" ]
permissive
r-lib/bench
9cbd5403ea2ac07c38066fd922edd0af756f064c
8d4ab5ea8219f00cc476a4702df91d2b18f47b12
refs/heads/main
2023-05-11T03:42:08.981583
2023-05-04T17:09:03
2023-05-04T17:09:03
128,975,118
218
33
NOASSERTION
2023-05-04T17:07:41
2018-04-10T18:01:13
R
UTF-8
R
false
true
1,013
rd
bench_time.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bench_time.R \name{bench_time} \alias{bench_time} \alias{system_time} \title{Measure Process CPU and real time that an expression used.} \usage{ bench_time(expr) } \arguments{ \item{expr}{A expression to be timed.} } \value{ A \code{bench_tim...
2a7951c8a39580f591c97b425fa17bc166bc6dd4
c789f078b8eeef6219d088822a6c8f9ae091b3dd
/R/rmvhyper.R
3ced2cfcf471ad5aa47dcfee237811df92db8918
[]
no_license
cran/tpsDesign
ba6077aae84e503f5dd82b19bf0a9c52885b59f9
a4c17859df70bcd96af4c51af20c773bf0b9c8f4
refs/heads/master
2016-09-06T08:36:16.915845
2011-06-09T00:00:00
2011-06-09T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
422
r
rmvhyper.R
rmvhyper <- function(Mk, m) { ## K <- length(Mk) M <- sum(Mk) ## if(m > M) mk <- Mk ## if(m <= M) { if(K == 1) mk <- m if(K > 1) { mk <- rep(0, K) mk[1] <- rhyper(1, Mk[1], M - Mk[1], m) if(K > 2) { for(j in 2:(K-1)) mk[j] <- rhyper(1, Mk[j], M - sum(Mk[1...
7915767b0a4fcdb44f40a3ff798dbd456bc11924
5febc1e3f2dd766ff664f8e0ae79002072359bde
/man/mcell_calc_one_batch_stats.Rd
6d7c80c65e85071897f45c83ca7efcb1c8c4d4fb
[ "MIT" ]
permissive
tanaylab/metacell
0eff965982c9dcf27d545b4097e413c8f3ae051c
ff482b0827cc48e5a7ddfb9c48d6c6417f438031
refs/heads/master
2023-08-04T05:16:09.473351
2023-07-25T13:37:46
2023-07-25T13:37:46
196,806,305
89
30
NOASSERTION
2023-07-25T13:38:07
2019-07-14T07:20:34
R
UTF-8
R
false
true
475
rd
mcell_calc_one_batch_stats.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/scmat_batch_stat.r \name{mcell_calc_one_batch_stats} \alias{mcell_calc_one_batch_stats} \title{calc batch stats - essentially umi distribution} \usage{ mcell_calc_one_batch_stats(scmat, batch_id) } \arguments{ \item{scmat}{- a matrix object} ...