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
18457705cdd0841bedb141428e94ba2aa772de25
bb139658ab79133499b95b97f8e3ede66da56b26
/r/functions.R
8d1c086b480be9271b1fdb320b7f079024e5c018
[ "LicenseRef-scancode-public-domain", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
abiener/MEPS-summary-tables
96fd68e6b98c7cb8574abd4a915d29e1257a041e
4f8b7acda89e384b645c78f53441f85c88ef65a9
refs/heads/master
2021-05-10T10:02:48.506480
2018-01-25T20:25:31
2018-01-25T20:25:31
118,946,214
0
0
null
2018-01-25T17:40:07
2018-01-25T17:40:07
null
UTF-8
R
false
false
23,885
r
functions.R
# Run functions ----------------------------------------------------------------- # USE AND EXP, PMED, COND standardize <- function(df, stat, rowGrp, colGrp, gather = T){ out <- df %>% select(-contains("FALSE")) key <- c(stat, paste0(stat, "_se")) if(ncol(out) > 4 & gather) { out <- out %>% gather_wide(r...
f4826440fb36b049a00b6ab6802031d6d57c3ecc
58ce5212730d664ae19f2e29abadb5517473866a
/man/plotVarImpBase.Rd
37c9ff4d10a70aa3206a53742da867407213c3fb
[]
no_license
wtcooper/vizrd
0430980693fa57d83210e63756253be9c1dc1a2a
3850bb1ec6a2576a6d674a828c9e9359b6a9b681
refs/heads/master
2021-06-06T21:16:26.266916
2017-08-30T18:46:09
2017-08-30T18:46:09
41,006,164
0
1
null
null
null
null
UTF-8
R
false
true
686
rd
plotVarImpBase.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/PlotsModel.r \name{plotVarImpBase} \alias{plotVarImpBase} \title{Bar plot of variable importances, passing just a dataframe of the name, importance, and response (target levels, faceted if multinomial). Note: user must sort and set up the da...
08fd71c65ed4978412eaa6c73f68d16926ef40cf
96e6210bf4b9c0573621772bf42790e7b675c37c
/Data Analysis/YaoZhang_Project1ExerciseA.R
7ffdeae966713410856e6ad6c80bd23c6969c85d
[]
no_license
ohana1128/HW
ede2dd666df37c2a22b4523c21f95c6b23586c2a
2aadc47bb54be650cf34536b88add39ced1caacd
refs/heads/master
2021-01-19T04:15:37.060084
2016-09-13T20:19:35
2016-09-13T20:19:35
45,416,689
0
0
null
null
null
null
UTF-8
R
false
false
5,999
r
YaoZhang_Project1ExerciseA.R
#Exercise A.1 Data Analysis df <- read.csv("forestfires.csv") head(df) #1. How many observations are there in the dataset? 517 observations nrow(df) #2. How many observations are there with a fire (i.e. area>0)? 270 observations nrow(subset(df, area>0)) #3. How many observations are there with rain (i.e. rain>0)? 8 ...
5624f20e5d5aa932ac7d4318961296e02d3205d8
46d4fa34bf4ab67e1c9e2c40935f007c1ce7d279
/t-SNE/solucion.R
49e9d6162aad2139df0a8cb0d8788106b3391784
[]
no_license
huan-lui/unsupervised-learning
62ca07317126ebcb6ab56f2ca8d7e14dd69d6977
0f555c5055a6691896825b5c0b0036d708a07533
refs/heads/master
2023-03-16T23:27:40.936593
2019-07-13T07:55:28
2019-07-13T07:55:42
null
0
0
null
null
null
null
UTF-8
R
false
false
3,812
r
solucion.R
#---------------------------------------------------------------------------------------------------# # ___ _ _ _ ____ _ _ _____ # |_ _| _ __ (_) ___ (_) ___ _ | |_ / ___| | \ | | | ____| # | | | '_ \ | | / __| | | / _ \ (_) | __| ...
5bf45f60d8377f85bca406bf229d9cadef34d8c8
171e5018d6c684ad34c833c2dd09f27d02451cf1
/survey data cleaning.R
fc6c3f63798772f1449c8500a1678fe72a154adc
[ "MIT" ]
permissive
JessieZ32/2020_US_election
f4dcd19f2c79d4a4d721cfb98e99a1a7aec40bf7
1b14118c9f92c8f33e0ef283a39e3f3be4d1d6f8
refs/heads/main
2023-01-03T00:19:53.794253
2020-11-03T04:57:13
2020-11-03T04:57:13
309,255,724
0
0
null
null
null
null
UTF-8
R
false
false
7,108
r
survey data cleaning.R
#### Preamble #### # Purpose: Prepare and clean the survey data downloaded # from Democracy Fund + UCLA Nationscape at # https://www.voterstudygroup.org/publication/nationscape-data-set # Author: Yijie Zhao, Yifan Xu, Yuyan Xu and Yuze Kang # Data: 1 November 2020 # Contact: yijie.zhao@mail.utoronto.ca # License: MIT ...
ce77e0e52a000755581e77bd69ae7503e1c9c86e
a300a631ba269f2528caec69157a9591102206ba
/scrape-links.R
c87ea8e5eb29d0755658085c10c7722e4ce3ad18
[]
no_license
MilosVeres/Web-Scraping
e55435f011100d9a07f17e1a81bdbcf9fc3a1ecb
64d54f4397120025bcf3e3dd1ff2dc6484563d91
refs/heads/master
2020-08-02T01:33:51.740889
2019-09-26T23:28:47
2019-09-26T23:28:47
211,193,920
0
0
null
null
null
null
UTF-8
R
false
false
219
r
scrape-links.R
#Extract links a<-html_nodes(ppage,'h3 a') links<-html_attr(a,'href') links<-links[-c(18,23)] #----------------------------------------- links<-str_replace(links,'^(/node/\\d+)','https://www.mercyhurst.edu\\1')
cf9420008f13db13da044c2ee52c0426364e024d
7f026bc3deee32e4732c13cd318cb32119c7dd69
/R/zlag.R
e68d04ef62135ff59c7bcddcc8bc5a9b0b1db24f
[]
no_license
cran/TSA
109803777566ded77104af3a01e288c749daa97b
5050db06a645f31f2a37ac81a90fc5d2c590a25c
refs/heads/master
2022-07-28T07:23:53.254418
2022-07-05T10:36:22
2022-07-05T10:36:22
17,693,886
1
8
null
null
null
null
UTF-8
R
false
false
229
r
zlag.R
#' @export zlag <- function (x, d = 1) { if (d != as.integer(d) || d < 0) stop("d must be a non-negative integer") if (d == 0) return(x) else return(c(rep(NA, d), rev(rev(x)[-(1:d)]))) }
fb07f72370a447eb002a99c0f6532bcdb25b9abd
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/ddalpha/R/ddalphaf.test.r
f87cc9133977e7b8d55c4aa526c40cda5f580063
[]
no_license
akhikolla/testpackages
62ccaeed866e2194652b65e7360987b3b20df7e7
01259c3543febc89955ea5b79f3a08d3afe57e95
refs/heads/master
2023-02-18T03:50:28.288006
2021-01-18T13:23:32
2021-01-18T13:23:32
329,981,898
7
1
null
null
null
null
UTF-8
R
false
false
3,235
r
ddalphaf.test.r
ddalphaf.test <- function(learn, learnlabels, test, testlabels, disc.type = c("LS", "comp"), ...){ ops <- options(warn = -1) on.exit(options(ops)) disc.type <- match.arg(disc.type) ftrain = switch(disc.type, "LS" = ddalphaf.train, "comp" = compclassf.train ) fclas...
a4cee075d7d3cf8e448b7910be0dce8720c34624
9fbfd13af6074f3b04819722edb29f7ec07031ee
/man/nemenyiTest.Rd
1c3f5f216c4a31f026b621f331024c67869709c0
[]
no_license
dedenistiawan/scmamp
3cdd03ccb6b1b2cd843e7f99fc4ddc00a04b8f85
e435f9d48078f93ab49b23a19fdb6ef6e12ea5f9
refs/heads/master
2023-06-03T06:53:11.183762
2021-06-16T15:14:23
2021-06-16T15:14:23
null
0
0
null
null
null
null
UTF-8
R
false
true
1,069
rd
nemenyiTest.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tests.R \name{nemenyiTest} \alias{nemenyiTest} \title{Nemenyi test} \usage{ nemenyiTest(data, alpha = 0.05) } \arguments{ \item{data}{Matrix or data frame where each algorithm is in a column} \item{alpha}{Significance level} } \value{ A list...
2c9ab1c8736b644debf3182253c87634b7f7c56d
4344ff77c3206403c9743d4db78082b6a97a007f
/cachematrix.R
c8fa93ca8be265589033f2a0704e38b4f9046c49
[]
no_license
tcortes/ProgrammingAssignment2
ede9d7ba4eda15593150075e0ce7ee69c33c62d2
dbaf23fd4832fa91a1f9d54438903304c700144c
refs/heads/master
2021-01-18T03:36:38.128791
2014-07-25T08:57:47
2014-07-25T08:57:47
null
0
0
null
null
null
null
UTF-8
R
false
false
1,071
r
cachematrix.R
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function # Creates a matrix that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { m <- NULL set <- function(y) { x <<- y m <<- NULL } get <- function() x setso...
299b2f089598158fc117beef9b9ad9d91b24bb1c
a7b3339c9e0d6a6871e37bdf7b23a12b7f664cae
/man/vlr.Rd
8d6215fc6dd466306c9e8902fe5f4cbea405c684
[ "MIT" ]
permissive
llrs/propr
d5fabc1da6c69cee48295d40a20a828e120a7c12
857f9626780833d58e818fad357c6308d8a8c940
refs/heads/master
2020-03-30T03:52:39.911853
2018-09-28T09:38:08
2018-09-28T09:38:08
150,712,043
0
0
null
2018-09-28T08:47:57
2018-09-28T08:47:57
null
UTF-8
R
false
true
996
rd
vlr.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/propr-functions.R \name{vlr} \alias{vlr} \title{Variance of logratios} \usage{ vlr(X, check = FALSE) } \arguments{ \item{X}{A matrix or dataframe of positive numeric values} \item{check}{A logical scalar} } \value{ The symmetric matrix \eqn{...
e99d91847a721e72a543bf861f4eefd10987711e
f84a5a44bce130c3143ef2cfa8d9560d54c5cb09
/Trait Fits/TraitFits_bc.R
d13b282795f8c1646f937936eedc1f59c247020f
[ "MIT" ]
permissive
mshocket/Six-Viruses-Temp
d0b42c506a03f0ac195806e7a2e91a6bbc927977
e4a5e7172847ba0b6e780a018c310745a00ed2ad
refs/heads/master
2022-12-16T08:43:39.148251
2020-09-08T05:20:24
2020-09-08T05:20:24
285,398,456
0
1
null
null
null
null
UTF-8
R
false
false
76,308
r
TraitFits_bc.R
## Marta Shocket, Stanford University / UCLA, marta.shocket@gmail.com ## Started Jan 2018, Updated August 2020 ## ## Purpose: Use Bayesian Inference (JAGS) to fit temperature-dependent functions for vector competence tarits (bc, b, c) for six arboviruses in many Culex and Aedes species ## ## Contents: 1) Set-up,load pa...
27f95e5ea5decf42f10b8b34cb3178af15fd3819
73252de538ec2f706a9bd6d9ec798dfc398226fe
/model/website_model.r
4adbe17d3a407e4024c72e7d395b99bb9b3cffeb
[]
no_license
fergusKe/infoHero_heatmap
e3354d2f2928f4f3773e3adcb3c8de84fbb59400
b59f026e42073ae2fcb31b2062273e780789a557
refs/heads/master
2020-12-24T09:23:58.575470
2017-03-06T18:02:41
2017-03-06T18:02:41
73,292,897
0
1
null
2017-01-10T11:13:57
2016-11-09T14:49:38
JavaScript
UTF-8
R
false
false
2,762
r
website_model.r
#!/usr/bin/env Rscript library(rpart) library(randomForest) library(randomForestSRC) args <- commandArgs(trailingOnly=TRUE) if( length(args) == 0 ){ stop( "必須輸入處理的檔案名稱!", call.=FALSE ) } filename <- args[1] # "/Users/brianpan/Desktop/infoHero_heatmap/model/" current_path <- args[2] # random forest rf_feature_rdata...
551d96f230398f1988e4f440d5674d4668584b25
3f57260050ef3f71e931f30781f8cf3168ec8c75
/Archive/analysis_main.R
442affdac4682b9b81fccae86518e541e521441f
[]
no_license
LeonardoViotti/pmrj
f83271c05ffd931816d571a9d3315d0d6f6caa17
b5d2610d0c29397cdac0066a32893a74ba9085a7
refs/heads/master
2022-07-14T09:49:53.826005
2020-11-18T15:01:16
2020-11-18T15:01:16
184,453,181
0
0
null
2019-07-31T03:16:34
2019-05-01T17:21:39
Stata
UTF-8
R
false
false
16,485
r
analysis_main.R
#------------------------------------------------------------------------------# # SIM - Main Regressions #------------------------------------------------------------------------------# # These are all defined in MASTER.R, only use to explicitly overwrite master. OVERWRITE_MASTER_SWITCHES = F if(OVERWRITE_MAST...
31d51fe5c1e17ac590a82e531221a2704b663476
407631f4bfd859a0d93aab969b683906ccfdc0be
/CHC-analysis-abs-Barplots_ST_20200826.R
ea10d45da9ed0c998e597a56e20a4d3d79ae4115
[]
no_license
SandraTretter/Pc
bab7296d31c4aa36e5c982a6328e853b4e4cadda
04ab8ad4cea90250c4e2e9b1a712919786307771
refs/heads/master
2022-12-09T23:13:36.817979
2020-09-02T08:01:03
2020-09-02T08:01:03
291,988,944
0
0
null
null
null
null
UTF-8
R
false
false
5,672
r
CHC-analysis-abs-Barplots_ST_20200826.R
# Sandra Tretter # 26.08.2020 #### Pogonomyrmex californicus, CHC Analyse #--------------------------------------------------------------------- # content: 0. required packages/libraries # 1. read in and transform the data # 2. CHC classes # 3. Barplots # ...
1fd900295604413bcb0faed17ab77a6bd9ea42d2
3e9d42c74e22a89a4735f074215ef5e4f2190d9c
/R/calc_loglik.R
631509401662e0de07211623ec7628d15619899a
[]
no_license
cran/SAVER
49c1e9992af6dd78f5693fd75bff92d723427167
521ca66faf26cfcc659ca249ca1fc5086c4804a6
refs/heads/master
2020-04-01T07:42:04.173678
2019-11-13T18:30:03
2019-11-13T18:30:03
153,000,060
0
0
null
null
null
null
UTF-8
R
false
false
2,015
r
calc_loglik.R
#' Calculates marginal likelihood #' #' Calculates the marginal likelihood given the prediction under constant #' coefficient of variation (a), Fano factor (b), and variance (k). #' #' \code{calc.loglik.a} returns the shifted negative log-likelihood under #' constant coefficient of variation. #' \code{calc.logli...
550139ef299f40e92f3c6d9855744d4b3701bb5d
a29832f97abdaafd1490ec4e7a38e85505ed3790
/tests/testthat/testsmoothSpline.R
f543fc7af347655912a878c0acc5065e70c05626
[]
no_license
cran/growthPheno
edfd87b031ff311e8c0bd47da986a7f2ddd2bded
6bb455e5dac33deb46536a3162238da06e30a508
refs/heads/master
2023-08-31T22:58:01.201522
2023-08-22T16:00:02
2023-08-22T18:31:00
196,967,533
0
1
null
null
null
null
UTF-8
R
false
false
3,922
r
testsmoothSpline.R
cat("#### Test smoothSpline using NCSS with leaf data when there are missing values\n") test_that("leaf_smoothSpline", { skip_if_not_installed("growthPheno") skip_on_cran() library(dae) library(ggplot2) library(growthPheno) # A small subset of Exp 270 leaf tracking data data(testSpline) ...
5b93c14e58a33d9d5c19772d9da18c5db8070c87
0b724301700e023b057d9bd14cf992aa8379b874
/R/phillips_1996_viz.R
57e4acf9d442091386f169a181067ffe2f8634ae
[ "MIT" ]
permissive
dindiarto/HIV-Model-Phillips-1996
4e275d3dcc3b52c3f8b0f90142c68a9ba4df5010
877bd5ec2d04983e5b574634f34aedc6acc086bf
refs/heads/master
2022-12-04T02:35:21.430000
2020-08-13T23:04:07
2020-08-13T23:04:07
282,621,475
0
1
null
null
null
null
UTF-8
R
false
false
1,331
r
phillips_1996_viz.R
# convert solution to a dataframe s_CD4_HIV_dynamics_solution <- as.data.frame(s_CD4_HIV_dynamics_solution) # Number of virus particles in the bloodstream Vplot <- ggplot(s_CD4_HIV_dynamics_solution) + geom_line(aes(time, V), color = "red") + theme_classic() + scale_y_continuous(trans = "log10") + annotation...
97c3df41c3c21cf0ee7009301504cd7d936ddc15
4edb5a7010aca41383da8ac7f36c7c5613104e6c
/deepdrone/R/unet_shallow.R
52a206d363a2bfb82bca9f5af9c5a7de89d61b1a
[ "MIT" ]
permissive
sholtkamp/Master_Thesis
081ed34cbc8aa5297fd233778a149042f5a9bdfa
b26b4c20e30d89d4a21ebbf5971217ce87bc222f
refs/heads/master
2021-01-05T17:49:14.054047
2020-12-07T08:51:25
2020-12-07T08:51:25
241,094,556
1
2
null
null
null
null
UTF-8
R
false
false
1,696
r
unet_shallow.R
build_unet_shallow <- function(input_shape = c(128, 128, 3), num_classes = 2){ #---Input------------------------------------------------------------------------------------- inputs <- layer_input(name = "input_1", shape = input_shape) down4 <- inputs %>% layer_conv_2d(filters = 64, kernel_size = c(3, 3), nam...
6a53a3d5bb033579b7e933b00eaa05d6d08bd45c
cbd0b3ff8c7bb3bb5aac96f006229ccff11be95b
/man/baytsDDSpatial.Rd
e2fa65dd5aa869ce9bd997ac17bbdac22717be33
[ "CC-BY-4.0" ]
permissive
rbavery/bayts
5d2cf68bb6e40ddeef96d1845d276710a872e3f5
e0ae2d98357738d0b9aa6a61c5634ab7cddcd40d
refs/heads/master
2023-03-29T02:54:45.541461
2021-04-02T21:23:47
2021-04-02T21:23:47
342,713,122
0
0
NOASSERTION
2021-02-26T22:15:24
2021-02-26T22:07:20
R
UTF-8
R
false
false
3,346
rd
baytsDDSpatial.Rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/baytsDDSpatial.R \name{baytsDDSpatial} \alias{baytsDDSpatial} \title{Function to run baytsDD on (mulitple) raster bricks} \usage{ baytsDDSpatial(bL = list(), datesL = list(), pdfsdL = list(), distNFL = list(), modL = list(), formula...
90fc80cecd263d661e2a0f037c8485d57976e615
b2f0f100905477dffcc9bfb2cce3f37e1e218fa2
/debug.R
d1837c5973b3d8c7c2937df382186c9ad6d3a58b
[]
no_license
MurisonWardell/GAGA
70ec2a610c3c7f20c80ad5d02193d34dbd6bfc29
e165786afae46ccc0c5c7d496659415d1b03e49a
refs/heads/master
2020-12-24T17:44:39.057916
2014-01-17T19:56:09
2014-01-17T19:56:09
null
0
0
null
null
null
null
UTF-8
R
false
false
2,090
r
debug.R
## Testing that gaga works setwd("C:/Users/cwardell/Desktop/temp") ## Load library library(GAGA) ## Load synthetic data set #data("gaga_synthetic_data","gaga_synthetic_data_annotation") data("hidden_gaga") data("gaga_simple_data") data("gaga_synthetic_data") data("gaga_synthetic_data_jittered") data("BYB1_G07_pruned...
def150a6c6988189438a423a332bdf4b8d245d42
a238180d0e91513c7d3ca5c8283f8711453427a1
/PCA and Clustering Analysis.R
4ed96b40a65a5516094925f3ccff5e811b98ba75
[]
no_license
hingu-parth/airbnb-host-analysis-for-newyork
fdbfade770be36462d1bb95b8c70f455381696bd
e3be747460489a8a1d08ab46ce78fc9eb4578e85
refs/heads/master
2022-03-08T21:51:17.498445
2019-11-08T01:16:58
2019-11-08T01:16:58
null
0
0
null
null
null
null
UTF-8
R
false
false
21,799
r
PCA and Clustering Analysis.R
#Airbnb Datset EDA #Author: Parth Hingu ##Importing libraries library(data.table) library(ggplot2) # tidyverse data visualization package library(stringr) library(tmap) # for static and interactive maps library(leaflet) # for interactive maps library(mapview) # for interactive maps library(shiny) # f...
fe371301daa2d9e64101ea121f8cf22348ebf8ef
93f20ab83047f2541ecf31b3ead1a5a8235379d5
/man/BinaryMatrix.Rd
a2a254a26bacc663ff0009f106c7d103a763a9af
[]
no_license
mbeccuti/PGS
9f5081bd7d4d7c0cb6b4a3178b68e89857c6bc5d
949821cce0045c24d3241d97186bcbd31c6a76f8
refs/heads/master
2021-01-21T15:27:11.200024
2017-05-25T13:46:32
2017-05-25T13:46:32
91,844,674
0
0
null
null
null
null
UTF-8
R
false
false
1,756
rd
BinaryMatrix.Rd
\name{BinaryMatrix} \alias{BinaryMatrix} %- Also NEED an '\alias' for EACH other topic documented here. \title{ BinaryMatrix } \description{ BinaryMatrix takes the file 'Good_Predictors' created by Predictive_Power function and creates a list of files containing the final signature, the two lists of peculiar genes for ...
a329759c3db94ea72bf9f956ecf3ec15970215d8
fb6a38938893dfb929e9739bc3fb8a406bbba5fa
/evaluation/usage/inspection.r
e3da52380ee5eb767e89c3eb2e5ac4df73ea2b24
[]
no_license
maenu/papers-nullability-emse2018-data
dd8f2faab46696b9037323770d5360a78a60af2a
3d2226726f3f679e86e0b8fecc4e608c62413c3f
refs/heads/master
2020-03-12T14:48:23.946716
2018-04-23T10:02:47
2018-04-23T10:02:47
130,676,564
0
0
null
null
null
null
UTF-8
R
false
false
28,036
r
inspection.r
library(tidyr) library(dplyr) library(readr) library(stringr) library(eulerr) library(ggplot2) reduce.annotation <- function(nullness) { # verify that jaif is consistent nullness <- data.frame(nullness = nullness) %>% filter(nullness != 'Unknown', nullness != '',!is.na(nullness)) %>% unique() ...
6dbde8433b5e714f2d26a9b0a613588f722c44cc
18347ef9bc1f489e63e83cf03338b7211d21b7c8
/tests/testthat/test-extract_variable.R
28958edc974647f61f1129e24625bdef9accfac7
[ "BSD-3-Clause", "CC-BY-4.0" ]
permissive
stan-dev/posterior
cd1e0778f5b930b7ef97b9c1f09167f162fb9d7e
55e92336c2984be1a2487cdd489552a07e273d70
refs/heads/master
2023-08-18T07:53:15.023052
2023-08-07T08:13:36
2023-08-07T08:13:36
212,145,446
105
20
NOASSERTION
2023-08-07T08:13:37
2019-10-01T16:30:28
R
UTF-8
R
false
false
1,467
r
test-extract_variable.R
test_that("extract_variable works the same for different formats", { draws_array <- as_draws_array(example_draws()) mu_array <- extract_variable(draws_array, "mu") draws_df <- as_draws_df(example_draws()) mu_df <- extract_variable(draws_df, "mu") expect_equal(mu_df, mu_array) draws_list <- as_draws_list(e...
7d7c926d62850ccfc4f275e736c2fbae72d60eb9
749a5921cc2353d0bc2c630cf5df17c53cc36b76
/datastructures/4_Lists.R
055abcd6c7dfb39b26dd603200f75918cb6a4fc3
[]
no_license
julmue/rlang_mnl_datastructures
60bc59a4eb27bd2300c4c4ef5c02b71ed4d50313
2acaa713725fab141ce3f9b7c26871fb12371f08
refs/heads/master
2020-04-14T21:24:38.011919
2019-01-04T16:03:24
2019-01-04T16:03:24
164,127,561
0
0
null
null
null
null
UTF-8
R
false
false
2,786
r
4_Lists.R
# ----------------------------------------------------------------------------- # Lists # In contrast to homogenous vectors (same mode for every element) # lists are heterogenous (differnt modes for different elements possible) # Lists are central to R and form the basis to Data-Frames and OOP. # Creation of lists # ...
022f0f7953df9f1fa5525c7d69bbda7e4907383d
df7f969a5b69d7d1065f9237bfa86ef166a94509
/man/predict.MclustDA.Rd
56f1d2a789f9b6013754673e87129bacd2dbdca9
[]
no_license
cran/mclust
81468701065ce54422acf16830bd7fa50bc5f3e4
30ee549b91dfb4e60afbf90fad27ca80213b9c82
refs/heads/master
2022-11-13T09:50:33.457389
2022-10-31T09:57:37
2022-10-31T09:57:37
17,697,361
19
23
null
2016-10-27T17:16:38
2014-03-13T05:17:48
HTML
UTF-8
R
false
false
1,581
rd
predict.MclustDA.Rd
\name{predict.MclustDA} \alias{predict.MclustDA} \title{Classify multivariate observations by Gaussian finite mixture modeling} \description{Classify multivariate observations based on Gaussian finite mixture models estimated by \code{\link{MclustDA}}.} \usage{ \method{predict}{MclustDA}(object, newdata, prop = ob...
4842aa7eb7b2132ad4d985756a74c11c0b605b38
4bbf0e5ea2b5ebde88acda15522aac478126e79a
/R/get_completed_data_moments.R
d91c1b2829b3785148a902686a0eff768853a3fc
[ "MIT" ]
permissive
rasel-biswas/miLRT
c74c18bce113726f7d626754b87c7c6de0fc6a1f
d4ea261b92bc8db2cb1f0a00e453bf8bcce2c5e3
refs/heads/main
2023-04-06T16:20:41.436230
2021-04-20T13:32:08
2021-04-20T13:32:08
353,214,733
0
0
null
null
null
null
UTF-8
R
false
false
824
r
get_completed_data_moments.R
#' This function computes completed-data moments. #' #' (This is an internal function). #' #' @return A list containing the completed-data estimates and #' their variance-covariance matrices. #' #' @import mice #' @export get_completed_data_moments <- function(model, null_model, sandwich = FALSE){ names_1 <- names(...
f77c49286c56fcbbac04037df2553473382881d9
6a28ba69be875841ddc9e71ca6af5956110efcb2
/Schaum'S_Outline_Series_-_Theory_And_Problems_Of_Statistics_by_Murray_R._Spiegel/CH12/EX12.12.4/Ex12_12_4.R
a0810766740b4ecf8bba76672f59cbe809cf2612
[]
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
223
r
Ex12_12_4.R
#PAGE=250 k=6 o=c(25,17,15,23,24,16) f=20 s=sum((o-f)**2)/f s x=0.95 x=qchisq(x,df=k-1) x=round(x,digits = 1) x if (s<x) l<-TRUE l x=0.05 x=qchisq(x,df=k-1) x=round(x,digits = 2) x if (s>x) l<-FALSE l
e96636e0ecae6bc2f007f85bc2dd4dd7d48cda93
e8bd1221d5edf301183e222ae215afa7f3a4c166
/man/interpolate.sst.Rd
3470c728dd4990c32e883771e84d416a3d422990
[]
no_license
dill/inlabru
1b9a581ae5b56246fcd748db8df051ae4ff8bfa8
e2c38a34d591f712b57cbe430c24bb0a82f03ae4
refs/heads/master
2021-01-22T22:53:21.963501
2017-03-18T09:30:08
2017-03-18T09:30:08
null
0
0
null
null
null
null
UTF-8
R
false
true
493
rd
interpolate.sst.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sst.R \name{interpolate.sst} \alias{interpolate.sst} \title{Interpolate sea surface temperature (SST)} \usage{ interpolate.sst(sst, loc) } \arguments{ \item{sst}{Spatial SST estimate or list of such} \item{loc}{Locations to interpolate SST a...
35d49f88734de64b9c5eaba8324ac5547a0be63d
81f518e29b4cac7cd61ea8e2c895d4f7edfd209b
/R/cor_test_gamma.R
ef604c7ff6d475aa6795aff5377abc3c4714534c
[]
no_license
cran/correlation
5e2d691df07edb5aa69aba35f3780e19ffefcf57
db4fd0ce345a0dcee08de2a9c1810f79b5575b63
refs/heads/master
2023-04-13T04:06:37.689083
2023-04-06T08:23:26
2023-04-06T08:23:26
247,916,232
0
0
null
null
null
null
UTF-8
R
false
false
743
r
cor_test_gamma.R
#' @keywords internal .cor_test_gamma <- function(data, x, y, ci = 0.95, ...) { var_x <- .complete_variable_x(data, x, y) var_y <- .complete_variable_y(data, x, y) # Get r value Rx <- outer(var_x, var_x, function(u, v) sign(u - v)) Ry <- outer(var_y, var_y, function(u, v) sign(u - v)) S1 <- Rx * Ry...
63b9df073c10cd5088fefe4f9219b524bf01241c
3fe2e31a49590c6b0c3965c12cb87c8e3e784146
/tests/testthat/test-functions.R.R
20e27db5f8a70e642f962ce78e8b27813d37437b
[]
no_license
MarkPados/Earthquakes.capstone.project
5e2bd947d4b603e3e30da0fd33acccd6411cf78c
442a422d9a0860db79a08442ad398079d0df6c84
refs/heads/master
2020-03-25T02:23:44.116024
2018-08-16T10:59:39
2018-08-16T10:59:39
143,287,690
0
0
null
null
null
null
UTF-8
R
false
false
1,780
r
test-functions.R.R
context("testthat.R") test_that("geom_timeline returns a ggplot", { library(dplyr) raw_data <- Earthquakes.capstone.project::eq_read_data() clean_data <- Earthquakes.capstone.project::eq_clean_data(raw_data) eq_chart <- clean_data %>% filter(COUNTRY %in% c("HUNGARY", "SLOVAKIA", "CZECH REPUBLIC", "CROAT...
f5b3be24d9e2900ab063ce4ee43a45cb73d23849
4e1db2cc0f8b612510e9ddb94f5ec16964985cff
/cachematrix.R
2b27653380779228c790f8426ce030ae92fa7c67
[]
no_license
orsleyk/ProgrammingAssignment2
8f9c61bc18fab0d78707f0ec5b04d3f54b7e2f5c
e8043f9c93995bb032ed3d740e1c4ab6cdd4d7e2
refs/heads/master
2020-03-21T10:47:41.331200
2018-06-24T10:54:17
2018-06-24T10:54:17
138,471,410
0
0
null
2018-06-24T10:03:50
2018-06-24T10:03:49
null
UTF-8
R
false
false
635
r
cachematrix.R
##Inverts a given matrix makeCacheMatrix <- function(X = matrix()) { Z = NULL set_val <- function(A){ X <<- A Z <<- NULL } get_val <-function() X set_inverse <- function(inverse) Z <<- inverse get_inverse <- function() Z list(set_val = set_val, get_val = get_val, set...
92dda624ab48213d14342f72ce3b0163cf895612
b2692cad2f83c97518acade33ef2e03b74b6e0df
/R/sub2ind.R
a4e607029816d578004bc27a08283f8f1fbc7858
[]
no_license
neuroimaginador/ni.quantification
03e55e6f1eaaacebaa008ca3b045a307b78b9cfb
5a3495c1b685eb573aa3f14d5c52129d3be69003
refs/heads/master
2020-04-04T19:14:51.144154
2018-10-22T09:01:01
2018-10-22T09:01:01
156,198,036
0
0
null
null
null
null
UTF-8
R
false
false
819
r
sub2ind.R
#' Convert multi-dimensional indexing to linear indexing #' @title Linear Index from Multi-dimensional Subscripts #' #' @author Brain Dynamics #' #' @param dims The dimensions of the array. #' @param subs Multi-dimensional subscript to convert to linear indices. #' @param offset (optional, default = 1) The of...
d0dc32f8c6322293bf7f04fb00295b756868656a
1ccc905832d7035cd95272e634fc3b4ca9e90579
/codes/lec21VECppp.R
7677beec0e9aab1048a7f95fa5d3fb28ad27c247
[]
no_license
jduras/TTU-ECO5316
8c3219e8598d6c395789b2e67b301c33ea96a2cd
ee02656e439a334a97001952709097a1f9355130
refs/heads/master
2020-04-10T22:27:38.549633
2019-05-20T01:42:22
2019-05-20T01:42:22
161,325,258
3
10
null
2019-05-20T16:09:04
2018-12-11T11:42:02
R
UTF-8
R
false
false
2,534
r
lec21VECppp.R
library(magrittr) library(readxl) library(tidyquant) library(timetk) library(urca) library(vars) library(ggfortify) theme_set(theme_bw() + theme(strip.background = element_blank(), strip.text.x = element_text(hjust = 0))) # import data on price indices and exchange rates ppp_raw_tbl <- rea...
384075fb368dd39f8ac48a85d681c49262905c5a
f01bcca93ea70435b1d30e36ed65a58a548ba29d
/man/compareGroups-internal.Rd
ece83707729db2a986a5eade3561be28130116f7
[]
no_license
isubirana/compareGroups
e250a6b517ade341488f7682ca59c47ce8bab11d
103523e7bd547bd3be7070034a5dc85d5b117127
refs/heads/master
2023-07-09T09:05:27.205884
2023-06-28T15:03:16
2023-06-28T15:03:16
100,396,090
32
16
null
2022-10-21T08:56:25
2017-08-15T16:17:40
HTML
UTF-8
R
false
false
3,730
rd
compareGroups-internal.Rd
% --- compareGroups-internal.Rd --- \name{compareGroups-internal} \alias{compareGroups-internal} \alias{chisq.test2} \alias{combn2} \alias{compare.i} \alias{descrip} \alias{descripSurv} \alias{flip} \alias{format2} \alias{logrank.pval} \alias{signifdec.i} \alias{signifdec} \alias{summ.i} \alias{table.i} \alias{...
eda46f8734cca356e0e3fa40797d6d914f92b0a3
307b0f73161701e48e24192aea10713c4c76db13
/man/insert_row.Rd
f69ecdee0d23f5ef2639678330b099474863dedc
[]
no_license
spgarbet/tangram
aef70355a5aa28cc39015bb270a7a5fd9ab4333c
bd3fc4b47018ba47982f2cfbe25b0b93d1023d4f
refs/heads/master
2023-02-21T03:07:43.695509
2023-02-09T17:47:22
2023-02-09T17:47:22
65,498,245
58
3
null
2020-03-24T15:28:05
2016-08-11T20:07:01
R
UTF-8
R
false
true
666
rd
insert_row.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compile-post.R \name{insert_row} \alias{insert_row} \title{Insert a row into a tangram table} \usage{ insert_row(table, after, ..., class = NULL) } \arguments{ \item{table}{the table to modify} \item{after}{numeric; The row to position the n...
39640778667f24e338a3d26f5bf10e1b6b43a70a
4297befdc82667a621f3a0879cae94369576525a
/TexasCounty.R
fef966f116f9d7cf738e7f29379ed63f09fd0835
[]
no_license
Soulstealer07/test
6aa9e2bf24384cab44a8ce589b5126a09b2ab92e
9cc29e881a01391ec31dfe19a5e1662b9107de78
refs/heads/master
2021-05-20T14:06:14.296841
2020-04-26T03:23:11
2020-04-26T03:23:11
252,326,277
0
0
null
null
null
null
UTF-8
R
false
false
1,539
r
TexasCounty.R
library(ggmap) library(ggplot2) library(dplyr) library(rjson) library(jsonlite) library(RCurl) library(googleVis) library(rvest) TexasCounty<-'https://en.wikipedia.org/wiki/List_of_counties_in_Texas' TexasCounty_pop<-read_html(TexasCounty) TexasCounty_pop <- TexasCounty_pop %>% html_nodes(xpath='//*[...
51251f07d07b7ece7baad0986647837c7f354cf5
d31492b02b5d4a249cfa3a731054be8ee02a5c2e
/man/Lagged2d-class.Rd
4a2b6f2b221ea326cd9ec1522fce81de401b59f5
[]
no_license
GeoBosh/lagged
6fc59d2f8ad26a05f3454b07e158d82ab651040a
2697b9e5faf7fcf88f5b18da94c34de248a54be7
refs/heads/master
2022-05-02T03:37:40.976743
2022-04-04T21:33:54
2022-04-04T21:33:54
92,064,916
0
1
null
null
null
null
UTF-8
R
false
false
1,399
rd
Lagged2d-class.Rd
\name{Lagged2d-class} \Rdversion{1.1} \docType{class} \alias{Lagged2d-class} \title{Class Lagged2d} \description{Class Lagged2d.} \section{Objects from the Class}{ Objects can be created by calls of the form \code{Lagged(m)} or \code{new("Lagged2d", data = m)}, where \code{m} is a matrix. \code{new("Lagged2d"...
6ef1adacfbfc455b1a3db7bc03096ad1f6b894c9
3b599ef6ea2d989552101c2a5efc418b0b7f9094
/man/getFileinfo.Rd
832789fd7408b7e6f8340be201489df4a7264542
[]
permissive
adamjdeacon/RNMImport
f4e5ea443904e8c7a8fc13ffbadf741d5a145849
6076cb1c0000de4a19d29dcbf3ec6c3d0fce453b
refs/heads/master
2020-03-25T02:00:10.901861
2018-08-02T08:35:19
2018-08-02T08:35:19
143,268,708
0
0
BSD-3-Clause-Clear
2018-08-02T08:55:26
2018-08-02T08:55:26
null
UTF-8
R
false
false
2,202
rd
getFileinfo.Rd
\name{MiscExtractors} \alias{getFileinfo} \alias{getControlStatements} \alias{getControltext} \alias{getReporttext} \alias{getNmVersion} \alias{getSimInfo} \title{Various miscellaneous "getter"/extractor functions} \description{\code{getFileinfo} gets information about the report and control files, \code...
e7ba29fc835c7e673dc439ecd1363f1e403f6e94
07bca83a42e515c3b9fa1b9d3c38102899491652
/Thesis codes/knn.R
a67d809bf695163006a86e149a0febd84f766ed8
[]
no_license
toktok911/Master_Thesis
7f6afa36914fae69d4e1a12f9bf0b2ebbb034666
d5d64109844b3a09e6e44568e3bf274e4539b428
refs/heads/master
2020-04-19T17:52:02.948426
2019-02-02T20:44:01
2019-02-02T20:44:01
168,346,980
1
0
null
null
null
null
UTF-8
R
false
false
316
r
knn.R
per_train <- read.csv("permission_train.csv"); per_test <- read.csv(""permission_test.csv) train_label <- per_train[,331]; test_label <- per_test[,331] library(class); predict <- knn(train=per_train, test=per_test, cl=train_label, k=20); library(gmodels); crossTable(x=test_label, y=perdict, prop.chisq=False)
7205887fa7f3b3c6699b6fb94035a10673c96f90
4e323cfe39ed9e3719c1444e6a6ef6c89bd3afa0
/R/plot-kobe.R
5436ee7e4e9293b67b4d3e0e875a5e9ac315d268
[]
no_license
laurieKell/FLBRP
49568f831f59a46e16d4f7ca3ad64730abfce67e
cd3dbb929571ed979f6b1a0a225309ffe53e8861
refs/heads/master
2021-01-18T08:43:26.547014
2014-11-28T09:58:52
2014-11-28T09:58:52
null
0
0
null
null
null
null
UTF-8
R
false
false
5,204
r
plot-kobe.R
setGeneric('kobe', function(object,method,...) standardGeneric('kobe')) kobeFn=function(object,what=c("sims","trks","pts","smry","wrms")[1], prob=c(0.75,0.5,.25),year=NULL,nwrms=10){ trks. =NULL pts. =NULL smry. =NULL wrms. =NULL sims. =NULL ## trks if ("trks" %in% ...
3cf97dbcd88997c5e1b2edc3075c2f14c1c601c6
fa336caa57ba22cb3f649d9b73f056e9a3167b5d
/man/plot.ggthemr.swatch.Rd
78e32f1128fbd9026e019e161b768430765157d9
[]
no_license
damonzon/ggthemr
29522271240916bd6c5acf6dbc1dea6706f0dc24
60756ec8dcd80347d13e3158a0d418462610d9dd
refs/heads/master
2020-12-11T03:49:00.233408
2015-04-20T00:15:27
2015-04-20T00:15:27
null
0
0
null
null
null
null
UTF-8
R
false
false
251
rd
plot.ggthemr.swatch.Rd
\name{plot.ggthemr.swatch} \alias{plot.ggthemr.swatch} \title{Create colour plot of ggthemr swatch} \usage{ \method{plot}{ggthemr.swatch} (x) } \arguments{ \item{x}{ggthemr swatch object.} } \description{ Create colour plot of ggthemr swatch }
06b9c7f6804e56172f853a558b3184a441874691
1ed12913fb9b98db702389871ea761c46fdee116
/man/td.lilliefors.Rd
849862995aa3ecc8e9fdae64782419135520d95b
[]
no_license
ghuiber/teradataR
9053adf62e0151b320da4f9ca840d056adcdcad2
d097a9484f8cf53803f1ba26181970042bd146bb
refs/heads/master
2021-01-22T01:33:57.288324
2014-09-12T20:43:55
2014-09-12T20:43:55
null
0
0
null
null
null
null
UTF-8
R
false
false
855
rd
td.lilliefors.Rd
\name{td.lilliefors} \alias{td.lilliefors} \title{ Lilliefors Test } \description{ Function to use lilliefors test on table and column. } \usage{ td.lilliefors(tdf, col, thresh = 0.05) } \arguments{ \item{tdf}{ td data frame. } \item{col}{ column name to test. } \item{thresh}{ thres...
b1aae275cccc4495e309039e34b207a218d90945
83ae358d90cb1c54c8be380bc7bd628a2f6ed530
/R/bplot.R
7c4f0ceb55067e1de8a72ff003db9c7a64390ad7
[]
no_license
cran/Rlab
c7963e1210e2140fc6d397ff6a2cf289f0dd3bd2
c72e630626f6df15cf75ffd8b9ee7c85322aeda8
refs/heads/master
2022-05-28T16:35:40.306539
2022-05-04T22:10:02
2022-05-04T22:10:02
17,693,343
0
0
null
null
null
null
UTF-8
R
false
false
265
r
bplot.R
"bplot" <- function (x, by,style = "tukey", outlier = TRUE, plot = TRUE, ...) { obj <- stats.bplot(x, style = style, outlier = outlier, by=by) if (plot) { bplot.obj(obj, ...) } else { return(obj) } invisible() }
7a5b739b1c7257893e952509a0d8fe9f0d20dd7c
2a6ed6e2ac43699bc3c687662662e2089063098a
/R/MoM_2var.R
a66e83e4af2ea1579599273b44bc9afe6637fdb6
[]
no_license
mxcai/iGREX
4392fab1dac46bc5d5a2cc32f3e04437d1090b27
94c65136dd83c3857881ea2e6cb76437faf3c892
refs/heads/master
2021-12-24T00:57:24.255825
2021-12-17T08:03:02
2021-12-17T08:03:02
152,763,918
2
1
null
null
null
null
UTF-8
R
false
false
1,200
r
MoM_2var.R
MoM_2var <- function(K,y,Z=NULL){ n <- length(y) if(is.null(Z)){ Z <- matrix(1,n,1) M <- diag(n) - matrix(1/n,n,n) y <- y - mean(y) MK <- K } else{ Z <- cbind(1,Z) M <- diag(n) - Z%*%solve(t(Z)%*%Z)%*%t(Z) y <- M %*%y MK <- M%*%K } q <- ncol(Z) trK <- sum(diag(MK)) trK2 ...
01250dd419b60af03cb82ca84099fe7b199fadd8
55c728f9da02b4f7e35111708fe997bf78caaba6
/man/AmoLeads.Rd
36a332864da742b9db32a079d264d7d4fc344552
[]
no_license
grkhr/amocrm
c06d37ca06723c50518ede1df63bf1941f732695
3e35636f5783174f19bebc85a5c744f829ed1f49
refs/heads/master
2021-06-22T13:22:50.730351
2021-05-18T10:05:25
2021-05-18T10:05:25
225,080,539
7
2
null
null
null
null
UTF-8
R
false
true
3,291
rd
AmoLeads.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/AmoLeads.R \name{AmoLeads} \alias{AmoLeads} \title{Leads} \usage{ AmoLeads( email = NULL, apikey = NULL, domain = NULL, auth_list = NULL, limit = 500, flatten = F, id = NULL, query = NULL, responsible_user_id = NULL, with_...
2b6f934900581682fa578f8bd04be703edc361f8
f638bca9604b1aba725ef7ea1083aae681f008bd
/foodbanksHamilton.Rcheck/00_pkg_src/foodbanksHamilton/man/modes_less40k.Rd
d71c497258671afa6d9a123fad51ca26867b7370
[]
no_license
jfhawkin/Accessibility-Food-Banks-Hamilton
38af1b1e6230dc3c11e836fbea75be056ce54a10
b7caf97d91dd5a3cb08fda21812391a9af94c48e
refs/heads/main
2023-08-15T11:18:53.810563
2021-10-13T23:32:52
2021-10-13T23:32:52
null
0
0
null
null
null
null
UTF-8
R
false
true
1,117
rd
modes_less40k.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/foodbanksHamilton.R \docType{data} \name{modes_less40k} \alias{modes_less40k} \title{Transportation for low income population by Traffic Analysis Zone.} \format{ A simple features data frame with 234 rows and 5 variables: \describe{ \item{T...
bf223b022d1a2482a254155b4ca6d4280504a929
493d13873d4f285e9c5927e3e1f235bf3af1104a
/nucleR_2.12.1_AH_edited_asy/man/syntheticNucMap.Rd
9d9bcd3a3ce944474a88207a33f89ca1a5197c6d
[ "MIT" ]
permissive
elifesciences-publications/HTa_Histone_analog
d0d0cc2ea1c00ef7b5126a459688a8786d5cf53b
2e67014a2b0c85002a8268178410d616da7e6244
refs/heads/master
2020-09-15T05:40:39.307201
2019-11-22T08:39:23
2019-11-22T08:39:23
223,359,603
0
0
MIT
2019-11-22T08:37:05
2019-11-22T08:37:04
null
UTF-8
R
false
true
4,424
rd
syntheticNucMap.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/syntheticNucMap.R \name{syntheticNucMap} \alias{syntheticNucMap} \title{Generates a synthetic nucleosome map} \usage{ syntheticNucMap(wp.num = 100, wp.del = 10, wp.var = 20, fuz.num = 50, fuz.var = 50, max.cover = 20, nuc.len = 147, lin.len...
3892723c9406cf48803a0d311609adca248600b4
c8caa0d8d7f62b2f9394e4712cf078e050d5213d
/server.r
93631bda283815a7b52780b4f1e642bff59cd41e
[]
no_license
ClaireMcKayBowen/patients
5542a00d4b826528ff8d561e135923196085bead
aef29196b7e375db04984dcfd0351ddb5f479c55
refs/heads/master
2021-01-11T22:21:14.461122
2017-01-14T17:02:21
2017-01-14T17:02:21
78,951,821
0
0
null
null
null
null
UTF-8
R
false
false
1,829
r
server.r
library(shiny) library(xtable) # Define server logic for slider examples shinyServer(function(input, output) { # Reactive expression to compose a data frame containing all of the values sliderValues <- reactive({ # Compose data frame data.frame( Name = c("Number of Patients", ...
549425da0a18f0441d11afa8e1444f88b172b55c
1ed761a15da505c2286a0f374c8e81b074e1eb27
/getaccession.R
b5d8fcb06ee7dbefe454678ea6db777fcf5bb948
[]
no_license
Rphillips1995/SRAFunctions2015
9f6a77370e4b3e3b4f82e013f015e3a3501da3ba
d1e9d8033793c9979ce52a839a28201ea76cbba4
refs/heads/master
2021-01-10T15:32:13.619891
2015-07-28T14:17:59
2015-07-28T14:17:59
36,888,021
2
0
null
null
null
null
UTF-8
R
false
false
1,378
r
getaccession.R
#' Returns all accession numbers based on a search of cell line. #' #' This function creates a list of all accession numbers specific to the cell_line. This allows the user to further search #' studies that used this cell line. #' #' #' @param cell_line_name: Cell line for which you wish to find the accessi...
040e00043f6010e17620296f64b9afb0a43bc942
97305ae3c5572098b402ed2d7d49bbc8229c4804
/script/load_forecast.R
4194f2f61e570e0e700f29b348dbc65b9ca2f1d3
[]
no_license
Akinlabiajelabi/JoslaOS
7fffa6112af29c07ec3032d13479823b5ccb9f4d
67c5fe847d5676c3b323b8d03b859148297132ab
refs/heads/master
2021-01-18T05:09:17.985876
2016-09-06T18:45:28
2016-09-06T18:45:28
66,694,515
0
0
null
null
null
null
UTF-8
R
false
false
6,164
r
load_forecast.R
###### Load Forecast for Electric Utility Supply using supervised learning algorithm ####### ## Set working directory to latest development #setwd("0") ## Load toolbox library(dplyr) library(plyr) library(ggplot2) library(tidyr) ## Get data data <- read.csv("load_data.csv") ## Prepare data str(data) # Code to samp...
d96b7bb00dcb06706f1e9eac5f521ababd8f844e
22c47b42f7307736dc1d8e7694c1baa1a6a27258
/ASCAT/R/ascat.metrics.R
071f9d41917482ef0bc06f84fd978bd6bd9f9717
[]
no_license
jdemeul/ascat
b4aa6039f52fa0f852f9dd264503b2e63c60d37e
db25fb16c39cf8ed1c5696ad568f3b5f4bdfc723
refs/heads/master
2023-08-31T21:59:58.967803
2023-07-13T07:49:44
2023-07-13T07:49:44
87,942,160
1
0
null
2018-09-16T21:33:10
2017-04-11T14:12:18
R
UTF-8
R
false
false
9,849
r
ascat.metrics.R
#' Function to extract different metrics from ASCAT profiles. #' #' @param ASCAT_input_object R object generated by the ascat.aspcf function and given to the ascat.runAscat function. #' @param ASCAT_output_object R object generated by the ascat.runAscat function. #' #' @return A dataframe (one sample per line) with the...
56c2ea10ceda77a54e44e50eb2ed2ce646d89763
a8e215d5f5cc9b424fc66fd9f56cc54cc3aab161
/shiny/ui.R
7ad298fee01dda27c770b63ec5ccd8ac67dbe9f2
[]
no_license
chendaniely/USMassShootings
8eeebd3ea8979e7e69c732733d2b55bc423e1ed9
4acb3ddc0a8e938ea40062699d603e6c6d389de4
refs/heads/master
2021-01-17T15:55:38.410244
2015-10-05T02:12:11
2015-10-05T02:12:11
43,650,729
0
0
null
2015-10-04T20:02:55
2015-10-04T20:02:54
null
UTF-8
R
false
false
943
r
ui.R
# This is the user-interface definition of a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # library(shiny) shinyUI(fluidPage( # Application title titlePanel("US Shootings"), # Sidebar with a slider input for number of bins sidebarL...
1eaa25e038c0447513145ebae69fb9136ba9ef85
640f730eafc8be8dc2fccd823fd60692bdf4d82a
/R/sobolset.r
35544e640d04173e4a0edc5e173630cd520eda77
[]
no_license
hazbib/SBMLR_v
d163430264092913cfdc40e1dc42cd76936b0110
a8ff5284a7df6998db943f34c9e68466e3ad5eb7
refs/heads/master
2021-05-16T05:11:05.909337
2016-11-07T21:57:58
2016-11-07T21:57:58
null
0
0
null
null
null
null
UTF-8
R
false
false
643
r
sobolset.r
# Wrapper function for Reading in the sobol points and creating sobol data file # # Author: vishak #Arguments # param_path - path on disk containing the sobol sets # parameter_count - Optional parameter if only a few parameters are being changed # no_of_sets - Optional parameter if you want to only simulate the first...
06b4b949925bb2ac0425c8558a5dceef1e205452
cdeaba4963ad21b279e5d6850c5f3de6a7697161
/R_Programming/specdata.R
f5bcdee25d4a071e0a89b2882d954c7b6f69bdf2
[]
no_license
skonmeme/datasciencecoursera
9865a37093c1839dfff360fb4fb8ab9b78a32489
cbd8d19c134708dc5f4e1063b968096d807a6eb4
refs/heads/master
2021-01-22T23:00:42.546376
2017-07-04T06:59:58
2017-07-04T06:59:58
92,793,315
0
0
null
null
null
null
UTF-8
R
false
false
1,370
r
specdata.R
readSpecdata <- function(directory, id = 1:332) { specdata <- data.frame() for (i in id) { specdata <- rbind(specdata, read.csv(file.path(directory, paste(formatC(i, width = 3, flag = "0"), ".csv", sep = "")), colClasses = c("Date", "numeric", "numeric", "integer"))) } specdata } pollutantmean <- function...
c6a1dc4f667d8c4bd81b4df0750adf49fa4f85ef
6a052691f8db472846d1f68ae6f3f43ac5bccb55
/clase4/Anotaciones4/clase4.R
8905909eeb2b6bb4fdbef607b5a5d2761a3b7baf
[]
no_license
Jesus-Angel-Condor/CursoR
6592c57864f13152d2f8e000a2e8c2ab9334a206
a94c9db5eb92b7c82afa9b7a063f291197aaf846
refs/heads/master
2021-01-23T21:16:58.937582
2017-12-10T21:42:20
2017-12-10T21:42:20
102,890,406
0
0
null
null
null
null
UTF-8
R
false
false
1,135
r
clase4.R
help("expand.grid") expand.grid(S1 =1:2, S2=1:3, S3=1:4) #combinaciones help("choose") choose(6,4) #generacion de combianciones help("combn") combn(1:5,2) #genearmos numeros aleatorios #runif #rnorm #rgamma, investigar # #Generamos una muetra aleatoria help("sample") #secreto del profe airquality sample(airquality$Wind...
4075d392f04095631ee142da83b21eff2e99b877
aa2a0b9c08c3e0e3ee8f5384700727db08653eed
/SRC/install-packages-and-libraries.R
6f0fb1017ed6108028011ba1348d5868e8699f68
[ "BSD-2-Clause" ]
permissive
BiodiversityDataScienceCorp/milkfli-mapping
757e68860a7cb02263f3fd03cfd49e7648a68950
4eacd452f60e958b5bfcc8c4d6389eaa06b5bcc5
refs/heads/main
2023-04-07T12:42:59.297337
2022-04-22T22:05:07
2022-04-22T22:05:07
459,738,856
1
0
null
null
null
null
UTF-8
R
false
false
929
r
install-packages-and-libraries.R
######################### Installing necessary packages for map-making and data cleaning ######################### # Maxine Cruz, Deanna Sunnergren, and Caelan Wilkie-Rogers # Spring 2022 ######################### INSTALL PACKAGES AND LOAD LIBRARIES ######################### # List all the packages required to run ...
cf66062e9ec61bbe67836a06814bcb84f68d1474
a72fb18744addb14531743f8067b44dfd01022e8
/assets/code/Yamnaya_Heights.R
4e14937e963f52a4a866070527c2eac563ee96f3
[ "MIT" ]
permissive
mathii/mathii.github.com
0ed57f89edfa2ff58d14b9c2cd688926deb92344
0d718db11b789f920abdd65c5a733f74dbb6fb07
refs/heads/master
2022-03-08T00:54:36.232278
2022-02-18T18:37:02
2022-02-18T18:37:02
30,841,538
1
1
null
null
null
null
UTF-8
R
false
false
1,473
r
Yamnaya_Heights.R
# GET EQUATION AND R-SQUARED AS STRING # SOURCE: http://goo.gl/K4yh lm.eqn <- function(m){ eq <- substitute(italic(y) == a + b %.% italic(x)*","~~italic(R)^2~"="~r2, list(a = format(coef(m)[1], digits = 2), b = format(coef(m)[2], digits = 2), r2 = format(summary(m)$r.squared,...
78461f7ac1f9966f8c09a8c92e1087be4eaf0cd4
10f2b26a285eee200316578e56eb03c3f858d0ff
/Part4/sec3_ggplot2.R
f78ca9727c368f5be12905175d5c2c10c00290e7
[]
no_license
ckiekim/R-Lecture
fe27a143c04b972a947fe4a8b7ce40bdca39e814
3badfe3d29102a4dea87586be4fed0f9cf013dc2
refs/heads/master
2020-05-29T13:08:18.383370
2019-06-18T23:58:07
2019-06-18T23:58:07
189,150,220
0
2
null
null
null
null
UTF-8
R
false
false
5,039
r
sec3_ggplot2.R
# ggplot2 install.packages('ggplot2') library(ggplot2) install.packages("gridExtra") library(gridExtra) setwd("d:/Workspace/R_Data_Analysis/Part4") korean <- read.table("data/학생별국어성적_new.txt", header=T, sep=",") korean ggplot(korean, aes(x=이름, y=점수)) + # positional argument geom_point() ggplot(mapping=aes(x=이름...
5d1d4e6ad177777892462aee0cbd9cf42a40d6b5
ab9254521cd0a26433d5ad7dd21a6638ec47653d
/exercises/exercise3/market.R
7a048d119800b0a1670fd9a47c4e15d6318e8a71
[]
no_license
Aubrey9922/SDS-323
49c7874dc607362d9aeafd497759fbcd7ab05d5f
fbb3fad6021d2bfdc5324883d7ac7bc39bd1620f
refs/heads/master
2022-04-20T00:39:22.548068
2020-04-13T14:02:17
2020-04-13T14:02:17
256,038,866
0
0
null
2020-04-15T21:17:28
2020-04-15T21:17:27
null
UTF-8
R
false
false
1,679
r
market.R
library(mosaic) library(tidyverse) library(ggplot2) library(LICORS) # for kmeans++ library(foreach) library(reshape2) mkt = read.csv("social_marketing.csv") # try hierarchical clustering # convert integer variables to numeric to use scale() function # mkt[2:37] <- lapply(mkt[2:37], as.numeric) # mkt = mk...
80009afb913721db9d022d6575d0e54a42af479d
a3498335d4980221f257ab76b8e88e479d153927
/run_analysis.R
0c053a849f7ea4c1ae12898f1781de425a889791
[]
no_license
roysumit2468/getting_and_cleaning_data
7a7a16c496854700286f8e1659d513a726716a87
751d69e08758100c983ebd966bb89585a0d4584a
refs/heads/master
2020-04-05T23:05:04.300862
2015-01-25T07:21:39
2015-01-25T07:21:39
29,804,659
0
0
null
null
null
null
UTF-8
R
false
false
1,629
r
run_analysis.R
#read the test and training data test<-read.table("test/x_test.txt") subject_test<-read.table("test/subject_test.txt") y_test<-read.table("test/y_test.txt") train<-read.table("train/x_train.txt") subject_train<-read.table("train/subject_train.txt") y_train<-read.table("train/y_train.txt") #to merge the training and...
82d6eb010450b78958632574ce785dfb219b917c
c4585033a739e54b26616a94cbd44ec95d0746be
/R/detect_separation.R
bac039ed919c1e284a887008a51d790100dce13a
[]
no_license
guhjy/brglm2
e6b87a33a540bd24edd35b636a7a85b5c4279dec
b3fb50c7109648e6a0b435ee679af1f14c1ae27b
refs/heads/master
2020-03-07T17:01:12.894994
2018-02-28T00:12:39
2018-02-28T00:12:39
null
0
0
null
null
null
null
UTF-8
R
false
false
9,372
r
detect_separation.R
# Copyright (C) 2017 Ioannis Kosmidis # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 or 3 of the License # (at your option). # # This program is distributed in the hope t...
4614c20d0b9561e09ef56d1b9e3b8354083c68a9
dcc8417dd0dc34901e04235725b9529c8c48a8f9
/plot_prod.R
e19fad7dab27447e49d9432a6b1e2cbbe4d3cbbd
[]
no_license
kuanb/ExData_Plotting1
bf5fc6c235db124ccb01ba58483e6ff23d1f21fc
da30b0d61021d2547cfe037dc1e3af2fe76186fa
refs/heads/master
2021-01-21T22:05:34.580642
2014-09-08T14:53:05
2014-09-08T14:53:05
null
0
0
null
null
null
null
UTF-8
R
false
false
881
r
plot_prod.R
library(lubridate) # Set working dir setwd("/Users/kuanbutts/Documents/MIT/Summer2014/Coursera/Course 4/ExData_Plotting1") # Read txt file in as a table # OLD METHOD: baseDF <- read.table("household_power_consumption.txt", header= TRUE, sep = ";") baseDF <- read.csv.sql( file='household_power_consumption.txt', ...
2b485e4179902db0d59589250ca14b7dd4aee7dd
4e01acf5a07af95846300ed1016edf601fdbb6cc
/Rprogramming/assignment1/complete.R
249b0764945a81fe3f61cd4eff5c13cc788a276c
[]
no_license
carolcoder/datasciencecoursera
5b5c8e9ca270ba961061c4ae4b5dcacfdcf1bab5
d80a4ac780506179ab1e25cf559256f2f9de4a31
refs/heads/master
2021-01-23T02:49:10.301308
2015-08-07T20:06:33
2015-08-07T20:06:33
30,250,558
0
0
null
null
null
null
UTF-8
R
false
false
720
r
complete.R
# complete.R - Assignment 2 # Set wd to C:/Users/sao-carolinamo/Documents/Carolina/R/coursera/Rprogramming/assignment1 complete <- function(directory, id=1:332) { files <- list.files(directory, pattern="*.csv") fullFilePaths = paste(getwd(), "/", directory, "/" , files, sep = "") dfInFiles = lapply(full...
ee951ea085c3023b785e547154514c635d90dea7
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/mldr/examples/evmetrics-av.Rd.R
94400e825e2de0679179498aa0c1effe65e918a5
[]
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
737
r
evmetrics-av.Rd.R
library(mldr) ### Name: Averaged metrics ### Title: Multi-label averaged evaluation metrics ### Aliases: 'Averaged metrics' accuracy precision micro_precision ### macro_precision recall micro_recall macro_recall fmeasure ### micro_fmeasure macro_fmeasure ### ** Examples true_labels <- matrix(c( 1,1,1, 0,0,0, 1,...
452c8995007924b620ba243a0a637ad6dd4a8eee
8c0abf72e19bd097be33e4451e960be968ae3005
/R/series3.R
3a5fe24f9a65be45d46ef402b883f28017348c16
[]
no_license
cran/PBIBD
286aace68dda110f5b65616d7e396b3e62f1bc52
4358637800ab96f362a4d2d8bc97d3db6434f0d5
refs/heads/master
2020-09-23T18:23:53.758487
2017-12-21T13:23:29
2017-12-21T13:23:29
66,554,503
1
0
null
null
null
null
UTF-8
R
false
false
1,470
r
series3.R
series3 <- function(n){ v<-5*n b<-5*n r<-2*(n+1) k<-2*(n+1) l<-c((n+2),(n+2),3,2,2*n) B<-matrix(nrow=n,ncol=k) M<-matrix(nrow=5,ncol=n) C<-matrix(nrow=n,ncol=k) for(i in 1:5){ for(j in 1:n){ M[i,j]<-i+5*(j-1) } } for(i in 1:n){ for(j in 1:4){ B[i,j]<-M[j,i] } jj=5 kk<-n+4 for(p in 1:n) { if(i!=p)...
e43789ce9cc063af3288dd6f84b52aa3ba4486f4
b938190e775654f7c0af94b10bb1555c7fddd37e
/tests/testthat/test-findOverlaps-methods.R
818e52ae756e1682a07009752728d4a758a77a70
[]
no_license
mcieslik-mctp/GenomicTuples
ea621ad66454d70f1f6536ec169a4cf662efc302
c29f4b2a199f7bd15968bc8f7a5fbdf99422687b
refs/heads/master
2021-01-18T00:16:22.854256
2014-09-03T15:30:08
2014-09-03T15:30:08
null
0
0
null
null
null
null
UTF-8
R
false
false
1,551
r
test-findOverlaps-methods.R
# NB: Several objects used in testing are defined in # tests/testthat/helper-make-test-data.R ### - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ### findOverlaps ### context("GTuples findOverlaps method") test_that("GTuples,GTuples overlaps", { ## empty hits <- findOverlaps(gt0, gt...
7081c7f6d977573ec1e366d65f40bdadeee072f4
2259405ed20f5876d5f4cc14796f5e482a416617
/sequence.R
e6cb3771df2771f9f4b8ebc6d7420d495361504c
[]
no_license
pkcodesat/E-commerce-product-recommendation-system-using-rule-and-sequence-mining
ed135e916ee2489fcf7218b29416d4584f8c1ae9
9ad7e67002bb644fb012d1076a9ee4456dfc5075
refs/heads/master
2022-02-17T06:23:47.283707
2018-12-12T15:40:13
2018-12-12T15:40:13
null
0
0
null
null
null
null
UTF-8
R
false
false
584
r
sequence.R
########################################## # simple demo of building sequence rules ########################################## library(arulesSequences) data <- read_baskets(con = "C:/Users/91979/Desktop/web_analytics/a.txt", info = c("sequenceID","eventID","SIZE")) as(head(data), "data.frame") # view first few rows...
9d5e74ac0b4dcadfb32d546f777314a27c062346
4caeaa501d9497ddddbf033904e019974e0e1b7e
/assets/3.among_clade_variation.R
32702c6e77115d5e4a97cd11d52cf6ac4a82c90f
[]
no_license
macroevolution/workshop-OSU
b545e8612cb8d0185ec78e711c5e23482be04b09
a43b40a6868a4a2730f86eac1ea9470763d1517a
refs/heads/master
2021-01-11T14:01:22.563366
2017-09-05T16:59:19
2017-09-05T16:59:19
94,931,335
3
2
null
null
null
null
UTF-8
R
false
false
4,184
r
3.among_clade_variation.R
source("supporting/diversification_functions1.R") source("supporting/traitDependent_functions.R") source("supporting/simulate_shift_trees.R") #---------------------------------------------- # Exercise 5: Chance! # How much variation in species richness can you get from # the same diversification process? la...
6fbb26adb6cea1c803c2625776808a576397668d
7f514dd5d3c23c5a8e08e19f25d4126344a4d75b
/ARIMA time series.R
e95759c3defe51067165f8cc4a5bebcb58bd4356
[]
no_license
Yujieisme/R-code
831ab28d0b3d0a64da4fcf036762328db4d951ac
7ea86972e4d8e5fd947cf6e71fa6ac13ea5566f9
refs/heads/master
2020-08-28T04:26:12.429246
2019-10-25T21:12:49
2019-10-25T21:12:49
217,589,353
0
0
null
null
null
null
UTF-8
R
false
false
1,968
r
ARIMA time series.R
#plot the data install.packages("astsa") install.packages("forecast") install.packages("TSA") library(astsa) library(forecast) library(TSA) set.seed(1000) data1 <- read.table(file.choose()) ts_data1 <- ts(data1) plot(ts_data1) #do fitted line summary(fit <- lm(ts_data1~time(ts_data1))) plot(ts_data1) ab...
f8fe39b8694f68abf843becf0f8bce2afac44de0
d5e4d8cc13151bf546727528ccf6849e2b43dc80
/Chapter 7/iCDA.Ch7.AccidentData.R
cec0a7fa226e9b4abb32541479c22d59157d54c6
[]
no_license
jason2133/categorical_data_analysis
d369aeaee5b72cbfeb7da036ce7e413790d9c308
2e8bcf90aff80634fcd9ed30674c13f205058396
refs/heads/master
2022-01-19T11:43:36.241734
2022-01-15T19:02:47
2022-01-15T19:02:47
175,217,150
1
0
null
null
null
null
UTF-8
R
false
false
1,221
r
iCDA.Ch7.AccidentData.R
############ # Chapter 7 ############ ###Automobile Accidents and Seat Belts Accidents <- read.table("http://www.stat.ufl.edu/~aa/cat/data/Accidents2.dat", header=TRUE) Accidents # 16 cell counts in the contingency table G <- Accidents$gender; L <- Accidents$location S <- Accidents$seatbelt; I <- Accidents...
37ab095fae2a0ac5bf022981576506458fd1e353
dfeba897e6b4e506a7acf4170f22ad44940db83d
/statistical power simulation 2/power_simulation_effect_size.R
9425342a694244f0b56aa596dfb4fcacf4ce0c64
[]
no_license
yadevi/statistical-power-simulation-study
ad5e27d0f5459e466eebf1dd6b435610f8e214a4
0d6980196f13a4d0e9300f0bd261b2e56e4e5f15
refs/heads/master
2022-11-15T22:30:45.815410
2020-07-15T07:45:47
2020-07-15T07:45:47
null
0
0
null
null
null
null
UTF-8
R
false
false
964
r
power_simulation_effect_size.R
library(ggplot2) source("utilities_effect_size1.R") power <- c() e_pos <- seq(0,0.1,0.001) for (effectsize in e_pos ) { N_sim <- 1000 sig_count <- 0 e_cont <- 0.1 e_neg <- 0.1 for (sim in 1:N_sim) { result <- single_simulation(N = 150, e_cont, effectsize, e_neg) sig_count <- sig_count + res...
46cc8224a56e5f126de4aa92986bde3df7e44d61
44c12bf5db12471edba464b652f9b2133a38e80e
/R/pseudoBulkDGE.R
f05ffd313e150ec93a76638627e28617770b45e5
[]
no_license
MarioniLab/scran
af4d01246208a12d40fc01b4d7d49df6a5f59b9f
f238890d5642dfb8062cf0254e0257fd28c5f28d
refs/heads/master
2023-08-10T08:58:35.499754
2023-08-04T23:19:40
2023-08-04T23:30:29
100,610,090
43
31
null
2023-04-09T15:14:31
2017-08-17T14:06:03
R
UTF-8
R
false
false
15,769
r
pseudoBulkDGE.R
#' Quickly perform pseudo-bulk DE analyses #' #' A wrapper function around \pkg{edgeR}'s quasi-likelihood methods #' to conveniently perform differential expression analyses on pseudo-bulk profiles, #' allowing detection of cell type-specific changes between conditions in replicated studies. #' #' @param x A numeric ma...
f831b82f43e67bd7c528177e3b8bad0def448db5
549e1b6041559223051cb0baedc56f2650ad0eb6
/Web-приложения/продажи_зерна/global.R
0745557e3d6ad64417c72f2184c6d2be3dd148d6
[]
no_license
nickolas-black/R
170e09d976c0268863c52b90ab032620199db12f
31cdbe2403747a30b66faecc8aa0139b4cb9ee43
refs/heads/main
2023-09-03T19:24:59.328415
2021-10-31T19:43:38
2021-10-31T19:43:38
418,191,655
0
0
null
null
null
null
UTF-8
R
false
false
1,183
r
global.R
library(shiny) library(shinydashboard) library(tidyverse) library(readxl) library(plotly) library(DT) library(rhandsontable) library(shinyalert) positions <- read_excel("D:/данные/разработка/R/приложения/web_приложение/les8/Grain_data.xlsx", sheet = "Positions") costs <- read_excel("D:/данные/разработка/R/пр...
a34614f204a079a33740fe1ef7bfd9f56f6c8ff6
cd62802bd89f36565e2e53c924a06590bc2c50ff
/RBAsicComm.R
135bd09c9af605b5659b47be456a5150db9e197d
[]
no_license
gogiraj/MUIT
5f194aac22eba85e14808bf50af0372a735b41fd
35b60adfdd07ef99ebb491fd61c67c94e4ff77b1
refs/heads/master
2021-01-24T09:18:19.639511
2016-09-30T10:03:52
2016-09-30T10:03:52
69,446,095
0
0
null
null
null
null
UTF-8
R
false
false
5,147
r
RBAsicComm.R
a = c(1,2,3,4) a nrows = c(2) nrows x = c(1,2,3) x x = c(1,2,3,4) x a <- c(1:20) a a[3] b = c("a","b","C","d") b b[4] d <- c(TRUE,FALSE,T,F,FALSE) d d[3] ## Basic e <- c(1:6, rnum=2,rcol=3) e e <- matrix(1:6, rnum=2,rcol=3) e e <- matrix(c(1:6), rnum=2,rcol=3) e e <- matrix(c(1,2,3,4,5,6), rnum=2,rcol=3) e e <- matrix...
0d7fc8e154417055db841bd04f12ce83dcc70ba7
8ba38d86bedfa5dd21e029d734716db892ff5e91
/Introduction to Monte Carlo Methods/Metropolis-Hastings Algorithm.r
2e05bb342750dc9c0a37df5ff253b028227d77a1
[]
no_license
spradh/Financial-Computing-and-Analytics
6f0bf03bb5b7d4564d2b69420eaf1bb8380ca9de
050d35826a06dfa131535000fd71cf4a756b0e46
refs/heads/master
2020-07-06T08:52:46.046844
2017-05-19T18:19:25
2017-05-19T18:19:25
80,750,162
0
0
null
null
null
null
UTF-8
R
false
false
2,173
r
Metropolis-Hastings Algorithm.r
############################# ############################# #Exercise 6.2 x=c(rnorm(1)) for(t in 1:10^4){ x[t+1]=x[t]+rnorm(1) } hist(x,breaks=50,probability =TRUE) lines(seq(-10,10,length.out=10000),dnorm(seq(-10,10,length.out=10000), 0,1),ty='l') x=c(rnorm(1)) for(t in ...
a8d1c1146d4941081fff2812f1be4dd72db36e2c
9753d94f00a9db2bb5dea5a711bf3a976fa19fb7
/8. Machine Learning/17. Matrices.R
5baab38da58e5a8f2a094e01cf418f57ae5f9a38
[]
no_license
praveen556/R_Practice
a3131068011685fd1a945bf75758297a993357a7
0fc21f69c0027b16e0bce17ad074eeaa182170bf
refs/heads/master
2023-02-18T09:11:49.982980
2021-01-17T16:07:28
2021-01-17T16:07:28
293,621,569
0
0
null
null
null
null
UTF-8
R
false
false
171
r
17. Matrices.R
library(tidyverse) library(dslabs) if(!exists("mnist")) mnist <- read_mnist() class(mnist$train$images) x <- mnist$train$images[1:1000,] y <- mnist$train$labels[1:1000]
72356aff73901449be1a5bdf954e59cca0547b93
a01984c90baa149120fe852ea44888a23d9f6007
/R/updateStrata.r
3d69d7d23411e9e73de4f1e5ee467ee1a5f364a8
[]
no_license
cran/SamplingStrata
b724c3b41d35582f96d9b67afbd907211ce973ea
9b1b6084fd9c9f55313ccfbf558e6e834579c80d
refs/heads/master
2022-11-24T04:14:05.098505
2022-11-15T20:50:06
2022-11-15T20:50:06
17,693,638
0
0
null
null
null
null
UTF-8
R
false
false
2,970
r
updateStrata.r
# ---------------------------------------------------- # Function for assigning new labels to initial strata # and to report the structure of resulting # aggregated strata # Author: Giulio Barcaroli # Date: 4 January 2012 # ---------------------------------------------------- updateStrata <- function (strata, so...
225741f14679803a796a783dab32bcbfcb7024b4
3db305c9b6f9f791d2668f88e9f42c0cbfbaf4cf
/argosTrack/R/simTrack.R
169bc80f0b331bde8299c76ac3b42b52f655abbc
[]
no_license
calbertsen/argosTrack
4789f170f0b53cf2afa83195c55d57c25d3bd591
d09d54082bcf03c555f3553ff444bb5dc2246b34
refs/heads/master
2022-09-02T05:37:29.760935
2020-11-25T12:59:55
2020-11-25T12:59:55
24,145,844
10
7
null
null
null
null
UTF-8
R
false
false
3,120
r
simTrack.R
##' Generic function to simulate tracks ##' ##' @param object Object to simulate from ##' @param n Number of replications ##' @param ... other parameters ##' @author Christoffer Moesgaard Albertsen ##' @seealso \code{\link{simTrack,Animal-method}}, \code{\link{simTrack,Measurement-method}}, \code{\link{simTrack,Movem...
c8c7633f9816d14204c902e05f4bc0bf7d174e78
ffd09e41f3309a0ac3eaf2adca34674e0920d1b8
/man/VennThemes.Rd
5a5b04e13fbe28121650232e16a24d03c1214b6b
[]
no_license
leipzig/Vennerable
04b3329c21623176730232f08ffdd79f4515cdc2
43b1d2b4f84f85f9578337b92311bc7c35da7952
refs/heads/master
2021-01-17T23:15:48.982954
2015-12-15T17:22:06
2015-12-15T17:22:06
51,934,923
1
0
null
2016-02-17T16:00:07
2016-02-17T16:00:06
null
UTF-8
R
false
false
2,917
rd
VennThemes.Rd
\name{VennThemes} \Rdversion{1.1} \alias{VennThemes} \title{ Create lists of graphical parameters for Venn diagrams } \description{ Given a \code{VennDrawing} object, which it consults to find the names of each of the sets and faces in the drawing, returns a list suitable as the \code{gp} argument in a subsequent call...
a57ffe003e62191761e73ea2e2ed0589620f9249
6770136ac69d0d12635b21bf3f9344a99fc0fb7e
/R/RandomForest/LNKN.R
c839b2c3e8cbbd731b98221c1ab7b3e0e1190940
[]
no_license
christopherohit/Machine_Learning_From_Basic
7750513155aff0ccf9d5e770d463942074b40d50
b9549ea04328a9db48166e2f921850e747962461
refs/heads/main
2023-05-05T07:13:00.871139
2021-05-24T16:01:02
2021-05-24T16:01:02
368,719,556
2
1
null
null
null
null
UTF-8
R
false
false
727
r
LNKN.R
library(tidyverse) require(foreign) df = read.csv("https://archive.ics.uci.edu/ml/machine-learning-databases/00277/ThoraricSurgery.arff") name(df) = c("Chuẩn Đoán", "Dung_tích_thở", "Thê_tích_thở" ,"Zuborg", "Chỉ số đau", "Ho ra Máu", "Khó thở", "Ho", "Cơ thể yếu" ,"Giai đoạn kh...
a306fe20f8448f0a8982f08c2d9625f8c39d2f0b
e699a2e61465544979109ae9660386d5157172cf
/ui.R
0fd54aec67ba80a93dd306b62145190000a25080
[]
no_license
everxjj/myShinyProgram
5ab86dbb08f57817470fed80310536dcd1093387
1a59c74ee6730d2ea9f01375391fedba1807ba94
refs/heads/master
2021-01-10T12:08:42.503105
2016-04-02T12:17:26
2016-04-02T12:17:26
55,292,694
0
0
null
null
null
null
UTF-8
R
false
false
307
r
ui.R
library(shiny) shinyUI(fluidPage( # Application title titlePanel("myApp1-iris data"), sidebarLayout( sidebarPanel( sliderInput("row","Row number of data to view",min = 1,max=150,value=5) ), mainPanel( tableOutput("mytable"), plotOutput("irisPlot") ) ) ))
be280b3f78f51102ea2dc6db5ec6be0eb7747002
8fb0510fa0c561c80d90b97feff4223a371b7959
/R/extract-vclMatrix.R
04661e8e017e44367c1a07af3f6ef6e898c557cf
[]
no_license
cran/gpuR
081c395da159797082a8521fb565edaaa3fe6088
189286b0cdbd898ffd1de13f4c749232a1d17953
refs/heads/master
2021-05-04T11:23:09.158681
2019-05-29T20:10:12
2019-05-29T20:10:12
48,081,147
1
1
null
null
null
null
UTF-8
R
false
false
16,278
r
extract-vclMatrix.R
#' @rdname extract-methods #' @export setMethod("[", signature(x = "vclMatrix", i = "missing", j = "missing", drop = "missing"), function(x, i, j, drop) { Rmat <- switch(typeof(x), "integer" = VCLtoMatSEXP(x@address, 4L), ...
e3e70854a90744b360888eaab10c8fea1bdac007
d915d4e95357a49ebc32392c87f652b408e46e91
/Figure6/Figure6_v3.R
f73775e2354b215e81b1e3bfa85cd8ac602ffb81
[]
no_license
DEST-bio/data-paper
ae1ef142ea9f29a1d03db986d5cb3dd6f7026142
919da1cb9e95f9fa1f0d613774ac2cb97a316155
refs/heads/main
2023-08-20T15:55:23.947717
2021-10-12T07:45:43
2021-10-12T07:45:43
325,566,988
1
2
null
null
null
null
UTF-8
R
false
false
3,770
r
Figure6_v3.R
# plot Figure8 - Margot library(ggplot2) library("gridExtra") dat<-read.table(file="/Users/martinkapun/Documents/GitHub/data-paper/Figure6/Figure6_data.txt",header=T,fill =T,sep="\t") dat_PoolSNP<-dat[dat$FILE=="PoolSNP",] dat_SNAPE<-dat[dat$FILE=="SNAPE",] # PoolSNP plots plot1<-ggplot(dat_PoolSNP, aes(x=Continent,...
490d602254a61f6e01d99584127565a043f83ab3
e4d207511ced01b6c295e32e904ebb060064aee3
/portfolio_return_v01.r
4db690137b2f3d28fc8846b627eb1b4f6f6c7380
[ "MIT" ]
permissive
dhjelmar/Retirement
f5332eb6e4b99951e999f0d47515286a924f0fa3
2f844025e72d89c241aac5a6bd14780c48bb8dbb
refs/heads/main
2023-09-06T00:35:11.345731
2021-11-11T01:19:43
2021-11-11T01:19:43
399,638,669
0
0
null
null
null
null
UTF-8
R
false
false
5,393
r
portfolio_return_v01.r
## https://israeldi.github.io/bookdown/_book/monte-carlo-simulation-of-stock-portfolio-in-r-matlab-and-python.html source('/home/dlhjel/GitHub_repos/R-setup/setup.r') ##----------------------------------------------------------------------------- ## Determine mean for each asset and covariance matrix data <- ' Da...
ae363232cea1cae17d85b4f9340f369fe5c607f1
2a7e77565c33e6b5d92ce6702b4a5fd96f80d7d0
/fuzzedpackages/RoughSets/man/A.Introduction-RoughSets.Rd
bd7a5d1dac778d3581a801fc74775ec258dfa28d
[]
no_license
akhikolla/testpackages
62ccaeed866e2194652b65e7360987b3b20df7e7
01259c3543febc89955ea5b79f3a08d3afe57e95
refs/heads/master
2023-02-18T03:50:28.288006
2021-01-18T13:23:32
2021-01-18T13:23:32
329,981,898
7
1
null
null
null
null
UTF-8
R
false
true
5,996
rd
A.Introduction-RoughSets.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RoughSets-introduction.R \docType{package} \name{A.Introduction-RoughSets} \alias{A.Introduction-RoughSets} \alias{RoughSets-intro} \alias{A.Introduction-RoughSets-package} \title{Introduction to Rough Set Theory} \description{ This part atte...
b78794598dacf71be87824e37ea7c86dd1017b87
665d8885b10d64a66d4a32da2aeb7e5e9cadb689
/R/import.R
8e11c4c9171eb2abd022567c787ea8e913ff3a6c
[]
no_license
bioinfo-pf-curie/HiTC
47c75570bbedf760bec6e01085ffc20dc7ba3cb6
ed92101162b5c47b9d22a788d275bf4332d133a2
refs/heads/master
2020-12-03T03:58:52.468381
2018-03-28T15:18:24
2018-03-28T15:18:24
95,797,525
3
6
null
2017-06-29T16:31:25
2017-06-29T16:31:25
null
UTF-8
R
false
false
6,980
r
import.R
################################### ## importC ## ## Import HTCexp object to standard format ## rows/col/counts ## ## file = name of intput file to read ################################### importC <- function(con, xgi.bed, ygi.bed=NULL, allPairwise=FALSE, rm.trans=FALSE, lazyload=FALSE){ stopifnot(!missing(co...
e21ca22fad20709a88e9de7c48718ceee2915b8a
47bd2a6abda2e0927147935c83d926576a0830c3
/R/neuroCombatData/inst/scripts/simulateData.R
f63fbe93a8280d1aa853a808b7014a955fe47f34
[ "MIT", "Artistic-2.0", "Python-2.0" ]
permissive
ThomasHMAC/ComBatHarmonization
32ec940381788a10fef0377e1c7fc5aae392c142
215596ffa6826c24f3e765d03a6c1e8cf729d51c
refs/heads/master
2023-04-30T05:38:03.220147
2021-05-29T23:21:01
2021-05-29T23:21:01
null
0
0
null
null
null
null
UTF-8
R
false
false
1,455
r
simulateData.R
library(SummarizedExperiment) load("temp/seAdniFs.rda") se <- seAdniFs se <- se[,!duplicated(se$RID)] sites <- table(se$site) sites <- names(sites[sites>=25]) se <- se[, se$site %in% sites] #Renaming site: site <- as.factor(colData(se)$site) levels(site) <- paste0("Site", 1:length(levels(site))) colData(se)$site <- ...
93e374c2cce07df522efa5998d9d7f5a79a33bb6
d478e26f1bf5c097014ca28de2f54195f0b00de0
/Figure4_Validation_final8_big_labels.R
6bf27db4e1ab4d5900053889417f39dedd68c432
[]
no_license
MWhite-InstitutPasteur/Pvivax_sero_dx
9d88f53ee7050223d6a3cd443c11edb861e12acf
73009bac1b0f924532464cfa746009e871b951a9
refs/heads/master
2020-11-26T22:54:17.522863
2020-01-07T16:37:37
2020-01-07T16:37:37
229,223,436
0
0
null
null
null
null
UTF-8
R
false
false
20,964
r
Figure4_Validation_final8_big_labels.R
########################### ########################### ## ## ## # ## ##### ###### ## ## ## ## ## ## ## ## ### ## #### ## ## ## ## ### ## ## ## ## ## ## ##### ## ## ## ## ########################### ##########################...
cce72864f0331fa137174c7ada98a6a48cf69776
cff1be6031223b07c693bdd043ee70af6202fef1
/man/AUCell_plot.Rd
bd6f290ca2256496ed0c08b2c5dc463145c5a9d7
[]
no_license
qibaotu/AUCell
9a879f7237c1c06b32fa31481473bf0d1579f157
10cc963026610bfb862567daf8a7f047fb9905b4
refs/heads/master
2021-07-06T08:40:39.103669
2017-10-03T13:58:32
2017-10-03T13:58:32
null
0
0
null
null
null
null
UTF-8
R
false
true
1,913
rd
AUCell_plot.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/aux_AUCell_plot.R \name{AUCell_plot} \alias{AUCell_plot} \title{Plot AUC histogram} \usage{ AUCell_plot(cellsAUC, aucThr = max(cellsAUC), nBreaks = 100, ...) } \arguments{ \item{cellsAUC}{Subset of the object returned by \code{\link{AUCell_ca...
d4937dc1f1ded8cb38b22c771ea07717ff112b08
151326bb8bb8252ae4524b30d31df14cef65d0c0
/programmingr/corr.R
45f77186620f7241df609c8ecef5c5e84aa308c0
[]
no_license
sergiosennder/datasciencecoursera
bb4df5b42e98112656a9a2eb8baf08137a3cda30
747c7255073ea6b02cb2fd47764f9e9ec06ef649
refs/heads/master
2021-01-10T04:14:57.077573
2015-12-27T10:36:02
2015-12-27T10:36:02
43,112,009
0
0
null
null
null
null
UTF-8
R
false
false
1,294
r
corr.R
corr <- function(directory, threshold = 0) { files <- list.files(path=directory, pattern="*.csv", full.names=TRUE) debugPrint(paste("Threshold = ", threshold, sep=""), "info") debugPrint(files, "debug") tmp_correlations <- c(1:length(files)) index <- 1 for (cur_file in files)...
352d1b1e44c8f1877220f95965007aded9eac6ab
c0876f8573dd87b8032bbd9ce815865367c4b6a0
/Teorema del Limite Central.R
9b0e5819a1ad292d5198a3837804a804ed4e87a9
[]
no_license
celia26/Programaci-n-Actuarial-III
1ad9756f3d9131653cce0bae8eac4a548ec437bd
d7666641739b26a28e7382722d194304cfdb2d8d
refs/heads/master
2021-01-17T06:38:15.990569
2016-06-10T03:27:55
2016-06-10T03:27:55
50,951,002
0
2
null
2016-02-06T21:42:36
2016-02-02T20:51:28
HTML
WINDOWS-1250
R
false
false
787
r
Teorema del Limite Central.R
a <- runif(10,50,100);hist(a) a <- runif(100,50,100);hist(a) a <- runif(1000,50,100);hist(a) a <- runif(10000,50,100);hist(a) a <- runif(100000,50,100);hist(a) a <- runif(1000000,50,100);hist(a) hist(rnorm(10,100,10)) hist(rnorm(100,100,10)) hist(rnorm(1000,100,10)) hist(rnorm(10000,100,10)) hist(rnorm(100000,100,10))...
c5cf2c51621f5a2bc3ea3b0087e703f62fa93158
999f6296b3102c5374af78e8f19f783db7ae0f22
/R/helper_fun.R
7488462dab0202a5f9ab7555669b11bcdcc8db0a
[]
no_license
felix28dls/ddCt_QPCR_Analysis
b052a4beb308e7650cda03f864829e6266c1ca20
0539f31edb2b3b506de0a9c2db90a01190fb0e3c
refs/heads/master
2020-06-16T20:55:48.974964
2019-07-07T22:28:42
2019-07-07T22:28:42
195,700,929
0
0
null
null
null
null
UTF-8
R
false
false
16,017
r
helper_fun.R
#' Average values by a variable #' #' Uses a group_by statement to average values in a data.fram by a variable #' #' @param df A data.frame #' @param group_var A vector or lenght equals the number or rows of df #' @param amount A vector or lenght equals the number or rows of df #' @param tidy A logical, default FALSE. ...
0d6941faf87b0d44d11db6ac3887c07b28fb172e
a9c77a01da86a3dc3654db0d360419ca0cc86e46
/inst/scripts/howto.R
21b8dddf3cc39fd5491e7c6c1f1aa6d14b49aaca
[]
no_license
federicogiorgi/vulcan
268a7cedb7caf638dab9976dfb470ef484f08271
6fd15659b041a632f815681770f195c3d5bbcca8
refs/heads/master
2020-05-24T01:46:13.586290
2017-09-27T18:01:17
2017-09-27T18:01:17
92,324,712
1
0
null
null
null
null
UTF-8
R
false
false
1,931
r
howto.R
# Building manuals and namespace using roxygen2 library(devtools) document() # Remove .Rhistory unlink(".Rhistory") unlink("R/.Rhistory") # # # Force the formatR style # library(formatR) # getOption("width",80) # for(rfile in dir("R",full.names=TRUE)){ # tidy_source(source=rfile,file=rfile,wid...
c8d52addc78ea17116abba4c95a520949ace697c
bfd31a2b282d56ce10ed40f0388174e6782f1498
/RScripts_QualityScore/RScript02_Histogram_perFrag.R
1887dbde12fdcc81ddfba66c735a8d257189bcf8
[]
no_license
snandi/Project_QualityScore
72a540663938d6dbc1243181ae2717ad06abe1ad
f6542f53d1d770cc5cbd162caf4f146f0b28b488
refs/heads/master
2020-12-24T15:50:48.725482
2016-03-06T02:17:49
2016-03-06T02:17:49
40,999,265
0
0
null
null
null
null
UTF-8
R
false
false
10,089
r
RScript02_Histogram_perFrag.R
rm(list=ls(all.names=TRUE)) rm(list=objects(all.names=TRUE)) #dev.off() ######################################################################## ## This script reads in the pixel intensity values produced by Chengyue's ## python script and plots histograms. There will be three levels of pixel ## intensity values, one ...
3b7f3e9ffad1d2394bd04a4c6bba186a354a44a0
2bec5a52ce1fb3266e72f8fbeb5226b025584a16
/gtfs2gps/man/filter_day_period.Rd
34bc26a49562574ab3e38e7d037f3dc7780fd44f
[]
no_license
akhikolla/InformationHouse
4e45b11df18dee47519e917fcf0a869a77661fce
c0daab1e3f2827fd08aa5c31127fadae3f001948
refs/heads/master
2023-02-12T19:00:20.752555
2020-12-31T20:59:23
2020-12-31T20:59:23
325,589,503
9
2
null
null
null
null
UTF-8
R
false
true
951
rd
filter_day_period.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/filter_day_period.R \name{filter_day_period} \alias{filter_day_period} \title{Filter GTFS data within a period of the day} \usage{ filter_day_period(gtfs, period_start = "00:00:01", period_end = "23:59:59") } \arguments{ \item{gtfs}{...
70fee1e1fea77b6101034d7f944ad631360aece3
c9dcad8a10c0e8f7571dda9460fa535e105919b9
/Experiments/Tibshirani2013/SGL/R/zzPathCalc.r
c0c5b0c4196482a59ba31158aea6f1a17b44ed18
[]
no_license
adityagc/MS-Research
f0fd57420768ac270dd6007fa3ed015b5878e17c
5f148103a6205092fb3ae114c8613f7b6e849a84
refs/heads/master
2020-03-18T16:34:47.512135
2018-07-02T19:24:50
2018-07-02T19:24:50
134,974,224
3
0
null
null
null
null
UTF-8
R
false
false
5,960
r
zzPathCalc.r
betterPathCalc <- function(data, index, alpha = 0.95, min.frac = 0.05, nlam = 20, type = "linear"){ reset <- 10 step <- 1 gamma <- 0.8 inner.iter <- 1000 outer.iter <- 1000 thresh = 10^(-3) outer.thresh = thresh n <- nrow(data$x) if(type == "linear"){ X <- data$x resp <- data$y n <- nrow(X) p <- ncol...
211e9d778e0c52d6d5744e1eeb81dea4f2e6c192
67f566943ef74373bef603f2a6b0f3ebe914be2b
/man/predict.iMqr.Rd
0a8404e747ad6f581d61e4ab2a8c89d6eafa1f6c
[]
no_license
cran/Mqrcm
78aac457f7fa191e73c7af81cac49c1ca1cd1e89
7776ed3d279c94cf2cc40dd1a72c540ad6184d6c
refs/heads/master
2021-06-16T23:40:08.883883
2021-02-02T02:10:06
2021-02-02T02:10:06
145,909,724
0
0
null
null
null
null
UTF-8
R
false
false
4,907
rd
predict.iMqr.Rd
\name{predict.iMqr} \alias{predict.iMqr} \title{ Prediction After M-Quantile Regression Coefficients Modeling } \description{ Predictions from an object of class \dQuote{\code{iMqr}}. } \usage{ \method{predict}{iMqr}(object, type = c("beta", "CDF", "QF", "sim"), newdata, p, se = TRUE, \ldots) } \arguments{ ...
9a857b2de27f38a1bc38d55ec3cb9e1c672322f9
f5fe3cd40d9448d390b07254bb0d6f65729fe2f3
/R/qmerge.R
d64609daede8c9f9b640e2f8466a60deed682bc3
[]
no_license
tsufz/RMassScreening
da664d80cbd6995cde847e7de96d45f1cfd67ceb
de766ed6faa59a3a4e10f7416f6090990cf5eeca
refs/heads/master
2022-12-01T16:53:07.069549
2018-04-23T15:52:39
2018-04-23T15:52:39
78,196,650
0
0
null
2017-01-06T10:16:09
2017-01-06T10:16:08
null
UTF-8
R
false
false
1,071
r
qmerge.R
# Merge function which deals with simple tables (i.e. they have 0-1 y datasets per x dataset and only one column to merge by.) # #' @export qmerge <- function(x, y, by = NA, by.x = by, by.y = by, all.x = FALSE, suffixes = c(".x",".y")) { # matching x.in.y <- match(x[,by.x], y[,by.y]) # locate column names x....