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
a5b7251e73fd2fb483ba593aca8f87e9b2933231
14742f3be11eaeffcb46a7d92e336ed038d1b668
/R_script_inventory/83357india.R
8ecbb7bc1498095125037b5cd4d6cf4882be1c42
[]
no_license
ShawnPengxy/loupeman
c4eeace02ee7e04545b927d1e6efb98877edee3c
a92a19162a13373e4991eef5a33fbfb78abb9bd9
refs/heads/master
2020-04-04T19:18:39.957219
2015-10-08T09:51:00
2015-10-08T09:51:00
41,746,718
1
0
null
null
null
null
GB18030
R
false
false
1,662
r
83357india.R
library(reshape) importdata<-`83357india` #导入变量名转换 importdata<-rename(importdata, c(Shape="shape",Weight="carat", Color="color",Clarity="clarity",Cut="cut", Polish="polish", Symm="symmetry", Fl="fluorescence",Lab="report", Report.No="reportno", LotID="stoneid",SC3="back", Rap.Rate="rapprice")) if(length(which(importdat...
eb936ed8f0ccbfbb7b56295f64d9e9073bb17baa
13f2a4c289474781cd73199154361d7e3da795dc
/plot3.R
7c237290f3b76b648865fdbc7c8e97ac27639a14
[]
no_license
pdiazs/ExData_Plotting1
8df4b82b1ccf72068f3c8ddd328d7f9e71384405
4b6744f03f2a71fac9f1cf1af39a36287844dc4c
refs/heads/master
2021-01-14T12:11:21.116209
2014-05-07T19:55:56
2014-05-07T19:55:56
null
0
0
null
null
null
null
UTF-8
R
false
false
1,278
r
plot3.R
## Read Data and review ## The script assumes G:/R/Coursera Explora/ as path. Change and adapt to your needs household_power_consumption <- read.csv("G:/R/Coursera Explora/exdata_data_household_power_consumption/household_power_consumption.txt", sep=";") View(household_power_consumption) str(household_power_consumption...
7c5c06a96ac32777f31b2f6571a07c907f86ea39
40e0e1165c26b3c024c6689861c59efd6151c81a
/R/response-salesforce.R
475d4a0ed1f1ce4c2b52592e877fe72e6ab2b73a
[]
no_license
nteetor/jedi
7d539ab48b8518fabf0f3d017e1dfbbf9daa5950
3888b54694378b23ef8bdc368810bc82a2619269
refs/heads/master
2016-09-06T18:52:50.675419
2015-08-28T20:59:47
2015-08-28T20:59:47
41,367,238
5
0
null
null
null
null
UTF-8
R
false
false
421
r
response-salesforce.R
#' HTTP error checking #' #' Better handling for Salesforce error responses. #' #' @importFrom httr stop_for_status content #' @importFrom magrittr %>% #' @export check_salesforce_response <- function(res){ tryCatch( httr::stop_for_status(res), error = function(e) { error_msg <- httr::content(res) %>% ...
2d0a3c1dfa2942ad7e8d95c71118541cc35799eb
26c8f804713c611eb5c931d09a2a71f526ead746
/globals.r
16b18cbd050d03cfea040f0470a339d040850b79
[]
no_license
djinnome/crop
f57c2daec28bb040af87164706756a9f01f07a45
c3f409c5efc4d518b560b160e4afdb78d7824aec
refs/heads/master
2021-01-11T06:36:15.885581
2017-02-06T21:19:23
2017-02-06T21:19:23
81,134,029
0
0
null
null
null
null
UTF-8
R
false
false
1,590
r
globals.r
##jeremy zucker ##7.20.2011 ##globals.r library('Rcplex') suppressMessages(library('Matrix')) options(stringsAsFactors=FALSE) setwd('/msc/neurospora/FBA/farm') source('check_ko.r'); source('check_fba.r') source('check_rxn.r') source('check_new_media.r'); source('changeNuts.r') source('cut_mets.r'); source('cut_revs.r...
bc9f5ff9b36c021ddbc3c9554d1b95ed92f0179f
f153381432a864aa0f1cf789d27aa2e0aba00614
/man/pad_sequences.Rd
9a0692074809bac0c1bec972b29117e6b561c6e8
[]
no_license
rdrr1990/keras
0f997cf8632f6db623afcdb376ea8c258923e094
72b510456f15f5570388d0e610aa4917f1f1674b
refs/heads/master
2021-05-06T06:42:08.086819
2017-12-30T00:11:11
2017-12-30T00:11:11
113,892,962
2
0
null
2017-12-11T18:19:25
2017-12-11T18:19:24
null
UTF-8
R
false
true
1,363
rd
pad_sequences.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/preprocessing.R \name{pad_sequences} \alias{pad_sequences} \title{Pads each sequence to the same length (length of the longest sequence).} \usage{ pad_sequences(sequences, maxlen = NULL, dtype = "int32", padding = "pre", truncating = "pre",...
a043ce121e13f382e9fb1f8318c92273514ef41c
84141707307dd1e74bfd58d8a23e418728f34037
/R/rp_optimize.R
f05727b8e34d240a1c1b4e6597bfa0136d11a6ff
[]
no_license
rossb34/RcppRP
c6c61562d027eecb63fb6823fcbe07bc0af05740
7500bcfca6351d63abb60e8fa9931b6a9619ba80
refs/heads/master
2016-09-06T07:12:02.387358
2013-11-13T04:40:12
2013-11-13T04:40:12
null
0
0
null
null
null
null
UTF-8
R
false
false
5,410
r
rp_optimize.R
#' V1 Random portfolio optimization #' #' TODO Random portfolio optimization description #' #' @param R #' @param portfolio #' @param search_size #' @param objective #' @param rp #' @param \dots rp_optimize_v1 <- function(R, objective, search_size=2000, portfolio=NULL, rp=NULL, momentFUN="set_moments", ...){ if(!i...
b211bac5d58a596a0774fe73c343b8e22d6d7d85
db5021657865118d2c48c41d852cd766e6657913
/man/plot.multiplot.Rd
d5ec8d4502f99dccc6c8b492ab9c779b5053412e
[ "MIT" ]
permissive
GSuvorov/sentR
31cbea2ee29a4afdfa51ba5b1bdad0bf7d813e92
5ee173e1ed025b824784c7a892eb38c42bf6824d
refs/heads/master
2021-01-19T03:35:56.981465
2016-09-14T04:53:24
2016-09-14T04:53:24
null
0
0
null
null
null
null
UTF-8
R
false
false
442
rd
plot.multiplot.Rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/plot.R \name{plot.multiplot} \alias{plot.multiplot} \title{Multiplot (ggplot) Utility} \usage{ \method{plot}{multiplot}(..., plotlist = NULL, cols) } \arguments{ \item{plotlist}{the list of plots} \item{\dots}{the plots to stitch tog...
7592d0b47aa03a0e235a6406126972cf971a2faa
c0b759b690e6de46933b9dc5f5d5decbd12895cd
/R/FourierStats-package.r
6e6ffb3300e5013d3b5d5de544e2f065a7967950
[]
no_license
bakerdh/FourierStats
d54800478f26737d63858f756495217c2931cde4
e60aef797f04c3c68894681f3c7070cb52ea5e7f
refs/heads/master
2023-07-31T22:05:08.568685
2021-09-16T05:25:41
2021-09-16T05:25:41
321,050,967
0
0
null
null
null
null
UTF-8
R
false
false
1,497
r
FourierStats-package.r
#' Documentation for FourierStats R package #' The FourierStats package implements several statistical tests for use with bivariate data such as the complex (real and imaginary) components of the Fourier spectrum. Included functions implement the T-squared-circ test of Victor & Mast (1991), and the condition index and ...
b727b92915ec6e344f607eccced50b29544020c0
be7bdeae33d212cbb850f83499ae2d3bd9092391
/man/filterXts.Rd
e916d56717a3462a97d681a02db9f88212d66cd1
[]
no_license
NanisTe/dataSciencePack
fc36bc9a4e272f9ef685151581a164244cc2bf9b
c0a9c3451d7a7b05d0f1d621db18708fbd8ee422
refs/heads/master
2020-05-26T23:58:44.091152
2020-01-06T12:58:28
2020-01-06T12:58:52
188,417,039
0
0
null
null
null
null
UTF-8
R
false
true
1,137
rd
filterXts.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/filterXts.R \name{filterXts} \alias{filterXts} \title{Filter data.frame with xts syntax} \usage{ filterXts(df, xtsstring, tzone = "UTC", by_colname = "Datetime") } \arguments{ \item{df}{a data.frame with at least one column of POSIXct values....
adb7297fb55637bf2f2a9b5051c3a52ac4c21993
74ef91ee3475da842cf3f9700d2c2e7fdf5998a0
/man/read_expression_xml.Rd
e05bae9159b22fb5c2e4f5b2e49dca8d9fa51853
[ "MIT" ]
permissive
ramiromagno/geisha
cd7c2cfce6dd77ce3d9f582d74cc04858a9519eb
10bada460e090c135970057827fc35fc13789dc3
refs/heads/master
2023-06-27T12:48:15.885046
2021-07-24T09:25:05
2021-07-24T09:25:05
374,492,199
1
0
null
null
null
null
UTF-8
R
false
true
477
rd
read_expression_xml.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/read_expression_xml.R \name{read_expression_xml} \alias{read_expression_xml} \title{Imports data-raw/expression.xml as a tibble} \usage{ read_expression_xml() } \value{ Returns a tibble with (part of) the data present in \code{expression.xml}...
57b3b3407c809666ee12d1db2f19024202f55e86
92d4c5c58feb1d1c4455bda494ec7dc36f34512b
/R/fitness.R
40aaf98f9ebfe373e4577d2bfc051fbc013deae3
[]
no_license
Giatomo/CuRveR
097ab184561a1b59e511c18743ff20116cf1ce2e
33a71b3a11f1cc2fe16ad6790a5cf14585d44fe1
refs/heads/main
2023-04-14T02:56:42.960408
2022-07-19T15:12:19
2022-07-19T15:12:19
414,199,514
0
1
null
null
null
null
UTF-8
R
false
false
1,950
r
fitness.R
#' @export least_absolute_deviation <- function(model) { \(parameters) { -sum(abs(model$y - do.call(model$equation, append(list(model$x), parameters)))) } } #' @export ordinary_least_squares <- function(model) { \(parameters) { -sum((model$y - do.call(model$equation, append(list(model$x), parameters)))^2...
5971a792632a764e5050fe47697fc2d7cd58b3ab
834ae363f18064560082ab638dbfc814fa72d76d
/R intro.R
cf566dbb1842f460f3372baf8d9f991e981d0492
[]
no_license
vish3108/DSA-assignment
e6575111ea289b520f919f81b6d93fa7b0065de9
cb61aa1033a32c835c10876b235419da1f64ae94
refs/heads/main
2023-02-06T05:01:17.591398
2020-12-18T17:57:26
2020-12-18T17:57:26
322,667,352
0
0
null
null
null
null
UTF-8
R
false
false
248
r
R intro.R
x = 10 x a = 10 a class(a) a = "Hello World" class(a) a = TRUE class(a) a = FALSE class (a) # Logical TRUE and logical FALSE are equivalent to 1 and 0 respectively. a= FALSE + TRUE #basic calculations a factorial(x) a^x x*a^x
a674a2c48d1bbf6d05f86eaa068ce466430a41a2
97f677c4c25409815436fc2cb549b620c505a4cd
/analyse_results.R
6ba9752b3d5a95907567cf041fc4f692513e5914
[]
no_license
ascelin/interdiscp_cons_sci
041c286b79aca9a40ae59d915d57c038ec6f155b
cee36aeb99dcc882e283f3919bec6a9c2fd722a5
refs/heads/master
2020-03-17T08:57:07.136931
2018-05-15T03:48:09
2018-05-15T03:48:09
133,455,810
0
1
null
null
null
null
UTF-8
R
false
false
1,468
r
analyse_results.R
# Rscript to analyse the refereces of Biological Conservation and Conservation Biology # to run: # source('analyse_results.R') rm(list=ls()) source('analyse_results_functions.R') years.vec <- 1999:2015 #years.vec <- 2012:2015 # Set this global variable so that when importing the data, strings won't be treated a...
f60d31daa145df1c29f0e48c67e078fa58ff5a38
1c66e4bba54504196b8fff52b70fec02af3e042c
/z.R
133e5aa8998dd512994568e0d558322e7b23232e
[]
no_license
dushoff/makeR
204343b785d86d720e2a872ca4a52fb6318e421a
bad9a2b71e669f61e4ffd22c9595205cc06497a1
refs/heads/master
2022-12-20T04:49:00.419646
2020-10-14T02:56:07
2020-10-14T02:56:07
277,214,351
0
0
null
null
null
null
UTF-8
R
false
false
112
r
z.R
source("makestuff/makeRfuns.R") el <- loadEnvironmentList() el[["x"]][["a"]] el[["y"]][["a"]] ## saveVars()
e268d3b79221adbd852e4138f667b9a697066a7d
7c74ad5c66ca63ac059ec28ca2ff82b82017a4d2
/man/checkArm.Rd
ec39f865e347610794b262d8ee28f877fc58d962
[]
no_license
zrmacc/Temporal
8e2e455502a723299632a3b873575251935f1600
59c2ecca363fc2034935f0629c5f9c4b9d253bd3
refs/heads/master
2021-07-21T07:03:43.371429
2021-07-20T14:43:38
2021-07-20T14:43:38
145,231,053
5
1
null
2020-03-13T20:19:34
2018-08-18T15:27:03
R
UTF-8
R
false
true
291
rd
checkArm.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Inputs.R \name{CheckArm} \alias{CheckArm} \title{Check Arm} \usage{ CheckArm(arm) } \arguments{ \item{arm}{0/1, treatment arm.} } \value{ None. } \description{ Check whether treatment arm is properly formatted. }
7da2ab2a3baa3de14746ec151d4302e469925542
e766e5fde923a75fc0bb56577d2a9eea3fc336d4
/tests/testthat/test_reset.R
55cd2bd2477f5978009a82ffd371b76549a83575
[]
no_license
jrthompson54/DGEobj
e269ebc218f7b4a81d0651a3806afca86f656942
9aa6c45c204dd1b4d393aa50af45f9602af65ce0
refs/heads/master
2022-06-02T09:19:04.339475
2022-05-21T20:00:32
2022-05-21T20:00:32
250,066,452
3
2
null
2022-05-21T20:00:33
2020-03-25T19:02:59
R
UTF-8
R
false
false
11,606
r
test_reset.R
context("reset.R functions") skip_if(setup_failed) test_that('reset.R: gene level data', { test_t_obj <- t_obj test_t_reset <- resetDGEobj(test_t_obj) # object validation expect_s3_class(test_t_reset, "DGEobj") expect_equivalent(showMeta(test_t_reset), showMeta(test_t_obj)) # validate level...
101310e5c01b3410e0a3cdd58665e620b8d89f26
859b8efd47dd6150546566f5993142f6e73a76a9
/scripts/r-scripts/r-functions/blast_data.R
e9212ea4bfc8afea190f140e34473a9885b7345f
[ "MIT" ]
permissive
TeamMacLean/ruth-effectors-prediction
f2d3811e6775f77592d7084e6414255003287049
79bce829012e90acd28374140b646da61ee2cfe1
refs/heads/master
2022-11-24T12:37:27.559637
2020-07-29T16:38:44
2020-07-29T16:38:44
181,357,224
1
1
null
null
null
null
UTF-8
R
false
false
5,697
r
blast_data.R
# Function for getting the data blast-ed library(tidyverse) library(Biostrings) library(seqRFLP) get_fasta_from_df <- function(df, column_id, column_seq, label = NULL, fasta_name = NULL, dir_path = "data/secreted_data/split-blast/fasta_files") { #' Function to automatically change the dataframe to fasta data #' ...
2bf971ae00b3af4c3b79ea36efb68e75b179ae84
bca540badfb6adccbe95828c34d0effd7c900992
/man/computeIntervalFraction.Rd
ca7fe3248d86de1b228b58c8c7c46046f949f48d
[ "MIT" ]
permissive
uvic-cisur/intermahpr
6b166d2506f74fcf5ce6104d05c9becb1bcd8015
821f3735b720495e1b97bf91c39478fbe9f14daa
refs/heads/master
2021-07-13T03:25:31.633424
2020-06-16T16:40:51
2020-06-16T16:40:51
146,017,580
0
0
null
null
null
null
UTF-8
R
false
true
419
rd
computeIntervalFraction.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/scenarios.R \name{computeIntervalFraction} \alias{computeIntervalFraction} \title{Compute a given scenario's AAF for current drinkers in a given interval of consumption} \usage{ computeIntervalFraction(.data, lower = -Inf, upper = Inf) } \des...
b65800f2061076f788207c579a3861ac5389254c
652859d4c5bd704e78e1da39ad0e10aac53d1737
/R/util.R
e52dbda3620dbcf2cf0c0c32f8edde161df73564
[]
no_license
wush978/RembedPy
ffa1c720a67383f4fba63a2746078662c4bccd16
8cc0a1876d56bc755fa0a8e48f87395392aedf94
refs/heads/master
2020-05-29T19:45:35.787126
2013-05-12T03:06:47
2013-05-12T03:06:47
null
0
0
null
null
null
null
UTF-8
R
false
false
534
r
util.R
# # Author: Wush Wu # Copyright (c) Bridgewell Inc. # check_argv <- function(argv) { argv <- sapply(argv, function(a) { if (class(a)[1] == "py-ptr") return (a) else return (new("py-ptr", a)) }, simplify=FALSE) argv.name <- names(argv) if (is.null(argv.name)) { return(list(list=argv, ...
231d12789fa69f2e1384e1fa9ee250d250578cd1
d62d9ea2f6aa749fa48455bddbd3208279ce6449
/R/convert-relative-initial.R
8d9f147ea263d9ef24dcd283fff391e278b55ae3
[]
no_license
jporobicg/atlantistools
3bffee764cca1c3d8c7a298fd3a0b8b486b7957e
75ea349fe21435e9d15e8d12ac8060f7ceef31a2
refs/heads/master
2021-01-12T03:06:55.821723
2017-05-26T04:03:33
2017-05-26T04:03:33
78,160,576
1
0
null
2017-05-25T23:35:23
2017-01-06T00:51:21
R
UTF-8
R
false
false
1,218
r
convert-relative-initial.R
#' Calculate relative timeseries using the initial value as benchmark. #' #' @param data Dataframe to apply the transformation to. #' @param col Character value giving the name of the column to transform. #' Default is \code{"atoutput"}. #' @return Dataframe with transformed column 'col'. #' @export #' #' @examples #' ...
19c762dae77e01c390b1cf1517808b70c3230a2a
c2390033eb85dda2d14dfe546ff77637b9d4d3e2
/man/HSImetadata.Rd
aed968df049c0a8c0747b3812bbc723201d32168
[]
no_license
cran/ecorest
43f4c8927c3b4c022b5f5e2e0f16b07c76279ef9
23dff972bb8378acdc2f438746cc0791e76d5eb2
refs/heads/master
2022-11-08T03:22:43.847002
2020-06-26T09:50:03
2020-06-26T09:50:03
276,657,352
0
0
null
null
null
null
UTF-8
R
false
true
3,447
rd
HSImetadata.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/HSImetadata.R \docType{data} \name{HSImetadata} \alias{HSImetadata} \title{Habitat suitability index (HSI) model metadata} \format{A data frame with 519 rows and 55 variables: \describe{ \item{model}{Model name} \item{submodel}{Model spe...
8308d371895b6e4d2bdbeed9aa29e6345eeb54d0
7d7608095ef8ba660d8a5ec618bcef2a4565be93
/scripts/cod_pollock_correlation.R
5d8130ff0a1c391af82614a3f73ffffc68a05aac
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
mikelitzow/predict-R
3c79c7e65c34b6e8c39bfe8ca3a10cb2e22bba14
7cecdc72dcff94263531003c6432e782d934799d
refs/heads/main
2023-04-06T22:57:51.997792
2022-01-28T02:48:13
2022-01-28T02:48:13
357,273,463
0
0
null
null
null
null
UTF-8
R
false
false
2,777
r
cod_pollock_correlation.R
# calculate correlation between cod and pollock time series for Discussion library(brms) ## load cod data ---------------------------------- # load best brms model fit to beach seine data cod_recr_2_zinb <- readRDS("./output/cod_recr_2_zinb.rds") ce1s_1 <- conditional_effects(cod_recr_2_zinb, effect = "year_fac", re...
b5a58e17c9339b302f1b6a20ead9328be572a0e0
b666252becca31e08354068153d67b4a5b5b0fe3
/tests/testthat/test-count.R
5ee805eb9d8986be34554fbe4a597b6d48d6491d
[ "MIT" ]
permissive
SevillaR/HivepodR
fe1e471bd8c39b6fe0ffe2be254345c5cb5d64f0
c3a4b9911f46d25ff446cc8b898a03064db0dc2c
refs/heads/master
2021-01-10T15:35:53.292637
2016-02-06T11:53:04
2016-02-06T11:53:04
50,691,761
0
0
null
null
null
null
UTF-8
R
false
false
485
r
test-count.R
context("count") test_that("count offices > 2", { cnx <- connect("https://jacaton-r.herokuapp.com", "demo", "1234") resource <- resource(cnx, "oficinas") out <- count(resource) expect_equal(TRUE, out > 2) }) test_that("count sevilla office == 1", { cnx <- connect("https://jacaton-r.herokuapp.com",...
6024035040260b9bdb0b361562fa25a33d7272a3
58e574a90e06146e9340db77da0419c49650c238
/analysis.R
059f4d41071503cc140670a2b63bce3a097b14a5
[]
no_license
jykimgithub/mock_thesis-1
2479c7d4f2414fb1f5c9da6085d432a751ae297e
e395a8e11e529dc17bc3d301fbe5fd6605462c07
refs/heads/master
2020-07-14T23:59:06.785259
2019-08-30T17:54:06
2019-08-30T17:54:06
146,926,209
1
0
null
2018-08-31T18:01:05
2018-08-31T18:01:05
null
UTF-8
R
false
false
367
r
analysis.R
setwd(dirname(rstudioapi::getActiveDocumentContext()$path)) install.packages("pacman") pacman::p_load(tidyverse) data <- read_csv("data.csv") filter(data, GEO %in% c("Alberta","Prince Edward Island")) %>% ggplot(aes(x = Date, y = as.numeric(Value))) + geom_line(aes(color = GEO)) + labs(x = "Year", y = ...
708ab7a74d87b8d35f29990055993c4026a385bd
32e33fd5ba6bf63f8e9be13b599e96d9e1d10c49
/r/migration_models.r
340ba07567ed26f825eef2079e5ce8e04be6842d
[]
no_license
benscarlson/howto
ecd469ca0a05159b1f0951e2ac8c8de3bb6ff39b
6601f6b003ee18b49466ad36a60672acbb71c70d
refs/heads/master
2023-08-07T02:36:32.142882
2023-07-28T20:25:38
2023-07-28T20:25:38
60,221,130
4
1
null
null
null
null
UTF-8
R
false
false
291
r
migration_models.r
#---- #---- migrateR #---- dat <- dat0 %>% as.data.frame mods <- as.ltraj( #Create ltraj object xy=dat %>% select(lon,lat), date=dat$timestamp, id=dat$individual_id) %>% mvmtClass #Run the migration model mvmt2dt(mods) #modeled start and end dates of migratory movements
47b83463c386bb17f82b1daaf7167124bb53896e
0a14dae80ad320a309f434b9d6590d691d7acac4
/cigarette(2).R
2471ea977e6f0b33420ceedc051f4198373c9e96
[]
no_license
FChia11/R
eaa50d8a7ea2db766b5b32f654b018640f5cb868
5a4f125598cfc76152662ce0549235105b911585
refs/heads/main
2023-04-23T07:39:47.060562
2021-04-27T07:49:24
2021-04-27T07:49:24
362,025,070
0
0
null
null
null
null
UTF-8
R
false
false
2,953
r
cigarette(2).R
#################################### ### Regression Analysis ### ### PC session 1: Cigarette data ### #################################### # Libraries required: rgl and MASS rm(list = ls()) # Load cigarette data cigarette <- read.table("cigarette.txt", header = TRUE) cigarette <- cigarette[,-1] ...
5a8d50e2abac1286300780e59d09be955fb4ff84
1925c9e5c8abf8dcdbc2cff95ea565fc59257545
/ui.R
5bf3f0446bda9746bfbf154b2e2544bcf4262341
[]
no_license
olinux/developingDataProducts
53f974648ce9fa9fa6bedb09576d21324867bcb6
26c08f42333c91ab009b4159a1e264fb0e7d1c2b
refs/heads/master
2021-01-23T00:10:10.673319
2015-06-20T10:34:52
2015-06-20T10:34:52
37,765,291
0
0
null
null
null
null
UTF-8
R
false
false
958
r
ui.R
# This is the user-interface definition of a Shiny web application. # You can find out more about building applications with Shiny here: # # http://www.rstudio.com/shiny/ # library(shiny) shinyUI(pageWithSidebar( # Application title headerPanel("The car selector"), # Sidebar with a slider input for numb...
af60477b1e59e16dd0875e3091185ba3172acead
fe891be23d33f7a41ffb368e9d20852f7e0735a9
/man/set_stage.Rd
03c3b832733bc7842f531d70609656c5a401a22e
[ "MIT" ]
permissive
FedericoCarli/stagedtrees
cfc7e2c1383618591df0307c0a2dea252293ece9
b10897b3198d8cb39c14e1dbcfbc552f848c723f
refs/heads/main
2021-08-22T01:35:21.728501
2021-04-22T14:06:18
2021-04-22T14:06:18
185,995,569
0
0
NOASSERTION
2021-03-03T13:58:29
2019-05-10T13:44:45
R
UTF-8
R
false
true
390
rd
set_stage.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/1b-base-model-function.R \name{set_stage} \alias{set_stage} \title{Set stage to path} \usage{ set_stage(object, path, stage) } \arguments{ \item{object}{an object of class \code{sevt}.} \item{path}{Vector of the path.} \item{stage}{stage to...
96cbb6f2929bbb33dc13e33b7be40ce551122700
bce8156a9e5b39f17f5c4f6fcd4c9fbff4d74897
/man/backtest-functions.Rd
45a2a3f599d867b2529358a49a5492d81923bc05
[]
no_license
cran/fPortfolio
fb8f26496a32fd8712361a20cbb325c0bfcffe01
d0189fabdf712c043fb13feb80f47696ac645cef
refs/heads/master
2023-04-29T14:30:55.700486
2023-04-25T06:50:06
2023-04-25T06:50:06
17,695,954
10
10
null
2015-04-23T18:15:24
2014-03-13T04:38:33
R
UTF-8
R
false
false
3,035
rd
backtest-functions.Rd
\name{backtest-functions} \alias{equidistWindows} \alias{tangencyStrategy} \alias{emaSmoother} \title{User defined functions to perform portfolio backtesting} \description{ Default windows, strategy and smoothing functions used for portfolio backtesting. } \usage{ equidistWindows(data, back...
44fd5c3031bb1cb8b5b43b23cb659681f692a283
0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb
/cran/paws.compute/man/ec2_modify_reserved_instances.Rd
2f2130406c47e30b55b5cad961db1c4fb00ade6d
[ "Apache-2.0" ]
permissive
paws-r/paws
196d42a2b9aca0e551a51ea5e6f34daca739591b
a689da2aee079391e100060524f6b973130f4e40
refs/heads/main
2023-08-18T00:33:48.538539
2023-08-09T09:31:24
2023-08-09T09:31:24
154,419,943
293
45
NOASSERTION
2023-09-14T15:31:32
2018-10-24T01:28:47
R
UTF-8
R
false
true
1,248
rd
ec2_modify_reserved_instances.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ec2_operations.R \name{ec2_modify_reserved_instances} \alias{ec2_modify_reserved_instances} \title{Modifies the configuration of your Reserved Instances, such as the Availability Zone, instance count, or instance type} \usage{ ec2_modify_rese...
5d3055373a0e8d3ced63bd582bea4cf32cc4e111
946fc043152995ccf404a9b46efbd570e6a0fa16
/R/sampling_weight.R
931d949131af98b813623ad9b033eed747163361
[]
no_license
Lujia-Bai/STResampling-DSAA2019
9b2c0c3979d3be04eb91bb0e34a25746256f4e66
31f32a815d940f9dd5f3b60a4f980d4245683372
refs/heads/master
2023-04-01T02:07:41.471046
2021-04-06T15:48:27
2021-04-06T15:48:27
null
0
0
null
null
null
null
UTF-8
R
false
false
9,066
r
sampling_weight.R
#' Calculate utility-based relevance #' #' Calculate relevance of values given a parametrization #' of the relevance function. #' Most relevant: phi -> 1; less relevant: phi -> 0. #' @param y vector of values to calculate relevance of #' @param phi.control list of parameters as returned #' by function \code{UBL::phi....
d14116478f12800dbf9982cf1fd2f5c148e1e5ed
38912de2b401fae879612b9d77902dd6b3962ba1
/Metapopulation R Code/R Program/Attempt to debug.r
c35de1f64212fd07ebd433b85537d92af00872be
[]
no_license
stephaniebland/MetapopulationModel
330091741454de381e8cdef9cab503018df876bb
15278b039c129f86a575626a5fbe3e68cd42df0b
refs/heads/main
2023-05-06T11:42:08.035249
2021-06-01T04:47:57
2021-06-01T04:47:57
372,700,801
0
0
null
null
null
null
UTF-8
R
false
false
1,152
r
Attempt to debug.r
#Patch Size A<-rep(0,10); dim(A)<-c(10) for (i in 1:10) { A[i]=1 } #Since patches are circular, ri=radius of ith patch. r<-rep(0,10); dim(r)<-c(10) for(i in 1:10) { r[i]=sqrt(A[i]/pi) } #Assign xi and yi x<-rep(0,10); dim(x)<-c(10) y<-rep(0,10); dim(y)<-c(10) cat('Laundry\n') x y r d<-rep(0,10^2...
ec58cdfbc4092f351b8cccb03f640d89010add97
493f2c7a53fb09a6252dd0703967b4536967e2eb
/R/weibull_grid_method.R
16e3cb1cc226b19815f7ab006a381b3e22906ea5
[ "MIT" ]
permissive
sdtaylor/flowergrids
66a36d93b0069f33adac02a50b8ff89b30bf7448
f1fc0f24acec09606ab5bfa0efd88b6533519358
refs/heads/master
2021-09-22T08:39:46.186629
2021-09-14T19:15:05
2021-09-14T19:15:05
201,821,543
0
0
null
null
null
null
UTF-8
R
false
false
6,432
r
weibull_grid_method.R
#' @description The Weibull Grid method as described in Taylor et al. #' Combines the methodology of Fink et al. 2010 with the Weibull estimator #' as described in Pearse et al. 2017 #' weibull_grid = function(doy_points, stratum_size_x=0.1, stratum_size_y=0....
46bbaf4aba6882a42c2c8713a5d35f660685c7cc
7bb14f259425e599291c35da9fd2844869019847
/localR/docker_status.R
01ad919e04fa2767b69d650ee9551f9c516ebcf4
[]
no_license
MazamaScience/MazamaProductionUtils
fc1f5ac0cb2378de92d8a68c527ba1e30c09d6e2
f4871d7ae69aae5b8622616b076eeb7ba95b7e34
refs/heads/master
2020-04-06T20:10:56.239737
2018-11-17T00:18:00
2018-11-17T00:18:00
157,764,425
0
0
null
null
null
null
UTF-8
R
false
false
2,337
r
docker_status.R
library(stringr) library(dplyr) parseDockerStats <- function(text) { # Read stats into table col_positions <- readr::fwf_positions( start = c(1,21,41,65,85,107,129), end = c(19,39,63,83,105,107,NA), col_names = c("container", "cpu_perc", "mem_usage", "mem_perc", "net_io", "block_io", "pids") ) df1 ...
c0a7c7289f60db66f661ac1c8b4e5dbeb578f48f
03e91b39ad4fc882c368846faf257ce24d2a6107
/glbh0034_functions_v3.R
9a0cabec22d1b8f5038aebf822cf4e5fdee1f107
[]
no_license
liwu1/glbh0034
928f09c990ce8e04a3a14e4e3e91f6f56deddf9a
d1b9fadcb0b3007db39867234146aff1f0fc2381
refs/heads/main
2023-03-22T01:04:56.291921
2021-03-08T18:57:55
2021-03-08T18:57:55
344,211,387
0
0
null
null
null
null
UTF-8
R
false
false
27,648
r
glbh0034_functions_v3.R
############## ## packages ## ############## require(pROC) require(mixtools) require(scales) ################################### ## finite mixture model function ## ################################### plot_fmm1 <- function(data,mu1,sig1,mu2,sig2,cutoff,plot_x,gauss1a,gauss2a) { x_axis <- c(0.0001,0.001,0.01,0.0...
ae5630dce6ec475cee325668951d56e3e95f3b57
0c55f047f3a80bb94c6a7ad050c9c44e60a73fb9
/Process/process_data.R
0ea301759dca8a2ce468b849e3cbdc7b4d81666c
[]
no_license
Tuc-Nguyen/HLF-Robot-Image-Analysis-2.1
3d2ab9476656ab9d2a4518512bb34c23da39381c
bdb652a1169fb2f66117ddda971e8fabe07dd037
refs/heads/master
2022-04-14T06:01:16.323714
2020-03-26T16:36:22
2020-03-26T16:36:22
250,310,692
0
0
null
null
null
null
UTF-8
R
false
false
1,984
r
process_data.R
##################################################################################### #######Exclude Data points from final analysis ##################################################################################### ####Read in data classes = c("numeric","numeric","character","numeric","factor","numeric","factor","...
5349e8388b8cddd4a0744b303753216d12cfb0ad
6473a59283c6da0d9c6921f2f0839e8ee1428795
/interval estimation of population when population variance is known.R
e4c1604e6cadd68ae6eda93cd3d19b9f4f192f84
[]
no_license
pasindusiriwardana95/R-language
512403059cfbe71ae404568e327ad4933b9caa61
9de47b199619fec8d67a433b27c3edf1d3eede59
refs/heads/master
2020-04-12T12:23:36.845564
2018-12-20T23:19:27
2018-12-20T23:19:27
162,471,986
0
0
null
null
null
null
UTF-8
R
false
false
263
r
interval estimation of population when population variance is known.R
library(MASS) height.response=na.omit(survey$Height) n=length(height.response) sigma=9.48 div=sigma/sqrt(n) #confidence level = 0.95 alpha=1-0.95 z=qnorm(1-(alpha/2)) #margin of error E=z*div;E #finding the sample mean xbar=mean(height.response) xbar+c(-E,E)
4ddf4e5c86fcb62bcb4a745c45edcbc75e34fb27
155d41ff55c50f662d760cef3c7d6f1d2a5fe523
/RevoScaleR_GettingStarted/code/Chapter04.R
a31e88d14811865f4a3aae42fd6a1c0da26bc178
[]
no_license
jfortuny/RevoScaleR_GettingStarted
9938eca29440960af62055cab3418cb26606b6cd
4a385c08d0f604dd203bd65f4c01514aeceefd46
refs/heads/master
2021-01-13T13:23:04.843439
2016-10-31T17:51:24
2016-10-31T17:51:24
72,448,034
0
0
null
null
null
null
UTF-8
R
false
false
3,098
r
Chapter04.R
# Preliminaries ######################################################################## library(RevoScaleR) # 4.1 ################################################################################## sampleDataDir <- rxGetOption("sampleDataDir") inputFile <- file.path(sampleDataDir, "AirlineDemoSmall.csv") startTime <...
17a000b31e033b75ed5d3b338a227dae299b2dd4
70d475f213f2658d0b3e249ec905a8381e5fdc2d
/R/Plotting.R
5102c2254016e910b3767f97537e8823588fc1b9
[ "MIT" ]
permissive
bharatm26/CCNMF
dbc26cedfd4d2acc6426ef8e027bf5fd7be62657
dd328cf1991b8b7177274bf9f0a9d5d1ba69e011
refs/heads/master
2023-03-24T11:45:28.314741
2021-01-05T04:51:15
2021-01-05T04:51:15
null
0
0
null
null
null
null
UTF-8
R
false
false
10,402
r
Plotting.R
#' @description Output the integrated figure for tsne and heatmap #' @param CNVmatrix_input input cnv matrix #' @param RNAmatrix_input inout RNA matrix #' @param ncluster the number of subclones #' @param Result_CCNMF The result of CCNMF #' @return DE genes #' #' @export Plot_integrated_figure <- function(CNVmatrix_in...
0f25e3b96283de4f9d2672defc5573fffee0e549
0a906cf8b1b7da2aea87de958e3662870df49727
/grattan/inst/testfiles/IncomeTax/libFuzzer_IncomeTax/IncomeTax_valgrind_files/1610051754-test.R
ed30abee4f48cfd7cb4b3086f5522003e4444ed7
[]
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
523
r
1610051754-test.R
testlist <- list(rates = c(NaN, -4.24399158143648e-314, NaN, -Inf, 3.60297094497336e-306, 4.56545065531948e-317, 0, 3.60739284464096e-313, 2.26527122355628e-318, 8.54602158179859e+194, 7.17085996195659e-310, 8.44254251528635e-227, 3.79223320198803e-270, 1.00891823378368e-309, 2.1077683068534e-309, -5.35532635250002...
85e4b553a19b1d1ec861ff117aa0aafed4704a75
f641603643dc268a101aa0c7ca8fbc25853f1070
/R/classif.depth.R
84205d8c241497a0bdfff2f866b485800ce7de53
[]
no_license
dgorbachev/fda.usc
8c012f6ec0be6d6611b5aa054b7f1ae1999cad5a
643a6673cdfbeec7d195e82900b89791ebb1277e
refs/heads/master
2021-05-01T08:44:00.652927
2018-02-11T22:29:50
2018-02-11T22:29:50
121,173,291
0
1
null
2018-02-11T22:22:34
2018-02-11T22:22:34
null
UTF-8
R
false
false
8,685
r
classif.depth.R
################################################################################ ################################################################################ classif.depth<-function(group,fdataobj,newfdataobj,depth="RP",par.depth=list(),CV="none"){ #,control=list(trace=FALSE,draw=TRUE) C<-match.call() if (!i...
7fc3b92e362b7666627ce824f603420a3cc9b012
d25b1890d4b9d1726c56f9387441bac6eb2a1359
/R_Scripts/Simple_Boosting Example.R
5967e9f517f2aae408366a11c81680ef1757fa5b
[]
no_license
jasonchanhku/R-Machine-Learning-Projects
e33718468c9483bb2b19896c8534e250a89758c1
af81ceb0d827ef42b6104ce0b0c2687a2d90c815
refs/heads/master
2020-08-03T01:44:23.549263
2017-07-03T01:45:06
2017-07-03T01:45:06
73,554,995
1
0
null
null
null
null
UTF-8
R
false
false
359
r
Simple_Boosting Example.R
library(adabag) #for boosting set.seed(300) #building the classifier m_adaboost <- boosting(default ~., data = credit) #building the predictor p_adaboost <- predict(m_adaboost, credit) #ConfusionMatrix p_adaboost$confusion #boosting with Cross Validation (CV) adaboost_cv <- boosting.cv(default ~., data = credit) ...
f1fd691984538d9de417f9e90498196e609ff8b5
b137d991ca185d006fe891081e57a0959985f29c
/app.R
2c5e2e9a57164f4cb5d33a5898144ce24ee85b17
[]
no_license
mariumtapal/sds235-final-project
aac7a460a70a07efb9a0667dbf4795150e19885e
94d2ac268c074b31b1c28bbbe93a9018ba619fd7
refs/heads/main
2023-05-03T05:37:56.283701
2021-05-18T19:40:12
2021-05-18T19:40:12
363,787,087
0
0
null
null
null
null
UTF-8
R
false
false
18,504
r
app.R
# load in required packages library(shiny) library(shinythemes) library(leaflet) library(tidyverse) library(plotly) library(here) library(RColorBrewer) library(kableExtra) library(htmltools) library(reactable) # load in source files source("allegations.R") source("precincts.R") source("demographics.R") # Define UI f...
4d8348d7f2023b497963ec087858632f47d33abc
8380fb173f06df282bc0e5323518a706be02207e
/EXAMEN DISTRIBUCION BINOMIAL Y POISSON.R
2a28b133fb05aa183fffb4e295a20f769c5f10bd
[]
no_license
Jhovana22/probabilidad-y-estadistica
5e27c07d14f5943375d3777328519e47c590ba1b
d542582e6fa8df0bbb4fa3175a8fe2b50d202708
refs/heads/master
2023-02-04T10:02:51.423156
2020-12-16T19:05:00
2020-12-16T19:05:00
300,017,956
0
0
null
null
null
null
ISO-8859-1
R
false
false
2,129
r
EXAMEN DISTRIBUCION BINOMIAL Y POISSON.R
#-----DISTRIBUCION BINOMIAL------ #Ejercicio pagina 36 #Hay 12 preguntas de opcion multiple en un examen de matematicas. #cada pregunta tienen cinco posibles respuestas, #y solo una de ellas es correcta. Encuentra la probabilidad #de tener cuatro o menos respuestas correctas si un estudiante #intenta responde...
e84e51f89d7b4562ff96eb1df53a475eca09a3c1
ac93fa4e6ac2c90b2f13ffd3d4145fbf13b17d99
/man/fars_map_state.Rd
6de60ea5ee742527e549b9ae0b4dd25f78b55bd0
[ "MIT" ]
permissive
acjackman/building_r_packages
4060f73ba559602db1cfc874db6ec041c5bf296e
7182a81a39840af30949f36768527181dbfac80e
refs/heads/master
2021-01-22T06:32:20.381764
2017-02-20T20:03:55
2017-02-20T20:03:55
81,769,611
0
0
null
null
null
null
UTF-8
R
false
true
435
rd
fars_map_state.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fars_functions.R \name{fars_map_state} \alias{fars_map_state} \title{Show map of accidents in a state.} \usage{ fars_map_state(state.num, year) } \arguments{ \item{state.num}{state number in the} \item{year}{data year to create a map for} } ...
d8c4adcfc100f6b915b6e81cb87175a9d885ce3e
12f11dc0fcbc628f2d38485e9bc86f92926ec04d
/tests/testthat/test-get_emlspice.R
d69e2c57146f5e296aa57328ed01826c8c80e095
[ "CC-BY-4.0" ]
permissive
isteves/emlspice
34ad44971e5e628b0334cd2b7f8374a59975790f
e082c026357ea4def99913dd20171bcfc1423d1c
refs/heads/master
2020-03-20T11:13:53.432190
2018-06-28T05:35:06
2018-06-28T05:35:06
137,396,850
7
0
null
null
null
null
UTF-8
R
false
false
875
r
test-get_emlspice.R
context("get_emlspice") eml_path <- system.file("LeConte_meteo_metadata.xml", package = "emlspice") eml <- eml2::read_eml(eml_path) test_that("Files write to disk", { dir_path <- tempdir() get_emlspice(eml, dir_path) files <- list.files(dir_path, pattern = "access|attributes|...
65fc258b4d71a6f4ac7acf454252470eabcf62d1
d5e63db3141fe278a8a674f792c58c7406473026
/R/create_label_from_metadata.r
5a56e04226466aca0a5d7a5df9a4332a7e475571
[]
no_license
KonradZych/SIAMCAT
e8fbdb99ff331498729410dd8eafffb9a73e3f99
57ddaa40a466ac1c14994e502c696283f9ea0567
refs/heads/master
2020-03-07T05:16:22.056037
2018-06-05T08:04:53
2018-06-05T08:04:53
127,291,251
4
0
null
null
null
null
UTF-8
R
false
false
5,389
r
create_label_from_metadata.r
#!/usr/bin/Rscript ### SIAMCAT - Statistical Inference of Associations between ### Microbial Communities And host phenoTypes R flavor EMBL ### Heidelberg 2012-2018 GNU GPL 3.0 #' @title create a label object from metadata #' #' @description This function creates a label object from metadata #' #' @usage create.label.f...
5a4872190a8f5a6ab95226c90a5ce91f2c93ec13
6e670174d9698e4101c7bbadcae865e0360ef6ff
/server.R
132d07050d7d8483561462bb1bbbdc92fc5dd8f7
[]
no_license
seanokeeffe/MATH154_FinalProject
483a71d7aff4d40c93c674631f98aaa885dabe5a
973de9a0941522899546501bd5980e28aaef7084
refs/heads/master
2021-01-10T04:55:19.029618
2015-12-16T05:30:00
2015-12-16T05:30:00
47,749,845
0
0
null
null
null
null
UTF-8
R
false
false
3,378
r
server.R
# MATH154 - Computational Statistics # Pomona College # Professor Hardin # # Final Project # Jozi McKiernan, Sean O'Keeffe, Sam Woodman #----------------------------------------------------------------------------------------------------- # Server File for Shiny App #---------------------------------------------------...
4e216b56977c72ad58402103a87e632714625504
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/prabclus/examples/incmatrix.Rd.R
b29ae18e3ae75432c40b504633fc52f646cadf0c
[]
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
194
r
incmatrix.Rd.R
library(prabclus) ### Name: incmatrix ### Title: Nestedness matrix ### Aliases: incmatrix ### Keywords: spatial array ### ** Examples data(kykladspecreg) incmatrix(t(kykladspecreg))$ninc
5d8fa9d27c41a8ade64833a32d4a63c395fe4df3
d74e6aeab27aa7f36e9d92c18fe015fa1581efe5
/ForLabTechs/EasyButton_Calculate_OddsRatios.R
ce7f22b0279bed2379f7985cc3dd7bf90fd64ec4
[]
no_license
Steven-N-Hart/CouchLab
a345bd661450635a4d886f82932a5c2dcd995b10
2c29e39d7e042167bcb4fd57d2f75064daf17750
refs/heads/master
2021-01-21T04:40:19.107484
2016-06-17T13:27:14
2016-06-17T13:27:14
44,977,250
0
1
null
null
null
null
UTF-8
R
false
false
4,021
r
EasyButton_Calculate_OddsRatios.R
options(stringsAsFactors=F) `%nin%` <- Negate(`%in%`) ################################################################################# ### Configure this Script to Run on Your Machine ### ### Edit Here ### ##################...
67fbb744a29bb716e4acfd2096ad0efca7c39924
4550ff52458adba546e208d14554afa768a3d92e
/cachematrix.R
2fee1dcb85379d55048321a130a5ffff6fee35fd
[]
no_license
paritush/ProgrammingAssignment2
0c773da11f4e823e69d0866e97e71fa3a7468b8d
f922cfa84742582d0304f7b26c3de2f12d60e96b
refs/heads/master
2022-06-22T22:33:40.611196
2020-05-13T10:51:07
2020-05-13T10:51:07
263,602,048
0
0
null
2020-05-13T10:48:44
2020-05-13T10:48:42
null
UTF-8
R
false
false
2,546
r
cachematrix.R
## This function is used to return a list where we store the matrix and inverse of the matrix. It creates a special matrix object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { Mat_Inv <- NULL # Initializing our Matrix inverse as Null ...
fdfc3de575d5fd877aa606e5f585fb60ed9617bb
9aafde089eb3d8bba05aec912e61fbd9fb84bd49
/codeml_files/newick_trees_processed/2800_5/rinput.R
07bf1b229a9a036074b8730ecd4f4474c69f531b
[]
no_license
DaniBoo/cyanobacteria_project
6a816bb0ccf285842b61bfd3612c176f5877a1fb
be08ff723284b0c38f9c758d3e250c664bbfbf3b
refs/heads/master
2021-01-25T05:28:00.686474
2013-03-23T15:09:39
2013-03-23T15:09:39
null
0
0
null
null
null
null
UTF-8
R
false
false
135
r
rinput.R
library(ape) testtree <- read.tree("2800_5.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="2800_5_unrooted.txt")
7ad7898e50cbfaa2421ad65be7699ce544cce25d
5020e1f37ccb3691081c1c58785fa6967a7a4f9c
/server.R
cfdaafcb7e9f2635f0854be9f65cea380d25ddf3
[]
no_license
Zezzzzz/IS415-Neighbourhood-WatchDocs
c7f5c24a1f7069a7d573fec915a4f6a81647ec3e
12484198e778cc32fd8301871548814cfab1bc52
refs/heads/master
2020-04-30T15:08:45.793966
2019-04-11T18:24:19
2019-04-11T18:24:19
176,912,045
0
0
null
null
null
null
UTF-8
R
false
false
18,883
r
server.R
# # This is the server logic of a Shiny web application. You can run the # application by clicking 'Run App' above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ # library(rgdal) library(maptools) library(raster) library(spatstat) library(sf) library(tmap) library(...
c9b829f123fe66f184e31b3b318a3d694e71bb09
c9f552cd3050970368c0e0ff774ce98316a22edc
/PathSimR_Shiny/PathSimR_Shiny_v1.R
fa45ebecdc5599c87123ad0bc2168e12901c08bc
[]
no_license
nujcharee/PathSimR
b754753e844fa5abf79fcb797192b736f21bba90
b431b32cecc71deebc3cd4a46c6158f8ff95ce9e
refs/heads/master
2022-12-11T22:58:04.354153
2020-09-15T11:23:43
2020-09-15T11:23:43
null
0
0
null
null
null
null
UTF-8
R
false
false
548,276
r
PathSimR_Shiny_v1.R
# install.packages("shiny") # install.packages("DiagrammeR") # install.packages("magrittr") # install.packages("readr") # install.packages("DT") # install.packages("openxlsx") # install.packages("grid") # install.packages("gridExtra") # install.packages("parallel") # install.packages("data.table") # install.p...
3332bb4fb49ba020df1e4402c5dab3591a24d974
60b079bbf680d3078bf6e23461838d8d871552ec
/man/histomap.Rd
5c29fe74d36ff97773df417e6ebb795aa82416fd
[]
no_license
tibo31/GeoXp
6a1968d27f03eea7aa80279af169c9a7ca753596
ac82d8ae02975dcc974c69a8057b5ce7b8927a6f
refs/heads/master
2023-04-07T23:56:48.838986
2023-04-06T07:05:51
2023-04-06T07:05:51
120,448,652
1
0
null
null
null
null
UTF-8
R
false
false
3,979
rd
histomap.Rd
\name{histomap} \alias{histomap} \title{Interactive Histogram and map} \description{ The function \code{histomap()} draws a histogram of a given variable \code{name.var} and a map with sites of coordinates \code{coordinates(sf.obj)}. Each site is associated to a value of \code{name.var} and there is interactivity bet...
712c94b895afe62e7756d1fd7a340b2db18693f5
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/adegenet/examples/fasta2genlight.Rd.R
e75d7ebf66384bd2383d761c7b66f5f134936c49
[]
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
808
r
fasta2genlight.Rd.R
library(adegenet) ### Name: fasta2genlight ### Title: Extract Single Nucleotide Polymorphism (SNPs) from alignments ### Aliases: fasta2genlight ### Keywords: manip ### ** Examples ## Not run: ##D ## show the example file ## ##D ## this is the path to the file: ##D myPath <- system.file("files/usflu.fasta",package=...
5d4782ada900c8261cb3d099c9959c8ea2e5079c
d48a6be6d855db72443aa767d680e13596e2a180
/RMark/man/run.mark.model.Rd
e8c90c73046b3e416e35d67a399822a56066fe3a
[]
no_license
jlaake/RMark
f77e79d6051f1abfd57832fd60f7b63540a42ab9
7505aefe594a24e8c5f2a9b0b8ac11ffbdb8a62d
refs/heads/master
2023-06-26T21:29:27.942346
2023-06-25T16:35:43
2023-06-25T16:35:43
2,009,580
17
15
null
2019-01-10T17:17:11
2011-07-06T23:44:02
R
UTF-8
R
false
true
4,705
rd
run.mark.model.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/run.mark.model.R \name{run.mark.model} \alias{run.mark.model} \title{Runs analysis with MARK model using MARK.EXE} \usage{ run.mark.model( model, invisible = FALSE, adjust = TRUE, filename = NULL, prefix = "mark", realvcv = FALSE,...
d1698172dd78de164c99458c61933f8d5a9cdf0c
0eb274cb573426d26bdba30ede223fde22168489
/man/modslavmse-package.Rd
15606f3909ecb1a6069c67590c10e17ecf617999
[]
no_license
bernardsilverman/modslavmse
856d84048ffa07a21a35ba64b15b36498f8805bc
a880531c5e6ddf05ab5760012f44deeec6856df7
refs/heads/master
2022-01-14T14:03:25.871134
2019-08-09T21:40:13
2019-08-09T21:40:13
126,054,945
2
0
null
null
null
null
UTF-8
R
false
true
2,629
rd
modslavmse-package.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/modslavmse.R \docType{package} \name{modslavmse-package} \alias{modslavmse} \alias{modslavmse-package} \title{\pkg{modslavmse}} \description{ \pkg{modslavmse} is a package for Multiple Systems Estimation as applied particularly in the...
7a2b20df00f63c0715ecda127da5726ed1b6fcdf
89b54f1796ac953096f16b979dbf5ee92334ba0b
/packages/XGeneAnalysis/man/nn_p_value_testing.Rd
2a9b816b401c7d1e44bb8bc2d38e1013a79fd09c
[]
no_license
a3cel2/xga
a69ee22918f5e6d2b77f6922c11e0e7a0214323f
b0ceaf2e5a2f7ee5457d86772cddd1be7fcbf7b7
refs/heads/master
2020-04-29T00:32:01.140644
2019-08-08T16:06:39
2019-08-08T16:06:39
175,696,840
0
0
null
null
null
null
UTF-8
R
false
true
1,806
rd
nn_p_value_testing.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nn_functions.R \name{nn_p_value_testing} \alias{nn_p_value_testing} \title{p_value testing of neural network models} \usage{ nn_p_value_testing(initial_model, condition_name, genotype_file, resistance_file, nn_model_function = make_nn_model...
4c03094e6b956238101bcfc36e3b05249a802d0b
43e7fece644d753526b19448089d229d3f54815e
/man/summary.chtrs.Rd
ec8c4e84bb8f6bc69600010c8424f61883daf408
[]
no_license
mattansb/cheatR
b183b9a282d7d490fe6baca1e70eee6b89bb588c
6309dc64cd2c2bb7358b7e8d02cc6e26b78b8eac
refs/heads/main
2022-05-26T02:53:39.386995
2022-04-13T10:12:13
2022-04-13T10:12:13
142,267,216
21
4
null
2022-04-13T10:12:14
2018-07-25T07:57:12
R
UTF-8
R
false
true
767
rd
summary.chtrs.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/methods.R \name{summary.chtrs} \alias{summary.chtrs} \title{Summarise Cheatrs} \usage{ \method{summary}{chtrs}(object, bad_files = FALSE, ...) } \arguments{ \item{object}{output of \code{\link[=catch_em]{catch_em()}}.} \item{bad_files}{logic...
5a81964814ee26cc48fc9615e2396eb9e126fb42
0a4cc2bafe6fb3396ac9c07dc1e382a8a897a2d5
/R/rptha/man/gCentroid.Rd
e02f2af898b7d2d96fd4f85871d389004505de94
[ "BSD-3-Clause" ]
permissive
GeoscienceAustralia/ptha
240e360ff9c33cbdfa6033115841035c39e7a85f
124d0caa76ed143d87fa0dfe51434d9500268a5a
refs/heads/master
2023-08-31T12:00:57.055692
2023-08-31T06:05:18
2023-08-31T06:05:18
39,749,535
26
8
BSD-3-Clause
2023-08-29T04:13:20
2015-07-27T01:44:11
R
UTF-8
R
false
true
364
rd
gCentroid.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/alternatives_rgeos.R \name{gCentroid} \alias{gCentroid} \title{limited replacement for rgeos::gCentroid using sf functionality} \usage{ gCentroid(spgeom, byid = FALSE) } \description{ Like rgeos, this treats all datasets as Cartesian. Use sf:...
09af2ca7c16dd324a586e3fd8fa8319bf94e4a06
7ae49f4ebde44b6c2310f17fe0c72a32a3bcc8e9
/tmb.R
15a38520e5841c5af5fb64983260346299883cfd
[]
no_license
skanwal/Play
a237d6f15130f2892e47412402ad62bdea0454de
32343074158ea9a180c990b8dfac5318a73190e6
refs/heads/master
2021-06-11T02:38:32.596130
2020-11-10T22:39:45
2020-11-10T22:39:45
128,146,782
0
0
null
null
null
null
UTF-8
R
false
false
3,072
r
tmb.R
library(vcfR) library(dplyr) vcf_test = read.vcfR("../../Data/ensemble-pon-pass-test.vcf") vcf.df <- cbind(as.data.frame(getFIX(vcf_test)), INFO2df(vcf_test)) View(vcf.df) # Have a named vector with chr + chr_length # You can extract the chr_length for chr, and then bin based on that # In a named vector, you can acces...
6dc4be5a2f397f42187a6630c2d55946d928a5a1
5dcccb210e6656966eb0b91ab1c8143461d58f43
/case-studies/blueprint-wgbs/bp2019-01-create-data-object.R
49f1a8c9328b7db30b3af0aa83a0c5b4b943ef1c
[]
no_license
stephaniehicks/methylCCPaper
7b47c505946ce0370d81c87022532a9e981ed374
f67fdfa77a38107ebb04a49ecb251f850248107a
refs/heads/master
2022-02-13T16:16:16.561930
2019-08-11T20:21:48
2019-08-11T20:21:48
109,314,917
1
0
null
null
null
null
UTF-8
R
false
false
7,190
r
bp2019-01-create-data-object.R
library(dplyr) library(DeepBlueR) library(foreach) library(data.table) library(readr) workingDir_blueprint <- "/users/shicks1/projects/methylCCPaper/case-studies/blueprint-wgbs" dataPath <- "/users/shicks1/data/DNAm/blueprint_ihec" # Test installation and connectivity by saying hello to the DeepBlue server: deepbl...
48817ce04035c47299749eae5dbe7effc5801dd0
823361be1cfd6002c63a482a6480ca3b18ec40fe
/PlayGameS3.R
7c8cbadab4566907b85881a0d9d5930a78fecb10
[]
no_license
drmiller1220/PS3
b0d3f19da156529a79ff175b8c40a4d19e6e4e04
a9fce411af2b2328d823850da2ed79bbca6a2b94
refs/heads/master
2021-01-19T21:15:53.971619
2017-02-21T18:39:14
2017-02-21T18:39:14
82,477,843
0
0
null
2017-02-19T17:52:30
2017-02-19T17:52:30
null
UTF-8
R
false
false
354
r
PlayGameS3.R
## #' Generic function for \code{PlayGame} #' #' This is the generic function for \code{PlayGame}. \code{PlayGame} can only be meaningfully #' used by objects of class \code{door}. #' #' @param x an object used to select a method. #' #' @author David R. Miller #' PlayGame <- function(x){ # creating a generic for ...
48b132fca861fa4b296d00d546566cb9a502c1c0
ba0f3d97d242ccce773ba8411e8fc9b4b8517164
/plots/numdevices_distribution.R
6b9d6c62081bb92e456f2b31bbc2238b9e228cdc
[]
no_license
agember/mpa
31e061f0932967e079ea1969badca0e5cc11df36
93c8fe234b810a09b41e13a7570f268eb201f37e
refs/heads/master
2021-01-10T14:51:23.227508
2015-10-14T01:42:29
2015-10-14T01:42:29
43,686,693
1
0
null
null
null
null
UTF-8
R
false
false
1,152
r
numdevices_distribution.R
datapath <- Sys.getenv("MGMTPLANE_DATA") codepath <- Sys.getenv("MGMTPLANE_CODE") datafile <- "all_metrics_all_nomissing.csv" #source(paste(codepath,'analyze/read_metrics.R',sep="/")) #source(paste(codepath,'analyze/quantile_bins.R',sep="/")) #counts <- table(binned$NumDevices) #counts <- counts/nrow(metrics) # #plotf...
b46806be1073b3b7040b93655516b5b54ddf8f2a
91eb7aac6aec4726caa5536ddd563daf5483df6c
/R/parse-user.R
01d4eff621d326d6ad6d21cdc115a0fd0b60855a
[]
no_license
dgrtwo/rparse
1daeca18de77ec6462f7dcf22873d2c883b1bc5f
bdef159d6485cf8da5b21fc6559d33bb8e98c388
refs/heads/master
2021-01-20T06:56:56.233260
2015-07-27T20:13:03
2015-07-27T20:13:03
33,457,983
2
1
null
2015-09-04T20:01:38
2015-04-05T22:54:04
R
UTF-8
R
false
false
1,620
r
parse-user.R
#' create a new user #' #' Create and sign in a user #' #' @param username desired username #' @param password desired password #' @param ... extra arguments to set, such as email #' #' @details A user's login token and other info is stored in the #' \code{parse_user} option. #' #' @return A _User parse_object #' #' @e...
7b983d4a6f84386179d91c14c9261e4120cbe098
cc47a0995ab1bd977bccf7d462bd55655cb4712b
/man/temp_folder.Rd
ac4e6ba9515e8a0e466748703aa2ca7c13af158a
[ "MIT" ]
permissive
Green-EyE/glamr
fbc5af9b82e36f5db7fb759b7cc5582b76342414
630218d7e4762cf443e14d99754e8736b42a6c89
refs/heads/main
2023-09-05T00:33:06.128482
2021-11-17T23:19:08
2021-11-17T23:19:08
null
0
0
null
null
null
null
UTF-8
R
false
true
833
rd
temp_folder.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utilities.R \name{temp_folder} \alias{temp_folder} \title{Generate Temporary Folder} \usage{ temp_folder(launch = FALSE) } \arguments{ \item{launch}{do you want to launch the temp folder in the Windows Explorer? default = FALSE} } \value{ cre...
6550f2ca49373c93b07a740ec65b24d4cfa1eecc
e2d6d1016a768b8db94d044d13789e3021a80fda
/R/plot_saturation_n.R
7ae4f4d0ceea52d6888044a29e91cea21e7b8e20
[]
no_license
renzok/oligo4fun
60e814030fdc8f8707d82be7e3c71a5ffad19d53
5eb28e55b3bc41ca62fbfa71d7ba87a6a60dd38b
refs/heads/master
2021-01-16T19:03:21.789042
2016-02-29T22:09:24
2016-02-29T22:09:24
52,828,810
0
0
null
2016-02-29T22:14:49
2016-02-29T22:14:48
null
UTF-8
R
false
false
4,211
r
plot_saturation_n.R
#' Draw a saturation plot of the oligotyping input file (n) times #' @description Perform multiple random subsamplings of your alignemnt. #' @param aln a matrix containing the DNA sequences; this must be of class "DNAbin" #' @param rep number of random subsamplings #' @param nseqs a value for the number of sequences ...
f24f5ecc6874b6ff73ba6d18dc670238af370aca
04f349102910e5052ea34d3e7744e4d79a2fbb4f
/R/ffa_test_modifier.R
7ef63555545164893776c435b7d26a3d8f6994f4
[ "MIT" ]
permissive
scoultersdcoe/CNAIM
f0728b00f0d0628e554975c78d767ee2c472fb3b
5c77ce4c50ef92fd05b9bb44b33fdca18302d020
refs/heads/master
2023-08-23T22:54:59.450292
2021-03-12T15:52:54
2021-03-12T15:52:54
null
0
0
null
null
null
null
UTF-8
R
false
false
1,697
r
ffa_test_modifier.R
#' @importFrom magrittr %>% #' @title Oil Test Modifier #' @description This function calculates the FFA test modifier based on the #' levels of furfuraldehyde in the transformer oil. This function applies for #' 33/10kV, 66/10kV and 132kV transformers. See e.g. section 6.13 on page #' 67 in CNAIM (2017). #' @param fur...
d184d06a7c94ce247fe8721d59a9741038526679
866c42f91361653ecfa6eb91194bdbfb54651fdd
/src/10_merge.R
190ce78bee2f96cbeff7492595cf7030f8baf011
[]
no_license
MJAlexander/working_group
a4add7cf44502ee4148e3754730bb8c1ac276b8c
42f9a618b47638c88730cd095336303e441b6148
refs/heads/main
2023-09-03T19:27:45.225797
2021-10-29T19:46:00
2021-10-29T19:46:00
null
0
0
null
null
null
null
UTF-8
R
false
false
218
r
10_merge.R
## Updated # 2021/10/25 # 2021/10/27 # 2021/10/29 # data is from a google form d <- read.csv("data/Formal demographers' group.csv") d2 <- read.csv("data/Formal demographers' group 2.csv") D <- d %>% bind_rows(d2)
eb6d30469bc07aa7edf0b1e13279da730924a7a4
f75379b97150017bfa14b10ccbbc637f67d194e0
/main.r
a3e4966f7716c90a10ff4f4e57bb29c371546bfe
[]
no_license
mark-me/R_time_series
639c8692e3ae631bfaf5ce7b3b9df69506c9d206
105f852d4cf9f6e651442ea8bc8a7394e638b2df
refs/heads/master
2020-03-09T23:02:38.811778
2018-07-04T11:40:49
2018-07-04T11:40:49
129,049,353
0
0
null
null
null
null
UTF-8
R
false
false
918
r
main.r
setwd("~/R scripts/R_time_series") source("project.R") open_project("R_time_series", "~/R scripts") # Time-series packages ---- library(xts) library(forecast) library(tseries) # Bike sharing data ---- url_bike_sharing <- "https://archive.ics.uci.edu/ml/machine-learning-databases/00275/Bike-Sharing-Dataset.zip" downlo...
e31f0526e66ff85a728fa4e55bc6fd11a6297157
f372297085cae82b1e2ab447d682b9233ca1cfa3
/R/HW.R
566b2c05ee2b4046362655b9eb5a173bd9f03363
[]
no_license
SC19035/SC19035
5a9f98e4171ca1920331f5f21343fea1e79a2d0d
99dcc0139f0427a1c9c83bada52bbbc8ece0ed5f
refs/heads/master
2020-12-03T15:41:30.700801
2020-01-02T14:28:06
2020-01-02T14:28:06
231,376,173
1
0
null
null
null
null
UTF-8
R
false
false
1,153
r
HW.R
#' @title Benchmark R and Rcpp functions. #' @name benchmarks #' @description Use R package \code{microbenchmark} to compare the performance of C functions. #' @import microbenchmark #' @importFrom Rcpp evalCpp #' @importFrom stats runif rnorm #' @useDynLib SC19035 #' @examples #' \dontrun{ #' ts <- microbenchmark( #' ...
ff012acfad8c9f939e2a02097b6eed1ec6151736
2cf80a17b74ef11b2ab2bde11d24330b52a99df5
/discussion_data_oct23_2.R
29e1c18c71f1cf01531fd55e6830009284c6bb63
[]
no_license
maggierui/PiaazaData
7da8211c599e9117318155e4248e480da4449655
25ab0c5b6e07d4f4f23af94a3e408988f548e5dc
refs/heads/master
2021-05-04T00:27:31.521344
2016-11-01T02:48:32
2016-11-01T02:48:32
71,852,560
0
0
null
null
null
null
UTF-8
R
false
false
2,973
r
discussion_data_oct23_2.R
library(dplyr) usersJson <- fromJSON("users.json") class_contentJson<-fromJSON("class_content.json") discussion_data<-data.frame(post_id=character(0), author=character(0), type=character(0), when=character(0),subject=character(0), content=character(0), stringsAsFactors=FALSE) for(i in 1:nrow(class_contentJson)){ pa...
2cbbe84cb94c3d974a717fd3020a0de5d9550145
c09ddeaa31b0ef553d82bc617181784e80b03d71
/master_scripts_for_masters/coexpression_method_comparison_master.R
7805baea9a7e53194337cdd50fdd40150fd733de
[]
no_license
alecstansell/code-masters
d4bafa7836ffe02fc9e9b02e94bce9c4e6cf92a1
e9df78f782caf0bb3eefb86c6197ecd1a06345aa
refs/heads/master
2022-09-18T09:43:10.488042
2020-05-28T10:50:32
2020-05-28T10:50:32
null
0
0
null
null
null
null
UTF-8
R
false
false
12,026
r
coexpression_method_comparison_master.R
############################################################################################################################################################################################## #Master Clustering Comparison Experiment Using Cluster Profiler GO Enrichment ###################################################...
2b623aec089a90c10f8bd841477838217987ef96
c87ed10b9b17e2695a5ae1ca61e9d45d510ef8b1
/R/modelEvalAUC.R
b7414336c372ff651d1751671016f7da103e164d
[]
no_license
DrRoad/mlp-automl
3ffbaadc738d08e453719895b096e5838646235e
2026ee0c7e73c905fdca60bc984d412c288650a1
refs/heads/master
2020-04-21T15:42:47.578159
2017-12-14T18:36:49
2017-12-14T18:36:49
null
0
0
null
null
null
null
UTF-8
R
false
false
176
r
modelEvalAUC.R
modelEvalAUC <- function(actual, predicted) { # Functiont to calculate AUC library(pROC) roc_obj <- roc(actual, predicted) score <- auc(roc_obj) return(score) }
4b8aeb36bd81a7934a963b076f9decad5bbb0906
7a5810ea96d123ed70891a64a39104406a1e8429
/191215_some_multivariate_TF_update_revision.R
80377cf5591a743b4b381a2704015a1aaff882b5
[]
no_license
wesleylcai/bmcmedgenomics2020_metastasis
24ee04028028bcbb292f69f6cee42f8b04b4281a
16c9a013567a08c242e2c18ee58e57bf5e4235b9
refs/heads/master
2020-11-24T15:13:43.451580
2020-08-18T11:40:32
2020-08-18T11:40:32
228,210,666
0
0
null
null
null
null
UTF-8
R
false
false
9,882
r
191215_some_multivariate_TF_update_revision.R
# Last Updated: # Author: Wesley Cai # Purpose: library(data.table) library(ggplot2) library(jetset) library(reshape2) library(survminer) library(survival) library(openxlsx) library(VennDiagram) # Get the jetset best probe per gene jetset = function(symbol){ return(as.character(jmap(chip = "hgu133a", symbol = symb...
f28ca3e587464a518e57c5f5865fc21faa49fa28
a47ce30f5112b01d5ab3e790a1b51c910f3cf1c3
/B_analysts_sources_github/diegovalle/sinaloa-discrepancy/tests.R
81178adabc40715725c7bf184f3afd44a4042e5b
[]
no_license
Irbis3/crantasticScrapper
6b6d7596344115343cfd934d3902b85fbfdd7295
7ec91721565ae7c9e2d0e098598ed86e29375567
refs/heads/master
2020-03-09T04:03:51.955742
2018-04-16T09:41:39
2018-04-16T09:41:39
128,578,890
5
0
null
null
null
null
UTF-8
R
false
false
701
r
tests.R
#Test the function ICDSeq expect_that(ICDSeq(start = "A1", end = "A3"), matches(c("A01", "A02", "A03"))) expect_that(ICDSeq(start = "Z1", end = "Z6"), matches(c("Z01", "Z02", "Z03", "Z04", "Z05", "Z06"))) #Test that the mortality database is coded correctly expect_that(deaths[deaths...
497c5801da4382e979dbfbe38a6bcfc67bcd2c18
56868eb5bc5890adf9624d7d3b44083839fe812d
/Week08-FoodCarbonFootprint/foodCarbonFootprint.R
caa716bd9c514668e57906988e98c5d13fce3932
[]
no_license
riveraderrick5/tidytuesday
371cc0fab8721c0bb27437eb20e158255c876b66
020ff375aafcd24ea6688031d0a7735b9d00ede1
refs/heads/master
2022-06-29T00:36:41.701816
2020-05-12T19:32:37
2020-05-12T19:32:37
null
0
0
null
null
null
null
UTF-8
R
false
false
1,764
r
foodCarbonFootprint.R
# Read in data -------------------------------------------------------------------------------- food_consumption <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-02-18/food_consumption.csv') # Prep for plot -------------------------------------------------------...
f92d60a6d3bf36b201e5cfeafd8ab32bfb459377
d9d50ea391c073d306f8a6fcc9d6d8bc7610322a
/v1.R
c50138feb9212e2c517fce2a5ce1c4d7aca63f42
[]
no_license
pvlohith/Gun-laws
c1ac1480f394d24e7ec19e126b880b3c2d5c0fb4
4469a4de02f2426be364eccc585f76bda74d3100
refs/heads/master
2020-04-08T17:00:40.643236
2018-11-30T01:54:09
2018-11-30T01:54:09
159,546,278
0
0
null
null
null
null
UTF-8
R
false
false
6,344
r
v1.R
rm(list=ls(all=TRUE)) #install.packages("haven") library(haven) library(ggplot2) library(dplyr) library(plm) guns = read_dta("guns.dta") guns1 = read.csv("3years.csv") colnames(guns1)[1]="year" guns summary(guns) ?ggplot ?dplyr #data grouped by year a1 <- guns %>% select(year,vio,mur,rob,incarc_rate,pb106...
cb92093012c3bbe0ad23ab552ad98613b9650919
988bfa5ec156be6a3886565e145acd6d315b4c8c
/simulations/DynamicPanel/calculate_RMSE.R
4a21beac8aaf0ae057d944d83797a7b7ac278296
[]
no_license
fditraglia/gfic
9c60d53912d19c9d27091977589ba29fb8d44c4e
b3ed1138599788d460f6e190ad452cc0575dd0fc
refs/heads/master
2021-03-27T14:44:02.212209
2017-10-27T20:48:24
2017-10-27T20:48:24
14,728,556
0
0
null
null
null
null
UTF-8
R
false
false
1,593
r
calculate_RMSE.R
#-----------------------------------------------------------------# # Parameter values and sample size #-----------------------------------------------------------------# N.SIMS <- 2000 GAMMA <- seq(from = 0, to = 0.2, by = 0.005) R.X.V <- seq(from = 0, to = 0.2, by = 0.005) #------------------------------------------...
3fa97adfc6232112298e39b8217b8827fbda27ec
8f1be5778fce0622c8026aa219a995361f723c8c
/BBMRIomics/R/Genotype_Helpers.R
d450dcae3aedf45321cbbc2b84c263a9f7875267
[]
no_license
bbmri-nl/BBMRIomics
aa5112e9f20aafa9ae506332ba0db556e544f7b7
1c7d9a6ef966365be2b95e2066e8f2fd2006c757
refs/heads/master
2023-05-31T13:21:37.130878
2023-04-28T17:29:31
2023-04-28T17:29:31
95,667,968
3
0
null
null
null
null
UTF-8
R
false
false
9,849
r
Genotype_Helpers.R
.scan2data.frame <- function(file, nrow, ncol, col.names=NULL, ...) { op <- options("stringsAsFactors" = FALSE) on.exit(op) df <- scan(file, nmax = nrow, ...) df <- lapply(df, type.convert, as.is=TRUE) attr(df, "row.names") <- .set_row_names(nrow) if(!is.null(col.names)) names(df) <- col...
67210cc682cd0042cd28f3af841408d40e6d3a47
e18dcfa7a376b0608df9798d1d7749e8f7ea53c8
/RScripts/shannon-diversity/46_SDITable_Avg.R
ad35dbf80f790fc901315a9812f3da217e312338
[]
no_license
asorgen/UEGP_WastewaterCulture
b4ebb3817555f350ca9d92dbd9c2c02a73bd4df7
f333b287859467d28c56607031a1dd35134c55f9
refs/heads/main
2023-03-24T20:29:25.300692
2021-03-23T21:20:35
2021-03-23T21:20:35
350,818,717
0
0
null
2021-03-23T18:47:23
2021-03-23T18:35:58
R
UTF-8
R
false
false
5,141
r
46_SDITable_Avg.R
#Author: Alicia Sorgen #BioLockJ configuration: Alicia Sorgen #Date: 01-18-21 #Description: ## Libraries library(tidyr) rm(list=ls()) pipeRoot = dirname(dirname(getwd())) moduleDir <- dirname(getwd()) inputnModule = dir(pipeRoot, pattern="MetaUpdate", full.names=TRUE) inputPath = file.path(inputnModule,"output/") ou...
59d55f22f2a69f2d6d41a793d0db7219e34a2a28
00b9fe8730b31e003a328f3e66124904e8a3b2bc
/R/calculate_daly.R
9812498d20ca89abc8efc2c7f7e93f649a0b2729
[]
no_license
rcquan/roadmap-daly
ee52f92e502966764f136586584771b0d8aa47af
58b0e9c9ebbe1ba1116e250ca9c8437ca240ac0c
refs/heads/master
2016-09-15T19:09:53.335829
2015-05-23T20:35:25
2015-05-23T20:35:25
34,160,965
0
2
null
null
null
null
UTF-8
R
false
false
5,617
r
calculate_daly.R
############################# # Ryan Quan # Columbia University # GRAPH # DOHMH Roadmap, Piece 1 # 2015-04-11 # rcq2102@columbia.edu # # The following script defines methods # to calculate DALYs ############################# library("plyr") library("dplyr") library("magrittr") ## ------------------------------------...
1c7833b86fbee4f200367aef00a6d8f247443a7b
40e2a560ec0e3bf8b1848fc40e2f4e7a01df5c9b
/ejercicios/EjerciciosT1_David.R
7a96b9cf8a6501d80bb289fe435d460fdfbbfd8f
[]
no_license
dasafo/r-basic
629cd7523dfa335e2a380f2b2b21a2011599fb5f
aecf46cbb07235858cbf08ac3e5badd15559cce9
refs/heads/master
2021-06-28T14:20:57.346727
2021-03-03T19:39:21
2021-03-03T19:39:21
204,508,948
0
0
null
2019-08-26T17:46:34
2019-08-26T15:46:33
null
UTF-8
R
false
false
1,472
r
EjerciciosT1_David.R
#Tarea Tema 2 # 1- Si hubiéramos empezado a contar segundos a partir de las 12 campanadas # que marcan el inicio de 2018, ¿a qué hora de qué día de qué año llegaríamos # a los 250 millones de segundos? ¡Cuidado con los años bisiestos! fseg <- function(seg){ min=seg%/%60 seg_r=seg%%60 hora=min%/%60 min_r=min%%60 d...
c476b8bc03439ca89a9eae7fd1b5b9525dd4b29b
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/colorpatch/examples/ComputeSymmetry.Rd.R
4d36de8952c06e09998b67c1747feb9c838e915d
[]
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
242
r
ComputeSymmetry.Rd.R
library(colorpatch) ### Name: ComputeSymmetry ### Title: Computes the symmetry of a given bi-variate color palette ### Aliases: ComputeSymmetry ### ** Examples data("OptimGreenRedLAB") df <- ComputeSymmetry(OptimGreenRedLAB) print(df)
19346f095884a0cca6fe8874ce31a4ccdc0b7aa8
f745b8548381d45ec1e2c0a58db04e9e76a0019e
/qunar/main.R
3d398a0bcccdd4accd87e888376d16b16a791178
[]
no_license
XMUSpiderman/AirplaneTicketScrapy
d79cd012e0eba0c302ebfa734a3fce5060d8895d
055727b3caf788487fab33c6bee65f30528cd86b
refs/heads/master
2016-08-12T09:34:08.688843
2016-03-16T01:19:51
2016-03-16T01:19:51
50,179,419
0
0
null
null
null
null
UTF-8
R
false
false
392
r
main.R
library(dplyr) library(plyr) library(stringr) # setwd("/Users/shihchosen/Documents/Github/AirplaneTicketScrapy/qunar/") source("./getFlightInfos.R") files <- list.files(path = "./data/3_14/")%>% str_c("./data/3_14/",.) files data314 <- lapply(files, getFlightInfos, queryDate ="2015-03-14")%>% do.call("rbind",.) w...
067fe713217928dda3c2b6d40f96265129854847
5dd990f03c615ba8900ce9cb0bf0bc111e4e503b
/R/reexports.R
e7d2219b2e1de259a3cb725fd14a77fd21512e4f
[]
no_license
Sprinterzzj/feasts
2c4ce92de7c3bc32def3b5da84af6a9d21d26a1d
64c0f66af547c0ae42b1d8a03990de1387a1bc91
refs/heads/master
2020-05-26T09:03:31.104268
2019-05-17T00:45:00
2019-05-17T00:45:00
null
0
0
null
null
null
null
UTF-8
R
false
false
285
r
reexports.R
#' @importFrom fablelite %>% #' @export fablelite::`%>%` #' @export tsibble::as_tsibble #' @importFrom ggplot2 autoplot #' @export ggplot2::autoplot #' @importFrom ggplot2 autolayer #' @export ggplot2::autolayer #' @importFrom fablelite components #' @export fablelite::components
aeb59f4e8acc2cdaf38c2b9696cfea05704ae5db
6ce79966b1b89de1a6d6eb29cea945188c18652c
/R/models__linear__etc__idx.b2beta.R
d84d72d6b4909113bd308d0ecdad26f1c79682f5
[]
no_license
feng-li/movingknots
d3041a0998f0873459814a09e413c714fff700c6
5f921070e4cd160a831c5191255f88dd7d4c850c
refs/heads/master
2021-06-10T00:18:57.172246
2021-03-22T05:56:44
2021-03-22T05:56:44
145,708,629
4
3
null
null
null
null
UTF-8
R
false
false
604
r
models__linear__etc__idx.b2beta.R
#' Make indices from b to beta. #' #' Details from the paper #' @param p NA #' @param q NA #' @param q.i NA #' @return NA #' @author Feng Li, Department of Statistics, Stockholm University, Sweden. #' @export idx.b2beta <- function(p, q, q.i) { idx4b <- 1:(p*q) ## The original indices for b cumidx <- c(0, cu...
99dac8d7d37f3b1352d7be26ee0d8d4ea6bf3230
64fabdfd8e2670eb57e3cdf162f94d71b58fe6b4
/R/dna_repair_index.R
ead010ed06bd1b26f03b02c98c01151ab82a8965
[]
no_license
d3b-center/celllines-profiling-analysis
564db86b6fb6c5bc8258fdf84bf12a1ea47963a1
66396cc64c094d08903ef8666353e85aad7eebd1
refs/heads/master
2021-06-23T15:32:27.993408
2021-04-07T23:07:29
2021-04-07T23:07:29
212,658,648
3
0
null
null
null
null
UTF-8
R
false
false
2,585
r
dna_repair_index.R
setwd('~/Projects/celllines-profiling-analysis/') library(msigdbr) library(tidyverse) library(GSVA) library(ggpubr) library(reshape2) source('R/pubTheme.R') # z-score zscore <- function(x){ z <- (x - mean(x)) / sd(x) return(z) } # z-score FPKM data expr.fpkm <- get(load('data/fpkm-matrix.RData')) expr.fpkm <- log...
99bd87ee8d7e2d556c255ccde474721782802149
ee8586e9df303bb72ebfbac751be22084ba0ab58
/server.R
e5702fc158ee028b8c12070ae1a694fa9fd7407a
[]
no_license
sachioiwamoto/shinyapp
4d4d76d4cf94207e028cfb4fb567ccf8e0b92edc
d4bca7ee1b4df249211cdf6ca55f3d609bc0d0f9
refs/heads/master
2021-01-23T07:02:33.465551
2015-04-26T06:26:54
2015-04-26T06:26:54
34,600,465
0
0
null
null
null
null
UTF-8
R
false
false
2,452
r
server.R
library(shiny) library(reshape2) library(ggplot2) # Read and cleanse data (Economy and Growth Topic) data <- read.table("./3_Topic_en_csv_v2.csv", header = TRUE, sep = ",", skip = 1) data <- data[, -c(59,60)] colnames(data)[c(5:58)] <- c(1960:2013) # average <- function(country, indicator, year) (function here) # De...
d8c7062c8b280f9a872e53a839dd4ce554ac083a
5d4429dc4708aa5e9e1d24a7e7740243ae0d4a47
/tests/callbacks_actionButtons/tests/test.R
9f806cca31e0503de1dabeb2da1f76413577065e
[]
no_license
DavidPatShuiFong/DTedit
6c449449afba79c1d465825e361730e7357f3e11
082616e09aeb0d043e793c0d17a02532e1bac120
refs/heads/master
2022-11-16T02:22:46.032038
2021-10-23T11:56:42
2021-10-23T11:56:42
168,662,418
20
19
null
2021-01-24T07:31:58
2019-02-01T07:57:21
R
UTF-8
R
false
false
2,815
r
test.R
app <- ShinyDriver$new("../") app$snapshotInit("test") app$snapshot(items = list(export = TRUE)) app$setInputs(Grocery_List_add = "click") app$setInputs(Grocery_List_add_Buy = "Bananas", Grocery_List_add_Quantity = 12) # should dis-allow app$setInputs(Grocery_List_insert = "click") app$executeScript("$('...
f0bbb4df535051fbc79957721bf9394c27119856
2bec5a52ce1fb3266e72f8fbeb5226b025584a16
/CGGP/R/CGGP_append_fs.R
18b421a50a4e803413890b31c93886f15514f12e
[]
no_license
akhikolla/InformationHouse
4e45b11df18dee47519e917fcf0a869a77661fce
c0daab1e3f2827fd08aa5c31127fadae3f001948
refs/heads/master
2023-02-12T19:00:20.752555
2020-12-31T20:59:23
2020-12-31T20:59:23
325,589,503
9
2
null
null
null
null
UTF-8
R
false
false
22,693
r
CGGP_append_fs.R
#' Calculate MSE over single dimension #' #' Calculated using grid of integration points. #' Can be calculated exactly, but not much reason in 1D. #' #' @param xl Vector of points in 1D #' @param theta Correlation parameters #' @param CorrMat Function that gives correlation matrix for vectors of 1D points. #' #' @retu...
f1d865996764e32b5464d4dc3305b5fb4cd7665e
e86dfa2d53c17901489dbb94e5582e4ff897d68b
/man/plot_DetectionOverTime.Rd
e3ce155fb039d24e21719db5d6d3820dea130238
[ "MIT" ]
permissive
galinajonsson/sparta
c432e70b219585cf3af4a20ac9a1175943b8e74a
e57b18fa9d9fb5e9118c5ab4cb0d84abdec78a76
refs/heads/master
2021-08-17T19:05:38.476016
2021-06-17T16:50:46
2021-06-17T16:50:46
147,808,000
0
0
null
2018-09-07T10:20:04
2018-09-07T10:20:04
null
UTF-8
R
false
true
1,295
rd
plot_DetectionOverTime.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot_DetectionOverTime.R \name{plot_DetectionOverTime} \alias{plot_DetectionOverTime} \title{Diagnostics for the detection model with respect to Length} \usage{ plot_DetectionOverTime( model, spname = NULL, min.yr = NULL, legend_label...
8e0aa766c5f5cc3612af91048aa214dad4a80cb8
2684cc9d4c398690a10fa69ebacdc2e316a39bf9
/man/plot.trifield.Rd
7e1ab57e510038546497ffab48aae52b99348e0e
[]
no_license
cran/trifield
caba782831cd8e31e0675756930c9439d5e64fd8
4ac597421ec5d48ec9c0ebecfa9ab0953686e819
refs/heads/master
2021-01-22T09:18:00.617550
2011-07-24T00:00:00
2011-07-24T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
1,575
rd
plot.trifield.Rd
\name{plot.trifield} \alias{plot.trifield} \title{ Plot a ternary field } \description{ A simple wrapper around image and contour for plotting ternary fields } \usage{ \method{plot}{trifield}(x, contours = TRUE, col = topo.colors(256), lab1 = "A = 0", lab2 = "B = 0", lab3 = "C = 0", tribox = TRUE, axis.lines = TRUE, .....
5f22f28ea519bed06dd6c166a8610851f3928023
16206bf1a9ef3e0591b9aa5b25ec04cbbde2ce29
/tcga/rna_seq_genes.r
c0ed9dd6b0a9b5b7986be18d9363afb10019b4ec
[]
no_license
ipstone/data
73227781f3f65dfeee7aa2c552c6488fef742859
0f7606d5790a340d93a6d04eb2b929340603e782
refs/heads/master
2022-06-10T04:02:05.207453
2022-01-22T18:54:36
2022-01-22T18:54:38
270,737,979
0
0
null
2020-06-08T16:18:17
2020-06-08T16:18:16
null
UTF-8
R
false
false
487
r
rna_seq_genes.r
#' Get all valid gene symbols #' #' @return A character vector of HGNC symbols rna_seq_genes = function() { library(methods) # required; otherwise h5 error file = h5::h5file(module_file("cache", "rna_seq2_vst.gctx"), mode="r") genes = file["/0/META/ROW/id"][] h5::h5close(file) genes } if (is.null...
097b64ce83c8f1ed7d2ce051ed588c7328dde4b9
917079cb74de44e7633dad584f1df464c5d21ff9
/R/df_new_proc_keratong.R
0730751f0e56e3cf84d123280f920d38b1764175
[]
no_license
yusriy/MPOB
fb995f4fa2334b6cf6c26b1f9cc06d12ef055783
deb2b7ffa5f5e500cc7a0bd389d73bc982bc20a9
refs/heads/master
2020-05-17T03:24:06.119743
2015-09-02T15:30:27
2015-09-02T15:30:27
41,714,993
2
0
null
null
null
null
UTF-8
R
false
false
19,691
r
df_new_proc_keratong.R
#Script to create and filter df_new #####Loading data########################################################### df_EC <- read.csv("Data/EC_biomet.csv") #remove column 'X' df_EC <- df_EC[,-1] #create df_new df_new <- df_EC #Convert time_stamp from "factor" to "POSIXlt" df_new$time_stamp <- as.POSIXlt(df_new$tim...
14330b147f5b2b4b1a75ab680f4636386b776ef9
9670f235ca57516190abb724299e45ab246c7bc8
/rudolf_experimentation/distribution_graph_naltrexone.R
84c419b7212fdeb123ffee1c5279e9244cdeb952
[]
no_license
LukasCincikas/MPhil-project-files
e77302983ec0efbbe0144ee0e3ecd98d38267b9b
c74064b76986db7a89f762510b20709fe63f8eef
refs/heads/main
2023-07-24T14:23:41.561443
2021-08-28T16:13:25
2021-08-28T16:13:25
312,322,303
0
0
null
null
null
null
WINDOWS-1252
R
false
false
39,796
r
distribution_graph_naltrexone.R
#Lukas Cincikas 2021 #A collection of various parameter graphs for the naltrexone study. Individual values are taken from .txt output files. library(rstan) library(patchwork) data_control_alcohol_1 <- data.frame( parameter = c("Colour consistency", "Bet consistency", "Loss/gain sensitivity"), mean = c(-1.281435, ...
3a8a8ffe47f7bfa70b363bd6597bc03f2545be50
8daa079c673ebbfae5e876205431bd24b4f1fee6
/endophyte-script (2).R
0c46d5db35070fb331d31b1c67eae0253dd2dcfd
[]
no_license
MahdiehSHM/Greenhouse
59127192d01d19699c4a4dc9be0e9bb6a6bf3781
6892b3aab90acf8c1a94a670e4885572ec19ebd8
refs/heads/master
2020-06-26T12:13:05.743045
2019-10-24T05:59:32
2019-10-24T05:59:32
199,627,568
1
0
null
null
null
null
UTF-8
R
false
false
68,701
r
endophyte-script (2).R
# factors affecting endophytic fungal diversity and communities ################################### ################################### ## Pakages we need for the analysis library(mvabund) library(vegan) library(boral) library(MASS) library(ggplot2) library(gridExtra) library(mgcv) ###############################...
261e03c2c9c39e2b962536dcc85c5c8ce5bd94ce
8e6dd6e6306902e5447754b5c312d039c0c1c13c
/hello.R
77e33e7b92b23ad8a62618afd0e748072813ebe0
[]
no_license
tnvrsingh/abega-SAaaS
bd3d68b9a6ddc43c1a29a95e640655dfe2387437
7b26b1886e0414fb36c601a5ce1664adf9bef723
refs/heads/master
2021-08-28T21:32:34.540202
2017-12-13T06:23:38
2017-12-13T06:23:38
113,954,380
0
0
null
null
null
null
UTF-8
R
false
false
55
r
hello.R
# example/ex-sync.R sentiment <- input print(sentiment)
a8f4d12621873d292e964c828b4e8a11446993a5
77157987168fc6a0827df2ecdd55104813be77b1
/palm/inst/testfiles/pbc_distances/libFuzzer_pbc_distances/pbc_distances_valgrind_files/1612988741-test.R
7a5356feb034597292baf844afe56334908bbb69
[]
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
985
r
1612988741-test.R
testlist <- list(lims = structure(c(1.42575829028035e+248, 6.41572323189181e+197, 2.08227334829114e+262, 3.79580189380573e-305, 1.41050742846599e+248, 2.32159106063967e-152, 1.63749279656873e-314, 6.72759243712098e+197, 8.79436849597419e-322, 17408, 0, 0, 1.25986739689518e-321, 1.82543690750688e-139, 7.063281246874...