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
cc3dac3fdddaa2ea46fdf2e756371f0e5e7f11be
66265f769bd0f86dfad76eb3441cbf65f152137c
/inst/doc/control_table_keys.R
519acdeb04e423fa2efb93d45e88ab627999c532
[]
no_license
cran/cdata
e2a43f374d408c9fe4780a2e277617d465f3b7c0
31a375a6ae01fafde6f12577692f200e8e2deba6
refs/heads/master
2023-09-04T14:37:13.870002
2023-08-20T00:02:32
2023-08-20T01:29:33
86,578,768
0
0
null
null
null
null
UTF-8
R
false
false
1,909
r
control_table_keys.R
## ----setup, include = FALSE--------------------------------------------------- knitr::opts_chunk$set( collapse = TRUE, comment = "#>" ) ## ----------------------------------------------------------------------------- library("cdata") d <- wrapr::build_frame( "Sepal.Length" , "Sepal.Width", "Petal.Length", "...
3d8fbdfd22562a80ea5b5976769224b2dd912b2d
f23fd97b4ba3c63ffbf393d197ff0aa22dbf99fe
/man/AutocorPlot.Rd
dcdb2e338a22b8ba9eb5f1de0f2722035f5663fc
[ "MIT" ]
permissive
Spiritspeak/skMisc
c8c3079faed0231b3b01acb0e208169e3bd7133d
886ce8f889e8bf140808e0a895bef4fe7d1bb5de
refs/heads/master
2022-09-17T00:57:20.264458
2022-09-14T11:02:40
2022-09-14T11:02:40
209,576,540
0
0
null
null
null
null
UTF-8
R
false
true
590
rd
AutocorPlot.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/skPlotting.R \name{AutocorPlot} \alias{AutocorPlot} \title{Per-subject Autocorrelation Plotting} \usage{ AutocorPlot(ds, ppvar, rtvar, scope = 64) } \arguments{ \item{ds}{a dataset} \item{ppvar}{name of the variable indicating participant ID...
0963546777327ea974bf74176cf1378f57c98720
1b7082f868984a82186d26548934c05c497c8684
/beginning.r
0e6188618e325b47422c4e3f486e06e6bb072293
[]
no_license
hjulias/tinyhouse
50a1533cbb55a8bcdf3c98dc16a07c9112875b04
13185ac56b360a89f729b7837f800fe0ae520557
refs/heads/master
2022-11-22T08:04:57.843643
2020-07-12T15:52:31
2020-07-12T15:52:31
276,779,865
1
0
null
null
null
null
UTF-8
R
false
false
6,108
r
beginning.r
#Organizando dados de "houses_to_rent_v2" andares <- houses_to_rent_v2$floor cidadesv2 <- houses_to_rent_v2$city area_casa <- houses_to_rent_v2$area #Verificando a existência de inconsistências e corrigindo-as andares[andares== "-"] <- 0 #Substitui os valores - na coluna "floor" por 0. Demonstra que nenhum andar d...
2a9a83f8b320cf18fab66e445402a7863c69b984
e382ada498a814fad78b36f5298108d121edc71c
/tests/testthat/test-imputer.R
a56370c0ff0b8546a09b987feba28bc70df1265f
[ "MIT" ]
permissive
syberia/syberiaMungebits2
58e2797f3360ff6ea83bd5281368ad242a9ed780
06f013cf0698d1e8c521324161c602a0448bd154
refs/heads/master
2021-01-22T10:02:13.851098
2017-05-19T19:26:10
2017-05-19T19:26:10
55,318,078
3
1
null
2017-09-30T15:46:49
2016-04-02T21:56:16
R
UTF-8
R
false
false
3,414
r
test-imputer.R
context("imputer") setup_imputation_mungebit <- function() { mb <- imputer() iris2 <- iris iris2[1, ] <- NA iris2 <- mb$run(iris2, c('Sepal.Length', 'Sepal.Width')) list(mb, iris2) } medians <- function(dataset) { unlist(lapply(dataset[2:150, 1:2], function(x) median(x, na.rm = TRUE))) } test_that("it im...
aa8f40eb39743957c8a7e29011f539ac72614f56
2a6d2e96b56e0d419354f203c90857f3d000ef31
/man/mudata.Rd
bab2bde1716463418691542a853dbf264e74da67
[]
no_license
cran/mudata
f4cbd1991834077128f7fa8baad4e6332c6c332a
5c38cb9b3c52e9039f0c7afce9d9bb368850f22b
refs/heads/master
2021-01-21T06:46:42.175576
2017-11-13T04:39:52
2017-11-13T04:39:52
83,280,356
0
0
null
null
null
null
UTF-8
R
false
true
3,096
rd
mudata.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mudata.R \name{mudata} \alias{mudata} \title{Create a MuData object} \usage{ mudata(data, locations = NULL, params = NULL, datasets = NULL, columns = NULL, dataset.id = "default", location.id = "default", defactorize = TRUE, validate = TR...
3fccbb91a71ae46730a22ef2334370a33f5ee76b
72d9009d19e92b721d5cc0e8f8045e1145921130
/SuperGauss/tests/testthat/test-Toeplitz-solve.R
b86df569d82030b476f1d5023c0c6cbbf2f6cf7d
[]
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
3,267
r
test-Toeplitz-solve.R
source("SuperGauss-testfunctions.R") context("Toeplitz - Solve.") nrep <- 10 test_that("GSchur solve method gives correct result.", { replicate(n = nrep, expr = { N <- round(abs(rnorm(n = 1, mean = 100, sd = 10))) d <- sample(1:3, 1) Toep <- Toeplitz$new(N) case.par <- expand.grid(type = c("fbm", "m...
7faed11eb1140ab30ed56cf848a77c228a4c59f3
fb7655e2bcfc5ee8c228eed0684e7516eee432f8
/02_build/04_combine_county.R
ce7bfefa840a7a718c51841fced8336bdee6f284
[]
no_license
galsk223/tribalclimate
738e7ea2e4c74b142d84f3e00f4eb7575e8f89dd
bced46be1953ae06b54a1b7a9bda48523b98fff8
refs/heads/main
2023-07-24T07:12:27.477008
2021-08-30T20:16:10
2021-08-30T20:16:10
null
0
0
null
null
null
null
UTF-8
R
false
false
3,876
r
04_combine_county.R
rm(list = ls()) tribedf <- read_rds("01_data/cache/tribe_county_shapefiles.rds") tribecounties <- tribedf %>% dplyr::select(GEOID) %>% unique() empty <- tribecounties %>% mutate(area = as.numeric(st_area(geometry))) %>% st_set_geometry(NULL) %>% filter(area == 0) tribeuse <- tribecounties %>% filte...
7f3b2c0713be9d288756ca72e3a01f9e34181624
5132f759c41b35ccc6330a9e0ece6cff7d88910f
/tests/testthat/test-targetedevent-resize.R
881dd50dff22992e2b95fbb771084b3502af3c2b
[ "MIT" ]
permissive
mrc-ide/individual
b9592fa20adb50004cfef19ce8d4ae9412aa940c
066130bbd35c0d666f3381e475e18d2085fe382a
refs/heads/master
2023-09-01T15:53:08.741369
2023-08-31T09:33:19
2023-08-31T09:33:19
228,632,510
26
11
NOASSERTION
2023-08-30T14:14:35
2019-12-17T14:19:24
R
UTF-8
R
false
false
1,886
r
test-targetedevent-resize.R
test_that("extending a TargetedEvent returns a larger bitset", { event <- TargetedEvent$new(10) listener <- mockery::mock() event$add_listener(listener) event$schedule(c(2, 4), 1) event$queue_extend(10) event$.resize() event$.tick() event$.process() expect_equal( mockery::mock_args(listener)[[1]][...
8cc4ae12b0fd436e2e39fb1996915d865ab2d24b
624b5be5c5effd718303b47525358c7088222d85
/Lab7/lab7_probforstats.R
682b049352315558839d84667228075c008d0944
[]
no_license
HesterLim/Probability-for-Statistics-MAST20006-
0eeba5efd70083b16510b54791895e449e922061
30c4dd92d7f28888b4576a3600f61eb491749773
refs/heads/master
2021-03-13T20:40:08.545304
2020-07-03T23:34:31
2020-07-03T23:34:31
246,709,969
0
0
null
null
null
null
UTF-8
R
false
false
140
r
lab7_probforstats.R
#Q5 1 - pgamma(3, shape = 8, rate = 1/2) #[1] 0.9998304 ppois(7, lambda=3/2) #[1] 0.9998304 1 - pchisq(3,df = 16) #[1] 0.9998304
bb801466dccac98a0a100b7f3cdf495c1e8c4263
2b29801a9a64028bb056b201c9d4c6ac9650bb43
/3. Marker identification/filtration_by_tissue.R
542d57a2ebf1230c91bf70fde10400acd197d4de
[ "Apache-2.0" ]
permissive
zhq921/cfWGBS-bioinfo-pip
3502147ae348e307231d3dc57fbd3c524bf6aefd
c9fb634829535818899eaf6e7b2dd6dadc1693a6
refs/heads/master
2021-12-26T04:21:34.265124
2021-10-25T04:39:18
2021-10-25T04:39:18
166,790,087
2
0
null
null
null
null
UTF-8
R
false
false
3,408
r
filtration_by_tissue.R
library("glmnet") library("randomForest") library("pROC") library(pheatmap) library(ggplot2) library(RColorBrewer) library("caret") #for confusion matrix library(e1071) library("verification") # for roc p value library(scatterplot3d) library("ggsci") library("Rtsne") dmr_mat_total <- read.table("./met_mat/cfDNA_mat",...
71461206ee5cc8d235e5a583080f7767714439d1
4ef336dbebc3e5b6d17424104402a10156b45fd2
/ConfidenceQuant/man/CompExperiment_2dim_D.Rd
23d06de7d7cad755297f8465c6e5629dc8b3ffb7
[]
no_license
likun-stat/ConfidenceQuant
ca037eebae9f1a170735d5a8f1aea6648fc9e07d
667ea899f0139ddd5026ac823ea0bf67d5c55b4f
refs/heads/master
2020-03-31T06:59:07.378497
2018-12-21T10:33:28
2018-12-21T10:33:28
152,002,714
0
0
null
null
null
null
UTF-8
R
false
true
5,525
rd
CompExperiment_2dim_D.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CompExperiment_2dim_D.R \name{CompExperiment_2dim_D} \alias{CompExperiment_2dim_D} \alias{searchLambda_2dim_D} \title{Comparative Experiment (Discretized).} \usage{ CompExperiment_2dim_D(cores = NULL, treatment, control, alpha = 0.05, tau =...
72da0aa1470cc736ac9f43c942f69d92de8f2162
26f1cb213312ad204072dadd6b1163bcc0fa1bba
/exemples/chap8/8.11.R
973391e633d511bfb75b4bf3b924af4061009794
[]
no_license
fmigone/livreR
a9b6f61a0aab902fb3b07fc49ea7dd642b65bdc3
998df678da1559ee03438c439335db796a416f2f
refs/heads/master
2020-04-22T05:47:14.083087
2018-05-01T14:39:10
2018-05-01T14:39:10
null
0
0
null
null
null
null
UTF-8
R
false
false
270
r
8.11.R
old_par <- par(no.readonly = TRUE) # sauvegarde par(mai=c(0.1,0.1,0.1,0.1)) # marges # diagramme circulaire montrant la répartition des # appartements par type de location pie(table(flats$room_type), radius=0.6, cex=0.7) par(old_par) # restauration
99299e3a379ddf5bb1f877f823067c0aac4fd102
6158902809046c3a300faa2d7767c7cb3b827b39
/man/as_tex.Rd
4e6156e3e36efd235634d477ee01bb35e415927f
[ "MIT" ]
permissive
ygeunkim/rmdtool
5790f686c83cdb1950810821f682cadf97271e55
7d37558c0542c19f79c0150afda64e9109e64304
refs/heads/master
2020-04-22T19:56:57.507699
2019-06-30T13:56:15
2019-06-30T13:56:15
170,625,045
0
0
null
null
null
null
UTF-8
R
false
true
687
rd
as_tex.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/latex_print.R \name{as_tex} \alias{as_tex} \alias{as_tex.character} \alias{as_tex.matrix} \title{Coerce characters and matrices to tex} \usage{ as_tex(x, ...) \method{as_tex}{character}(x, ...) \method{as_tex}{matrix}(x, ...) } \arguments{ ...
d32bacd5a13ced2b98cccb7be451df3e09138317
9c712485c349366e6aca30715d171309b697a877
/study1_code_changed_variable_name.R
ef01acee51e7b6ebaf3680083abe22aca4780618
[]
no_license
yinjixing/Neurosci_bias-1
6f517387991e23906f877a42fb1add483c2815a4
dbfb35ccb2a8c91dc527e2e4b039c4a812f21fa1
refs/heads/master
2020-05-03T22:20:05.219203
2019-04-01T14:55:47
2019-04-01T14:55:47
178,841,961
0
0
null
2019-04-01T10:42:18
2019-04-01T10:42:18
null
UTF-8
R
false
false
8,735
r
study1_code_changed_variable_name.R
### code for analysis of neuroimage bias ### # code author:Ji-Xing Yin # email:jixing-yin@outlook.com # Author date # ========== ====== # jixing-yin 18-4-5 # Yuepei XU 19-3-1 # input data # oringinal file: "study1 combined duplicate.csv" # output data # output file: ## variables of ...
2e0081a4c69bf5adc7d34d61651bb86c812e1bbe
5ad281aa3680a525215bbfb95a2c3e0000b0421a
/R/ghit-package.R
36821c592b295335089d906cea1fdcce6b49c9ee
[]
no_license
JustinMShea/ghit
9b000099ff40c4469265d565fe1c5f0e45d0b127
22e48a2d03444589fba4f5f99ac4775142d23d11
refs/heads/master
2020-04-02T11:44:13.251118
2018-10-23T23:09:55
2018-10-23T23:09:55
154,404,086
0
0
null
2018-10-23T22:19:41
2018-10-23T22:19:41
null
UTF-8
R
false
false
431
r
ghit-package.R
#' @docType package #' @name ghit #' @title Lightweight GitHub Package Installer #' @description ghit provides two functions, \code{\link{install_github}} and \code{\link{install_bitbucket}}, which allow users to install R packages hosted on GitHub or Bitbucket without needing to install or load the heavy dependencies ...
55ec0aae5f76d368148f84abd93a46687f64f859
dca957d6bcf9b83895d738e7f2223c45d01d546c
/man/sub-HSDSDataset-numeric-numeric-ANY-method.Rd
22d9fe054b4d74790ceb1b97c9b630ffa4b6873e
[]
no_license
vjcitn/rhdf5client
755376d2798280c7244ab79b02d89cfc5e913373
42062fd17d3b12f237eda132d98cc9383fdf0bbd
refs/heads/main
2023-09-05T09:24:35.514077
2023-08-18T03:59:42
2023-08-18T03:59:42
586,076,019
2
1
null
2023-09-08T22:36:42
2023-01-06T21:56:21
HTML
UTF-8
R
false
true
705
rd
sub-HSDSDataset-numeric-numeric-ANY-method.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Dataset.R \docType{methods} \name{[,HSDSDataset,numeric,numeric,ANY-method} \alias{[,HSDSDataset,numeric,numeric,ANY-method} \title{bracket method for 2d request from HSDSDataset} \usage{ \S4method{[}{HSDSDataset,numeric,numeric,ANY}(x, i, j,...
33b28bcec7078ddf5980bc8922570557bbaf8664
7a7b1b13b8a17fab6c747f1b330350390f9c5492
/ui/merge_identification/merge_iden_parameter_ui.R
e3bb0e7618a9721b907b45d371170653b3b7bcee
[]
no_license
jaspershen/pregnancy_project_website
6948bacae2aeb3cc770c794da0faa9d14f6c0437
2afc02d94988ecba3ad09f4eb3d1d2b55f35c8c1
refs/heads/master
2020-11-25T12:28:29.063718
2019-12-17T18:30:48
2019-12-17T18:30:48
228,660,894
0
0
null
null
null
null
UTF-8
R
false
false
1,307
r
merge_iden_parameter_ui.R
fluidPage( sidebarLayout(sidebarPanel = sidebarPanel( # h4("Batch alignment parameters"), numericInput(inputId = "merge.iden.mz.tol", label = "m/z tolerance (ppm)", value = 25, min = 5, max = 50, step = 1), numericInput(inputId = "merge.iden.rt.tol", lab...
fcf1a27cd0a973b84ab492ff7f6356d8f6ac84d4
901f2d0c83b9e04decbb193a7653131d31c48e78
/R/QC_weights.R
1fb447597a1235d21f96e8559a58892fa8a877d8
[]
no_license
psavoy/StreamLightUtils
b22ff1acb320b0e239b2d3ae639339ea62a87117
b6ce97cb08773b37d924e93942c3b6686cf41074
refs/heads/master
2022-04-29T12:32:26.192072
2022-03-23T15:03:33
2022-03-23T15:03:33
245,456,390
0
1
null
2022-01-12T20:30:08
2020-03-06T15:38:04
R
UTF-8
R
false
false
1,201
r
QC_weights.R
#' Assigns weights to LAI data based on the 5-level QC score #' @description This function unpacks downloaded MODIS LAI data from the lpdaac #' AppEEARS download portal into a list with each item in the list representing #' a single site. #' #' @param SCF_QC The 5-level QC score (FparLai_QC_SCF_QC) #' @param wmin The ...
1b2b70e1ea44fb29f2ed10a3ad8ce1766f18cd32
d7d9043665455d721fccb914d04a58184419572a
/prepare/relig-income-functions.R
909456fc00d41ce89f66c31dfa1503aeff1c8a07
[]
no_license
frycast/umbrella
2705aca68628d7432be55d130c82344a91b65ba7
1efa96cfe5d8add80548dfe161d368f6f86567a6
refs/heads/main
2023-09-06T06:52:27.189603
2021-11-25T01:25:25
2021-11-25T01:25:25
431,071,469
0
0
null
null
null
null
UTF-8
R
false
false
278
r
relig-income-functions.R
# This script contains all functions for preparing the relig_income data # Pivoting the table to make it tidy tidy_relig_income <- function(relig_income) { tidyr::pivot_longer( data=relig_income, cols=!religion, names_to = "income", values_to = "count" ) }
58529860b19a3d66d2616227c7cac2af43c19860
0102fcf7a11dc9310cdfbd7fb5ae7a0a82d2e3be
/man/groupOTU-methods.Rd
20a99a846d4db0f9c25dc1f0a0022634fc9023fa
[]
no_license
nemochina2008/treeio
7c0de3b4f7c22bcb33d313da821ecd02951f8063
b6ae142e3891e337e982fbdc2e94ecbbf5a9dd66
refs/heads/master
2021-07-06T14:28:56.904111
2017-09-29T03:28:28
2017-09-29T03:28:28
null
0
0
null
null
null
null
UTF-8
R
false
true
1,702
rd
groupOTU-methods.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/AllGenerics.R, R/method-groupOTU.R \docType{methods} \name{groupOTU} \alias{groupOTU} \alias{groupOTU,beast-method} \alias{groupOTU,codeml-method} \alias{groupOTU,codeml_mlc-method} \alias{groupOTU,jplace-method} \alias{groupOTU,paml_rst-meth...
5f4e77385bb680be90613121f112d5b4edc2fd00
034ec001c663c1857e80b280828dacbd1afd377c
/man/form.it.Rd
4919ed20106fd1ff7f86008da38d2b6aafe267ed
[]
no_license
socioskop/grit
17439caa0db2a3ce90d7196360db8ea84ef9aa1f
1df6f73dcebda13d65518fd2988a1920b30e9303
refs/heads/master
2023-04-26T10:29:17.054154
2021-05-25T10:29:57
2021-05-25T10:29:57
354,280,250
0
0
null
null
null
null
UTF-8
R
false
true
325
rd
form.it.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/formatting.R \name{form.it} \alias{form.it} \title{formats a numeric vector to a fixed string format with digits} \usage{ form.it(x, digits = 3, perc = F, max = NULL) } \description{ formats a numeric vector to a fixed string format with digi...
e87b34d8e0eb9662e0506dcf4e1d774e45aaed0d
3a96f3edd9e2427d7a01a89dd9a77b781a23a8bb
/FORESTFIRES.R
f30e8c4401e44de3a2a6c4af6a644dabd8659549
[]
no_license
SRUTHISANKAR1/R_codes
9f2b7cf110423d4766b3b7cda93eb648928224c2
7e549be7057ba20b1edf2dbeba43ceba83aa064b
refs/heads/main
2023-05-17T11:41:02.938020
2021-06-11T06:50:56
2021-06-11T06:50:56
375,926,180
0
0
null
null
null
null
UTF-8
R
false
false
3,334
r
FORESTFIRES.R
##################SUPPORT VECTOR MACHINE###################### #Problem statement #######classify the Size_Categorie using SVM #month month of the year: 'jan' to 'dec' #day day of the week: 'mon' to 'sun' #FFMC FFMC index from the FWI system: 18.7 to 96.20 # DMC index from the FWI system: 1.1 to 291.3 #DC DC...
a09eba1d2fc72dabd39cec739db42c39e071bf2e
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/InformationValue/examples/specificity.Rd.R
1d0df53ba98887ebbfd2dbb3888030bf1cfcd1a7
[]
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
240
r
specificity.Rd.R
library(InformationValue) ### Name: specificity ### Title: specificity ### Aliases: specificity ### ** Examples data('ActualsAndScores') specificity(actuals=ActualsAndScores$Actuals, predictedScores=ActualsAndScores$PredictedScores)
9b1e6f5aff09764b63186516c39f2d18aeb48c6c
f91d0120a1c1c77ac9b4aa25139d3e84227b9f03
/cachematrix.R
4d2dc4cbb6675c765ea4a92153ef2c513ef2f130
[]
no_license
jcruzupr/ProgrammingAssignment2
949ceea782189a0a134ed30f65e9e01678e160c6
8bacaf375ede81da4d9494c2aebf165f810e78d4
refs/heads/master
2021-01-18T06:00:47.305092
2014-07-20T13:28:06
2014-07-20T13:28:06
null
0
0
null
null
null
null
UTF-8
R
false
false
2,051
r
cachematrix.R
## The following functions create a special "matrix" object that stores ## a given matrix and will also store/cache the inverse of the matrix. ## NOTE The file "HW_2 Sample Run" provides examples of usage. ## makeCacheMatrix: This function accepts a matrix as an argument ## and creates a special "matrix" object that c...
f4f4c69f3cc54c81c0668977e87d853a2e0e287d
777577ac7fb98704460cc1ace288a8dcbea655dd
/Result_img.R
ae797303971d88a4d3b25f89cd7d68b640bd7d06
[]
no_license
SafiulAlom/Missing-Data-Analysis
d7864a597c168424724699b742d152b8c58135d8
e3efc475a8e8c94b27488ceac4cf28b7691e7e34
refs/heads/main
2023-03-26T15:06:39.302804
2021-03-26T21:53:28
2021-03-26T21:53:28
350,869,008
0
0
null
null
null
null
UTF-8
R
false
false
2,550
r
Result_img.R
remove(list = ls()) library(VIM) library(mice) Result_mice = readRDS("C:\\Users\\Himel\\OneDrive\\Studium\\M.Sc. Statistics\\3_Semester\\Statistical analysis of missing data\\presentation\\object.cart.rf.rds") setwd("C:\\Users\\Himel\\OneDrive\\Studium\\M.Sc. Statistics\\3_Semester\\Statistical analysis of missin...
c6d5044c1a82d2038ac7cc9ebb11f0730fd5fc69
8127b757d7e83e239b83934079a86bd1e9c15e25
/Learning_RMarkdown/utilities/plot_pop_by_country.R
0dbdb04d21c3ada02ad25bb0bfe1c61c58b8dc39
[ "MIT" ]
permissive
samirgadkari/ds
e58ba311fff8f428c5af9baf0eb1c83672d7e7b8
79240ca5ba70e877b13b5330d12e2ca1f3d560df
refs/heads/master
2021-06-27T07:03:16.271118
2020-12-29T02:09:31
2020-12-29T02:09:31
198,858,452
0
0
MIT
2020-12-29T02:09:32
2019-07-25T15:37:15
Jupyter Notebook
UTF-8
R
false
false
205
r
plot_pop_by_country.R
plotPopByCountry = function(popData, countryToPlot) { gappyCountry = popData[popData$country == countryToPlot,] p = ggplot(data = gappyCountry, aes(x=year, y=pop)) + geom_point() return(p) }
a8881ae9bf349d6f3974b5b47c2f4665f3f0a71d
1df29054dba27843aeb8b46286e9347dac7dd6b1
/Groundwater/scripts/GWState.R
955f410156fc5eb05b2b3aae76587d52d188e016
[]
no_license
lukefullard/LAWA2021
9e40fab111493361de1a95a0572e05a7d9410a7a
db3528005791fba016b40cbd8dd268dba4ed2b6e
refs/heads/main
2023-07-19T16:00:29.563125
2021-09-27T19:50:27
2021-09-27T19:50:27
null
0
0
null
null
null
null
UTF-8
R
false
false
32,238
r
GWState.R
#Groudnwater state analysis rm(list=ls()) library(tidyverse) source('H:/ericg/16666LAWA/LAWA2021/Scripts/LAWAFunctions.R') source('H:/ericg/16666LAWA/LWPTrends_v2101/LWPTrends_v2101.R') EndYear <- 2020#year(Sys.Date())-1 startYear5 <- EndYear - 5+1 startYear10 <- EndYear - 10+1 startYear15 <- EndYear - 15+1 pl...
f74a76ec8da0752bdd71e6247789a6848f23a2a9
29585dff702209dd446c0ab52ceea046c58e384e
/GrammR/R/MatrixkNorm.R
ca037773e2c812d4239bfbd082912b72d7c3fcf3
[]
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
552
r
MatrixkNorm.R
MatrixkNorm <- function(X,p){ n = nrow(X); D <- matrix(0, ncol= n, nrow = n); for (i in 1:(n-1)){ for (j in (i+1):n){ if (is.finite(p)){ D[i,j] <- (sum(abs(X[i,] - X[j,])^p))^(1/p); } ...
c96a32b6310f260b216e76bd4656c68987cbc46e
9cc7423f4a94698df5173188b63c313a7df99b0e
/tests/testthat/test-analyze.aov.R
c23181c59a6f201e86ac8c146fc754658a81435a
[ "MIT" ]
permissive
HugoNjb/psycho.R
71a16406654b11007f0d2f84b8d36587c5c8caec
601eef008ec463040c68bf72ac1ed8d4a8f7751f
refs/heads/master
2020-03-27T01:24:23.389884
2018-07-19T13:08:53
2018-07-19T13:08:53
145,707,311
1
0
null
2018-08-22T12:39:27
2018-08-22T12:39:27
null
UTF-8
R
false
false
729
r
test-analyze.aov.R
context("analyze.aov") test_that("If it works.", { library(psycho) library(lmerTest) library(lme4) df <- psycho::affective x <- aov(Tolerating ~ Salary, data = df) testthat::expect_equal(nrow(summary(psycho::analyze(x))), 2) x <- anova(lm(Tolerating ~ Salary, data = df)) testthat::expect_equal(nrow(s...
7461a127b6a1ef5b6e1cad3550ba78d1dc00b974
09970aa232523e17e031b7a9913baa08bc08ae0f
/Week 8/foobarBrowser.R
07a0c0bf6c2e20123aa4e72c3d4aabfab9ee0e6a
[]
no_license
Sandeep-Joshi/R-class-Assignments
6ec17a54d9ad9c8f3aa1f3fb0f86f19ca1ef1aee
e0915a59a377b6af422727beb2e1c16d43f68c11
refs/heads/master
2021-01-10T15:31:41.997080
2016-01-07T21:19:53
2016-01-07T21:19:53
48,950,572
0
0
null
null
null
null
UTF-8
R
false
false
368
r
foobarBrowser.R
foo <- function() { browser() x <- 1 y <- 2 z <- 3 return(c(x, y, z)) } bar <- function() { browser() foo() } # ===================================================== fooConditional <- function() { x <- rnorm(1) if (abs(x) < 10) browser() y <- x *...
de7b4bfb75ce51084f9a0aea63449bb236e8ee01
11e61fd37b4361e1feaadb0e431ea117171255cb
/code/starter_script.R
4d79d694f7c6063b8a3eb7ede45605ec9e1821bb
[]
no_license
vpontis/make-it-rain
413baaf0dd429b1e10be1695ff3e824247fb2677
d033622f69fadb0cb65418c752f5698bb2118896
refs/heads/master
2016-09-10T08:54:40.215205
2015-05-09T22:51:07
2015-05-09T22:51:07
35,348,470
0
0
null
null
null
null
UTF-8
R
false
false
1,735
r
starter_script.R
##################################################### ## Starter Script for Kaggle Will it Rain competition ##################################################### ## ## Performance: 0.00973457 ## Relative performance: 70th out of 188; improves upon ## provided benchmark (0.01177621), and using all 1's (0.01017651) ####...
5d283fab13f45fd57e046f0bff303005557e533e
5dd8370752fb0ab6786378b06c5ca0349508fe77
/man/tissue_by_celltype_enrichment.Rd
0cf91d0fc9d9d7777df33d7dc09fdd81a656cbc6
[]
no_license
cran/scMappR
a63d9c5df1587c9b640d3d1dc6cd1c645b755ad4
43e80e29770b26cfa5a4966e3946da9b83e90359
refs/heads/master
2023-07-10T19:26:50.006640
2023-06-30T07:40:08
2023-06-30T07:40:08
245,393,295
4
1
null
null
null
null
UTF-8
R
false
true
2,098
rd
tissue_by_celltype_enrichment.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tissue_by_celltype_enirchment.R \name{tissue_by_celltype_enrichment} \alias{tissue_by_celltype_enrichment} \title{tissue_by_celltype_enrichment} \usage{ tissue_by_celltype_enrichment( gene_list, species, name = "CT_Tissue_examp...
8469fc68b0f4708eb2fd2c0041eb39766972b9eb
e091db2af43490f39db8e6649fdb3608cc0f76fd
/man/represent.Rd
e49d33bfc36f23ae5bf9554dede05bc3292bd13e
[]
no_license
cleanzr/representr
73763a83f5ba77f2de22980401dacf8dd808b324
08e1b6d765058e730476ac46a758257eb3e60a99
refs/heads/master
2022-10-24T12:26:47.584981
2022-10-18T14:45:39
2022-10-18T14:45:39
135,310,171
5
0
null
null
null
null
UTF-8
R
false
true
2,777
rd
represent.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/represent.R \name{represent} \alias{represent} \title{Create a representative dataset post record-linkage.} \usage{ represent( data, linkage, rep_method, parallel = TRUE, cores = NULL, ..., scale = FALSE ) } \arguments{ \item{da...
ba12827245d2aae0db3f57dbe5ebc4c936217e2d
29d34e3302b71d41d77af715727e963aea119392
/man/plotly.heat.Rd
388763e54344e0e166ae60d37423afc2ad4424f3
[]
no_license
bakaibaiazbekov/rtemis
1f5721990d31ec5000b38354cb7768bd625e185f
a0c47e5f7fed297af5ad20ae821274b328696e5e
refs/heads/master
2020-05-14T20:21:40.137680
2019-04-17T15:42:33
2019-04-17T15:42:33
181,943,092
1
0
null
2019-04-17T18:00:09
2019-04-17T18:00:09
null
UTF-8
R
false
true
667
rd
plotly.heat.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plotly.heat.R \name{plotly.heat} \alias{plotly.heat} \title{Heatmap with \code{plotly}} \usage{ plotly.heat(z, x = NULL, y = NULL, title = NULL, col = penn.heat(21), xlab = NULL, ylab = NULL, zlab = NULL, transpose = TRUE) } \arguments{ \...
ab629146178121815cae16b5ce52ddb8307364b4
335eac7d46975e4c556093aa5012f53cbe550a5a
/plot4.R
c75eae488f1dce5c0cd4c2fba56fd687a48d0ff1
[]
no_license
nktp/ExData_Plotting1
b71c13d7c83b677d2be03b3b20de886298245943
bef761164f93b6f34bb8362f053b6bf3154a13a6
refs/heads/master
2021-08-31T15:06:31.913656
2017-12-21T20:27:57
2017-12-21T20:27:57
114,952,529
0
0
null
null
null
null
UTF-8
R
false
false
1,708
r
plot4.R
unzip("exdata%2Fdata%2Fhousehold_power_consumption.zip") hh_consump <- read.delim('household_power_consumption.txt', sep=";") hh_consump$Date <- format(as.Date(hh_consump$Date, format='%d/%m/%Y'), '%d/%m/%Y') hh_consump$Time <- format(strptime(hh_consump$Time, format='%H:%M:%S'), '%H:%M:%S') require(dplyr) df <- hh...
f89bb7f0603455f7cac22245c2957df77623db08
cb51f75bd828801da59d40a60c5ae767d14dc8c3
/seminar2_tomt.R
029a45e84e154ad401951517bb5c9f182efbf60f
[]
no_license
elisofieb/4020a21
3067c5d2d9210626ea4572df544b999fc4e6867b
5f59e97f6d3027dda540119656191a719eb2eb93
refs/heads/main
2023-08-11T18:25:50.041876
2021-09-17T11:27:27
2021-09-17T11:27:27
405,924,118
0
0
null
null
null
null
UTF-8
R
false
false
1,476
r
seminar2_tomt.R
#### SEMINAR 2 - GRUPPE 2 #### ## Plan for seminaret ## # 1. Laste inn data - read_funksjoner() # 2. Forberede og manipulere data # 3. Utforsking av data og deskriptiv statistikk # 4. Plotte-funksjonen ggplot # 5. Lagre datasett ## 1. Laste inn data - read_funksjoner() ## # Installere/hente tidyverse og haven ...
709d1ba5f87ff84f20ebf1a15da6c36d274ea666
e41391024da2621189081feaabddd20e558a856e
/src/03-descriptive-statistics.R
712b86ec1e24ad2cdc484bb13e9fa3b92e744d68
[]
no_license
lucienbaumgartner/legal_tc
7f297efe3c87aedc0bfc4d808bc0ae85be547880
75510edbd75c83114eef7a2b16db7c8fa60f9241
refs/heads/master
2023-03-24T11:37:13.700028
2021-03-10T11:28:06
2021-03-10T11:28:06
278,079,343
0
0
null
2020-07-15T11:40:49
2020-07-08T12:10:31
R
UTF-8
R
false
false
10,856
r
03-descriptive-statistics.R
library(quanteda) library(ggplot2) library(dplyr) library(purrr) library(xtable) library(envalysis) library(gridExtra) library(pbmcapply) library(tm) library(textstem) library(emmeans) rm(list=ls()) setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) getwd() # function for linebreaks in plots abbrv <- functio...
6f1299bc47a4be6cad7bcc1a4a49e59add31447a
d864b440e7de2bf7b8cf2d2e81a7ba491c930a11
/R/fx_series.R
ebb1084b7f0a4d77664c1f6c785463e03b35cc14
[]
no_license
eamoakohene/beamafx
3323dd505e1c7f28b2facf0e13310c3c4d039b3a
6ae1eafb265b86db121b628c25229b5cd1c221d4
refs/heads/master
2021-07-15T06:08:02.688011
2021-03-09T10:06:10
2021-03-09T10:06:10
53,271,698
0
0
null
null
null
null
UTF-8
R
false
false
7,699
r
fx_series.R
fx_series <- R6::R6Class( 'fx_series', inherit = fx_utils, public = list( y1= 2010, y2=2020, m1=1, m2=12, d1=1, d2=31, code = NULL, frq = 'd', fx_to = NULL, dtd1 = NULL, dtd2 = NULL, filter_on = FALSE, initialize = function (code = 'USD,GBP,EUR',to='GBP',codes...
b102b667ee468e60fba3a5f0546f3c09e542d162
5bfe6b53c227d756ab6267a56e977d085abfbd02
/R/dCorClass.R
585eab0d7df36aa2e4be4e915e0f3d0f4bc4559a
[]
no_license
andymckenzie/DGCA
a8de8701cd3aa1703c05f349157831ed7d35afc6
16151cbc0e69961c1e07e2560fb70e9c4c76ee7f
refs/heads/master
2023-04-03T23:21:20.360575
2023-03-15T17:48:54
2023-03-15T17:48:54
72,645,582
41
12
null
null
null
null
UTF-8
R
false
false
3,074
r
dCorClass.R
#' @title Classify differential correlations. #' @description Classifies identifiers (e.g., genes) into one of the different categories pairwise-differential correlation classes. These categories are one of the Cartesian products of "Up Correlation", "No Correlation", and "Down Correlation" in each of the conditions, ...
90e61365e92444123313c1f6827749451758eace
5cd1539847bc53456795abaa975839ef2e219a89
/test1.R
ad5b4ecb4cc69ceb05209268e924ef8be8446ae7
[]
no_license
darimelo/testR
45351a30e06150a2f90f2de3bc162408ba8eaa75
d81927743b6893c8a48471fbb4772dc7ceb3bc8e
refs/heads/master
2020-04-28T17:12:04.392772
2019-03-13T14:37:15
2019-03-13T14:37:15
175,437,504
0
0
null
null
null
null
UTF-8
R
false
false
15
r
test1.R
a <- seq(1:10)
861a2ac1c1843d4b7b4bda2e312b3c769065e352
87bc2495102f8555b1c4ec66f561c868e2d5495b
/man/listToDataFrame.Rd
6c2a44e76696e2cf9bb8123aacd87148bec9327d
[]
no_license
cran/Fgmutils
a4b716bfb5eccff5cb89133314ab18eb01047875
52b9c01a4ee269acc66a2efa29df8411033f0306
refs/heads/master
2020-05-21T04:22:25.850012
2018-11-17T23:50:22
2018-11-17T23:50:22
48,080,087
0
0
null
null
null
null
UTF-8
R
false
true
367
rd
listToDataFrame.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/listToDataFrame.R \name{listToDataFrame} \alias{listToDataFrame} \title{List to DataFrame} \usage{ listToDataFrame(dlist) } \arguments{ \item{dlist}{a list} } \description{ converts a list in a dataframe } \examples{ a <- 1:5 ...
182ecc735213ef123dbe6325380940a5b6066d21
5b04c512b208b0688f994933d549c09159ae3c37
/intensive.site.selection.R
da7679539a7625901747b5074ef4487f4499dd45
[]
no_license
AleneOnion/LCIReports
9234b8c492dd66e54b4d044f8493044ebe1f1135
4da21717ad5616b55eeaccec9f349a9940ee21b4
refs/heads/master
2021-08-07T15:58:28.344838
2020-04-23T09:54:39
2020-04-23T09:54:39
160,554,404
0
0
null
null
null
null
UTF-8
R
false
false
16,431
r
intensive.site.selection.R
#script to rule it all #alene Onion # November 2018 ############################################################################################################ #pull historic data, insert 2018 data, and clean up data file source('L:/DOW/StreamDatabase/Lakes/data/2018.cleanup.R') ######################################...
21c4df9a1907cf0e405bcd030d26d67e0e3f8612
79b51c8afb0a6d4d1aa34fe5a43e2a6b420db50f
/R/fit_multi.R
05db2ca0b6db784fd9ccd7dd5e40236a9f8b5884
[ "MIT" ]
permissive
aris-budiman/epifitter
ce75aaeac2cd1bfd3ffe7dc977cc37d7a86caa39
00af96a8a8c73ef15f548e3850dc42791d2d52b4
refs/heads/master
2023-05-30T06:26:15.038508
2021-06-14T14:36:46
2021-06-14T14:36:46
null
0
0
null
null
null
null
UTF-8
R
false
false
3,102
r
fit_multi.R
fit_multi = function(time_col, intensity_col, data, strata_cols , starting_par = list(y0 = 0.01, r = 0.03, K = 0.8), maxiter=500, nlin = FALSE, estimat...
598e45c058edd81b802f21c39187b5cf048d1bcb
fafd26bd65bb0afcc6777ce18726dd8b0a5bb1c8
/R/Devoted_runners.R
a4e71b1a4df815a21368c01502264d0d81576ac3
[]
no_license
dtkaplan/SDSdata
50a3814af475c4793e03ec0200abd5d1cec738e9
5f8c9ec18bff5f1a4565cc72f745c4943fd372d9
refs/heads/master
2022-06-27T13:33:10.639497
2022-06-23T20:26:56
2022-06-23T20:26:56
133,568,261
0
1
null
null
null
null
UTF-8
R
false
false
799
r
Devoted_runners.R
#' Race results for long-time runners of the Cherry Blossom 10-milers #' #' #' #' @docType data #' #' @usage data(Devoted_runners) #' #' @format A data.frame object with one row for each runner-year in the Cherry #' Blossom 10-miler held in Washington, DC. Only those runners with 10 or more successive #' participations...
46f175e6bc207151e97f39c5d0ebc80075181586
584594f4dd0026c90a22df6e5b75702de4bdbd6d
/R/CalDDTDDF.R
6659d8630c821b552a0f1d93c25630e78fed1070
[]
no_license
smallwave/FrostNumModel
51357c1d4549424517fcc49c10f5fe1aadb676a4
49c57ee65c51722de3ee443445647aa27ceceecb
refs/heads/master
2021-01-24T07:47:26.239873
2017-06-20T06:58:56
2017-06-20T06:58:56
93,357,542
0
0
null
null
null
null
UTF-8
R
false
false
1,578
r
CalDDTDDF.R
#************************************************************************************************ # Ahthor: wavelet # Propose : Calcalation DDT and DDF # Date : 2017/6/20 # Update info : # 2017/6/20/ #************************************************************************************************ gstinFileP...
9893f7056770fa608b15ca0b1e27bd4a0a1775cd
02f2be941f38b92936146820f9766470fd648c86
/domeny_dane_kontaktowe_1.6.R
1670a2942bc0705fe341e742f658360b3aa0b8f3
[]
no_license
gsg80/domeny
5f992bc79404e855288c444d39fa993aaa6d88ca
a4cf2c2d6e41e33b56e746395e7d1f5cf5606f87
refs/heads/master
2021-08-10T09:10:56.629784
2017-11-12T12:03:35
2017-11-12T12:03:35
110,427,636
0
0
null
null
null
null
UTF-8
R
false
false
14,693
r
domeny_dane_kontaktowe_1.6.R
library(XML) library(RCurl) setwd("R Projects/domeny") f = "domeny.csv" #link do pliku ver <- "1.6" #funkcja wyszukujaca telefon w tekście parsePhone <- function(text) { ptel <- "" fraza <- "" # flist <- c('tel','Tel','TelKom','telkom','TelKomórkowy','telkomórkowy','telefon','Telefon','telfax','TELFAX','komórk...
98590a36fb46da0bf36bf2499027c744a7a4b025
9c9328e812b8d3edcd9c97af0494110ea3c64054
/R/NBSpliceRes-getDSGenes.R
67c76ce6f7eff28bd4cfc042f45c830996883ad9
[]
no_license
gamerino/NBSplice
90fb5ad934f9a118aa8e6feb1215c2764af6bf52
ba4d4ee1c23a467eed3d0f5ad3ecc5acb000a5ec
refs/heads/master
2021-09-08T11:30:16.736683
2021-09-03T14:24:59
2021-09-03T14:24:59
124,399,153
3
1
null
null
null
null
UTF-8
R
false
false
1,952
r
NBSpliceRes-getDSGenes.R
#'@title #'Get differentially spliced genes. #'@description #'\code{GetDSGenes} returns the list of genes identified as differentially #'spliced. #'@param myNBRes NBSpliceRes class object. #'@param adjusted Logical indicating if adjusted p values should be used. #'@param p.value Numeric value between 0 and 1 giving th...
64719a40aa5380d95c597745d4b88b6f22ecab15
2b1e98bf51e01ae9c703fee411e0ffa2fd98594e
/working with external file/process_csv.R
8d6baceaa743432a257406e8de01fdf86ebce474
[]
no_license
Rahulkala/R-workspace
840e3e51161958b454f5bf460c062b78b4ab2c0c
76bf9450cf4edaf2e8d6271f3fe641436a1156c8
refs/heads/master
2020-07-05T09:08:34.935527
2016-08-21T21:19:56
2016-08-21T21:19:56
66,047,113
0
0
null
null
null
null
UTF-8
R
false
false
318
r
process_csv.R
data = read.csv("input.csv") print(data) summary(data) min = min(data$salary) print(min) minrow = subset(data, salary > min & dept == "IT") print(minrow) #write.csv(minrow, "output.csv") write.csv(minrow,"output.csv",row.names = FALSE) #which will drop the col without name op = read.csv("output.csv") print(op)
8a0cdb7efdbdb449f86a9c03e4d31093e155cf35
9fa290918b0cc0b319d02f421763bbefa398e60d
/R/write.xlsx.R
e148a919551e126769dab7468b7fbbcb617a94a4
[]
no_license
cran/misty
634e5bd6bf5e317fa1f4ee1f586d5572a4e47875
1a42b63704bf9daf2d920312bc1f04204bac85b4
refs/heads/master
2023-08-31T19:04:33.782877
2023-08-24T07:30:05
2023-08-24T09:31:21
239,395,613
0
1
null
null
null
null
UTF-8
R
false
false
3,860
r
write.xlsx.R
#' Write Excel File #' #' This function calls the \code{write_xlsx()} function in the \pkg{writexl} package #' by Jeroen Ooms to write an Excel file (.xlsx). #' #' This function supports strings, numbers, booleans, and dates. #' #' @param x a matrix, data frame or (named) list of matrices or data frames ...
8257f80560a478ec19863bd78cecf5e5b5cf5d2c
e88e08d7c9779690bd5fb64c73db822c688cd886
/025/025.R
1b376858afdf854e11fcd60f5baa17bad0022b09
[]
no_license
gslinger/project_euler
071b20884e3db4df51eda21a1710b13bfe962555
e49436eb37ca97ba6f1e57d46952becee0d812f3
refs/heads/master
2023-04-12T10:51:58.971176
2021-05-06T17:52:54
2021-05-06T17:52:54
93,344,995
0
0
null
null
null
null
UTF-8
R
false
false
66
r
025.R
n<-1000 as.integer((log(10)*(n-1)+log(5)/2)/log((1+sqrt(5))/2))+1
d480ab9fe5a3db64cc3f7fc12851e1ac4c1ef53b
137971b0047936bb43062f81dedf6ac5a1fe1b00
/examples/example4.R
581fa8ca0f80abb11388b034acb85fde33d08eb7
[]
no_license
predsci/DRAFT-BSEIR
d04c25783d0bc4d0ef8e39edc2b9a13a0626b619
1176db45464ccb5bb28350693c20b9146e0ab00f
refs/heads/master
2022-02-06T05:32:01.086696
2019-04-11T18:56:26
2019-04-11T18:56:26
null
0
0
null
null
null
null
UTF-8
R
false
false
438
r
example4.R
rm(list=ls()) library(DRAFT) ## ## Forecast example bSIR model -dp, dq ts and dL are all provided ## ---------------------------------------------------------------- pop = 4035777 filename = 'lr_ebola_forecast.csv' epi_model = 3 Tg = 12 sigma = NULL ts = "2014-07-30" dL = 20 dp = 0.002 dq = 0.45 res...
265d2a5f626ca7a1c75cd4373c2309c828602541
15cdbf21d3c21ad403f6c680c80d052a9edcb4ad
/2015_SISBID_Module4_Dimension_Reduction_demo.R
cf342f342a280b00ac8653cc98929641789059af
[]
no_license
crazyhottommy/Module4
c504043ccde7608ac03feab24a311e112ff72525
07aa5332e8dee23599409e217b1ec0470c74d65a
refs/heads/gh-pages
2020-12-11T01:48:45.883164
2015-07-15T17:32:34
2015-07-15T17:32:34
39,236,378
1
1
null
2015-07-17T05:22:41
2015-07-17T05:22:40
null
UTF-8
R
false
false
5,623
r
2015_SISBID_Module4_Dimension_Reduction_demo.R
############################################################# #2015 SISBID Module 4 - Unsupervised Learning #Genevera I. Allen & Yufeng Liu #Dimension Reduction Demos for use in lecture ############################################################ ######################################################## #Data set 1 -...
fa07adaac7fbcdc3fe516eb7410eb699c2f367da
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/solaR/examples/writeSolar.Rd.R
4eb1966e2a1046c152bb7709ab78098ecd0fa585
[]
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
854
r
writeSolar.Rd.R
library(solaR) ### Name: D_writeSolar-methods ### Title: Exporter of solaR results ### Aliases: writeSolar writeSolar-methods writeSolar,Sol-method ### Keywords: methods ### ** Examples lat <- 37.2; G0dm <- c(2766, 3491, 4494, 5912, 6989, 7742, 7919, 7027, 5369, 3562, 2814, 2179) Ta <- c(10, 14.1, 15.6, 17.2, 19.3...
7e0564c0a052496f292cf4ac73d0ce84911c7a51
ca599f2d2b25bfc5a06da1a6fffac177ced5f887
/man/data.disabilityWeights.Rd
3160b16f7eda8d8add6ba847061501a1e543dc60
[]
no_license
lshtm-vimc/vimr
4c6e4c1ad33c97927a2a492bd541d7344e6c2f8a
1ec0049a669b37d454dacccc14e91f37918fcca6
refs/heads/master
2022-01-15T04:33:12.645538
2019-05-03T09:09:15
2019-05-03T09:09:15
159,156,196
2
0
null
null
null
null
UTF-8
R
false
true
968
rd
data.disabilityWeights.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{data.disabilityWeights} \alias{data.disabilityWeights} \title{Disability weights for RV, HPV, Hib and Sp} \format{An object of class \code{data.table} (inherits from \code{data.frame}) with 19 rows and 7 columns.} ...
3bf61081e507a0ef4b0b27d78d7262c28a535523
0a906cf8b1b7da2aea87de958e3662870df49727
/distr6/inst/testfiles/C_EmpiricalMVPdf/libFuzzer_C_EmpiricalMVPdf/C_EmpiricalMVPdf_valgrind_files/1610036130-test.R
ba5adc1a67c5400daa43dba718097513365e742f
[]
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
308
r
1610036130-test.R
testlist <- list(data = structure(c(Inf, NaN, 4.94065645841247e-324, 4.94065645841247e-324 ), .Dim = c(2L, 2L)), x = structure(c(1.06559816877004e-255, 6.47981537056463e-198, 4.94065645841247e-324, 4.94065645841247e-324 ), .Dim = c(4L, 1L))) result <- do.call(distr6:::C_EmpiricalMVPdf,testlist) str(result)
64609fd37fcd80c47db8071fb35eec862699900c
cc937b546ce7a37ebbdd2bbe00073715a819c673
/Final_ARIMA.R
017523df13c3b8de40bf752852792cabc4012198
[]
no_license
kevintchou/TAMIDS-Competition
0f06a31d4ce3b5426daa9cdcf8ade7b2679110f4
280d336c335b482e7ae2b4c47be885d969fa0153
refs/heads/master
2022-07-16T04:23:04.983588
2018-05-01T19:47:32
2018-05-01T19:47:32
128,587,812
2
0
null
null
null
null
UTF-8
R
false
false
5,897
r
Final_ARIMA.R
setwd("C:/Users/Jose/Documents/Comp_Data/Taxi_Data/ARIMA Data") library(data.table) library(dplyr) library(magrittr) library(MASS) library(ggplot2) library(gridExtra) library(randomForest) library(mlr) library(forecast) library(tseries) #taxi_2013 <- fread('Chicago_taxi_trips2013.csv')[,c(2,3,13)] #taxi_2014 <- fread(...
50afbf72fe39ba93c0817c2d4a2537bd9e5744e7
bff31d4717246131800a76585b5a516e890e9276
/averageCalculator.R
eb0f95f3c7ae0db8522c9cc63f1ecae20c6e35b7
[]
no_license
deriggi/AR5-World-Bank
fbf15007fcb4084c4eb0d5e1d0a9c5d9a9cfac21
ff8c5666c8f4d70a47b3f9a914034230eb63fbe9
refs/heads/master
2021-01-15T08:13:30.041047
2015-01-17T23:31:01
2015-01-17T23:31:01
18,795,854
1
3
null
null
null
null
UTF-8
R
false
false
2,536
r
averageCalculator.R
library(raster) doIt <- function (thevar, arealUnit){ rootDir <- paste("F:/climate/monthly/",thevar, "/",arealUnit,"/", sep="") outcsv <- paste("F:/climate/monthly/", thevar, "/",arealUnit,"/model_means.csv", sep="") years = c("20", "40", "60", "80") template = "monthtrendstacked_" boundarycodes <- list.files(roo...
7be2da7ecab96ba05348a057a9ffd042ff195452
8d28b939007e0887f3a1af5b54a24c68dd3d4204
/R/cross.gammas.R
2069a6a22bcba40a6ea7134a5d54903f0df712d0
[]
no_license
cran/VGAMextra
897c59ab2b532b0aa1d4011130db79f5c95eb443
ac7e3df54136fd4c9e49b754f6747a11d7c3b122
refs/heads/master
2021-06-06T03:52:23.167971
2021-05-24T03:10:07
2021-05-24T03:10:07
138,900,855
0
0
null
null
null
null
UTF-8
R
false
false
966
r
cross.gammas.R
########################################################################## # These functions are # Copyright (C) 2014-2020 V. Miranda & T. Yee # Auckland University of Technology & University of Auckland # All rights reserved. # ### In this function vector'y' is lagged --> yy[1:(n - ii) , 1] ### cross.gammas <- func...
01f7b842bfa85e0584d5c83619b51f655fd61b82
a1a68bf3675c0d01bef17bc2ab2291529b718644
/.tmp/hrapgc.find.pos.R
b97c6745cbbe26f6ba41678cc8bcd5582f2564db
[]
no_license
Tuxkid/Gems
3d3c1aac6df3f11cf209cf33da23c214b26ff5c6
c0c5dfe02c826030e6e1c97ab8cd8191caacd33f
refs/heads/master
2021-01-10T15:17:41.468718
2020-08-13T03:15:14
2020-08-13T03:15:14
50,632,804
0
0
null
null
null
null
UTF-8
R
false
false
167
r
hrapgc.find.pos.R
find.pos <- structure(function(y, inn) { # # Finds positions of "y" in a vector "inn" x <- match(inn, y) seq(along = x)[!is.na(x)] } , comment = "30/04/2001")
ce47f2bf13ad453cee3d3b12028098e63f7e0041
bcbd8d904135997b10593d6b8e9a6b07c6b7a9a7
/slice2D.R
70f71bd2070fc79bc60d8c490ac53abd246bf7f0
[]
no_license
dushoff/scratch
ccbde215751069d775977c119b807461e7f9e3c3
9d56393cabb198f618f3b5a1d71c0614a49aa5be
refs/heads/master
2022-11-09T11:06:35.467688
2022-10-21T19:48:12
2022-10-21T19:48:12
58,003,373
0
2
null
2017-08-01T15:30:44
2016-05-03T21:41:25
HTML
UTF-8
R
false
false
3,583
r
slice2D.R
## hacked version of slice2D <- function (params, fun, nt = 31, lower = -Inf, upper = Inf, cutoff = 10, verbose = TRUE, tranges = NULL, ...) { npv <- length(params) if (is.null(pn <- names(params))) pn <- seq(npv) if (is.null(tranges)) { ...
4d3b1433eb57083ff6f1c58c5a8be502cbde06da
de7d07337f7255dcc63ad23a66a03b9439aa52dc
/app.R
ac7047dd070508d3396e520c08587b14eb17214f
[]
no_license
Juliepvr/shiny_csv_to_sql
56881d90e022c184e666bac92ca28595ec53e346
b1838a9ad474caadd451e73f0726315754e5f64f
refs/heads/master
2021-04-04T08:52:38.988379
2020-03-19T08:02:05
2020-03-19T08:02:05
248,442,815
0
0
null
null
null
null
UTF-8
R
false
false
5,488
r
app.R
# App for submitting data from an excel file to a MySQL database. # create insert statements for MySQL library(shiny) ################################################################################ #### Functions ################################################################################ # check entr...
692f03359b73bd7ac856d3972c618af74a2933ef
fed5ad61ce048fe009e2d51214279907123ee225
/06/notes06.R
b374e4e417a8b40d86259449bfb669355ae41df9
[ "MIT" ]
permissive
ionides/401w18
438d09fe68ebbb41e7405c532391e43f59effe2f
1a30e8afeaab9cb1c71dab5321c83ef8efd5f06b
refs/heads/master
2021-09-26T10:38:39.426467
2018-10-29T14:17:35
2018-10-29T14:17:35
108,592,889
2
11
MIT
2018-04-21T02:05:49
2017-10-27T20:30:58
HTML
UTF-8
R
false
false
3,925
r
notes06.R
## ----setup,echo=F,results=F,cache=F-------------------------------------- # library(broman) # used for myround ## ----reconstruct_variables,echo=F---------------------------------------- L <- read.table(file="life_expectancy.txt",header=TRUE) L_fit <- lm(Total~Year,data=L) L_detrended <- L_fit$residuals U <- read.t...
3f70ae24aca6fbcd34982d0efead4abaf8429868
87fa807b44c9a63cdfa1f065f2278bd3a1f3693e
/tests/testthat/test1.R
4abfe3ee39a102a6c8d2f9f79913f434f7764a2f
[]
no_license
ricardomartins2/bldgRpkg
1b71ca75f9b1891e3573ba9ace91faad125be5fe
fd323d1463b8250bf8fbc0169f1a25ce32127b56
refs/heads/master
2021-06-18T05:11:17.494307
2017-06-23T19:50:13
2017-06-23T19:50:13
null
0
0
null
null
null
null
UTF-8
R
false
false
139
r
test1.R
library(bldgRpkg) expect_error(fars_read("non_existent_file.csv.bz2")) expect_match(make_filename("2013"), "accident_2013.csv.bz2")
5496128cfb27b9f9dc0f2ffff8bdeb7fbd1c2f84
956b0c7b6db307f87522fc46fcbbdd1476916f93
/Functions/pollutantmean.R
e81259f82c31fbff7f3247330de6d9c2cf2949ed
[]
no_license
dataGriff/DataScienceCoursera
ca78ceb8d4f5cd36b79cb1cf1db968c88e075c0a
bf54a379912021b8257a61b5d5882709598688fe
refs/heads/master
2023-05-01T08:04:25.180098
2016-07-19T18:09:38
2016-07-19T18:09:38
null
0
0
null
null
null
null
UTF-8
R
false
false
1,730
r
pollutantmean.R
pollutantmean <- function(directory, pollutant, id = 1:332){ ## 'directory is a character vector of length 1 indicating ## the locaiton of the CSV files ##'pollutant is a character vector of length 1 indicating ## the name of the pollutant for which we will calculate the ## mean; either "sulfate" or "nitra...
ce7c126e2f2fe9183acb24e49ef4ec0b40fba8b7
52824070453254349e1e82785856cb3d07e3fad0
/developer/create_data/create_saar.R
22ff978eeba2040d173a76eb5e109d3807fe878f
[]
no_license
dyarger/GSW-R
fd3f90fa5712a492f69440645b548ae3769421c4
93d4cf94389db39ed412d450c593c8a95266463b
refs/heads/master
2021-10-25T04:12:21.747187
2019-03-31T14:54:13
2019-03-31T14:54:13
null
0
0
null
null
null
null
UTF-8
R
false
false
970
r
create_saar.R
library(ncdf4) nc <- nc_open("~/git/GSW-Fortran/test/gsw_data_v3_0.nc") ## Use as.vector() since these will all get handed into C, which does not understand matrices. p_ref <- as.vector(ncvar_get(nc, "p_ref")) lats_ref <- as.vector(ncvar_get(nc, "lats_ref")) longs_ref <- as.vector(ncvar_get(nc, "longs_ref")) ndepth_ref...
85b2c780936401ed5e174b04d9ffc234057497cc
eb74dde34a3b6b9f337e33a033ca27a119034245
/man/a.Rd
a76b8304d3de3b4c262e4b1695ee94b3e4820fc0
[]
no_license
cran/DetLifeInsurance
3c9a1632fb0ddd78ae9c7dcc4a633ef429e281d8
d0b5d3a696c5bc72ce0692d6cf7d4e9921336cfc
refs/heads/master
2022-12-17T07:44:43.324629
2020-09-12T08:20:07
2020-09-12T08:20:07
278,226,350
0
1
null
null
null
null
UTF-8
R
false
true
1,495
rd
a.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/a.R \name{a} \alias{a} \title{Life Annuities} \usage{ a(x, h, n, k = 1, i = 0.04, data, prop = 1, assumption = "none", cap = 1) } \arguments{ \item{x}{An integer. The age of the insuree.} \item{h}{An integer. The deferral period.} \item{n}{...
cb651dc671b29b7caec24cf9e6a781481d6fffc9
9adce52d55568f1e3fb6b24e721525f25384ee3c
/binomial/tests/testthat/test-aux_funcs.R
f38ada03cb3ff0e58e2d2cf8e0b6a9aab80dcb21
[]
no_license
stat133-sp19/hw-stat133-lilybhattacharjee5
97435b275f11b5ce0cab4d9c58e47e8d5f583b86
3bbee1c254962e7cca47b75a165c46205f4e13dd
refs/heads/master
2020-04-28T19:27:43.208405
2019-05-02T06:49:56
2019-05-02T06:49:56
175,511,609
0
0
null
null
null
null
UTF-8
R
false
false
1,794
r
test-aux_funcs.R
context("test aux mean") test_that("0 trials, expect 0 mean regardless of prob", { trials <- 0 prob <- 0.3 expect_equal(aux_mean(trials, prob), 0) }) test_that("prob = 1, expect trials to be returned", { trials <- 100 prob <- 1 expect_equal(aux_mean(trials, prob), 100) }) test_that("prob, trials both in n...
fd407e1fddc88ef3f7fa3051bf35579ac4b805a2
f812d9bc776592b4a4308cc5925da7fcca8e4c48
/R/srn.readgcam.R
a77ccf367aa26150f1b9dd576d5a8697ac60bec2
[ "MIT" ]
permissive
ChaoEcohydroRS/srn
e953a7df6e01fff31d4edaea3ae4aaa126420d91
7ad4ab82093141eeab8b73203160e8079af695f6
refs/heads/master
2022-12-01T07:13:45.781255
2018-11-13T22:35:53
2018-11-13T22:35:53
null
0
0
null
null
null
null
UTF-8
R
false
false
11,097
r
srn.readgcam.R
#' srn.readgcam #' #' This function connects to a gcamdatabase and uses a query file to #' out results into a table ready for plotting. #' @param dirOutputs Full path to directory for outputs #' @param gcamdatabasePath Path to gcam database folder #' @param gcamdatabaseName Name of gcam database #' @param queryxml Full...
01ae369c09c78ab5f440174ff17f25918b54c09f
cd0d3ab074bcf1242b0477e7c2cc434405c7b956
/plot_heatmap_complexheatmap.r
ca73e73b19e75ae0e95b6ccdc463499d370092fd
[]
no_license
ccoo22/personal_tools
b17d682c401cdfabb3890dfc227415e26408fe0d
536eea20acc7a95d70a632a0ec0cceeda607548e
refs/heads/master
2022-11-09T13:23:16.133963
2022-10-21T09:41:00
2022-10-21T09:41:00
234,226,426
3
4
null
null
null
null
UTF-8
R
false
false
14,378
r
plot_heatmap_complexheatmap.r
#!/home/genesky/software/r/4.1.2/bin/Rscript library(docopt) "Usage: plot_heatmap_complexheatmap.r -i <file> -o <pdf file> --sample_group <file> [--ann_colors <string> --rlib <dir> --pdf_width <int> --pdf_height <int> --display_number --display_number_size <numeric> --row_rename_file <file> --col_rename_file <fil...
705e43493efbefd21f43d65489ddbac0742505ce
a64716eb81090ebef90752a39d280bba0d870bf4
/CS 513 - Knowledge Discovery & Data Mining/Final/Q6 - IRIS Dataset.r
768f222de2a8fe836e14a00458568e82893fc5af
[ "MIT" ]
permissive
ssgarnaik/Stevens-Computer-Science-Courses-Materials
649dd7150e0761f2b6ca5a31fa7d30a92f47a581
75daf93d91a43e0b21523fb32de0da851197e795
refs/heads/master
2021-07-23T20:01:25.737599
2020-06-10T22:43:48
2020-06-10T22:43:48
184,960,918
0
0
null
2019-05-05T01:16:42
2019-05-05T01:16:42
null
UTF-8
R
false
false
859
r
Q6 - IRIS Dataset.r
###### Knowledge Discovery and Data Mining (CS 513) ###### # (Final Exam) # Course : CS 513 - A # First Name : PARAS # Last Name : GARG # Id : 10414982 # Purpose : Final Exam - IRIS Dataset ###### ******************************************** ###### ### Develop the followin...
e04efd1db1dfb1dc920cd6a0212481d02d587427
d23f22579a04095c51a4b9cb7e0e779907baab5d
/cachematrix.R
c9ac69b5179fbbb3509ea966412d75133cfc1fa6
[]
no_license
Charlotte-Mitchell/ProgrammingAssignment2
4efe01e4833ff7489db16a0c8726de211a0d154e
182f56a8d026a7570ffa08ff8feac36f9fb923ea
refs/heads/master
2020-04-19T18:49:35.397171
2019-02-01T16:17:28
2019-02-01T16:17:28
null
0
0
null
null
null
null
UTF-8
R
false
false
1,142
r
cachematrix.R
## These two functions together help save time when computing the inverse ## of multiple matrices. The first stores the inverse of a matrix in the cache. ## The second checks whether the inverse of a matrix exists, draws it from the ## cache if it does or computes it if it does not ## This function creates a special...
dabf2bd9431d265e7bc0860c0059e5638c2ca399
cc3d8c0985ff81ffc940133819b7049b8bf5d59a
/R/getRa.R
99bc340c62420be465439b6e83cc965003d70cd7
[]
no_license
roinaveiro/acAra
3ee93f101bd48cf69876820fe743cc53aa16f668
0f32d5a467255b76d6b816e81b58d52b0ede9a1b
refs/heads/master
2021-01-19T11:08:52.258363
2017-06-30T10:54:24
2017-06-30T10:54:24
87,931,321
0
0
null
null
null
null
UTF-8
R
false
false
462
r
getRa.R
#' Get ra from vector #' #' @param emailMatrix dataframe that contains all the emails types #' @param mail email to get ra. #' @return ra #' @keywords ra, #' @export #' @examples #' getRa(x) getRa <- function(emailMatrix,mail = c(1,0,1,0,1)){ # Check all the emails to find in matrix to find the imput email for (i...
100249ec73219d53a7912ad80aa3a6e6a72e03c4
6b77fe4093bb4045c58db70975143cb259b2c8a6
/annotations/bootloader/bootloader.r
2831717020459ae647a64e9ff33780d2fd0ab6f2
[ "BSD-3-Clause" ]
permissive
roelandjansen/md380tools
b106c1d0da7449c156948afd936761553909aaef
afea33d0d2b09f1097dd5cb4f3d42d9724393436
refs/heads/master
2021-05-23T02:32:42.350275
2017-02-05T17:24:33
2021-01-03T14:11:00
66,765,943
26
6
null
2017-03-05T12:27:40
2016-08-28T12:02:10
C
UTF-8
R
false
false
2,827
r
bootloader.r
# bootloader.r by Travis Goodspeed # This is a Radare2 script for annotating the Tytera MD380 bootloader, # or my jailbreak derived from that bootloader. I've tried to make # this as human-readable as possible, but also to only include those # symbols which are absolutely necessary to understand the patch. # Begin b...
3a88d108b0aea8b1fbe9f955d1991f0175ff48a1
506a2b1bee7c97655ca5bf94a2d6edfd11e698e2
/man/covfx.Rd
94e3358fbef4e8b9dea9dd81b05b9c1be61cdf9c
[]
no_license
emanuelhuber/GauProMod
3662d5c2cf1136865f6d45210c8ce938634c03ed
f2d970e3de95da56c6fb029a5f44c5ceac06d98e
refs/heads/master
2021-07-18T19:55:08.050846
2021-07-13T08:54:32
2021-07-13T08:54:32
56,522,805
10
1
null
null
null
null
UTF-8
R
false
true
705
rd
covfx.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/main.R \name{covfx} \alias{covfx} \title{Return covariance as a function of distance} \usage{ covfx(r, covModel) } \arguments{ \item{r}{vector of distance} \item{covModel}{Covariance mdoel} } \description{ Return covariance as a function of ...
d4cab169990c0813ca5f00c62e6dacd0951bcb73
597845777259112d3a912256466242500a6f7533
/R/zzz.R
75a649f3e64b88ed9ff0256fe4a9859e547eb889
[ "MIT" ]
permissive
ptitle/envirem
e27187556cd8fb3afac2f8fb0572c660c42a44b9
40cccd0485324605724284c6936206327a4f1002
refs/heads/master
2023-04-27T14:16:23.463364
2023-04-14T16:04:35
2023-04-14T16:04:35
61,913,099
12
1
null
null
null
null
UTF-8
R
false
false
197
r
zzz.R
.onAttach <- function(libname, pkgname) { packageStartupMessage("\nPlease see the vignette at https://envirem.github.io/ENVIREM_tutorial.html for a detailed walk-through of this package.\n") }
7e9400f81a0e89456b1d4e65d02949dcca201aee
66a05f70f24795891665f33d04b354c48c56cec3
/scripts/draw_pi.R
8827c02b855ae875b10d78306223b6a9a7cabcfe
[]
no_license
rz520/LittorinaPipeline
355158579d4af6db4fe4a17e54e43e8eed491bca
d3ea12012ada23b33782915a8e92a2008e9459c5
refs/heads/master
2023-06-24T02:48:45.693962
2021-07-28T14:35:54
2021-07-28T14:35:54
390,198,890
0
0
null
null
null
null
UTF-8
R
false
false
1,249
r
draw_pi.R
#Use pi value in angsd thetaStat output in every ecotype and linkage map data #to draw scatter plot in every chromosome and ecotype category library(ggplot2) library(reshape2) #read linkage map data lg <- read.table('data/Linkage_map.txt', header = T) #read crab window theta data crab_theta <- read.table('data/crab...
2c43bce9a6995bbbf863b1f48999b03d46d837c8
c7904f189856042d29b280cde615ddbc5b79a168
/Graph Types Code/Alluvial.R
b4e33ab1d3be02b8900d8adb96a5eec74d92d398
[]
no_license
marioamz/CentAmMigrationDataViz
cee1b544083863a8860aaad3160b3dd201f1dc9d
39a4a46ca40212995d5d7f99cc9442c80adeef76
refs/heads/master
2020-04-17T11:55:18.355764
2019-03-04T04:04:23
2019-03-04T04:04:23
166,559,646
0
0
null
null
null
null
UTF-8
R
false
false
11,249
r
Alluvial.R
# Read in all 2017 data install.packages('ggalluvial') library(dplyr) library(ggplot2) library(ggalluvial) hmex <- read.csv('Data/honddev2017mex.csv') hmex$pais <- 'Honduras' hmex$deported <- 'Mexico' husa <- read.csv('Data/honddev2017usa.csv') husa$pais <- 'Honduras' husa$deported <- 'USA' gmex <- read.csv('Data/...
7b75257ffd09bea904391a0b227aa73ccb0686ff
ab9734a8d40e8d4934c54ee5d8a238a9ac5f1f50
/R/cleaningscript.R
d6f780d0cbcf0413cc195a701dd9fd09dcc68e8b
[]
no_license
sball33/stt863
14b9dc579e8b58bc6199ce2ecd9f293a28466dc0
db032a90383df858dabf27ee29d4579c6542ccd9
refs/heads/main
2023-01-07T16:39:07.384282
2020-11-05T21:32:50
2020-11-05T21:32:50
null
0
0
null
null
null
null
UTF-8
R
false
false
12,767
r
cleaningscript.R
library(tidyverse) # Read and Clean ---------------------------------------------------------- files <- list.files(path = here::here("raw_data"), pattern = ".csv") files cleaning <- function(df){ df <- pivot_longer(df, cols = -country, names_to = "year") } data <- files %>% map(function(x) read_csv(paste0("raw_...
4741e9fbcb65bae9dc871536a7f196708ae4ceb3
338205cf3d15c26c8aef420fe2c47cde6f10f73a
/SharedCode/Scripts/cleanCMAP.R
5abe0cd02e123249be586096940d14ee348544ca
[]
no_license
nlenssen/ENSOImpacts
517a67cf3c55d7d9db189b6a7334d3e2cbb54d58
3cd359b266f4936603d94e06a97ecf5f7c2de46c
refs/heads/master
2023-01-23T08:49:18.529165
2020-11-30T16:49:35
2020-11-30T16:49:35
283,616,399
1
0
null
null
null
null
UTF-8
R
false
false
440
r
cleanCMAP.R
# Clear workspace and garbage collect rm(list = ls()) gc() # Load namelist source('SharedCode/Namelists/cleanData.Rnl') # clean the 0.5 degree data cmapFile <- 'cmap07.2018v1_2.5_1979_2017.nc' cmapOutFileName <- 'cmapSeasonalv1_2.5.Rda' source('SharedCode/Code/cleanDataCMAP.R') # clean the 2.5 degree data cmapFile <...
7eb29e740e628120ef807d8886f6f4d366bcf094
3c158405be85fb631944a1b8019db6e9b531583d
/iris.R
ec5537fe54f3382d514c8e032be97b7af58528e5
[]
no_license
ganeshbalajiai/RCodeSupportVectorMachines
f6e85d7b71a602106182493f66d631b877bb0a5f
b46d7b12488a8146def8b4528b6daa05727d8922
refs/heads/master
2022-04-04T04:51:46.780754
2020-02-22T12:54:15
2020-02-22T12:54:15
null
0
0
null
null
null
null
UTF-8
R
false
false
544
r
iris.R
data(iris) View(iris) library(caret) split <- createDataPartition(iris$Species, p = 0.75, list= FALSE) Train_data <- iris[split,] Test_data <- iris[-split,] Train_data[,-5] <- scale(Train_data[,-5]) Test_data[,-5] <- scale(Test_data[,-5]) View(Train_data) library(e1071) attach(Train_data) model1 ...
de855fa24c550511d2dfb7f03722065f1af0a60d
63683d8f8a5ff62681fb51feb4512a1918a2de0c
/data-vis/ridgeplot.R
5a742fc40a55556feb9567f63c5982c946c5c298
[]
no_license
hendersontrent/critical-role
794cff324b31d259a2eb350e38234eca8e7170a9
15709a43ef42cc9b5557e7e290d8ee5debb889a9
refs/heads/master
2022-12-02T13:09:58.292766
2020-08-14T23:59:39
2020-08-14T23:59:39
282,812,673
1
0
null
2020-08-14T23:59:41
2020-07-27T06:28:45
R
UTF-8
R
false
false
1,322
r
ridgeplot.R
#--------------------------------------- # This script sets out to produce some # interesting data visualisations for # Critical Role: Wildemouth rolls #--------------------------------------- #---------------------------------------- # Author: Trent Henderson, 28 July 2020 #---------------------------------------- #...
1add846783ab62313593138331628f59d1caa757
341b66d831198c801945f552608ed5e6d8c554d2
/code_R/FADN_sample_script.R
165bb3630efca01e8df30ca0cd366db366133a60
[]
no_license
progillespie/data_FADN_PUBLIC
df257d0152c32951cea781cc2c08afc10f8b2432
99ebb4e17d0a97ca3aa1d2acc14f96fd132fc338
refs/heads/master
2016-09-05T19:11:30.441859
2014-07-23T21:59:10
2014-07-23T21:59:10
null
0
0
null
null
null
null
UTF-8
R
false
false
416
r
FADN_sample_script.R
# Gets (public) FADN data from the web, reads csv's and converts # them to RData files (as well as giving vars descriptive names), # and loads all of them into memory as separate objects (merging # can proceed from there as needed) library(data.table) source('D:/Data/data_FADN_PUBLIC/code_R/getFADN.R') source('D...
b90a63aee3efb6748e9155ed01ef8bdfcfbab555
f7200e99e92c04b4237a2f4055f73f98b196bbad
/R/nlin_CI.R
f1352adbe402017ba545ed77047a96c85261d0b7
[]
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
2,563
r
nlin_CI.R
nlin_CI <- function(y, level, plots = FALSE, notion = "dS1", ncoresC = 1, addPar = FALSE, spar = 0.8, eps = 1e-19) { cands <- nlin1_theta_f(y) cands0 <- cbind(cands$t1, cands$t2) + eps #cands1<-cbind(cands$t1,cands$t2)+eps #cands2<-cbind(cands$t1,cands$t2)+eps #cands3<-cbind(cands$t1,cands$t2)-eps #cands4<-...
033d01dced488688960fa4da5c9c8f2a17d1c8fb
de8d204d522eccdd8e388bff122ef4e765ec7d17
/R/simulation_more_final.R
4f9e9bf3a016ae3226cee59aafbbeaa71a8ca765
[]
no_license
kevinmcgregor/CausalChallenge2016
ecd9e5e2cd46c9d60b64b1d8d236f111cda65924
18966ecd91c36c5638c3dcf558a0d9e3fc029601
refs/heads/master
2021-01-20T20:32:44.601031
2016-07-28T15:14:03
2016-07-28T15:14:03
61,646,823
0
0
null
null
null
null
UTF-8
R
false
false
4,332
r
simulation_more_final.R
#Another 'final' simulation with some of the predictions coming from directly applying formulas library(mice) library(Metrics) # read data mouse.data <- readRDS("mouse_data.rds") var.names = readRDS("variable_names.RDS") # consider only complete observations: delete genotypes with missing values full_mouse <- mouse....
12d9509d2058cadbaad6641c36070b1aed583f7e
5ccb3d615c18eaf15743ad2fa4fdf4d3ca58b108
/cachemean.R
10960da4d7c98f970240f9fe139ac71d666a9c83
[]
no_license
cnovacyu/datasciencecoursera
ea4e341d9413287020c4e85e10a25b2666fd5d1c
b33fe95a04b1a0eb08e7c0761e26510c4d443e37
refs/heads/master
2022-10-22T23:28:12.022023
2020-06-08T23:10:09
2020-06-08T23:10:09
257,652,402
0
0
null
null
null
null
UTF-8
R
false
false
936
r
cachemean.R
##create a special object that stores a numeric vector and cache's its mean ##create list containing a function to set the value of the vector, get the ##value of the vector, set the value of the mean, and get the value of the mean makeVector <- function(x = numeric()) { m <- NULL set <- function(y) { ...
acdc5893e1db38cc4384b343d7540985f1e0db57
9107afe4e896649270406a53ff1ea93f745e788c
/timeSinceFire.R
ee6f16486470d3711a45c16f4e246a463e191ba7
[]
no_license
PredictiveEcology/timeSinceFire
688bd924d637182df7d9a5572add8f82fa73f3d0
3cb09e475b039232dfc1c8bca5e63bf787bb76d7
refs/heads/master
2022-10-28T08:58:28.889380
2022-10-13T03:34:27
2022-10-13T03:34:27
221,830,171
0
0
null
2019-11-15T02:45:58
2019-11-15T02:45:56
null
UTF-8
R
false
false
5,411
r
timeSinceFire.R
defineModule(sim, list( name = "timeSinceFire", description = "This tracks time since fire for the LandWeb application.", keywords = c("fire", "LandWeb"), authors = c(person(c("Steve", "G"), "Cumming", email = "stevec@sbf.ulaval.ca", role = c("aut", "cre"))), childModules = character(), version = list(SpaDE...
b1db4d63956855cc11b797477b110febcacf4c0e
caa170d4e3874240d1cb26d972d9f4659ef05fd1
/M20200518.R
33896f346aeb813578bdedb5e741f705af1b46e6
[]
no_license
peolgok/WorkspaceR
abf35bd663faf348064d6d91c668cc1fde18f7fc
e2f02be3a691229a03103edabc690d8ddab1963f
refs/heads/master
2022-07-22T15:36:45.357200
2020-05-18T08:16:31
2020-05-18T08:16:31
263,275,717
0
0
null
null
null
null
UTF-8
R
false
false
13,489
r
M20200518.R
# 5일차 # 엑셀파일 읽는 방법, 별도로 설치하는 환경 있어야.#텍스트, 엑셀파일 읽기함. # 범주형, 연속형. 두가지의 유형 데이터. 단일 변수형태냐, 단일 변수형태냐. 0#다변 일변량이냐 단수량이냐? 문제정의,데이터수집, 데이터전처리, 탐색적, 데이터분석, 보고서, 발표 #이 절차는 순차적이긴 하지만 계속 피드백하는 과정을 거쳐. #분석절차 1. 문제정의 2. 자료수집 3. 자료 전처리 4. 자료 탐색(EDA) "오늘 18,내일 19 자료 탐색에 대해서 배울 것. 단일 변수 범주형 자료, 단일 변수 범주형, 연속형. 전처리라는 것은 수집한 데이터가 완벽한 자료...
6e4254d7871d29cd331b03b2178f051a44f8f7fe
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/Spectrum/examples/kernel_pca.Rd.R
bc12e0fb04c07f54716a7f4f6411a1beb0ce7590
[]
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
187
r
kernel_pca.Rd.R
library(Spectrum) ### Name: kernel_pca ### Title: kernel_pca: A kernel pca function ### Aliases: kernel_pca ### ** Examples ex_kernel_pca <- kernel_pca(blobs[,1:50], kernel=FALSE)
8649a6a12f171553f9574c7ded0f44ad525a0496
3aac39bd37372b8bc2371e5e31c6da65e11cfdb8
/dataAnalysis.R
2480a38b2dd204535b19d525c282748ea95c388e
[]
no_license
bcaffo/jhu_dash
b2fa10f4f048e23ce9304a97778fb2ea35e5e991
5f886da76ea40af4996de2607bb1ee2880723c83
refs/heads/master
2021-01-24T02:39:29.393034
2015-09-21T17:42:15
2015-09-21T17:42:15
42,886,844
1
0
null
2015-09-21T18:48:16
2015-09-21T18:48:16
null
UTF-8
R
false
false
206
r
dataAnalysis.R
require(XML) library(plyr) #Read data into R working directory data <- read.csv("Downloads/DataFromXML1.csv") summary(data) #Plot for displaying calories burned plot(data$Burned, type = "l", col = "red")
0ffca67c69f142cde057d99a6ffbdd9a1d3c5af7
75b1f6fa114f5df24bd120da511b8ef72d678a9a
/Scripts/Programming_Concepts/R2018_Programming_Concepts_Practical2.R
eefcfb1e8e1b5a7bb3d342325fbe178e633dead1
[]
no_license
si-medbif/SIRE506-R-Intro
f26108e5117dc2b2bf603ff7d1844ea89bd1b27e
1c7ff90c1a2c3dd5b83c7fefebb8ef29ccc16d8a
refs/heads/master
2020-04-14T19:41:52.205208
2019-01-29T07:43:07
2019-01-29T07:43:07
164,067,986
1
1
null
null
null
null
UTF-8
R
false
false
700
r
R2018_Programming_Concepts_Practical2.R
paste("I","love","you.") paste0("I","love","you.") for(k in 2005:2018){ #Do something with k #print(something) } #####Your tasks #1) Our input is 2005:2018 (i.e. 2005, 2006,…,2017, 2018) #2) We will use the for loop and the ‘paste’ function to generate the following sentences: # This year is 2005. # This year...
5fb37532331cedba9ecf569720f239e449f3a205
9e8936a8cc7beae524251c8660fa755609de9ce5
/man/discrim_regularized.Rd
4c5e1c6d3485e4f26002183764be54ec75e5e0d0
[ "MIT" ]
permissive
tidymodels/parsnip
bfca10e2b58485e5b21db64517dadd4d3c924648
907d2164a093f10cbbc1921e4b73264ca4053f6b
refs/heads/main
2023-09-05T18:33:59.301116
2023-08-17T23:45:42
2023-08-17T23:45:42
113,789,613
451
93
NOASSERTION
2023-08-17T23:43:21
2017-12-10T22:48:42
R
UTF-8
R
false
true
3,284
rd
discrim_regularized.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/discrim_regularized.R \name{discrim_regularized} \alias{discrim_regularized} \title{Regularized discriminant analysis} \usage{ discrim_regularized( mode = "classification", frac_common_cov = NULL, frac_identity = NULL, engine = "klaR"...
c800003ffd021b6318315802324ae3a42f2d0d57
3a8c913f2ab6bd9f5062a956d9f1b828217bf123
/Code/dataFromGit.R
96566f924e586bdee7bcb43ce3b4c406c21d83c2
[]
no_license
ericdfoster/draftparty
d0ae6229fc7e3cf8cf2835e92a2e874c09c74145
6c9b531e6d549dbcc2ef04dcfc78c1372ad28f53
refs/heads/master
2020-04-29T09:25:37.337304
2020-03-08T22:20:17
2020-03-08T22:20:17
176,024,512
0
1
null
null
null
null
UTF-8
R
false
false
2,317
r
dataFromGit.R
###################################################################################### ### ### ### dataFromGit ### ### ...
144880aca3f2c57f1882d182d8af3dfa862327ff
932207d42917d0f4b95cea5d310e0a2db11d4d55
/plot3.R
f5941721830b5db0f5dbad9915b99d1341b5a77d
[]
no_license
erinboyle05/ExData_Plotting1
8a3b7e42170c87664d003b4d0046db2c8def3be1
1b503ce7b8f9d5f54f514afffc7d1b5f3a01eccd
refs/heads/master
2021-01-12T21:03:37.341335
2015-10-07T02:24:21
2015-10-07T02:24:21
43,707,495
0
0
null
2015-10-05T19:12:10
2015-10-05T19:12:10
null
UTF-8
R
false
false
465
r
plot3.R
if (!exists("febdata")) { source("getdata.R") } png(filename = "plot3.png") plot(febdata$Time, febdata$Sub_metering_1, type = "l", ylab = "Energy sub metering", xlab = "") lines(febdata$Time, febdata$Sub_metering_2, col = "red") lines(febdata$Time, febdata$Sub_metering_3, col = "blue") ...
0978ccd5b003b53c72ea7d31cb89ff8e038bbb6a
4a9ba6f4101715dc2419c9c40c16ab392a7161f2
/PseudoCode.R
30be8b94308d7444d1697185aff2909005fe93b0
[]
no_license
bpalakur/Intro_Biocomp_ND_317_Tutorial10
6673053605646dfcd2555f8deca8b80d2b76b213
9b134b871c42c0a44a6c7965f50502dc554022fa
refs/heads/master
2021-08-08T06:10:22.977260
2017-11-09T18:22:01
2017-11-09T18:22:01
109,405,953
0
0
null
2017-11-03T14:35:05
2017-11-03T14:35:05
null
UTF-8
R
false
false
365
r
PseudoCode.R
#Load Packages #Define custom model function #Set of 'pool' of values for the parameter of #create a dataframe to hold results #use for loop to simulate the different models and store parameters of interest #create different plots for various r, k, N0 #Number 2 # #Build model #Run simulation #Data explora...
5e0ba106a6d7856ee36a735af3fcf6f4bd9da277
f4d0bf674d06b00a0867ca9b02d98d17ad7c0dfb
/R/teamBattingScorecardMatch.R
f19ea1ae0209802c57d5e9e2ffe360e489a8f666
[]
no_license
tvganesh/yorkr
bd86283ae7abb4551cd3c29d8242af1dca49f3a0
c0b907e41be891b9c5cfabd5c0d2f618753e17ed
refs/heads/master
2023-05-10T16:24:56.548214
2023-05-08T13:46:58
2023-05-08T13:46:58
54,775,374
17
8
null
2017-04-10T00:22:14
2016-03-26T11:07:53
R
UTF-8
R
false
false
3,273
r
teamBattingScorecardMatch.R
########################################################################################## # Designed and developed by Tinniam V Ganesh # Date : 20 Mar 2016 # Function: teamBattingScorecardMatch # This function gets the batting scorecard of team in a match. The result is # returned as a data frame # ###################...
40c7bc12c90113e6a33855ec4baf9acdd2bb845d
6fae586199220e2cd9a1b73a0225eca617561c53
/Bib.R
02ed9f72b5c6af4e5d94e19a6e85c5bf5117337c
[]
no_license
KatherineDuchesneau/Endophyte_project
4f1cdbc0fd4b774f82eb3c2bb0576df0ba16cae7
c27bb481afd63584d2f8f5696e1c2f52530adcc0
refs/heads/master
2021-04-27T09:47:28.670655
2018-04-19T02:36:37
2018-04-19T02:36:37
122,522,078
0
0
null
null
null
null
UTF-8
R
false
false
2,324
r
Bib.R
############################# # # # Assemble literature cited # # # ############################# setwd("C:/Users/Brody/Desktop/Murre spp. Population Genomics and Conservation/BIOL812 - Bioinformatics/Endophytes") install.packages("dplyr") library(dplyr) ...
0d82c749565a27a818e49bfb4bac145ebf211e0d
6b0f6cfd899add326a4fe835feabb2c7d5c92278
/R/ols-residual-plus-component-plot.R
bee2b7ccf07891101f5f19a9ea46d4ed015b1845
[]
no_license
SvetiStefan/olsrr
9c7b4b82fdae631cab778107381d3d259408996d
db9f0427771f07ca93e8600a1573aef7779e76f5
refs/heads/master
2021-06-17T11:56:39.893077
2017-06-06T10:31:45
2017-06-06T10:31:45
null
0
0
null
null
null
null
UTF-8
R
false
false
1,305
r
ols-residual-plus-component-plot.R
#' @title Residual Plus Component Plot #' @description The residual plus component plot indicates whether any non-linearity is present #' in the relationship between response and predictor variables and can suggest possible transformations #' for linearizing the data. #' @param model an object of class \code{lm} #' @re...
659037bab59d9b51f071e96fbc015ba234f4c646
e281a598b57e998bad32224445a63cb95a5860a7
/04_Primary_TripletNonTripletComplex_RNApolIIMetagenePlot.R
5fc6803cb5806af321b772eb8798135fab0400fb
[]
no_license
itsvenu/MYC-Manuscript
7e6a31fbce638c96c8939efabecf67e755681c3a
d3949a945133cae4557ceacb96b9292eb39867b3
refs/heads/main
2023-01-01T21:55:31.695982
2020-10-16T17:05:31
2020-10-16T17:05:31
197,205,887
0
0
null
null
null
null
UTF-8
R
false
false
4,424
r
04_Primary_TripletNonTripletComplex_RNApolIIMetagenePlot.R
## source: /b06x-lsdf/infra5-lsdf/mbHDAC2/scripts/affy-ge/all_timepoints_deg/closestEnhancers/metaplot_smoothing.R ## Triplet_complex vs non_complex RNApolII metagene plot setwd("~/Desktop/ServerView/MYC/scripts/MycHdaci_code/scripts") library(tidyverse) # theme_vt2 <- function(){ # theme_classic(base_size=18) %+r...
bf6829e9b5f205fc3570fb1c4fd15311ef41854f
a88281b2569d088f7c100f04c7a5f1b6c33b5d62
/R/function.relief.R
097ef3eb24bbbbdad2b54f9decbbdba26e449ebd
[]
no_license
faridehbagherzadeh/VariableSelection
380401d68d5a9873d19fe68523023bf2cf46e124
49410553ee20c3d8f6c07029fff8db209d6615f8
refs/heads/master
2021-01-18T12:19:24.470552
2015-11-11T02:35:03
2015-11-11T02:35:55
45,986,476
2
2
null
null
null
null
UTF-8
R
false
false
7,565
r
function.relief.R
function.relief <- function(input, target, data, control = control.selection(), trace = FALSE, ...){ field_distance <- function(input_idx, instance1, instance2) { value1 <- instance1[1, input_idx] value2 <- instance2[1, input_idx] if (is.factor(value1) && is.factor(value2)) { if (i...
15a190e444045603baa4ce39db81f8d3e7f7f0bb
25f1c949f6c7ec5b5aece3baa90c8076f59f886f
/mala_roznica_glosow/150927_Hackaton_Mala_roznica_glosow.R
cd9362672c7dfcd4ca4927dea07c5722d9e83806
[]
no_license
mi2-warsaw/JakOniGlosowali
d759273f0f91510276e58236b15da2375db9837d
e1ecb7f0c8aaf9cb8b7334ec0ea40e9a7e55a94d
refs/heads/master
2021-01-10T08:08:41.723169
2015-12-09T20:56:01
2015-12-09T20:56:01
43,201,017
5
3
null
2018-08-29T20:18:52
2015-09-26T10:12:13
HTML
UTF-8
R
false
false
2,555
r
150927_Hackaton_Mala_roznica_glosow.R
library(dplyr) library(tidyr) library(rvest) #tylko plik all_votes setwd("/Users/Alicja/Desktop") load("all_votes.rda") #scrapowanie nazw legislacji ze strony Mam Prawo Wiedziec title_scrap <- function(page){ page <- html(page) title <- html_nodes(page, ".naglowek-1") title <- html_text(title) return(title) }...