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
1350c19783b91677f13dd909065e143ee505c453
5ac5920bc54c456669b9c1c1d21ce5d6221e27eb
/facebook/delphiFacebook/integration-tests/testthat/setup-run.R
33d016b1b473699ab40f1cc417bd7e845943cf55
[ "MIT" ]
permissive
alexcoda/covidcast-indicators
50e646efba61fbfe14fd2e78c6cf4ffb1b9f1cf0
0c0ca18f38892c850565edf8bed9d2acaf234354
refs/heads/main
2023-08-13T04:26:36.413280
2021-09-16T18:16:08
2021-09-16T18:16:08
401,882,787
0
0
MIT
2021-09-01T00:41:47
2021-09-01T00:41:46
null
UTF-8
R
false
false
714
r
setup-run.R
library(tibble) run_facebook(relativize_params(read_params(test_path("params-test.json")))) run_facebook(relativize_params(read_params(test_path("params-full.json")))) aggs <- tribble( ~name, ~metric, ~group_by, ~compute_fn, ~post_fn, "freq_anxiety", "mh_anxious", c("gender"), compute_binary, I, "pct_hh_fever",...
9837470c2a47d786241aa84773a5bd932c00b684
bb9504bfabd84b5c2b662095b33188cf35264343
/man/predict.regression_model_fit.Rd
7edc93ac1fe5525d24f99d1f3d1a09e9a8e4f1ff
[]
no_license
bbuchsbaum/rMVPA
5f34425859cc6f0a69f223992b43e12a2e9c7f11
bd178d4967a70c8766a606810f5de6f3e60b9c22
refs/heads/master
2023-05-25T16:08:02.323323
2023-05-01T01:43:15
2023-05-01T01:43:15
18,340,070
14
11
null
null
null
null
UTF-8
R
false
true
1,120
rd
predict.regression_model_fit.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/model_fit.R \name{predict.regression_model_fit} \alias{predict.regression_model_fit} \title{Predict continuous values for a new dataset using a regression model} \usage{ \method{predict}{regression_model_fit}(object, newdata, sub_indices = NU...
f7cc93cc7f8e437da2a87400636433d381d04718
82eb68f90a8a54a1a22a7443fbd1d565ee1c29de
/app_c4/server_0_9.R
62a71150c3bcb42521e1484696c44b3fbd2ae678
[]
no_license
Ry2an/connect_4_chess
b68f794b7332f5792130f789bc34b414990c8b3f
b64b533ee087a15c7ed9bb94c1437ce2783d0cd6
refs/heads/master
2020-12-09T02:48:39.211789
2020-01-30T18:00:13
2020-01-30T18:00:13
233,167,934
0
0
null
null
null
null
UTF-8
R
false
false
6,996
r
server_0_9.R
####fake server#### library(ggplot2) draw_map <- function( current_map_temp = matrix(c( -9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, -9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, -9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9,-9, -9,-9,-9,-5,-5,-5,-5,-5,-5,-5,-9,-9,-9, -9,-9,-9,-5,-5,-5,-5,-5,-5,-5,-9,-9,-9, -9,-9...
2647e2e2dc3546e5e341a4b031fad824a98cfe1d
bd14617e30d84c330d25b5b797d76b45c701bb18
/R/cluspop.nb.R
ecca7f1a52c663e53225d1c5916f4b236fca8815
[]
no_license
cran/prabclus
28747636b75a4917741451fa88dbc93372963249
ab34ba6e8f1c67fb3ad2b7fa27b783315db71a4c
refs/heads/master
2021-01-23T18:56:39.980448
2020-01-08T22:00:39
2020-01-08T22:00:39
17,698,701
1
1
null
null
null
null
UTF-8
R
false
false
11,116
r
cluspop.nb.R
"cluspop.nb" <- function(neighbors,p.nb=0.5,n.species,clus.specs,reg.group, grouppf=10, n.regions=length(neighbors), vector.species=rep(1,n.species), pdf.regions=rep(1/n.regions,n.regions),count=TRUE, pdfnb=FALSE){ # print(vecto...
4e8d78cc383fa023e359301b5053446f1ca7393c
e2e6fe9504c3e5fc6af558c45234bbb9eabfd9d1
/tests/testthat/test_getAnimalAlleles.R
2d7e196e0b21218e2585d6daaeb09092bc50221b
[ "MIT" ]
permissive
rmsharp/parentfindr
2ebca196d8ff9627874738cb469d4f93807415e2
052c42a50f835fe1321dd93dc4cd21b844218e73
refs/heads/master
2023-01-13T23:04:28.613212
2020-11-23T02:44:23
2020-11-23T02:44:23
266,241,084
0
0
null
null
null
null
UTF-8
R
false
false
2,244
r
test_getAnimalAlleles.R
#' Copyright(c) 2020 R. Mark Sharp #' This file is part of parentfindr library(testthat) context("getAnimalAlleles") library(parentfindr) library(stringi) test_that("getAnimalAlleles correctly extracts data CSV file", { alleleFile <- system.file("testdata", "snp-animal-alleles.txt", packag...
981fa7750e9872926ee889fd0c942f91c463f1e9
05de83161571e4d5c080f0342d07f213984804e3
/analyses/empirical_considerations_polarized/src/stochastic_map_sim.R
add49e8e5156d2541a195b79e681e2b27a703cd1
[]
no_license
mikeryanmay/marattiales_supplemental
22b470aa58f687aecd78861fe48470826245f2fb
8c38c4b3075c9f864de37381576be51727d3e7d9
refs/heads/master
2023-03-19T10:47:56.300246
2020-09-25T15:52:05
2020-09-25T15:52:05
292,940,697
1
0
null
null
null
null
UTF-8
R
false
false
7,955
r
stochastic_map_sim.R
# get the arguments args = commandArgs(trailingOnly = TRUE) # args = c("--data", "data", # "--samples", "output/tree_model_variable_rate_fbd_mixture_diversification_ingroup_sub_model_GTR_I_G_mol_clock_UCLN_morph_mat_F81_MIX_G_morph_rel_unlinked_morph_clock_linked/", # "--output", "output_stoch_map/tr...
53ed20887b06bdc734e67a0fd2df0aa5a3e364e9
8617936d92c16346a0eb263aa8f249928a9492c0
/server.R
b86092d87e4e333fa838ce81d6b43020f4a387ef
[]
no_license
qntkhvn/epl_goal_time
25acf12f2dafde60613bb3ba425c559f243242d0
e03ca60146a89a1c85928d65aab6d4801175b547
refs/heads/main
2023-07-17T16:29:40.672892
2021-08-17T00:47:04
2021-08-17T00:47:04
396,600,653
0
0
null
null
null
null
UTF-8
R
false
false
1,601
r
server.R
library(tidyverse) data <- read_csv("goal_min.csv") %>% select(-goal_score) %>% mutate(goal_club = ifelse(goal_club == "home", home_club, away_club), minute = factor(minute, levels = c(1:45, paste("45", 1:7, sep = "+"), 46:90, paste("90", 1:12, sep = "...
8a026a72568c470bf1df1a965f3c501e8713ea8d
75a5de8a713432d4ea6e2c1214b7c3b04dfbbd66
/man/GenerateSelfCovarName.Rd
b4937cf84f439acae06a9aab277029eb5b191893
[]
no_license
andrewhaoyu/bc3
25038d6942e2165ac1de154cba07fb7798ac2fd2
262e78031350c78eeccde2f7beb352719daf8d0f
refs/heads/master
2021-06-25T18:35:30.888944
2020-11-06T01:41:49
2020-11-06T01:41:49
155,858,459
0
0
null
null
null
null
UTF-8
R
false
true
336
rd
GenerateSelfCovarName.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/GenerateSelfCovarName.R \name{GenerateSelfCovarName} \alias{GenerateSelfCovarName} \title{Title} \usage{ GenerateSelfCovarName(x.self.design, baselineonly, additive, pairwise.interaction, saturated) } \arguments{ \item{saturated}{} } \descr...
9576a3484cbaf629aad38d0dd5776ce5f7a1eb41
e518a260b8b5d38c4a3f9237f3ef3ff8a3c635b4
/03_summarize-AIS-data-cargo-transits.R
d78cd3f92bd731980b8cf98373fcbf00b866e3f5
[]
no_license
fjoyce/cargo_AIS_tracks
a546ad28b96e891adce8b6608bcf1a82903d74d5
1a2819af1b5d3c19729ef64ac0aec0f2579deb8e
refs/heads/master
2020-03-19T23:37:17.116144
2018-06-09T04:09:21
2018-06-09T04:09:21
null
0
0
null
null
null
null
UTF-8
R
false
false
7,136
r
03_summarize-AIS-data-cargo-transits.R
#03_summarize-AIS-data-cargo-transits #This R script aims to organzie and summarize AIS data cargo transits in the SB channel, including identifying cargo transits, summarizing patterns #and visualizing such data #load libraries library(pacman) #I heard about this package at an R meeting - essentially if you load thi...
bafeae830c5ec0d471839b855fadd80ecdc098a8
fd7596e9133063578fd1f0b71d3fdaa4e1c4ee63
/File1.R
4536a923999b2c65d243d68e5f72a3e182c099b9
[]
no_license
ishaparasramka/Analytics
3536f43b1b478c7bb430c11fcce6c54918ecf9d1
cac195b330e662938a5b4edac2cb2ed965c2f068
refs/heads/master
2020-03-30T06:38:36.243834
2018-10-02T17:31:18
2018-10-02T17:31:18
150,877,076
0
0
null
null
null
null
UTF-8
R
false
false
108
r
File1.R
women git config --global user.email "um18089@stu.ximb.ac.in" git config --global user.name "ishaparasramka"
8da5207cd4fd9cf1b523f5b7358b668a72407fe5
58b943c940514e5c08106b97da156404ba6345cf
/R/summary.treeshape.R
c393191a71ed4b94c3b75538141096340cbe8d0b
[]
no_license
bcm-uga/apTreeshape
1dd209ae8e4a0a30d22b906a99f98f459ef992f7
369236069399b25f462bc109db305cbdb4a6113c
refs/heads/master
2020-04-09T18:54:00.858207
2019-09-25T12:08:34
2019-09-25T12:08:34
124,239,795
2
0
null
null
null
null
UTF-8
R
false
false
557
r
summary.treeshape.R
"summary.treeshape" <- function(object, ...){ tree=object n=nrow(tree$merge)+1 cat("\n") cat("Phylogenetic tree shape: ") cat("object ",deparse(substitute(object))," of class 'treeshape'\n") cat("\n") cat("Number of tips:", nrow(tree$merge)+1, "\n\n") cat("Colless' shape statistic:", colless(tree), "\n") cat("Expec...
cad5b7f0f3508f5f62513951ab801a6a3c8ef79f
2573b2b226e922302accf53ae5b7f055c2951d6e
/R/download_to_file.R
1eedd1f8669afd6e0aa7fc393b15bbdefffcec37
[]
no_license
hieuqtran/ALA4R
442c32e9b5d2c750b748856d6dc7aaa4723e2529
ec240a434d8ba86c0c5c0a14961629ed313d705e
refs/heads/master
2020-08-24T01:51:35.699192
2019-08-01T04:48:08
2019-08-01T04:48:08
null
0
0
null
null
null
null
UTF-8
R
false
false
3,105
r
download_to_file.R
# Internal function used to download results to a file download_to_file <- function(url, outfile, binary_file=FALSE, caching=ala_config()$caching, verbose=ala_config()$verbose, on_redirect=NULL, on_client_error=NULL, on_server_error=NULL, ...) { assert_that(is.notempty.string(url)) ## download from a URL using...
839bb0aa962826c2330adbc341d35f226b0a1566
fdb4e5c640b7951153f5bf67f21b136db07f8925
/R/endpoint.R
4d30c5026cdc931c0adc08bf8116cf5046ccd43a
[]
no_license
cran/AzureQstor
5db4ef900aedb199afa81bbf926345879773ea5f
1cad45eb870b619a98a20680f3fa682039ef14f6
refs/heads/master
2022-12-28T15:20:13.428445
2020-10-15T22:00:08
2020-10-15T22:00:08
269,042,909
0
0
null
null
null
null
UTF-8
R
false
false
1,930
r
endpoint.R
#' Create a queue endpoint object #' #' @param endpoint The URL (hostname) for the endpoint, of the form `http[s]://{account-name}.queue.{core-host-name}`. On the public Azure cloud, endpoints will be of the form `https://{account-name}.queue.core.windows.net`. #' @param key The access key for the storage account. ...
64cf9f4039ea0f7f121ffde225caeb5d866cee13
cda88a3dad4eda02f75f2e63c3f1cb659fa4d942
/t.r
c80e900d826c5c0c13d9dde249ad6807a9c4b07c
[]
no_license
cassimahmedattia/hello-r
bb3a32f6b809eba9f3b6cb926fdd49df6246135f
6b7fc259f23fa0c6059af80d870f59dc03ba97a5
refs/heads/master
2023-06-16T16:02:37.135063
2021-07-15T14:02:15
2021-07-15T14:02:15
385,812,269
0
0
null
null
null
null
UTF-8
R
false
false
27
r
t.r
# Testing print("Testing")
d5b03353f327ccbef65add9c34c321ce0726e139
3835a1026861b876ef5a82de6e18ed54f65391bb
/code/test runs/analysis2.R
1af324c55d7bc582fc010736cfe670579654e618
[]
no_license
rhnfzl/optimize-targeted-ads
25ff583f73dd056b8b10c570a7f3067ed1ee8e50
50fa15a12ae93ebfef54d2ca6db6f9fdeda1cc99
refs/heads/main
2023-07-22T08:44:57.866039
2021-09-05T16:13:17
2021-09-05T16:13:17
403,282,923
0
0
null
null
null
null
UTF-8
R
false
false
1,233
r
analysis2.R
require(ggplot2) summary(my_lm_modelm2) summary(my_lm_modelm2)$coefficient coef(my_lm_modelm2)[1] coef(my_lm_modelm2)[3] coef(my_lm_modelm2)[2] install.packages("devtools") devtools::install_github("cardiomoon/moonBook") devtools::install_github("cardiomoon/moonBook2") require(moonBook) require(moonBook2) require(g...
9d32225748d7fd601d4fd0b61937c482dd23839f
82f6f1253b3a45533b2e017f1d3b381357f65b2b
/plot1.R
3f632964cfca29f532de20a01c6ec6321e755fdb
[]
no_license
ramkumar88/ExData_Plotting1
1999a0ef4322d87f29d398218df8a672a1fd2ebf
61e441c21d81f2636758815ae47547e89a7dc6b0
refs/heads/master
2021-01-18T00:46:52.126270
2014-05-11T23:11:31
2014-05-11T23:11:31
null
0
0
null
null
null
null
UTF-8
R
false
false
823
r
plot1.R
## Read all lines from the data file f <- readLines("../household_power_consumption.txt") ## Get first row -> used for data-frame firstRow <- f[1] ## Only load rows from 1st and 2nd February 2007 rowsToEvaluate <- c(firstRow,grep("^2/[1,2]/2007;+",f,value=TRUE)) ## Load rows to evaluate into a data-frame powerData <- r...
ca60d47984e509968b04462a0f4d68ed386c8746
8d62402a4fb63be4021371d3d5535677306af9e9
/plot1.R
05bebeb2099be4fb79d1f0c0be0544d39d7df183
[]
no_license
aryalsohan0/ExData_Plotting1
6485b9ed2e5d6442141c67017e13fd9b1414a756
6c9fcdb0095e664629bc815cba4b9e3009ddff0f
refs/heads/master
2022-12-09T06:23:06.164051
2020-08-10T16:13:56
2020-08-10T16:13:56
286,503,373
0
0
null
2020-08-10T14:52:09
2020-08-10T14:52:08
null
UTF-8
R
false
false
662
r
plot1.R
# Reading Data epcData <- read.csv("household_power_consumption.txt", sep = ";", na = "?") # Changing Date and Time column type epcData$Date <- as.Date(epcData$Date, format = "%d/%m/%Y") epcData$DateTime <- strptime(paste(epcData$Date, epcData$Time),'%Y-%m-%d %H:%M:%S') # Filtering Date from ...
23e385083aaff0b458cb9e5503c40409a3833649
8b26dee1f2c44a9383a1e4de39e2023b64e6bd5f
/tests/testthat/test-getMetaGenomeSummary.R
e3be72076c9f6e832f0aa677711dc61fa2e6a293
[]
no_license
arpankbasak/biomartr
4e95661b00a6b3068b7a584c82d22547806a9c92
ebd78af060e99d1c60edf965f0c02eb8307e4e9d
refs/heads/master
2020-03-19T17:58:48.067441
2018-06-09T13:26:44
2018-06-09T13:26:44
null
0
0
null
null
null
null
UTF-8
R
false
false
139
r
test-getMetaGenomeSummary.R
context("Test: getMetaGenomeSummary()") test_that("The getMetaGenomeSummary() interface works properly..",{ getMetaGenomeSummary() })
16c9c1633966fe35ae91be0c57235b156a587a7d
c84427b4e9293e4d7326e309b33f23ceef732623
/src/logarithmic_axes.R
a7f15274a354b2cd65fb3d2deda27001df979e10
[]
no_license
pmavrodiev/hornets
1978b1c4a9a67f4194513c9511e624cbc09735b1
3eed8906e1435edd91fd0f1697d279307e145dc0
refs/heads/master
2020-05-30T04:41:01.498459
2015-04-25T09:59:05
2015-04-25T09:59:05
16,486,778
0
0
null
null
null
null
UTF-8
R
false
false
629
r
logarithmic_axes.R
axp <- par("xaxp") #-> powers of 10 *inside* ?usr? axp[3] <- 1 # such that only 10^. are labeled aX <- axTicks(1, axp = 10^axp) xu <- 10 ^ par("usr")[1:2] e10 <- c(-1,1) + round(axp[1:2]) ## exponents of 10 *outside* ?usr? v <- c(outer(1:9, e10[1]:e10[2], function(x,E) x * 10 ^ E)) v <- v[xu[1] <= v & v <= xu[2]] ayp...
4867b4c922d83d2c98d7ed8d82cc764bf33d9a7a
53010da0027d6b6b7a44309d36e26010e0852681
/pcvpc_paperBW.R
4b7cda7ba0b7ab1e50ee3de535b40fcf8af5781e
[]
no_license
jhhughes256/LEN_PK
7575ea8e92ecf2638de2ffdf641b9c1b052c7280
6f19454fc314728c536e94ccd762748d603132e2
refs/heads/master
2022-01-07T14:43:38.819059
2019-06-14T02:22:56
2019-06-14T02:22:56
62,599,627
0
0
null
null
null
null
UTF-8
R
false
false
10,656
r
pcvpc_paperBW.R
# Generating VPCs for each of the three models using the external validation dataset # ----------------------------------------------------------------------------- # Prepare work environment # Remove any previous objects in the workspace rm(list=ls(all=TRUE)) graphics.off() # Set the working directory master.di...
34dacdbd6bddeed73f66137b2d28dcf85e584625
98d83e9e525cabadfa812b88568e2f02ad30a941
/man/linreg.Rd
337a857ba50d638f1d9cdb38d145b46103409044
[]
no_license
priku577/boxlinre
bc70fb5c3f9a38aa715e7083c0a969e4fb01c39c
3f99b225906497e9785e54ee979f8e395cffb5b5
refs/heads/master
2021-08-11T07:42:30.210879
2017-11-13T10:22:01
2017-11-13T10:22:01
106,527,302
0
0
null
2017-10-11T08:33:26
2017-10-11T08:33:26
null
UTF-8
R
false
true
379
rd
linreg.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/linreg.R \name{linreg} \alias{linreg} \title{Multiple Linear Regression.} \usage{ linreg(formula, data) } \arguments{ \item{formula}{A formula implies the model (e.g. y ~ x).} \item{data}{data frame, dataset attached to the algorithm.} } \va...
d56baf49514301a5c32c54e41fa580bd686f62a2
146251d0f22e2d438474281587804686bcc36f8c
/run_all_analysis_scripts.R
b91783b3f6ee6c93a08be545e5e8ffee6e88ae2f
[ "MIT" ]
permissive
MichaelHoltonPrice/price_et_al_tikal_rc
9c533aae49ad29e77495632c602809db0fef1388
3ac1e35f4277ef878f8e3aac3d05159928a09a2b
refs/heads/master
2023-07-01T06:58:50.155602
2021-08-09T03:34:52
2021-08-09T03:34:52
314,018,711
6
0
null
null
null
null
UTF-8
R
false
false
264
r
run_all_analysis_scripts.R
source("create_Fig1.R") source("create_identif_results_exp.R") source("create_identif_results_gm.R") source("do_simulations.R") source("create_simulation_plots.R") source("preprocess_mesorad_dataset.R") source("do_tikal_inference.R") source("create_tikal_plots.R")
f9a730b60c4cf829d04e130d0d82dffb3565b025
8f0beeea9d1bdaa9c361bb7228972ae8abddafb6
/lat_phys_ratios/compute_ratio.R
771349176a3b0d2c38dc1960dbed71ca089e8ccd
[]
no_license
kostrzewa/misc_R_scripts
86b3e7ff0cef773393ac79e12260754bc573012a
f81d1264ba99147418b3d322bc325d5eda4b4d40
refs/heads/master
2020-04-12T06:35:41.028319
2019-08-16T12:12:43
2019-08-16T12:12:43
9,692,321
0
1
null
null
null
null
UTF-8
R
false
false
366
r
compute_ratio.R
compute_ratio <- function(dividend,divisor,name="",debug=FALSE) { ratio <- list( val=dividend$val / divisor$val, dval=sqrt( (dividend$dval/divisor$val)^2 + (divisor$dval*dividend$val/divisor$val^2)^2 ), name=name ) if(debug) { print(sprintf("compute_ratio: %s",as.character(na...
61eef6baf3653b9fb185af270ad8a517cfaac105
f714d5a98e3527823a14511e3357ebe32c17d055
/Code_hwdefinitions.R
409fc614d7488174066a2dc00e73e1b87a797372
[]
no_license
ericamartinez/Temperatures_mortality
1922781bbe9552bdc15e04ab1b19f3763624a7ad
c75cbed170350a3e33f02a6c416eb25e3696514f
refs/heads/master
2021-01-04T14:10:32.106634
2018-10-01T20:29:20
2018-10-01T20:29:20
88,835,362
0
0
null
null
null
null
IBM852
R
false
false
25,922
r
Code_hwdefinitions.R
################################################################################ # "Impact of ambient temperatures on mortality in Spain (1993-2013)" # # CODE (INTERACTION TERM) AND HEAT WAVES INDICATOR # # ISGlobal # Januray 2018 # # ######################################################################...
77f0fa2e4f472d74aa2d380aeb1e4a91f5559b32
28024b6265d05dd41c646fdac57426bfa5f275e9
/tests/testthat.R
361ed9cac7431778cfd71aba9e9823e7b2ceb61f
[ "MIT" ]
permissive
jonthegeek/human
5bfa288ea2784c0449f3e1fe976b4fae91342e8b
bf276ef05ffd5ca6ebaf6f6b7d6ba43d074a7bcd
refs/heads/master
2020-12-02T07:26:39.439972
2019-12-30T15:10:52
2019-12-30T15:19:55
230,933,432
0
0
null
null
null
null
UTF-8
R
false
false
54
r
testthat.R
library(testthat) library(human) test_check("human")
dc6045994955d88099d3c902522c2c9ff9bfc8a4
29585dff702209dd446c0ab52ceea046c58e384e
/mapmisc/R/legendBreaks.R
6c08f835144d2b9331c34dd1305c9d0098b13c39
[]
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
4,278
r
legendBreaks.R
legendBreaks = function(pos, breaks, col, legend, rev=TRUE, outer=TRUE, pch=15, bg='white', cex=par('cex'), pt.cex=2.5*cex, text.col=par('fg'), title=NULL, inset=0.05, title.col=text.col, adj=0, width=Inf, lines=Inf, y.intersp, ...){ if(!missing(brea...
74bb006ff9f80b72736048c67272b42752ffc4f2
c414a3d6d466ca68f9076d6cbe125e485485fea8
/CIPinnipedAnalysis/man/getdead_ch.Rd
feec0f309ec60ee30e40bc91bc977c117c5ac565
[]
no_license
jlaake/CIPinnipedAnalysis
1b35cafa3865a8cacfbc1c68fe9bf1ce21debc72
0c0d8f28a45253e7227ebc902f06819a0ecdd437
refs/heads/master
2021-01-17T09:26:37.164597
2019-04-12T02:28:11
2019-04-12T02:28:11
2,009,438
0
0
null
null
null
null
UTF-8
R
false
true
1,481
rd
getdead_ch.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getdead_ch.r \name{getdead_ch} \alias{getdead_ch} \title{Dead pup capture histories} \usage{ getdead_ch(island, year, development = "fullterm", merge = TRUE) } \arguments{ \item{island}{("SMI" or "SNI")} \item{year}{four digit num...
9b5862cc666e92adec0f82b03519548849d03607
a28bcddae647acfa4fabe04be2a5ef6846b637ee
/ui.R
8c4e0753a5e2475e0d8f7dfb8a8c793e71c05a2a
[]
no_license
Samdsc001/DevelopingDataProducts
02a39c01ca756bbdb009e38e41f243191fc2c473
c821b05204a3a42f7ce7695982cc46fd1539f65f
refs/heads/master
2021-01-10T15:35:29.643045
2015-11-22T18:30:58
2015-11-22T18:30:58
46,662,901
0
0
null
null
null
null
UTF-8
R
false
false
864
r
ui.R
library(shiny) # Define UI for miles per gallon application shinyUI(fluidPage( # title titlePanel("Miles Per Gallon Analysis"), h5('Change the plot by selecting different drop down values and using the check box'), p('This is a dynamic visual interpretation of the relationship between different variables on...
84913f2828d24e71b5a002c7d56b521494661b65
609e12295b740d904c45896444e71c7c40215c8e
/R/testph.R
c7c9e0b338b8717d1a1621191be8a5c4950dc823
[]
no_license
stranda/holoSimCell
a7f68cec17f0c9f599b94fb08344819de40ecd2e
f1570c73345c1369ed3bf3aad01a404c1c5ab3a2
refs/heads/master
2023-08-20T09:08:13.503681
2023-07-20T19:09:41
2023-07-20T19:09:41
189,275,434
1
2
null
2021-03-19T19:32:01
2019-05-29T18:08:16
R
UTF-8
R
false
false
6,220
r
testph.R
## ## function to take a landscape and make sure that all sampled sites are in unique cells ## uniqueSampled <- function(landscape) { ok <- TRUE sdf <- landscape$sampdf sdf <- sdf[order(sdf$cell),] r <- rle(sdf$cell) if (max(r$lengths)>1) { ok <- FALSE message(paste("This lands...
544d41115ac21a5f99c15890b417f3ee088168c7
3299bb7303681f7305c0b2996f48f145fa5bb98b
/R/reexports.R
fd5246842cf45e307939e792f9101cc6d3296306
[]
no_license
paulponcet/tribe
a64be02c1f342cc5f2907dbbb8a710c52f590a98
0c47c0a79ee9870207ad66c1f3df39006a0d40bc
refs/heads/master
2020-06-14T09:14:21.926723
2019-11-23T22:29:40
2019-11-23T22:29:40
75,429,883
5
0
null
null
null
null
UTF-8
R
false
false
56
r
reexports.R
#' @importFrom rlang "%@%" #' @export #' rlang::"%@%"
53fc6063440863286cb69be9f61535e8d8b74036
dd93d8ca4fd860d4187ebff8385fe9b3c29b5084
/r_scripts/unops_scratch.R
be04e843dffa27e6f859fce2e9bb059ed3c78f88
[ "MIT" ]
permissive
ricpie/E2E-Data-Analysis
4e2d9f1fd55f4f23416bf950ad32229977644eba
75b7cc45c25950ae5253ae1dca29425f1bbba27c
refs/heads/master
2020-12-03T18:47:11.544931
2020-12-01T23:52:02
2020-12-01T23:52:02
231,430,828
0
0
null
null
null
null
UTF-8
R
false
false
12,956
r
unops_scratch.R
# unops_ap[, sum_TraditionalManufactured_minutes:=as.numeric(sum_TraditionalManufactured_minutes)] # unops_ap[, sum_TraditionalManufactured_minutes:=as.numeric(sum_TraditionalManufactured_minutes)] # unops_ap[, sum_charcoal_jiko_minutes:=as.numeric(sum_charcoal_jiko_minutes)] # unops_ap[, sum_traditional_non_manufactur...
cd484a1753b02f114e7449a2df9e33774b0f7086
77157987168fc6a0827df2ecdd55104813be77b1
/palm/inst/testfiles/euc_distances/libFuzzer_euc_distances/euc_distances_valgrind_files/1612969129-test.R
af17eaca7816d183f42e5e29350cc15ef848941b
[]
no_license
akhikolla/updatedatatype-list2
e8758b374f9a18fd3ef07664f1150e14a2e4c3d8
a3a519440e02d89640c75207c73c1456cf86487d
refs/heads/master
2023-03-21T13:17:13.762823
2021-03-20T15:46:49
2021-03-20T15:46:49
349,766,184
0
0
null
null
null
null
UTF-8
R
false
false
2,719
r
1612969129-test.R
testlist <- list(x1 = Inf, x2 = NaN, y1 = c(2.7502984733185e-135, NaN, 5.48545699190191e+303, NaN, 3.9886384405544e-91, 1.13923782404367e-305, 2.75909158067388e-306, 1.38523901781317e-309, NaN, 3.3487723144616e-303, 1.18182126306977e-125, 4.13000185147604e-27, 8.37116099366851e+298, 7.51095820725777e+105, NaN, -5.8...
5cd1b8d69159b7d604032e6d79cac94b76356846
a6e33678f7f3e3cfd6e9d4d1fe94a568bcc561d2
/paragrapq20.R
d45e33ea85dee3ce00c604c6c7a58e03599f979e
[]
no_license
ibradley711/36-350
e95577d72ef52c9b4fe3e3343aa711f75ab7a029
7656f128bbfee23e5d91cb0f7c503fda09838bfa
refs/heads/master
2021-08-28T00:55:29.769182
2017-12-10T23:59:29
2017-12-10T23:59:29
109,596,842
0
0
null
null
null
null
UTF-8
R
false
false
733
r
paragrapq20.R
On Earth we have places called universities, where students learn information about various academic fields. One such university is Carnegie Mellon, where one of the academic fields in Statistics, in which professors teach various classes on Statistics. One of the classes is called 36-350 Statistical Computing, I am wr...
05a3d97d27867458fec5009168e1e39f7a97282b
77eee0a81f69d7273c604aa27a35ed96f4cc031c
/Plotting/Base package/20150328 Error Distribution Plot.R
90115831015e7318051e0c82e4946f74d0b48a03
[]
no_license
rsankowski/usefulRcodes
ef1afd11a173407c8521c23d57786a36723b6a9d
efa9a116ef6789e0a81496d796f9c1b03cf6999a
refs/heads/master
2021-01-19T05:48:29.617304
2015-05-24T17:47:24
2015-05-24T17:47:24
35,740,218
0
0
null
null
null
null
UTF-8
R
false
false
1,183
r
20150328 Error Distribution Plot.R
setwd("/Users/romansankowski/Dropbox/Writing/My Authorships/20141213 Clockmaze Priject/strategies/") DT <- read.csv("/Users/romansankowski/Dropbox/Writing/My Authorships/20141213 Clockmaze Priject/strategies/errors.csv", header = T) head(DT) head(DT2) write.table(DT2, "/Users/romansankowski/Dropbox/Writing/My Authorshi...
770858fe29ef211b992cc7c073adfcf3c3809db1
33c215081baf0ac47554b2708a6cdd79930d59ae
/refine ellis fmps_1_scaleNaomi.R
3745dd8ccfe37f62a7127ab6074d53f9096aa224
[]
no_license
hugh1li/provat_ufp_lur
6a8f618ae2059a1413d5d2f6588595201777566e
b2d52ec7c906c9cb6d8de020185654f2c8779f01
refs/heads/master
2020-03-27T21:04:05.120195
2019-03-31T02:10:38
2019-03-31T02:10:38
147,112,963
0
0
null
null
null
null
UTF-8
R
false
false
4,416
r
refine ellis fmps_1_scaleNaomi.R
library(tidyverse) library(rgdal) library(lubridate) # gpx read # I see backup folder # i think they are the same, and i just load the files in the normal folder (and assume backup maximum size == the normal one) #1.1 GPS---- # GPS speed units in m/s! setwd('data/FMPS_winter_ellis/gps_raw/') GPS_raw <- list.files(pat...
4c1f5d366d23b32527fbbb603166a711ce261b64
d8e31459ccc57a5d0f9453798eb684eefc70f1d5
/plot3.R
22a145d68e116de02fad8a5c0dd8bdd6f703901b
[]
no_license
milkmansrevenge/ExData_Plotting1
01ffa172eb799e852197a10eddfe556d1584363a
0408e4eeae5ff6a54bef983f46818dfd17127776
refs/heads/master
2021-01-15T20:57:33.518143
2016-01-10T14:19:51
2016-01-10T14:19:51
47,937,280
0
0
null
2015-12-13T21:33:23
2015-12-13T21:33:22
null
UTF-8
R
false
false
1,121
r
plot3.R
## Read data data_file <- "..\\household_power_consumption.txt" power_data <- read.table(data_file, header = TRUE, sep = ";", na.strings = '?', stringsAsFactors = TRUE) ## Set date format and extract the time period we ...
d2c843a7c7c8d59e775fd60c36236dba77e64359
82cb848b8d7e5dcdb52ba62578f094141eeb8bd2
/setup.R
270aa6b7443faaea6c8adb946782b3a03c41f727
[]
no_license
anonymnous2023-lab/IRGA
0c19aae26142953bba9d712eba4f61f8710fa1df
5119a911fb7a793ec514dc97847db6e9d78c10e9
refs/heads/master
2023-05-14T01:03:03.901867
2020-12-15T04:04:20
2020-12-15T04:04:20
null
0
0
null
null
null
null
UTF-8
R
false
false
165
r
setup.R
# Specify the maximum number of CPU cores to be used n_cores = 8 # Load the functions that contain the methods considered source("BVS_IRGA.R") source("BVS_other.R")
5af21f21a7cb6121173ab45337be8b3ef3c40ca0
d6c0595084b6f9f3a541df39d7e54ad2cdd29d8e
/R/convert.R
a8543b1c67734f3c6b49f33d9d45db5f517f8a36
[]
no_license
cran/phenopix
2b6e5b2ea601de51c312e692e04ec050529bf5e8
9220b65ba06c6e08e1df76a365db0b78364ed684
refs/heads/master
2023-08-19T07:31:53.401802
2023-08-09T13:50:02
2023-08-09T15:30:47
94,452,244
7
5
null
null
null
null
UTF-8
R
false
false
330
r
convert.R
convert <- function(x, year=NULL) { if (!inherits(x, 'ts') | !inherits(x, 'zoo')) time.new <- index(x) x.df <- as.data.frame(x) rownames(x.df) <- NULL x.df$doy <- time.new if (!is.null(year)) { time.posix <- as.POSIXct(strptime(paste(year, time.new, sep='-'), format='%Y-%j')) x.df$time <- time.posix } retu...
fef746b7715d096114fb8451c4823ebe1786d2d6
26455464b8fd0bc5516f5af293dcbb9d35509295
/quiz-results/john_bonney/textables/R/title_row.R
de5646e347f9546b85dd7c4642843de0bd5b52ee
[ "MIT" ]
permissive
PercyUBC/r-tutorial
dd1dd5f03dea414ea8ce38409032e7cadde98370
cb2b6d8f8ae8d1d2cbe1f667f93e5f997ebb4732
refs/heads/master
2022-01-26T12:13:39.214680
2018-08-02T21:05:12
2018-08-02T21:05:12
null
0
0
null
null
null
null
UTF-8
R
false
false
756
r
title_row.R
#' Function to create title row in LaTeX document. #' #' @description #' This function creates a title row in LaTeX. #' #' @param panel The name of the panel (character). #' @param title The title of the row (character). #' @param num (numeric). titlerow <- function(panel, title, num) { if (!is.character(panel)){ ...
7693ed2abde47153e6e776769a173d7ceef002bd
59833e9fe4bd6e26984a9d06b76aa15e118d462a
/R/ch_13_S3.R
12225dfc41a7b7edd0799cf1195c6c2a4051eda1
[]
no_license
josefondrej/advanced-r
37aa90bac6db1ab7108f2d565a90df8d43cde1e5
b68c205a422dba410e13eb3f4c02cc0ac206ddc4
refs/heads/master
2023-02-24T04:09:42.819980
2021-01-21T20:40:26
2021-01-21T20:40:26
324,523,463
1
0
null
null
null
null
UTF-8
R
false
false
3,168
r
ch_13_S3.R
# Title : S3 Objects # Created by: Josef Ondrej (www.josefondrej.com) # Created on: 28.12.20 # functions are typically generic # WARNING str is also generic time = strptime(c("2017-01-01", "2020-05-04 03:21"), "%Y-%m-%d") str(time) str(unclass(time)) sloop::s3_dispatch(str(time)) # Methods have dot in name or u...
cb70fe17d92ea4d5b836942875d3c6f156b30340
e3f07dbce78c54e7e4d2f3946d089c0f11a789f3
/Plot1.R
d7b7b7016822d304dd0e88521f7547a8394a6f10
[]
no_license
pmpergon/ExploratoryDataAnalysis
b90f4638f7996424e36451633a6b7038e3b94c4e
18645171354c1f412de189c4d032350a230d8b58
refs/heads/master
2021-01-01T06:11:08.547478
2014-10-10T22:07:07
2014-10-10T22:07:07
null
0
0
null
null
null
null
WINDOWS-1252
R
false
false
2,069
r
Plot1.R
## Exploratory Data Analysis # Project Assignment 1 PLot #1 # Data: https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip library(Defaults) #http://stackoverflow.com/questions/13022299/specify-date-format-for-colclasses-argument-in-read-table-read-csv library(plyr) ## NOTE: house...
72e5a6e0103ee9176c5e7636c467861c8f3fe96f
5db34fe55462f237703358e5ead7c80299de3d02
/R/plot.tlm.R
833a55d87dce3c3b0e2216fb997972bef4ddad53
[]
no_license
cran/tlm
687fe4cb6d25a1086f46e61afb5faa898037f9e2
4a399dc84a6b38f8681ef4709c14115d89505f27
refs/heads/master
2021-01-17T07:11:00.175043
2017-04-10T12:15:19
2017-04-10T12:15:19
23,803,445
0
0
null
null
null
null
UTF-8
R
false
false
5,557
r
plot.tlm.R
plot.tlm <- function(x, type = c("original", "transformed", "diagnosis"), observed = FALSE, xname = "x", yname = "y", level = 0.95, ...) { if (!inherits(x, "tlm")) stop("argument 'x' must be of class 'tlm'") if(any(is.na(coef(x$model)))) stop("plot is not available for models with any missing estim...
9e75cbeec6bf099f23215a7a4ed9446882875c77
f7200e99e92c04b4237a2f4055f73f98b196bbad
/R/resARMod_nlin1.R
aea90d3fca9bcbf7909f28e0eb77a40931374952
[]
no_license
ChrisKust/rexpar
812d10a7eb8c3be26de46a44b4bf36d1bfc64abb
f2c3c7be835233729a0d12b723888ffaf0ef2a91
refs/heads/master
2020-04-06T07:01:50.286427
2016-07-28T12:02:59
2016-07-28T12:02:59
25,927,083
1
4
null
2016-06-22T17:22:10
2014-10-29T15:22:43
R
UTF-8
R
false
false
168
r
resARMod_nlin1.R
resARMod_nlin1 <- function(theta, dat) { dat1 <- dat[1:(length(dat) - 1)] dat2 <- dat[2:length(dat)] res <- dat2 - theta[1] * dat1^theta[2] - dat1 return(res) }
9a5f59aab1cb5cfba715b5b1e6ae5531ee961dec
b2f61fde194bfcb362b2266da124138efd27d867
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Sauer-Reimer/ITC99/b15_PR_5_20/b15_PR_5_20.R
9cb1c340b0b389e94e4f9527e9bdc0b181a03a4a
[]
no_license
arey0pushpa/dcnf-autarky
e95fddba85c035e8b229f5fe9ac540b692a4d5c0
a6c9a52236af11d7f7e165a4b25b32c538da1c98
refs/heads/master
2021-06-09T00:56:32.937250
2021-02-19T15:15:23
2021-02-19T15:15:23
136,440,042
0
0
null
null
null
null
UTF-8
R
false
false
64
r
b15_PR_5_20.R
aa4c54a1a16bdcf3e81fcaf6010e8be5 b15_PR_5_20.qdimacs 19981 59275
f4abb9db67aabd822d29f34672bc0774ffc8e19e
c7daf6d40483ed719ec1cfa9a6b6590df5bcdd5c
/products/Introduction_to_Computational_Science_Modules/02_System_Dynamics/R/R_Computational_Toolbox_Files/Ants_R/sense.R
adbc56c56b7f6186dc91daf0aa21fa398a7ec37c
[]
no_license
wmmurrah/computationalScience
b28ab2837c157c9afcf432cc5c41caaff6fd96d1
a4d7df6b50f2ead22878ff68bfe39c5adb88bbbb
refs/heads/main
2023-06-01T17:40:29.525021
2021-06-20T01:42:54
2021-06-20T01:42:54
332,249,589
0
0
null
null
null
null
UTF-8
R
false
false
722
r
sense.R
sense<-function(site, na, ea, sa, wa, np, ep, sp, wp){ utils::globalVariables(c("EMPTY","STAY")) EMPTY = 0 STAY = 5 if (site == EMPTY){ direction = EMPTY return(direction) } lst = c(np, ep, sp, wp) # don't allow ant to turn to previous cell, so make value artificially # small if (site < STAY){ lst[site] =...
23e4f96e466d5f292bbdd05bd54164a25f89d8cd
d58c2100367455fa7247bd01f09b06c60a1552f1
/data/investment/stock_v1.R
9101b41b4947a300d7e2f3776cc0fb50d8529ee1
[]
no_license
jinbin/lifebook
52cb8d8ca787631ecd29cb0143cf65f53c8e71e8
b1ed4cda692e70aff9909fb97232ff1ed7f020d2
refs/heads/master
2020-12-26T04:17:13.138709
2020-08-18T03:57:33
2020-08-18T03:57:33
18,483,302
0
0
null
null
null
null
UTF-8
R
false
false
109
r
stock_v1.R
#!/usr/bin/env RScript library(hash) stock <- read.csv("/Users/jinbin/lifebook/data/investment/stock.csv")
19079906af130238a53b49c500457bb3e0bca893
466c277d1035041e2306c65f4bf285e3edf505bb
/MCDS for 2 stage model.R
312878e4d03b51ad9d43f156a4e9ebbeed1fa44c
[]
no_license
tmclaren1/tmclaren1
b935593c595625f846c4a674ccd3334f031e6b16
084843e688912a9a76eae6710dd7f59396fc1983
refs/heads/main
2023-07-05T14:16:47.748405
2021-08-12T16:09:07
2021-08-12T16:09:07
371,488,242
0
0
null
2021-05-27T20:30:34
2021-05-27T19:51:28
R
UTF-8
R
false
false
1,762
r
MCDS for 2 stage model.R
###MCDS for 2 stage model library(Distance) ###reformat effort distance.dat$o_effort<-distance.dat$Effort distance.dat$Effort<-1 distance.dat$Effort[which(distance.dat$survey_period == "8")] = "2" distance.dat$Effort<-as.integer(distance.dat$Effort) distance.dat$o_sample.label<-distance.dat$Sample.Label dista...
8a45563abb50625da8ab97a3fb63b7ac0db0fe15
ef4c19bbcd2bb4915aa17654c7760fe0e6e14e5c
/man/pipeline.Rd
1a3e8ccd4f1605a0356bdf9c39a87ef04ac26e03
[]
no_license
3shmawei/faraway
ee4f1442e5b28de2c4e436c57a7c34f2f3065a2b
dc770de1a2d55d31a217e14c911495644ea17b3f
refs/heads/master
2020-03-23T18:10:35.105916
2016-02-15T15:07:03
2016-02-15T15:07:03
null
0
0
null
null
null
null
UTF-8
R
false
false
1,003
rd
pipeline.Rd
\name{pipeline} \alias{pipeline} \docType{data} \title{NIST data on ultrasonic measurements of defects in the Alaska pipeline} \description{Researchers at National Institutes of Standards and Technology (NIST) collected data on ultrasonic measurements of the depths of defects in the Alaska pipeline in the field. Th...
6f51d10df07de5961cfed4cf6430bb2b46cdf18a
56fe483e66c45da3505e883c3821db8c32685945
/R/setup.R
e8de5e737ba3370324f77baeb854e7b140e90b25
[ "Apache-2.0" ]
permissive
bcgov/statscan-taxdata-tidying
28840781704b762403970fc375906085b89516fa
275d9ae6a9075aa8e2b1164ff3a5f9ed5cf747e4
refs/heads/master
2021-06-09T10:06:09.002358
2021-05-12T19:10:24
2021-05-12T19:10:24
172,797,380
3
1
Apache-2.0
2020-04-23T00:15:19
2019-02-26T21:59:11
R
UTF-8
R
false
false
1,900
r
setup.R
# Copyright 2019 Province of British Columbia # # 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...
b9ee92f6a8524785f8fd8651a2cffedc75658ff6
c858d45451d067679e34bf1b5d4d594db929f0cb
/R/newGame.R
e62f6993099cf27968034ebcf78ecfcd6fc8cfbe
[]
no_license
mit5u/petanque
88a36ab22bc45b7cd2cd61248c2b48ed70924e10
4e45772a451e0cf0069ec10ca75a20f0bb74c013
refs/heads/master
2021-11-07T09:50:02.657442
2021-10-26T13:07:09
2021-10-26T13:07:09
208,126,170
0
0
null
null
null
null
UTF-8
R
false
false
850
r
newGame.R
#' Create a new petanque game. #' @return Data.frame with ball positions. newGame <- function() { drawField(newPlot = TRUE) drawHuman("orange") # define the data frame which tracks the positions posDF <- data.frame(x = numeric(7), id = 1:7, type = c("target", rep(c("p1", "p2"), 3)), width =...
feeb6e749c003136905a78321a43c99e16c26f6a
5e93db89d08a1a3da82b7ac548a5f5a9c6fd6626
/Tutorials/class14.R
6a1cb1b3c0296c7c8f38d60e9cfaacb7abcd0863
[]
no_license
msandim/tum-data-analysis-r
48b3687bf564221ca5d33e1bd49d8939407cfb3c
cf721e0f4d0e6e11a7dba8bd05369eed05ce4da9
refs/heads/master
2021-01-19T20:50:43.925466
2017-03-13T10:51:52
2017-03-13T10:52:13
72,001,688
1
0
null
null
null
null
UTF-8
R
false
false
2,019
r
class14.R
pima <- read.csv("data/pima-indians-diabetes.csv") model <- glm(class ~ ., data=pima, family="binomial") # Question 3 predictions <- predict(model, pima) predictions_class <- predictions >= 0 real <- ifelse(pima$class == "1", TRUE, FALSE) getMeasures <- function(real, predicted) { truePositives <- sum(predicted & ...
06a70c71a360c02d75ba149b0cace2683619e7d3
a85e536f8cbe2af99fab307509920955bd0fcf0a
/R/resample.R
d8910f785bf8453b0b917ef84cf227b7d069e704
[]
no_license
ProjectMOSAIC/mosaic
87ea45d46fb50ee1fc7088e42bd35263e3bda45f
a64f2422667bc5f0a65667693fcf86d921ac7696
refs/heads/master
2022-12-13T12:19:40.946670
2022-12-07T16:52:46
2022-12-07T16:52:46
3,154,501
71
27
null
2021-02-17T21:52:00
2012-01-11T14:58:31
HTML
UTF-8
R
false
false
12,897
r
resample.R
############################################## # coin toss # #' Tossing Coins #' #' These functions simplify simulating coin tosses for those (students primarily) #' who are not yet familiar with the binomial distributions or just like this syntax #' and verbosity better. #' #' @rdname rflip #' @return for `rflip`, a...
7934a5ca82553039542dbed5259b2c0df769484b
2629760084e472f389b13f5e8b9c6f690d8b5477
/man/parmafil.Rd
4664525c0e01e59dc00961d25549489ce92f47a0
[]
no_license
cran/perARMA
b75018137817798ceb7a890e7f6e189478ebfe20
d10c97281cf83cb0e4b500b0185db0a4c1a02a19
refs/heads/master
2021-01-19T04:13:25.379842
2016-02-25T22:49:40
2016-02-25T22:49:40
17,698,467
0
0
null
null
null
null
UTF-8
R
false
false
1,640
rd
parmafil.Rd
\name{parmafil} \alias{parmafil} \title{ PARMA filtration } \description{ Procedure \code{parmafil} filters the vector \code{x} according to matrices \code{a, b} containing PARMA model parameters. The function returns series \code{y} such that \eqn{a(n,1)*y(n) = b(n,1)*x(n) + b(n,2)*x(n-1) + \ldots + b(n,nb+1...
43b4c298f45a6d44d7d5dfb9390785d64d3aaaac
9cfb7407d2ce87df982afda33ff9ac7f512e8e82
/etgKpi/weeklyKPI.R
9266e0cf09cea96a98e2ee371ef94d0f6a7c42da
[]
no_license
loganscalder/EliteTechGear
3edacc595d2c00c56f01dd62389db69679390228
e3b0068c937f4afc43ce4166049fde325db88348
refs/heads/master
2021-01-10T21:47:06.455191
2017-12-06T14:44:57
2017-12-06T14:51:33
40,363,642
0
0
null
null
null
null
UTF-8
R
false
false
2,875
r
weeklyKPI.R
rm(list = ls()) require(plyr) dateRanges = c( "03-15--03-21", "03-22--03-28", "03-29--04-04", "04-05--04-11", "04-12--04-18", "04-12--04-18", "04-19--04-25", "04-26--05-02" ) weeklyLis...
2a3634dfe7b73ae6b87ea278901f2d959bd0c20d
82b1c5655856b660c053d18ec7ad94f3aa30a964
/tests/testthat/test-function-print_replacement_template.R
9c217d31a06c0c8e99f31dc2dd732b6d3fe24163
[ "MIT" ]
permissive
KWB-R/kwb.fakin
9792dfa732a8dd1aaa8d2634630411119604757f
17ab0e6e9a63a03c6cb40ef29ee3899c2b2724a0
refs/heads/master
2022-06-09T22:25:09.633343
2022-06-08T21:24:14
2022-06-08T21:24:14
136,065,795
1
0
MIT
2021-03-15T10:55:17
2018-06-04T18:21:30
R
UTF-8
R
false
false
159
r
test-function-print_replacement_template.R
test_that("print_replacement_template() works", { f <- kwb.fakin:::print_replacement_template expect_error(f()) expect_output(f(c("x", "y", "z"))) })
7d52c2ff973b9d22656d5f0a125b56b023b3f15e
a61eea3652bf5379ffc4a44d4ddba9ad189a4d56
/plot2.R
5eae1463639cb939a130fb8b32aa653b89850fbd
[]
no_license
mahdaa/ExData_Plotting1
2adba1bfe5d26d9ecdee99675194b6efa39afc7d
87fe1b2787bd853dc09c0b968e056c6cc55fb877
refs/heads/master
2021-01-17T14:37:39.076047
2014-11-09T16:16:09
2014-11-09T16:16:09
null
0
0
null
null
null
null
UTF-8
R
false
false
603
r
plot2.R
setwd("C:/Users/mahda/Documents/Rcoursera") hdata <-read.table("household_power_consumption.txt",nrows=4,header = T, sep=";") head=names(hdata) mahdata <-read.table("household_power_consumption.txt",skip=46*24*60,nrows=4000, sep=";") names(mahdata)<-head mahdata <-mahdata[mahdata$Date=="2/2/2007" | mahdata$Date=="1/2...
57fd75c058cd5eaffcfeebbc305527e4cede83b6
3d5382f04c70b0f57d035ed5a50c977cf827c2b0
/data_visualization/data_type.R
59f3eca4c1ef5a83a41a1ed41ad150536e3ef1b9
[]
no_license
Pongsasit/HavardX_data_sciece
56ffb84f45ac33deaddb516cfdc035037e7f2618
cd95720a2195f2d365fe2b6e89334785ef2f1309
refs/heads/master
2020-05-18T17:54:36.446168
2019-06-16T13:39:47
2019-06-16T13:39:47
184,569,792
0
0
null
null
null
null
UTF-8
R
false
false
285
r
data_type.R
library(dslabs) data(heights) names(heights) x <- heights$height # how many unique values are used by the heights varialbe unique(x) #count the unique by using length length(unique(x)) #make table tab <- table(x) #Use logicals and the function sum to count sum(tab==1)
fc78f9757a39caab97515d4b6d1bebaff45096b1
1e42b9829b85bc37d112ec5b8efa1682264297b2
/R/filter_throughput_time.R
26d6ae840557175d56cf070433a0aef931c79e4c
[]
no_license
strategist922/edeaR
ca83bf91f58e685bc9333f4db3bfea3d8c019343
ad96118cccfdc90a7bed94f5aef2ee0cfab3aac8
refs/heads/master
2021-07-05T04:30:35.286640
2017-09-27T12:25:04
2017-09-27T12:25:04
null
0
0
null
null
null
null
UTF-8
R
false
false
3,755
r
filter_throughput_time.R
#' @title Filter: Throughput Time #' #' @description Filters cases based on their throughput time. #' #' @param eventlog The event log to be used. An object of class #' \code{eventlog}. #' #' @param lower_threshold The lower duration threshold, specified in number of days. #' When \code{reverse} is FALSE, all cases wit...
9a312faea7ce88bbf38ae387e0a8ad75a899eb36
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/MLZ/examples/summary-MLZ_model-method.Rd.R
08580adda7b5ea15fdfadd45f11059cf0698e76c
[]
no_license
surayaaramli/typeRrh
d257ac8905c49123f4ccd4e377ee3dfc84d1636c
66e6996f31961bc8b9aafe1a6a6098327b66bf71
refs/heads/master
2023-05-05T04:05:31.617869
2019-04-25T22:10:06
2019-04-25T22:10:06
null
0
0
null
null
null
null
UTF-8
R
false
false
299
r
summary-MLZ_model-method.Rd.R
library(MLZ) ### Name: summary,MLZ_model-method ### Title: 'summary' method for S4 class 'MLZ_model' ### Aliases: summary,MLZ_model-method ### ** Examples ## Not run: ##D data(Goosefish) ##D goose.model <- ML(Goosefish, ncp = 2, grid.search = FALSE) ##D summary(goose.model) ## End(Not run)
38d6818e6c63bc669a48e10ea017fb862ca3669b
4e84a2a31e0762eccd3b513461f94e605adbe6df
/Homework_1_Thomas/CH2_PROB4.R
cf773645e13188a1aff9599916945b576c3b52ce
[]
no_license
TaraAnn/Econometrics-UTA-Coursework
324715f3ca452d3202a0414c6c62e5963629488e
3d62a54f9d33c6979f0021d414a9efb756d9e5e9
refs/heads/master
2021-04-15T15:40:34.662733
2018-03-21T19:43:54
2018-03-21T19:43:54
126,229,515
0
0
null
null
null
null
UTF-8
R
false
false
4,511
r
CH2_PROB4.R
"Woolridge Chapter 2 C4" "Use the data in WAGE2 to estimate a simple regression explaining monthly salary (wage) in terms of IQ score (IQ). (i) Find the average salary and average IQ in the sample. What is the sample standard deviation of IQ? (IQ scores are standardized so that the average in the population i...
088cf05c2fffea2884ca1c0281bc92a197a8ba99
a1e8befe54df1c88406ddb75015eaf499929b3ed
/chapter4_1.R
ae33307cb9ca13ec54435848d9c06725eff0177a
[]
no_license
mk102/datamining_nyumon
f67027d33dd532e8f0f0c83b419ed4118b97e393
b6bb3cee7bda622453b4560b69cef7320fdbf7f1
refs/heads/master
2021-07-22T08:10:25.765780
2017-11-01T04:24:16
2017-11-01T04:24:16
108,372,491
0
0
null
null
null
null
UTF-8
R
false
false
532
r
chapter4_1.R
library(som) 動物データ1 <- read.csv("animal1.csv",header=T) 標準化動物データ <- normalize(動物データ1[,2:14], byrow=F) 動物SOM <- som(標準化動物データ, xdim=10, ydim=10, topol="rect") plot(動物SOM) head(動物SOM$visual) 乱数 <- cbind(rnorm(nrow(動物データ1), 0, 0.15), rnorm(nrow(動物データ1), 0, 0.15)) 動物マップ <- 動物SOM$visual[,1:2] + 乱数 + 0.5 plot(動物マップ, xlim=c(...
61d87d776d7e7164b5b6237b07b60252119dd01b
f6528c07bea30b85de4ea788f649bbe3a4b0df08
/01fun_Explore_temp_data_functions.R
ac4873415d273674ee7545bde24790a2f3332f27
[]
no_license
DagHjermann/get-fresh-temp
217785b0e284b3caf97b7104e13518a062e888a2
52d8aaa5045ff8c247af35d159d800bc22ce76e0
refs/heads/master
2020-04-20T04:38:58.723950
2019-02-01T13:46:19
2019-02-01T13:46:19
168,634,025
0
0
null
null
null
null
UTF-8
R
false
false
1,013
r
01fun_Explore_temp_data_functions.R
create_sequence_list <- function (param_values, values_are_text = FALSE) { sel_na <- is.na(param_values) param_values <- param_values[!sel_na] if (sum(sel_na) > 0) warning(paste("Supplied values contained", sum(sel_na), "missing value(s)")) L <- length(param_values) sq1 <- seq(1, L, 10...
e762173e1fde1704ea3dbe4aae03981457025070
29585dff702209dd446c0ab52ceea046c58e384e
/DNMF/R/DNMF.R
895650e6566a2bfcb19f78b9e1a299f0b58659f6
[]
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
5,885
r
DNMF.R
#' Discriminant Non-Negative Matrix Factorization. #' #' Discriminant Non-Negative Matrix Factorization, DNMF, is to extend the Non-negative Matrix Factorization algorithm in #' order to extract features that enforce not only the spatial locality, but #' also the separability between classes in a discriminant manner....
b32a0a2b0cbe1507e3f7ab81afe0fa91401f9005
96148d4bcf4dc8c4d67fac7f2e0774c68f2d8516
/plot2.R
2ab72825862755c93cabb710b4e9bc01cbb19ebe
[]
no_license
rmullinnix/ExpData_ProgAssign2
0a8b2adbfddab268b219ad27fbe225639d48ee39
ac088499c50c121fc86ce95e80dabc3ba7b1b426
refs/heads/master
2016-09-05T19:05:28.146823
2014-10-24T21:48:44
2014-10-24T21:48:44
null
0
0
null
null
null
null
UTF-8
R
false
false
648
r
plot2.R
## library(dplyr) # check to see if files exist in the working directory, exit if not if (!file.exists("summarySCC_PM25.rds")) stop("Summary PM25 file not found") # read in the two dataframes from the source files summary.df <- readRDS("summarySCC_PM25.rds") yr_sum <- tbl_df(summary.df) balt_filt <- filter(yr_su...
4465de61e103f537f7a8df1613aaac0762a8d9c7
7f82da6b91a8fda7d9570ae1c0f8057d0a277c7f
/2_2_model_drivers/src/met_downscale/plot_downscaled_met.R
72dc2e34e9f2e5f40c30126a134a9ff1481adb4c
[ "CC0-1.0", "LicenseRef-scancode-public-domain-disclaimer", "LicenseRef-scancode-warranty-disclaimer" ]
permissive
jzwart/da_pgdl_stream_temp
fa4f031cefbdac6f545a4baa01517633d2402bc3
8aafc4251c6c5e173df2480af519a11429d9198b
refs/heads/main
2023-04-01T12:01:31.296401
2021-04-14T14:11:36
2021-04-14T14:11:36
311,776,664
0
1
CC0-1.0
2021-01-11T19:28:28
2020-11-10T20:28:03
R
UTF-8
R
false
false
750
r
plot_downscaled_met.R
plot_downscaled_met <- function(met_file_names, VarNames, working_directory){ full.data = NULL for(i in 2:length(met_file_names)){ tmp.data = read.csv(met_file_names[i]) %>% dplyr::mutate(ens = i - 1) full.data = rbind(full.data, tmp.data) } pdf(paste0(working_directory, "/downscaled_met_plots...
d1d4d97176db9e59bc3a7220b2dce34754ac9fe7
f606dc05a68407496aa3dccd0f56cf147d4bad82
/rprog_data_specdata/pollutantmean.R
ef76a49f8979aa4414244ad4135e226787dcda71
[]
no_license
Osirisis/RProgramming
4fe68662b0779928bc683d00d773d900c1cb6cd6
95c94e78255e7dfa0e748eec93f1e2d3758e99da
refs/heads/master
2021-01-09T20:16:47.580362
2016-06-11T18:53:59
2016-06-11T18:53:59
60,922,725
0
0
null
null
null
null
UTF-8
R
false
false
533
r
pollutantmean.R
pollutantmean <- function(directory, pollutant, id = 1:332) { myid <- id for(i in 1:length(id)) { if(id[i]<10) { myid[i] <- paste("00",id[i], sep="") }else if(id[i]<100) { myid[i] <- paste("0",id[i], sep="") } } # http://stackoverflow.com/questions/11433432/importing-multiple-csv-files-...
28264b80ea949743eda547cf07eebe2b11a44499
490e0fcca0ae7b0eb4922ee2aeaa8258690c669d
/Extra/Full R Scripts/Total N Full.R
0c948b3f72a7281e171ceb503c5de79e754d2c07
[]
no_license
nezirii/Thesis
ef73556f1c2e0887118cccadb2e15ad7112f5586
507926945501af539ed893e789f225e0637d9451
refs/heads/master
2021-01-15T10:43:30.050932
2020-08-18T01:45:49
2020-08-18T01:45:49
99,593,185
0
0
null
null
null
null
UTF-8
R
false
false
10,550
r
Total N Full.R
#load data sm<-read.table(file="soil.data.3.csv", header=T, sep=",") #set factors str(sm) sm$f.time<-factor(sm$time) sm$f.plot<-factor(sm$plot) sm$nest <- with(sm, factor(paste(location,f.plot))) #install packages install.packages("nlme") install.packages("lme4") install.packages("lmerTest") install.packages("dplyr...
d4e53c58e66a7046d0eb153958170a8a2560566c
76f73ae8939ca7c1998a8270ae4907601159693b
/code/dv_tables.R
2b0335e22ba115ce2884a5f37e9407f553a5490b
[ "BSD-3-Clause", "BSD-2-Clause" ]
permissive
muuankarski/attributions
b9a003eed79556f92aa5ec2a846c2cfab714601d
fa9ac65c936fdfb917541266225a1947b93b0d26
refs/heads/master
2021-01-01T18:22:57.062986
2015-01-14T11:38:35
2015-01-14T11:38:35
16,984,436
1
0
null
null
null
null
UTF-8
R
false
false
3,647
r
dv_tables.R
load("~/workspace/lits/clone/attributions/data/lits.RData") library(survey) d.df <- svydesign(id = ~SerialID, weights = ~weight, data = df) t <- data.frame(prop.table(svytable(~group_general+cntry+q309, d.df), 2)*100) t$Freq <- round(t$Freq, 1) t <- subset(t, Freq > 0) ### test...
48398f066c3a6002ac7e41dbda14f56681b44af6
7e56e97392d5a48f2f9425462a1fed9453742bf7
/FunctionsLoads/Functions/calculateDet.R
ac5a5a11638959856b5f59cd478947dcd57d09a0
[]
no_license
teamsoccult/CRUST-1
2d0f328254b1d2d099956ee8a78d96a1f9a794af
1668e732459132e240fb80c6b87737f4b1c447f9
refs/heads/master
2020-05-03T09:45:56.279755
2020-02-16T15:38:42
2020-02-16T15:38:42
178,562,903
0
0
null
2019-03-30T13:36:19
2019-03-30T13:36:19
null
UTF-8
R
false
false
928
r
calculateDet.R
################ ## ## @description Calculate the deterministic part of the model ## ## @param model Model in matrix format ## @param xset X values randomly generated ## @param weights Beta weights ## @param betas Random betas ## ## @return Deterministic value of the model ## ## @lastChange 2018-03-01 ## ## @cha...
e3f8888eef83c482125b6558a3da7ec03dca2f00
a58702fdc93e352ee8a1f88a65e4b6bec8b165c8
/dataset.R
429e45fe5d280ddd64eee656ed924eee5e1fe07f
[]
no_license
baleeiro17/HarvardX-s-Data-Science-
6a7feeb266f68597df6ffa39d642a1a3ded4ea19
c8b8a7d934a00d41761721e876c820d88c25089b
refs/heads/master
2022-11-22T21:13:57.986278
2020-07-22T19:42:25
2020-07-22T19:42:25
280,945,003
1
0
null
null
null
null
UTF-8
R
false
false
1,271
r
dataset.R
library(dslabs) data("murders") data(na_example) # create dataframe using this example: temp <- c(35, 88, 42, 84, 81, 30) city <- c("Beijing", "Lagos", "Paris", "Rio de Janeiro", "San Juan", "Toronto") # create columns from dataset: city_temps <- data.frame(name = city, temperature = temp) city_temps # more example ...
5bf0922675af489489e64a53ed4727b4a15a5e35
150ddbd54cf97ddf83f614e956f9f7133e9778c0
/man/symmetrize.Rd
50192d79f1182c105fe226a3e9eb5b87cf03e8d5
[ "CC-BY-4.0" ]
permissive
debruine/webmorphR
1119fd3bdca5be4049e8793075b409b7caa61aad
f46a9c8e1f1b5ecd89e8ca68bb6378f83f2e41cb
refs/heads/master
2023-04-14T22:37:58.281172
2022-08-14T12:26:57
2022-08-14T12:26:57
357,819,230
6
4
CC-BY-4.0
2023-02-23T04:56:01
2021-04-14T07:47:17
R
UTF-8
R
false
true
1,189
rd
symmetrize.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/symmetrise.R \name{symmetrize} \alias{symmetrize} \alias{symmetrise} \title{Symmetrize Images} \usage{ symmetrize(stimuli, shape = 1, color = 1, tem_id = "frl", ...) symmetrise(stimuli, shape = 1, color = 1, tem_id = "frl", ...) } \arguments...
7d5c16d70d9bc286c07afe6d44a333f3ac8f4b81
320bb31bba3f88ad0e940553db4f7f54e0c4c920
/man/BIOMOD_CrossValidation-deprecated.Rd
bc14124e8005cc7485f4710fa8eca38459414cec
[]
no_license
biomodhub/biomod2
519d120381332c719fc23d1a5d0a4d1030fd2a01
ee9734d7dd9455cc8b76a000f74785512a119e2f
refs/heads/master
2023-08-31T03:29:40.910990
2023-08-28T14:10:59
2023-08-28T14:10:59
122,992,854
61
21
null
2023-09-12T12:29:52
2018-02-26T15:55:28
R
UTF-8
R
false
true
434
rd
BIOMOD_CrossValidation-deprecated.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DEPRECATED.R \name{BIOMOD_CrossValidation-deprecated} \alias{BIOMOD_CrossValidation-deprecated} \title{BIOMOD_CrossValidation} \usage{ BIOMOD_CrossValidation(...) } \arguments{ \item{...}{Additional arguments} } \description{ Deprecated funct...
8d0b4bd82defd58341f240d351231aeeb6b7de97
a5ebc917557b5a8a1a889859befe1d31b20b408c
/man/check_tx.Rd
e33ed1b8822a5706f972cc05a68c26a4aed8d0d6
[ "BSD-2-Clause" ]
permissive
BUStools/BUSpaRse
f81e246ca905ace2bd947958f0235222e4a6c10f
5b23c9b609ea20259110eb2592720a6019751a90
refs/heads/master
2022-09-19T15:48:26.420285
2022-04-26T15:58:37
2022-04-26T15:58:37
161,709,230
7
2
BSD-2-Clause
2020-04-24T05:45:14
2018-12-14T00:04:47
R
UTF-8
R
false
true
689
rd
check_tx.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/velocity.R \name{check_tx} \alias{check_tx} \title{Check if transcript ID in transcriptome and annotation match} \usage{ check_tx(tx_annot, tx) } \arguments{ \item{tx_annot}{Character vector of transcript IDs from the annotation.} \item{tx}{...
99995a99864e46dd7e598750244a17e618bacefd
a8b6f5cbc0c677b0bb317b0740fac7e78938ab9e
/man/ex11.04.Rd
e8043426dfddb40a50a00447d9f666bb11005591
[]
no_license
cran/Devore5
784f86cb950d39003a797b309bde9ba5ea239795
3c6de7a6447f3be4b54d00832e23995ea9655aa5
refs/heads/master
2020-12-24T14:36:21.931350
2004-10-03T00:00:00
2004-10-03T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
504
rd
ex11.04.Rd
\name{ex11.04} \alias{ex11.04} \non_function{} \title{data from exercise 11.4} \description{ The \code{ex11.04} data frame has 12 rows and 3 columns. } \format{ This data frame contains the following columns: \describe{ \item{Coverage}{ a numeric vector } \item{Roller}{ a numeric vector } \item{Paint}{ a numeric vector...
52f1d600dcbcd1cff5d21a597f1a5b338d6b2e36
bf6e1b0aad04eeb1b47000ffeeb654432385cd7b
/Plot2.R
aa06d59860d31d936414f6e1587108906b02eb8c
[]
no_license
Edilmo/ExploratoryDataAnalysisCP2
f439d707548389fc60cbb3d9dbcb4c05403e425c
eb1d0e6f5f3446c5ee4a98f789421b7dfb186d50
refs/heads/master
2021-01-10T17:11:41.750320
2015-09-27T20:40:48
2015-09-27T20:40:48
43,228,048
0
0
null
null
null
null
UTF-8
R
false
false
542
r
Plot2.R
# Plot 2 # Have total emissions from PM2.5 decreased in the Baltimore City, Maryland # (fips == "24510") from 1999 to 2008? Use the base plotting system to make # a plot answering this question. NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") png(filename = "plot2.png",width = ...
3a3915c732fd3cfda85f971e280958e637012704
9ca35958aee8e1d16e78b64b03a4cbd3ae1dc586
/man/getDESeqResults.Rd
7421059aa2be891b1df2954dc41a5b814b2e1e61
[]
no_license
mdeber/BRGenomics
df68e7f6cf01e36db2a5dc1003abe8bf8f21c9f2
b89c4fd9fff3fd3e795be5d382617473a2358d05
refs/heads/master
2023-04-28T17:29:07.075368
2023-04-25T15:16:35
2023-04-25T15:16:35
228,493,638
8
3
null
null
null
null
UTF-8
R
false
true
7,260
rd
getDESeqResults.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/deseq_functions.R \name{getDESeqResults} \alias{getDESeqResults} \title{Get DESeq2 results using reduced dispersion matrices} \usage{ getDESeqResults( dds, contrast.numer, contrast.denom, comparisons = NULL, sizeFactors = NULL, al...
acf36c40d94d51e5b831e779da91aaea8acd94d8
bbf3e37780ca496b568544cd89d94f886c139e2f
/man/bc_neighbours.Rd
35609091401006138a9163822006144087762ef6
[ "Apache-2.0" ]
permissive
bcgov/bcmaps
e361ea94fb5fffb9280d01950d5436429e44152f
fa9e23e9c63bb414ce383f7e8bee38f5d8dc40d9
refs/heads/main
2023-08-31T21:51:26.418245
2023-08-23T21:26:31
2023-08-23T21:26:31
36,751,057
69
20
Apache-2.0
2023-08-22T20:13:03
2015-06-02T17:51:25
R
UTF-8
R
false
true
843
rd
bc_neighbours.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bc_bound.R \name{bc_neighbours} \alias{bc_neighbours} \title{Boundary of British Columbia, provinces/states and the portion of the Pacific Ocean that borders British Columbia} \source{ \code{bcdata::bcdc_get_data('b9bd93e1-0226-4351-b943-05c6...
5c1f0a7ed5dc90e99d308288fa6451f73c2a86d5
13a430d486c1a52fc2ac470775012f2c7e13baae
/man/whale_sightings.Rd
d511ef4844f142194d7829746adbf3272a5ad911
[]
no_license
ericmkeen/bangarang
66fe538e19d42c2b6c93b29cb8e31adb3230a36a
db710584811e108646c350f70fc025c8563f0fff
refs/heads/master
2023-03-15T16:42:09.605054
2023-03-09T16:47:09
2023-03-09T16:47:09
51,127,882
0
0
null
null
null
null
UTF-8
R
false
true
496
rd
whale_sightings.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data-doc-whale_sightings.R \docType{data} \name{whale_sightings} \alias{whale_sightings} \title{Metadata for 5km segments of Bangarang effort, 2013 - 2015.} \format{ An object of class \code{spec_tbl_df} (inherits from \code{tbl_df}, \code{tb...
8f6876f57548a90c9b551320d8b1faa53601ab6b
7f8466c3b57f17d6ca409e4b06287b69f2122b59
/Bayesian Stats/hw2part1.R
182134bef196562db2671da73a1b4b097d27394c
[]
no_license
jlin99/Bayesian-Stats
7c362e12e63cdfd10badcbe5d51bf81562c0eeb0
f13bd753b95e780e454369d8fae60192ebc17f72
refs/heads/master
2022-03-22T02:33:32.241095
2019-12-02T08:53:51
2019-12-02T08:53:51
null
0
0
null
null
null
null
UTF-8
R
false
false
560
r
hw2part1.R
install.packages("TeachBayes") library(TeachBayes) bayes_table <- data.frame(p = seq(.3, .8, by=.1), Prior = c(0.125, 0.125, 0.250, 0.250, 0.125, 0.125)) bayes_table$Likelihood <- dbinom(10, size=30, prob=bayes_table$p) bayesian_crank(bayes_table)...
c615e14e3e26379af70e4ee925df5b6d6a54c18a
32000ddb834992aafb85c5954d520f7c1c930f75
/cachematrix.R
791345e0900c3df28eaf4dc5d7ffa185ccbbc1c9
[]
no_license
Ethosien/ProgrammingAssignment2
a9ea3dfa86e829e7234d872f2296117fe56496b3
42e424fb3043e7aa920f93fc3daf85e6b662e018
refs/heads/master
2021-01-18T15:42:49.981101
2015-10-22T15:03:48
2015-10-22T15:03:48
44,702,070
0
0
null
2015-10-21T20:23:15
2015-10-21T20:23:15
null
UTF-8
R
false
false
1,886
r
cachematrix.R
# Coursera RProgramming Course (rprog-033) assignment 2 by Jeff Swartzel, 10-22-15 # This script contains 2 functions for programming assignment 2. # Together these functions can be used to cache the potentially # time consuming calculation of inverting a matrix. If the inverse has already # been calculated the resul...
b8016336d2181d99829e72930e1a11729025acc5
73c89b343bb8530b01b0ad0498fd8e4f2b12c9c4
/R/Rmonkey.R
ff8d3935dec5981409f7cfa6166170199a173ba3
[]
no_license
sfirke/Rmonkey
c2516d5660cf49152cf852cabd34c0a4172e72b0
4f5d1233362626ebf782cd4e273b3930b2e220b2
refs/heads/master
2021-01-18T16:01:54.185725
2017-04-26T02:58:26
2017-04-26T02:58:26
86,704,605
0
2
null
2017-03-30T13:17:06
2017-03-30T13:17:06
null
UTF-8
R
false
false
302
r
Rmonkey.R
#' janitor #' #' Rmonkey provides access to the SurveyMonkey API from R. #' #' #' @docType package #' @name Rmonkey #' @importFrom dplyr %>% #' @keywords internal NULL ## quiets concerns of R CMD check re: the .'s that appear in pipelines if(getRversion() >= "2.15.1") utils::globalVariables(c("."))
babdfbbd13922098f9140ecb6104e09713b19279
0a906cf8b1b7da2aea87de958e3662870df49727
/distr6/inst/testfiles/C_EmpiricalMVPdf/libFuzzer_C_EmpiricalMVPdf/C_EmpiricalMVPdf_valgrind_files/1610035463-test.R
88e71593654aeb33055e338e20651df59e37fb29
[]
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
299
r
1610035463-test.R
testlist <- list(data = structure(0, .Dim = c(1L, 1L)), x = structure(c(1.0650783571628e-255, 1.26575142481473e-309, 4.7847988524451e-304, 1.33613446060136e-309, 6.89903271560023e-310, 1.18480732817791e-303, 0), .Dim = c(7L, 1L))) result <- do.call(distr6:::C_EmpiricalMVPdf,testlist) str(result)
c0ea4e7c5a6e8709f7b671080918953dc47a5627
ca840df364b973c0ea2664c9fd0a4f30cf791f07
/Implementation/SVD_Iris.R
6452565e7a9022ac2ef13714710f47190029ad8b
[]
no_license
Prachi-Agr/Dimensionality-Reduction
73751b4467810de0b3e0a5f2e328cc00c826453e
3f53be928eaff4ce5ad18fae063c8c4d6456114e
refs/heads/master
2022-11-24T07:27:28.199767
2020-07-24T06:30:07
2020-07-24T06:30:07
257,893,856
0
0
null
null
null
null
UTF-8
R
false
false
1,405
r
SVD_Iris.R
library(tidyverse) dat <- read_csv("../input/iris.csv") dat<-as.matrix(dat) svd.mod <- svd(dat) U <- dat %*% svd.mod$v %*% diag(1./svd.mod$d)\ U.reduced <-dat %*% svd.mod$v[,1:7,drop=FALSE] %*% diag((svd.mod$d)[1:7,drop=FALSE]) typeof(U.reduced) U.reduced dimReduce <- function(x, k=floor(ncol(x)/2), sup...
a11e3c377ca6f077a9e7af209806dbc7d6c48b2d
038795d15a01edf43666d2cce836612660a50ad0
/R/tokens.R
0aec63f50704d0304cb0a81aedbefbf4f0304bc1
[ "MIT" ]
permissive
akgold/onelogin
1d919d9863ed9877d1a2b2ef583136e1159dcaae
3d5a5f26f8893e2a3faa6ab24d73d9f4b23d7e79
refs/heads/master
2020-06-23T03:17:25.428226
2019-08-29T21:08:57
2019-08-29T21:08:57
198,491,663
0
0
null
null
null
null
UTF-8
R
false
false
1,078
r
tokens.R
# Manage API Access OAuth Tokens #' Generate a 'OneLogin' token #' #' @param con a 'OneLogin' connection #' #' @return A 'OneLogin' connection with auth token #' @export #' #' @examples #' if(interactive()) ol_token_get(onelogin()) ol_token_get <- function(con) { con$generate_token() } #' Refresh 'OneLogin' auth to...
6292a2742702d3ef0e59051a805af530a4fe8446
b8fb3ca5ed4ec1d87b5293ff9c2f11e361a9fd87
/plot2.R
17f8edb494b8c417f8d69134ee42e8be730c614e
[]
no_license
shenqiny/Exploratory_Data_Analysis_project2
70a1f512638641ba1d54e0266fe162317aea9ade
7d539ab16b234a897814b25d6cd5b9033e57d4c0
refs/heads/master
2022-11-11T14:17:19.386590
2020-06-28T23:38:00
2020-06-28T23:38:00
275,686,413
0
0
null
null
null
null
UTF-8
R
false
false
1,111
r
plot2.R
library(dplyr) ###Data download url<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2FNEI_data.zip" download.file(url, destfile = "exdata_data_FNEI_data.zip", method="curl") ##unzip and save files in the "assignment2" folder if(!file.exists("assignment2")) { unzip("exdata_data_FNEI_data.zip", exdir="./assignmen...
1fe68780a0364313f3a8e5fc1791d13595957262
b76b8dfaa1f99ae26efd062cd8f1b443c6cbe900
/resources/app/source/FunFunc.R
4aa360489e99ce7067b4699d86fdc82117e6671d
[ "LicenseRef-scancode-unknown-license-reference", "CC0-1.0", "LicenseRef-scancode-public-domain", "LicenseRef-scancode-fftpack-2004", "LicenseRef-scancode-unicode", "LGPL-3.0-only", "NTP", "BSD-4-Clause-UC", "mif-exception", "LicenseRef-scancode-warranty-disclaimer", "GPL-2.0-or-later", "Unicod...
permissive
tim7en/SedSatV2_electron
7e2ccd3b8d2927f2d6207123a6daa88e81c0cca9
244024b9b70ac0204bb84d86c29016bf20f80463
refs/heads/master
2022-12-22T16:59:01.704475
2020-03-29T00:46:33
2020-03-29T00:46:33
250,918,541
0
0
MIT
2022-12-10T23:23:44
2020-03-28T23:59:51
C++
UTF-8
R
false
false
1,641
r
FunFunc.R
FunFunc <- function() { inputTrain <- NULL inputValidate <- NULL # dat_transform <- function(x) { # if (all(x < 0)) { # x <- x * (-1) # } else if (any(x <= 0)) { # const <- abs(min(x)) # formulas <- strsplit(negGlob, ',') # x <- eval(parse(text = formulas[[1]][1])) # x # ...
f1686a95981a1b12e201e9ff3cd0ba99e3ee457d
f5a2a55b917190b5d6ef6c5f6cb4bfea47f43f59
/data/dataCleaning.R
f47c3b7fdd07a2ce8e39c0acb1604e3d5e669ca6
[]
no_license
wjlnfgd/cpln692-final
a4a40822f41aed8f3e9c599aaa05381a2dd569be
aec38f4229c89262c0f617e313bf67f32478c7c2
refs/heads/master
2020-05-21T21:25:34.508457
2019-05-14T18:05:59
2019-05-14T18:05:59
186,150,599
0
0
null
null
null
null
UTF-8
R
false
false
894
r
dataCleaning.R
library(tidyverse) library(sf) library(geojsonio) library(spdplyr) library(rmapshaper) rawData<-read.csv("C:/Users/wjlnf/Desktop/test/final/data/Final_CoffeeDatasetforR.csv") ########## Select the Brands ########### chainStore<- rawData %>% group_by(CONAME)%>% summarize(n = n()) %>% filter(n>10) %>% muta...
e06f0b38fc784aca17eeb3b3867a180cd53e2217
42dedcc81d5dc9a61a79dbcea9bdd7363cad97be
/nki/03_post-process/60_remove_global_signal.R
ace9f4da1cdb0016e45f2038790317312338b885
[]
no_license
vishalmeeni/cwas-paper
31f4bf36919bba6caf287eca2abd7b57f03d2c99
7d8fe59e68bc7c242f9b3cfcd1ebe6fe6918225c
refs/heads/master
2020-04-05T18:32:46.641314
2015-09-02T18:45:10
2015-09-02T18:45:10
null
0
0
null
null
null
null
UTF-8
R
false
false
2,615
r
60_remove_global_signal.R
#!/usr/bin/env Rscript # For each subject, this script will # 1. read in the time-series data # 2. extract the global signal # 3. save the global signal # 4. regress out the global signal # 5. save the new GSR corrected functional suppressPackageStartupMessages(library(connectir)) library(biganalytics) library(tools)...
b83998253185e004eebf4800fa803d89188d5964
29585dff702209dd446c0ab52ceea046c58e384e
/Rmpfr/R/Math.R
0abb0a6f12c542cec956c4a66ddbafbcc8dcbaa0
[]
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
11,175
r
Math.R
#### Define mpfr methods for Math and Math2 group functions #### ====== ===== ### "Arith", "Compare",..., are in ./Arith.R ### ---- ~~~~~~~ ## [1] "abs" "sign" "sqrt" "ceiling" "floor" "trunc" "cummax" ## [8] "cummin" "cumprod" "cumsum" "exp" "exp...
71c4bc7a374c636f2348c32fc56e738bc8b84630
4368637a1c42bcf59789e314d373ebd63bc15347
/Fused Adaptive Lasso Project/Rcode/function/QR.spat.R
3e748da0f74dcfc1bd8589627532a372392d2b2c
[]
no_license
vickywang1628/Projects
726812321cb3d8a94af750239889821189403830
36c29b27d47c4d9d05e9492878f86ea0fd7df524
refs/heads/master
2021-01-20T13:50:27.408084
2017-02-21T19:05:01
2017-02-21T19:05:01
null
0
0
null
null
null
null
UTF-8
R
false
false
484
r
QR.spat.R
QR.temp = function(y, tau, beta, lambda, maxit=200, toler=1e-3) { n=length(y) phi= L=matrix(rep(1,n*n),n,n) L[lower.tri(L)] <- 0 if(missing(beta)){ #beta=lm(y~L-1)$coef beta=rep(1,n) } W = rep(1, n) beta1 = abs(QRMM(L,y,tau,beta,W,lambda,toler,maxit))^{-1} beta1[bet...
2c2de0c1ab5e53d14417650a1444c430ed5958a5
72d9009d19e92b721d5cc0e8f8045e1145921130
/eBsc/R/get_lambda.R
a33b239e6e62e6af627869f7a401c1b749e7e5c5
[]
no_license
akhikolla/TestedPackages-NoIssues
be46c49c0836b3f0cf60e247087089868adf7a62
eb8d498cc132def615c090941bc172e17fdce267
refs/heads/master
2023-03-01T09:10:17.227119
2021-01-25T19:44:44
2021-01-25T19:44:44
332,027,727
1
0
null
null
null
null
UTF-8
R
false
false
407
r
get_lambda.R
get_lambda <- function(zero_range, coefs, eigens, rhos, neBsc, q){ eps <- .Machine$double.eps aux <- try(uniroot(Elambda, zero_range, coefs = coefs, eigens = eigens, rhos = rhos, neBsc = neBsc, q = q, tol = eps, maxiter = 10^5, extendInt = "yes")$root) if(class(aux)=="try-error"){ out <- 5; message(...
5914249a44c2828d2ae3f7d64ce521ce7119d245
562320d778b7c33103b2dbd2b30a687a413d2f64
/man/xanyy.Rd
ad926032d27e5c1740038f1e9bbb6bc9c7a50a80
[]
no_license
joshuatimm/rtweet
6b39f5e0d2c7a6ebc283369bf3b437a4535f7305
e2a8bac542e6570ce2d45ecfcdf4e0cc1caba73a
refs/heads/master
2021-06-08T18:30:51.205508
2016-12-07T16:33:08
2016-12-07T16:33:08
null
0
0
null
null
null
null
UTF-8
R
false
true
607
rd
xanyy.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils.R \name{xanyy} \alias{\%any\%} \alias{xanyy} \title{xanyy} \usage{ x \%any\% y } \arguments{ \item{x}{Character, name of variable of interest.} \item{y}{Named object on which to search for \code{x}.} } \description{ Returns logical val...
2aac948e9ef7a9ceadf036146c0c26db4dda3c86
9ec66856984869b5a28edb91d1ff6763de647a16
/R/katehelpr-package.r
db9f8106abe6fe480cdb7665fac4e7c2238464ea
[]
no_license
ksedivyhaley/katehelpr
08f0d36fb39c20901457860fa915514f36cbaa0c
b8f147fd3f9bb146aa97e1fa158090f3c8b1361a
refs/heads/master
2020-06-11T12:13:55.014008
2016-12-05T22:05:21
2016-12-05T22:05:21
75,670,460
0
0
null
null
null
null
UTF-8
R
false
false
1,709
r
katehelpr-package.r
#' katehelpr: Tools for Analysis of Two-Variable Data #' #' This package can be used to analyse any data in which observations are #' described by a primary and secondary categorical variable, and a #' numeric measurement or "response". Within groups defined by the secondary #' variable, it compares observations with d...
0d9a2cdaf350973b322d6fb34d7c566e747e8edc
71d55d78f21dd85258d134acfa87af754def3aa8
/man/ID-translation.Rd
d0c6bd435fce6cd9ccefe99ee8022e3da4a12555
[]
no_license
ewail/TCGAutils
f1ffd38d25a37ccc0460db04670da7504a16c1eb
8d0aab2de733e24d172289ab7df82e12429a7b28
refs/heads/master
2020-03-21T05:51:04.838224
2018-06-20T15:28:20
2018-06-20T15:28:20
null
0
0
null
null
null
null
UTF-8
R
false
true
4,098
rd
ID-translation.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ID-translation.R \name{ID-translation} \alias{ID-translation} \alias{UUIDtoBarcode} \alias{UUIDtoUUID} \alias{barcodeToUUID} \alias{filenameToBarcode} \title{Translate study identifiers from barcode to UUID and vice versa} \usage{ UUIDtoBarco...
b1a50e71e76f12219ecab69d64c0481ba9c76011
6855ac1106597ae48483e129fda6510354efa2bd
/tests/testthat/test-supplementary_add.R
3e02cc441f3601894f5715adb0aec0df4cccb8b7
[ "MIT" ]
permissive
rOpenGov/iotables
ad73aae57b410396995635d1c432744c06db32db
91cfdbc1d29ac6fe606d3a0deecdb4c90e7016b9
refs/heads/master
2022-10-02T13:03:54.563374
2022-09-24T11:47:20
2022-09-24T11:47:20
108,267,715
19
8
NOASSERTION
2021-12-17T15:09:35
2017-10-25T12:35:47
R
UTF-8
R
false
false
1,673
r
test-supplementary_add.R
context ("Adding a supplementary row") de_io <- iotable_get() CO2_coefficients <- data.frame(agriculture_group = 0.2379, industry_group = 0.5172, construction = 0.0456, trade_group = 0.1320, ...
d20a013f9ab2be311edf45d23040432eb7303733
d19d8da8b0d88f94c2db20002adcaabb5c6ba620
/MattsNotes/Sampling_05-04.R
8bd4079163fb5e4d3cd419428a99e81a7a55eac5
[ "MIT" ]
permissive
wzhang43/ST-599-Project-2-Group-1
75baf5b779e8fd1a0dd4592c6cbe34f23c31e493
ecac2b2ae4c7a9d446230b1ed90099bc2d85bcd8
refs/heads/master
2016-08-04T18:12:23.754227
2014-05-12T04:11:08
2014-05-12T04:11:08
null
0
0
null
null
null
null
UTF-8
R
false
false
9,191
r
Sampling_05-04.R
## 5.4 - matt sampling. ## i have concerns about what was done. # explore Nandhita's sampling results file. n.samp <- read.csv("data/samp13_14.csv", header=T) n.samp #e-mail & file says "2013 & 2014" but results say "2003 & 2004" sum(n.samp$n_flights) # what she did, was sample 10,000 flights over the entire year...
7fc49e21c83515093a9b8fca49c86f6af93b2b8a
c15f74ad13ec0656df788d0ab9de922ca35206b0
/R/gridgraphics.R
a200aa248840bc5e9249c1265eb661b5e02ff1b9
[]
no_license
aliciatb/fars
f4d409207c60efeaa8feb07c9f393867add81cb6
7341de93fb0e85022fcf992ff3924fccea69aa5f
refs/heads/master
2021-03-22T00:11:54.828201
2018-03-24T18:36:08
2018-03-24T18:36:08
114,496,015
0
0
null
null
null
null
UTF-8
R
false
false
8,064
r
gridgraphics.R
library(dplyr) library(faraway) library(ggmap) library(ggplot2) library(grid) library(gridExtra) my_circle <- circleGrob(x = 0.5, y = 0.5, r = 0.5, gp = gpar(col = "gray", lty = 3)) grid.draw(my_circle) my_rect <- rectGrob(x = 0.5, y = 0.5, width = 0.8, height = 0.3) grid.draw(my_rect) grid.e...
3809fa5be2d785e2e13fe221a80e43cd89bee1bb
83dafb5709eb3ce48b4f33c61b496a3faa759f99
/06 svm v2.R
b52a9800f09656ece8c6be34913c90214b0ddd2e
[]
no_license
Coelacanss/C_Adv_BA
1b75e80130c8f02c043426e03d088eb8b3a02e2e
623d6e032a03f400ed7c39b9af9aa8f2b90d0017
refs/heads/master
2020-09-28T08:16:01.874051
2016-08-17T17:04:38
2016-08-17T17:04:38
65,925,725
0
0
null
null
null
null
UTF-8
R
false
false
8,313
r
06 svm v2.R
# First, some simple experiments with svm library(e1071) load(file.choose()) # load in df1 from L06/06 svm.Rda library(ggplot2) #plot the points ggplot(df1, aes(x1,x2)) + geom_point(aes(color=y), shape=20, size=3) #fit the hyperplane # try a very large cost factor, this is like a hard margin, separating hype...
2402e7289deabfbdf598dea680ec9c1a0a97a55b
e726b667d365a72cdf0fcd739aa830470f06d20a
/R/haven-sas.R
9d5472b31329b47dde9f56501b8dac9ef74afa98
[ "MIT" ]
permissive
tidyverse/haven
49e3a1bc82a766612eec1ff0c4e5d56a26e42a66
9b3b21b5e9b64867eb53818faa7e9a22480f347d
refs/heads/main
2023-08-30T19:02:26.976602
2023-06-30T20:44:03
2023-06-30T20:44:03
30,308,523
283
115
NOASSERTION
2023-09-04T06:31:40
2015-02-04T16:28:17
C
UTF-8
R
false
false
7,540
r
haven-sas.R
#' Read SAS files #' #' `read_sas()` supports both sas7bdat files and the accompanying sas7bcat files #' that SAS uses to record value labels. #' #' @param data_file,catalog_file Path to data and catalog files. The files are #' processed with [readr::datasource()]. #' @param encoding,catalog_encoding The character en...
98fd8be9d03eae97020cdbf845ed0ace17d690ff
f46ebf88f0274c36709a80be04e93eec25ebc416
/nubip/AWR/swork01/make-frame.R
764cd050ac27568564fbc402c3c70f78c94fcf52
[ "MIT" ]
permissive
youryharchenko/r
e62fd2b4166ffad08ba4671ffea59e94d084459d
40e0dfbfb11e347cbdf8c9fd62c9c3a55c1a3fe5
refs/heads/master
2023-02-15T16:43:17.418520
2021-01-01T07:44:51
2021-01-01T07:44:51
298,995,455
0
0
null
null
null
null
UTF-8
R
false
false
294
r
make-frame.R
library(WDI) cache <- WDIcache() head( WDIsearch(string = "SP.POP.TOTL", field = "indicator", short = TRUE, cache = cache) , n = 30L) head( WDIsearch(string = "NY.GDP.PCAP.PP.CD", field = "indicator", short = TRUE, cache = cache) , n = 30L)