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
e43ca99100576ab8d917564a3155c0070a25b8bf
e995763e6f8d64e3c3af92da06922adacac96d3a
/funding_ratio_v2.R
efe80b2176ab6e974b3de9f5a618a940372d679b
[]
no_license
bmpriya389/Pension_Simulator
718a735e05a81da0603e6a789ca663fb906e3aed
b05df231a78e1ea7b9c08053d8a67031563107c6
refs/heads/master
2021-01-18T21:44:52.505126
2016-05-26T21:50:22
2016-05-26T21:50:22
58,401,189
0
0
null
2016-05-09T19:07:19
2016-05-09T19:07:19
null
UTF-8
R
false
false
3,073
r
funding_ratio_v2.R
library(BayesBridge) rm(list=ls()) source("functions.R") ###################### Load winklevoss and mortality tables ################################# load('E://SUNYALBANY/Pension_Simulation_Project/Code/Data/winklevossdata.RData') load('E://SUNYALBANY/Pension_Simulation_Project/Code/Data/Mortality.RData...
9c2781c79468b04c3d057037d9a03816e98063d8
8ad7ba2d480b741f6dc0fbc8bfa1cd0852f92571
/frailty_20160823.R
1b24f7ffddcfa69ba4b3ad092dd3a2c7c72f1f66
[]
no_license
ElisabethDahlqwist/Frailty
8cc2161f1a62b86ed4a1af7f978b5de30f51f773
a8ed550b26a7bf172435bd9ee69e7155b7cb693f
refs/heads/master
2020-04-06T07:09:09.803119
2016-08-25T12:05:42
2016-08-25T12:05:42
65,536,161
0
0
null
null
null
null
UTF-8
R
false
false
13,789
r
frailty_20160823.R
rm(list=ls()) library(data.table) #library(tictoc) library(numDeriv) library(survival) #---DATA GENERATION--- n=20 m=2 eta.true=1 alpha0.true=1.8 theta.true=0.4 beta1.true=1.3 beta2.true=2 beta3.true=0.5 par.true=c(alpha0.true,eta.true,theta.true,beta1.true, beta2.true, beta3.true) id=rep(1:n,each=m) u=rep(rgamma(n,s...
f8663ad60237f56bc27c8915b78c36bc1a6ee319
590d47d3af4c20a1173974554b6440704f547fe1
/plot2.R
519f7ee8bb1b4674faad384d2920ae03c5cd1fd8
[]
no_license
jlehn/ExData_Plotting1
4544cd441add47d88904f7437f3b8a8e0af927ae
2ef656d80cddb980c7895a6944e0c82e6369bbc8
refs/heads/master
2021-01-18T15:48:21.329467
2014-05-11T21:15:03
2014-05-11T21:15:03
null
0
0
null
null
null
null
UTF-8
R
false
false
786
r
plot2.R
##Note: set working directory to the directory with the R files # and ensure data is in same directory ## read rawdata from file rawdata<-read.table("household_power_consumption.txt", header=TRUE,sep=";",na.strings=c("?"), stringsAsFactors=F) ## select days from specified dates...
089f5df89ee942323de6d90c0aecbb53b256275f
f2a2726e65f5d1f47466eb54628e5f90fc6c524e
/man/summary.bbcor.Rd
8a161aa8f81a942cc9186a4f3375f805750a9c56
[]
no_license
cran/BBcor
4f03daec2e576eb360bc88d4e4e4696e0c711483
f5c4b12f1b4de84aef0c1035b76e6cd91555a95d
refs/heads/master
2023-08-27T06:05:52.041642
2021-10-14T10:20:01
2021-10-14T10:20:01
284,279,283
0
0
null
null
null
null
UTF-8
R
false
true
705
rd
summary.bbcor.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/methods.R \name{summary.bbcor} \alias{summary.bbcor} \title{Summarize posterior samples from bbcor object} \usage{ \method{summary}{bbcor}(object, ci = 0.9, decimals = 2, ...) } \arguments{ \item{object}{An object of class \code{bbco...
54f62505f1bd011814a6136a46074cc936b3c8b8
70412a43e78946f75c14a05d79e23a08636ba625
/Classes/Day_04/stevens_law.R
8ffe23da309db99b3ecdfb62bc6be2baa9796aed
[]
no_license
danieljwilson/CMMC-2018
94de25ec725b331477d6d38349de3db540d51354
8450f092c81f25a056e0de607f05cd79421271e8
refs/heads/master
2020-03-22T19:45:07.769122
2018-08-04T16:57:08
2018-08-04T16:57:08
140,547,285
0
0
null
null
null
null
UTF-8
R
false
false
1,309
r
stevens_law.R
# Steven's law function stevens_law <- function(stimuli, a, b){ sub_int = a * stimuli^b return(sub_int) } stimuli <- c(2,4,6,8,10,12) predictions <- stevens_law(stimuli, 1, 0.7) # Simpler way to write the function stevens_law2 <- function(x,a,b) # Example observations observations = c(1.1, 1.5, 2.1, 2.5, 2.7...
d05d9a253d2f8c42cff197a76ab93c85775d23d7
23592d75a70dac72352f0bed803de9e3e95fa37e
/ui.R
172ef3234deea3ac1b0ffce4cf4afb72b6928eb2
[]
no_license
SatK-ds2020/DS-capstone-project-2020
ed436adf7f2114720a7dfc16f3169a8ce8840048
aa45e26ab59d9742c7d1035bd74d6a6a96922bdf
refs/heads/master
2022-12-01T19:03:45.022651
2020-08-14T02:50:02
2020-08-14T02:50:02
273,111,553
0
0
null
null
null
null
UTF-8
R
false
false
10,343
r
ui.R
# # This is the user-interface definition 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(shiny) library(wordcloud) # Define the app #### ui <- shinyUI(navbarPage("Next-Wor...
7f8833bb120883f70290986fcdbbb7b199775cd0
3f36e3afc25870cf6e9429de4a5b0604d52dc03a
/man/filterByLift.Rd
43710bcfd2b2035f9a9bc8529ff62bd3c183bf8a
[]
no_license
Patricklomp/VisualisingHealthTrajectories
4077a62b7da7b92ad2c7aa99a918aaf15585788e
98e69c50d354a693f0e9e8a3d76c81e3e5088a7a
refs/heads/master
2023-05-31T16:21:50.435675
2021-06-04T07:43:42
2021-06-04T07:43:42
317,466,951
0
0
null
null
null
null
UTF-8
R
false
true
340
rd
filterByLift.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/filterByLift.R \name{filterByLift} \alias{filterByLift} \title{Filtering edges by lift} \usage{ filterByLift(g, lift.threshold = 2) } \arguments{ \item{g}{igraph object} \item{lift.threshold}{lift.threshold} } \value{ } \description{ Filter...
046f62a54bab679da847f59ae90b1d4254f68047
5509acef91ed779def4836408c94fa2e2c2190ac
/Sim 2 code.r
cf2f858256bbae9cbb2da47034eeff0a5fd22a45
[]
no_license
usystech/TreacherousPathToGeneralizableResults
769c9a6843f8172fbc0aa7851a29be3b9336d8b8
69b8e7bb42d882256a46924a30ac101634c933f7
refs/heads/master
2021-01-22T19:54:07.726906
2017-03-17T00:40:09
2017-03-17T00:40:09
85,254,191
0
0
null
null
null
null
UTF-8
R
false
false
2,700
r
Sim 2 code.r
treatEffect<-3 for(){ for(q in 1:100){ treatData <- matrix(rnorm(400), nrow = 20, ncol = 20) contData <- matrix(rnorm(400), nrow = 20, ncol = 20) # we have filled in our 2 20x20 arrays with N(0,1) obs. for(b in 1:20){ treatData[b,b] <-'+'(treatData[b,b],treatEffect) } # added treatment effect to diago...
7c0527dfbe809456534d11004aa63c422669d33f
b02ffd482888293bbfa776dec19539916fcc0fbe
/man/inject.Rd
f9099fd9b45a25cf341cd1a92e92539412bce2a0
[]
no_license
cran/daewr
46dcd75aec929bf6626abef2bd40677fea75a0ee
19e2a3286b8e8fef5155e7f39fe3c77a1623b359
refs/heads/master
2023-05-13T17:31:27.375923
2023-04-28T21:40:02
2023-04-28T21:40:02
17,695,372
3
2
null
null
null
null
UTF-8
R
false
false
810
rd
inject.Rd
\name{inject} \alias{inject} \docType{data} \title{Single array for injection molding experiment} \description{ Data from the single array for injection molding experiment in chapter 12 of Design and Analysis of Experiments with R } \usage{data(inject)} \format{ A data frame with 20 observations on the foll...
722afbe7b00978939ae908af6568d3b77143af83
6d0dad9419cea35d2c5f8472455efd6448c99e67
/R/kappalambda.R
8ba3de1ffa93f43f7684319a7f0fb3891586b23d
[ "MIT" ]
permissive
ralmond/CPTtools
224f0d720adf4003bd3a3cf76ca5ba8d1f315305
8ecbacd3997dd8a566048ade135b6c836fcc54a2
refs/heads/master
2023-08-07T18:45:07.408649
2023-07-18T15:56:35
2023-07-18T15:56:35
239,853,879
2
1
MIT
2023-07-18T15:56:38
2020-02-11T20:07:01
R
UTF-8
R
false
false
1,915
r
kappalambda.R
gkLambda <- function (tab, weights=c("None","Linear","Quadratic"), W = diag(nrow(tab))) { K <- nrow(tab) if (nrow(tab)!=ncol(tab)) stop("Expected a square matrix.") if (missing(W)) { if (is.character(weights)) weights <- match.arg(weights) W <- switch(weights, No...
00048d15f0c17b54034da1ef1298a1dd510e72b1
89a6e5f03ae75952f940b8656dbb682df69e662e
/R/output_output_html.R
c0f58cdb61807debfa6da950ef04cfe437ed7157
[]
no_license
arturochian/raconteur
ee84ad4b3a352f669b91d54532753810c31d3dfa
b783be5606db06c971a6893af5608b67aea17faa
refs/heads/master
2021-01-18T06:58:49.069903
2011-01-24T15:54:06
2011-01-24T15:54:06
null
0
0
null
null
null
null
UTF-8
R
false
false
399
r
output_output_html.R
make_view_output_html <- function(path) { file_path <- file.path(path, "output.html") print_line("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML 1.0 Strict//EN\" \"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd\"> <html xmlns=\"http://www.w3.org/1999/xhtml\"> <head> <title><%= header %></title> </head> <body>...
68db1d049f268f71a63c2624596c49bd172d4e07
0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb
/cran/paws.database/man/dynamodb_transact_write_items.Rd
737cd1ef7ff4f4717e9ae2515752d193ecd402ba
[ "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
3,083
rd
dynamodb_transact_write_items.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dynamodb_operations.R \name{dynamodb_transact_write_items} \alias{dynamodb_transact_write_items} \title{TransactWriteItems is a synchronous write operation that groups up to 100 action requests} \usage{ dynamodb_transact_write_items( Transa...
02b305feb972114f84e821c2a64449ba95e5d844
2764167b5743be62adadc491ec7dfde210e0703d
/man/Lxyz2ll.Rd
9c3db60d1be273b59d1050105b71b05e1b83aaa3
[]
no_license
cran/GEOmap
528a4cbe293211d324405037eb280b415e65f62e
0149894022496cee8237868b0bb693d00ef01e41
refs/heads/master
2023-08-18T14:47:52.021469
2023-08-13T12:40:21
2023-08-13T13:30:31
17,713,753
0
0
null
null
null
null
UTF-8
R
false
false
332
rd
Lxyz2ll.Rd
\name{Lxyz2ll} \Rdversion{1.1} \alias{Lxyz2ll} \title{Cartesian to Lat-Lon } \description{Cartesian vector to Lat-Lon List } \usage{ Lxyz2ll(X) } \arguments{ \item{X}{list, x,y,z} } \value{list of lat and lon } \author{ Jonathan M. Lees<jonathan.lees@unc.edu> } \seealso{xyz2ll} \examples{ Lll2xyz(23, 157) } \ke...
561f086d214b745734088f714cfc49ce76af05f9
eb09acc1e170228d123eb713c79563c2f10d6f8d
/TwitterSentiment/man/capitalization.Rd
a33ba62b1a18e8eb0b452e65215bdce8b7463cdb
[]
no_license
PHP-2560/final-project-twittersentiment
16f6fd3c423d3fcc5f5ad38272766e7d84063308
0244f0a00880b62ae0f68078fdcdd152892df336
refs/heads/master
2020-04-11T04:47:53.675453
2018-12-18T03:50:57
2018-12-18T03:50:57
161,526,369
0
0
null
null
null
null
UTF-8
R
false
false
348
rd
capitalization.Rd
\name{capitalize_first_letter} \alias{capitalize_first_letter} \title{Capitalization of First Letter} \description{ Capitalizes the first letter of the word. } \usage{ capitalize_first_letter(x) } \arguments{ \item{x}{A character vector.} } \value{It ouputs a character vector of the same length.} \examples{ cap...
1b97754b2f973cfba4b8d620c62f978da3d7be12
184180d341d2928ab7c5a626d94f2a9863726c65
/valgrind_test_dir/lnorm_C-test.R
cf06e5588030a3cf196f848d53a93b845eed485a
[]
no_license
akhikolla/RcppDeepStateTest
f102ddf03a22b0fc05e02239d53405c8977cbc2b
97e73fe4f8cb0f8e5415f52a2474c8bc322bbbe5
refs/heads/master
2023-03-03T12:19:31.725234
2021-02-12T21:50:12
2021-02-12T21:50:12
254,214,504
2
1
null
null
null
null
UTF-8
R
false
false
319
r
lnorm_C-test.R
function (x, pi, mulog, sdlog, max_iter = 500L, tol = 1e-06) { e <- get("data.env", .GlobalEnv) e[["lnorm_C"]][[length(e[["lnorm_C"]]) + 1]] <- list(x = x, pi = pi, mulog = mulog, sdlog = sdlog, max_iter = max_iter, tol = tol) .Call("_mixR_lnorm_C", x, pi, mulog, sdlog, max_iter, tol) }
567cab276cc7081ddca78327c8f81425ce622a25
e33a1a6dddbe6ec074d339ed4e82b3fad975e23f
/tests/testthat/test_vst.R
e5e5ffa658db5cc11d290a5ddcdf304b5aad32e5
[]
no_license
zihua/DESeq2
c5ae93c4263f0e3c414233c32bfa832311cf07e2
eefb97f4a8cd3fa7ecfbb8969edb4d304d3746b8
refs/heads/master
2020-12-03T05:17:28.377255
2015-10-15T20:58:48
2015-10-15T20:58:48
45,465,791
3
0
null
2015-11-03T12:43:52
2015-11-03T12:43:52
null
UTF-8
R
false
false
699
r
test_vst.R
dds <- makeExampleDESeqDataSet(n=100, m=4) design(dds) <- ~ 1 dds <- estimateSizeFactors(dds) dds <- estimateDispersionsGeneEst(dds) dds <- estimateDispersionsFit(dds, fitType="parametric") vsd <- varianceStabilizingTransformation(dds, blind=FALSE) dds <- estimateDispersionsFit(dds, fitType="local") vsd <- varianceStab...
6044e2e79e747fd2d523686e8ff7c81edbd12d8d
2ae02c5ab707a50623436d73946444a89673c687
/R/SS_executivesummaryMK.R
097306cb3e5b63b6c182736ab9ab3dbbd70caf5b
[]
no_license
mkapur/kaputils
2e1b075fb5641fbbd2c122b6c26a254add6bb6b0
7d734acf9697af9c153b5228fe99f03dfd017238
refs/heads/master
2021-11-24T23:31:28.820396
2021-11-10T20:43:51
2021-11-10T20:43:51
125,903,739
2
1
null
null
null
null
UTF-8
R
false
false
34,243
r
SS_executivesummaryMK.R
#' A function to create a executive summary tables from an SS Report.sso file #' #' Reads the Report.sso within the directory and creates executive summary #' tables as required by the current Terms of Reference for West Coast #' groundfish. Works with Stock Synthesis versions 3.24U and later. #' Additionally, histori...
c06404c60d22a3e540d328bfdc96aa4444de6a50
6fa24cca5ba1dc15f9f206beb97c260786efe732
/script/old/20191210-GLMM.R
868783ff0599c75cd2af2021518e5e02ed3b75d1
[]
no_license
wetinhsu/Macaca-population-trend
fe14e5dfa6290b4a982175feae290053c60446b9
a0e738ec817ae70b8ea042eeb7b64df4c9b5cb10
refs/heads/master
2023-07-19T12:38:45.198058
2023-07-11T01:13:59
2023-07-11T01:13:59
190,343,813
0
0
null
2019-06-05T07:07:49
2019-06-05T07:07:49
null
UTF-8
R
false
false
7,640
r
20191210-GLMM.R
# data analysis library(data.table) library(lme4) library(car) library(magrittr) library(multcomp) library(ggplot2) library(psych) library(readxl) library(MuMIn) #------------------------------------------------ #Original data---- M.data.o <- read_excel("./data/clean/for analysis.xlsx", sheet...
e1253584a16014f6686a8302a66d5f20470edf41
ce3bc493274116150497e73aa7539fef1c07442a
/R/other_plots.R
68741f22d9137bdfaed6c336ae6e692e114d2b08
[]
no_license
laresbernardo/lares
6c67ff84a60efd53be98d05784a697357bd66626
8883d6ef3c3f41d092599ffbdd4c9c352a9becef
refs/heads/main
2023-08-10T06:26:45.114342
2023-07-27T23:47:30
2023-07-27T23:48:57
141,465,288
235
61
null
2023-07-27T15:58:31
2018-07-18T17:04:39
R
UTF-8
R
false
false
10,426
r
other_plots.R
#################################################################### #' Plot Result with Nothing to Plot #' #' This function lets the user print a plot without plot, with a #' customizable message. It is quite useful for Shiny renderPlot when #' using filters and no data is returned. #' #' @family Visualization #' @par...
a601d496251e65016f3f4147c8d409ca182430c3
8b066c2e74151c9e39f5c69912b2786c2a3d40c3
/man/hs_folder.Rd
015bb1183a5bebdb722811b31d82c82e3ce121c1
[ "MIT" ]
permissive
program--/HSClientR
eb074192e6ea9bf8a807d293df09c2794f9b31df
d054bb7a6f839e7f5388a830b44c88a0e94a06ca
refs/heads/master
2023-03-30T20:34:46.696394
2021-04-08T09:59:02
2021-04-08T09:59:02
341,659,373
2
0
null
null
null
null
UTF-8
R
false
true
393
rd
hs_folder.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hs_resource.R \name{hs_folder} \alias{hs_folder} \title{Get Resource Folder} \usage{ hs_folder(id, pathname, ...) } \arguments{ \item{id}{Resource ID} \item{pathname}{Path to folder in resource's contents} \item{...}{Unused} } \value{ A \li...
03bb4e96bcc6bfdad955974b4d5b3dcc808cb244
0f4f297985d383c0b2f22642fae1e126ffc04eb1
/plot4.R
777437f1f2c4fa6bb985b482600b1cfef0e264a3
[]
no_license
scng/ExData_Plotting1
5ab848c98f6d8eff2d8ef66107948841e1779466
e7d68f004a526166e30ef8afb340b4a8fd4f6c99
refs/heads/master
2020-12-26T04:27:34.703705
2015-04-07T16:53:37
2015-04-07T16:53:37
33,536,899
0
0
null
2015-04-07T10:31:03
2015-04-07T10:31:02
null
UTF-8
R
false
false
2,248
r
plot4.R
plot4 <- function(){ # if global variable d1 not exist... # call common function to load data # from the dates 2007-02-01 and 2007-02-02 # and save data as global variable d1 if(!exists("d1")){ source("loadData.R") d1 <<- loadData() } # extract Global_active_power vec...
f440a07bd736f1d6ba7856dfc9497c79a6fabfb6
62ecec9e0aa75428f3718706197af0284569f5c9
/man/generateOutput.Rd
91a2b53e4d1e1bb370726f4f0a7a1e17cc1ffb6a
[ "MIT", "LicenseRef-scancode-unknown-license-reference" ]
permissive
Mu-Sigma/analysis-pipelines
9e4c83d4ba63bfa2422fd3a4a88c601837e920c4
a7bfb1a0d5d251a42309b2430c11535be817dea9
refs/heads/master
2021-06-24T11:05:41.659135
2020-11-23T10:42:06
2020-11-23T10:42:06
161,642,328
29
1
null
2020-06-12T07:37:23
2018-12-13T13:20:53
R
UTF-8
R
false
true
2,157
rd
generateOutput.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/core-functions.R, R/core-functions-batch.R, % R/core-streaming-functions.R \docType{methods} \name{generateOutput} \alias{generateOutput} \alias{generateOutput,AnalysisPipeline-method} \alias{generateOutput,StreamingAnalysisPipeline-method}...
6de946cce62a4c6e8514545e81e256a7687cb659
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/devFunc/examples/checkValues.Rd.R
5686d1d2fd1fca8c2928ffaef90cb1ff36910dc6
[]
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
721
r
checkValues.Rd.R
library(devFunc) ### Name: checkValues ### Title: Checking if the value of vectors (of length 1) is authorized. ### Aliases: checkValues ### ** Examples lossType <- 'absolute' checkValues(list(lossType), list(c('absolute', 'quadratic'))) ## No test: checkValues(list(lossType), list(c('absolute', 'quadratic'), c('t...
53866eb6923470ef034c2ac1b2292de457469225
4538b9bf03a944a1e08653c728cd179db3d59f6c
/estimate_r.R
4b5c15dc5ce83a2288009b86d5417e496eb6ab5d
[]
no_license
amo105/chemicalkinetics
bdf7b05bd133c265e5387b6744b716f5554ba274
265b5f87815cb161c2041d731b3c58d6223ae269
refs/heads/master
2020-04-02T06:15:03.920603
2018-10-22T12:31:43
2018-10-22T12:31:43
154,137,840
1
0
null
null
null
null
UTF-8
R
false
false
7,596
r
estimate_r.R
estimate_r5<-function(X.arrayA2,X.arrayB2,X.arrayC2,Z,ini,lower=rep(c(-5,-16,-5),c(5,5,1)),upper=rep(8,length(ini))){ drt<-apply(Z,2,mean) Zr<-Z-matrix(rep(drt,dim(Z)[1]),ncol=length(drt),byrow=TRUE) SIG<-var(Zr) EIG<-eigen(x=SIG,symmetric=TRUE) UUU<-EIG$vectors LAM<-EIG$values CCC<-UUU%*%diag(1/sqrt(LAM)) Zr<-Zr%*...
ca3497d7217f073b0d12f2ec9c266d5f7a658771
8d8c704954ecb160ce3e68e0c2fc9631f49f4827
/UMD_DMD_plot.R
86b4c18046669062ddefbfb84c8f579872113a6f
[]
no_license
leklab/DMD
cbce7fa038d7a65d086974865ebc5e4c5787048f
0b4547c45dedb400459d11ee510cf90edc4a562f
refs/heads/master
2020-09-20T13:15:22.132684
2019-11-29T19:23:51
2019-11-29T19:23:51
224,492,404
0
0
null
null
null
null
UTF-8
R
false
false
5,220
r
UMD_DMD_plot.R
library(rvest) library(tidyverse) #functions getexons <- function(start, end, n) { rep(as.integer(start):as.integer(end), times = n) } ##Deletions #get the data dels <- read_html("http://www.umd.be/DMD/4DACTION/W_DMDT1/3") %>% html_nodes('tr') %>% html_text() %>% gsub("\\r", ";", .) %>% gsub("\\s+;", "...
94eee3ad258ae84e69ff8cf141becef993634d4a
b96e92d86bd142159e4674c59c6fbaf730049802
/R/vc_email.R
ddee0305e18eae0d4ab85d504cfe8b4f5babd9c8
[]
no_license
trinker/valiData
0ac536b9ed0435ff27f61973d949e9036fc8c1ac
59caaa67acaafb2508e90281812997464766d6f1
refs/heads/master
2022-06-09T05:59:46.696388
2022-05-12T18:25:54
2022-05-12T18:25:54
74,035,459
0
1
null
2016-11-17T14:37:24
2016-11-17T14:37:24
null
UTF-8
R
false
false
3,300
r
vc_email.R
#' Validates If Email #' #' Validates If Email #' #' @param data A data frame. #' @param x Column name from \code{data} (character string). #' @param \dots ignored. #' @export #' @examples #' dat <- data.frame( #' email =c('cookie@cookiemonster.com', 'joe@hometown.uni' #' , 'meet@seven', '@Jim', 'joe@gmail.com'...
84b5b950ab292f9e39df195bca9c17f6858cea34
12ef9e9c0d415ff83775fcc00a2d23437b5ac6ac
/kernelModel.R
514989450a17e86409262012dd67a1fce06caeb0
[]
no_license
brittzinator/PhDRes
951986b6352f1910f7e13a072f3a5cc996b872f5
4d7c8cfdedda9e666fc569f05d4a9d69bc67a15b
refs/heads/master
2016-09-06T10:14:22.352696
2014-11-11T22:58:41
2014-11-11T22:58:41
null
0
0
null
null
null
null
UTF-8
R
false
false
1,284
r
kernelModel.R
library(SuppDists) #for the rinvGauss (Wald) function logprofile <- function(z,K,z0,d) log((z-d)/z0)/K rWALD <- function(n,m,Umeanlog,Usdlog,H,Fmeanlog,Fsdlog,h) { # n: number of random numbers # m: wind measurement height # Umeanlog: mean log wind speed (m/s) at m # Usdlog: sd log wind speed (m/s) at m # H...
af5ad2fc93fd730cfa38048fa110de1d6f742e4d
f47ee14f548d958615893f56b624620f145d6365
/Plot1.R
607f3117c0583353ad5be75ad57660b6a8c88f09
[]
no_license
TXu8/ExData_Plotting1
0d8e3513ca74e8b27c63dcacd48f4802cf890ce6
64792bf443ef0ff4d7f62bec3b91c7d1c79794dc
refs/heads/master
2021-01-11T03:10:13.291921
2016-10-17T06:19:54
2016-10-17T06:19:54
71,105,778
0
0
null
2016-10-17T06:15:25
2016-10-17T06:15:25
null
UTF-8
R
false
false
513
r
Plot1.R
##Program for 1st assignment - Plot 1 setwd("filepath/") powerdata<-read.csv("filepath/household_power_consumption.txt",header = TRUE, sep = ";") powerdata1<-powerdata[which(powerdata$Date == "1/2/2007"|powerdata$Date == "2/2/2007"),] powerdata1$Global_active_power<-as.numeric(as.character(powerdata1$Global_a...
b007f2a09d9d3eea65469c507a7f121ade78a431
91ff28f948cb3387cd6c3b8483fb5e3f6ac00762
/man/DR.Rd
906f75ea2317fc6e6245d989b5eb53ceddc8e0c3
[]
no_license
vlyubchich/funtimes
64621060279530bb4c8722491c2baec5bd6b5d77
94975df305e584ed73f317df54fa697999c7fd68
refs/heads/master
2023-05-11T06:43:25.507215
2023-04-29T18:12:58
2023-04-29T18:12:58
60,178,185
8
19
null
2021-08-12T15:00:12
2016-06-01T13:13:36
R
UTF-8
R
false
true
5,876
rd
DR.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DR.R \name{DR} \alias{DR} \title{Downhill Riding (DR) Procedure} \usage{ DR(X, method, minPts = 3, theta = 0.9, B = 500, lb = -30, ub = 10) } \arguments{ \item{X}{an \eqn{n\times k} matrix where columns are \eqn{k} objects to be clustered, an...
6015b0d7642a94ebe8560b54fe3a9eab121bc627
df58ce6f082bc03cfad6c4eac8636dfaee5107f9
/Wykresy/wordcloud.R
75ebe513ba8017e0a03149c9937798fd3790c421
[]
no_license
mi2-warsaw/eRka-Onet-findTeam
0ce76e7427a49ae1587b912ab3b7fa169ab66e42
8b93c792f4bede2deae7bdc2f04226c2e39e071c
refs/heads/master
2021-01-10T08:08:21.403595
2015-11-28T19:59:18
2015-11-28T19:59:18
47,018,497
0
1
null
null
null
null
UTF-8
R
false
false
188
r
wordcloud.R
library(wordcloud) library(Matrix) words = colnames(DTM_df) frequencies = colSums(DTM_df) wordcloud(words, freq = frequencies, max.words = 100, colors = brewer.pal(name = "Accent", n = 8))
7b0600e42409b52367f03994ad45fbd316e63743
910b056902cc9773e77a1c72b61238d6c438c7b4
/tests/test.R
db822d8d90d0d3074d77bdda03ecc867ba661a16
[]
no_license
thaos/R2D2
573bd22481da186bf1c66453f1ff21404c30b58a
b7f89c4e7874e7a0b736d4417c35cd2b392c4944
refs/heads/master
2022-12-16T01:31:10.929767
2020-09-10T08:17:58
2020-09-10T08:17:58
259,948,052
0
0
null
null
null
null
UTF-8
R
false
false
682
r
test.R
library(R2D2) mat <- matrix( rep(1:10, 2), ncol = 2 ) print(mat) mat2 <- matrix( rep(1:15, 2), ncol = 2 ) print(mat2) r2d2_bc = r2d2(mat, mat, 1, 0, 0) stopifnot( all.equal(mat, r2d2_bc$r2d2_bc) ) stopifnot( all.equal(r2d2_bc$visited_time, rep(1, nrow(mat))) ) r2d2_bc = r2d2(mat, mat, 2, 0, 0) stopi...
6fdbded5a4ad67ad1af31b670f7010bc1867a5ca
1942e07b409f734546294115effd465ff680df1d
/plot1.R
e3c23db657372f432b07855cad7a398bbe3887cb
[]
no_license
mvelascoc/ExData_Plotting1
f309aaad8686859e0519b38df1993731a7c50b15
55fef9f5eaca98b633a9203939b1c192d42f206c
refs/heads/master
2021-01-24T02:38:39.898616
2014-08-10T00:20:26
2014-08-10T00:20:26
null
0
0
null
null
null
null
UTF-8
R
false
false
844
r
plot1.R
## Exploratory Data Analysis / Coursera / Aug 2014 ## Project 1 / Plot 1 ## load data filePath <- "../../data/household_power_consumption.txt" if (file.exists(filePath)) { print("Data File Found") #fullData <- read.table(filePath, sep=";", head = TRUE, na.strings = c("?")) ## subdata dates 2007-02-01 and 2007-...
f6053f0b4359148c5fa5607408e11fc304943dd0
42a2ec53d27a7856122ffc079634174f01dffcd3
/runs_sensitivity_on_reduced.R
dcde19747a8c0281d6116787264ff161d9418cc2
[ "CC-BY-4.0" ]
permissive
OlenaShcherbakova/Sociodemographic_factors_complexity
84481c368369e4882951321164b363670797c074
559f590633699ae8f4c926d4da43d8d1a4eb7716
refs/heads/main
2023-06-23T23:39:26.516716
2023-06-15T07:05:39
2023-06-15T07:05:39
552,730,271
1
0
CC-BY-4.0
2023-06-13T08:17:36
2022-10-17T06:23:59
R
UTF-8
R
false
false
1,888
r
runs_sensitivity_on_reduced.R
source('sensitivity_testing_reduced_B_001.R') source('sensitivity_testing_reduced_B_05.R') source('sensitivity_testing_reduced_B_099.R') WAIC_0.1 <- read.csv("output_tables_reduced/ waics Boundness_social_models .csv") %>% mutate(prior = "0.1") WAIC_0.01 <- read.csv("output_tables_reduced/ waics Boundness_social_mo...
785093ad5d4a5b1629728cab03e7874ce9b08d2a
544bbac2e163fd61503f340d1fb40369aac0f59c
/programming/Rcode/Rexamples/MAN/plot.parentimage.Rd
60fadf5bb779c0825b1bb040f0afc7dbc60c32d6
[ "MIT" ]
permissive
DannyArends/Other
810c8855e321f0722140375864fe6f6bf09a97eb
bc7328cdf6356a02efe716b865947f0567a239a4
refs/heads/master
2020-06-08T22:25:54.838498
2014-02-03T07:31:30
2014-02-03T07:31:30
800,277
1
0
null
2014-02-03T06:00:06
2010-07-27T09:55:12
C
UTF-8
R
false
false
1,638
rd
plot.parentimage.Rd
\name{plot.parentimage} \alias{plot.parentimage} \title{ plot.parentimage - Graphical representation highlighting possible parents of individuals} \description{ Graphical representation highlighting possible parents of individuals } \usage{ plot.parentimage(x, start = 1, num = (ncol(x)-start), cutoffsib = 3, cutoffpa...
0766b98b46659a7a65238fd4c6b25e95a56f8f35
519578112ec38f95e7c9ec28543b1963b8639f1b
/tests/testthat.R
86bcf8246ab6976e6f7faf7520e134ba24b60699
[]
no_license
pachevalier/tricky
62416b2686493c569967c76d98deb2f5215d60a7
b9e58e962d773984b8bc389fe1c3a8e4f53944c1
refs/heads/master
2020-05-29T12:28:26.514050
2018-04-10T12:00:26
2018-04-10T12:00:26
44,686,532
0
2
null
null
null
null
UTF-8
R
false
false
39
r
testthat.R
library(testthat) test_check("tricky")
ed46ac04533bc1ae7845c20b12c3df7b1899f201
023476c20d96b25b912d4a850fc89e50a271dd41
/R/checkPlotTest.R
45a545adb0aa952448b8e783d6d3ed918604d4d5
[]
no_license
cran/forestFloor
2ef4edbb2d9d0a34770132a7f0b97d5d6b8da895
a5e6235f3bb90a008006efaab5188984b361b9e1
refs/heads/master
2020-12-14T08:41:51.338079
2017-05-30T11:17:27
2017-05-30T11:17:27
36,425,904
5
0
null
null
null
null
UTF-8
R
false
false
1,104
r
checkPlotTest.R
checkPlotTest = function(plotTest,isTrain) { if(is.null(plotTest)) { #if plotTest is unspecified/NULL #if all obseravtions of isTrain are TRUE plot train else plot test observations plotThese = if(all(isTrain)) isTrain else !isTrain } else { #match with options matchArg = pmatch(plotTest,c(T,F...
f7203c21c8875c5ddbf3ecaae508c38a1eb764ac
a0aab3075c566ebe95c4123d0f3b4f83d009058f
/01.basic packages.R
60ea8c1d7e0d412faa7716a63fcf5392858dedc1
[]
no_license
ingridbrizotti/Data-science-in-R
0fef3e5feda3f412f977a9122e9c81601f901a12
3e162bc168763ada5f445da5980f09ab0ac0031d
refs/heads/master
2021-04-29T10:53:39.188088
2017-09-23T16:47:45
2017-09-23T16:47:45
77,861,631
0
0
null
null
null
null
UTF-8
R
false
false
3,540
r
01.basic packages.R
################################### LOAD DATA ############################################################ # If you'd like to read in data from a database install.packages("RMySQL") # to read and write Micorsoft Excel files from R install.packages("XLConnect") install.packages("xlsx") # to read SAS or S...
f2a12ac07390b22318bc53c83c4e17b2bbc4bf9f
ecbab65bf1c0dbff9e9f2960f69c7394164c1f09
/Neural Network/concrete.R
5cbc6e6157fe2c32f9d7bd0a7427f4645b29be38
[]
no_license
patelarti/R-Codes
1bedaa5596b1e1dc04af29cf5fcac33f3dd9fae0
5ffaceb26fe4f6d35157255f35f4772d9218929c
refs/heads/master
2022-04-22T18:43:07.868056
2020-04-24T18:01:49
2020-04-24T18:01:49
254,949,224
1
0
null
null
null
null
UTF-8
R
false
false
3,735
r
concrete.R
#Prepare a model for strength of concrete data using Neural Networks concrete <- read.csv(file.choose()) str(concrete) class(concrete) names(concrete) attach(concrete) summary(concrete) library(neuralnet) library(nnet) install.packages("NeuralNetTools") library(NeuralNetTools) hist(cement, prob = T, bre...
1c492b11e2aa510d62598a54f78efb0519905bd6
098841409c03478ddae35c4cdf6367cfd65fa3bf
/clustering/code/cellbench/03_assess_meanSil.R
c6eeecd98f2e5ae2c1d45d526cddf99e04564352
[]
no_license
wangdi2016/imputationBenchmark
0281746b482788c347faf9d96e8288639ba388a6
0881121444975cd0a3ee2ce69aaec46c3acd7791
refs/heads/master
2023-07-29T10:16:14.004610
2021-09-09T20:00:43
2021-09-09T20:00:43
null
0
0
null
null
null
null
UTF-8
R
false
false
1,724
r
03_assess_meanSil.R
library(mclust) library(cluster) # allmtd = list.files('/home-4/whou10@jhu.edu/scratch/Wenpin/rna_imputation/clustering/result/') # allmtd = setdiff(allmtd,c('deepimpute','scimpute')) mtd = as.character(commandArgs(trailingOnly = T)[1]) print(mtd) allf = c("sc_10x","sc_celseq2","sc_dropseq","sc_10x_5cl", "sc_celseq2_5c...
19a1d15a026497204e94c4bbfc633d0114cf296c
af681784e683a9ff5b0e9b773504a934cc73cd7b
/Week03_script.R
0b9c9fbbc7f6851e6b22a5f1a1956a938c0c748d
[]
no_license
jakeane/qss17_assignments
0cf9850f07b0b538af801c416fbd24c54f8cdde4
778b6386a497be7281eed2c5c03d19b916cc26f4
refs/heads/master
2023-01-21T23:29:42.776236
2020-12-04T19:40:01
2020-12-04T19:40:01
295,878,104
0
0
null
null
null
null
UTF-8
R
false
false
6,799
r
Week03_script.R
## Data Visualization (GOVT16-QSS17) Fall 2020 ## Ggplot2, Part I (Week 3) ## ## Name: John Keane ## Date: 10/5/20 # Load libraries library(tidyverse) # 1. First, let's work with the IMDB dataset # (a) movie <- read_csv("hw2data/movie_metadata.csv") print("movie head:") head(movie) print("movie tail:") tail(movie) ...
5f987a3e2a85c2c9c251872836ceced5228ac413
c3d1cb3036f0204365e4010649828cfbe05ef8e1
/feature_sel/shrunken_features.R
dfe998aa47b287d975afc88006690d356e1c375f
[]
no_license
sonibk/BISP
78d7b7f3636e2e9dbb5da1823cfd8957add10042
d538bb4cb62a57d2de701bcfd64653d9529cd134
refs/heads/master
2022-03-29T17:13:30.525362
2019-12-27T06:20:42
2019-12-27T06:20:42
null
0
0
null
null
null
null
UTF-8
R
false
false
2,540
r
shrunken_features.R
library(pamr) library(pROC) library(mccr) library(foreach) library(doParallel) source('feature_sel/pamr.listgenes.R') source('get_results.R') source('helper_func.R') #' Extracts genes from the shrunken object #' #' @param shrunken.genes.df.list list containing data frames of output pamr.listgenes() w.r.t each group #'...
64637096d61ed07917d30f92c3dd88faf6ffd333
b7e7f6264fe1117805e71ca37094e604ad76e7ca
/rankall.R
9aa91d05d41ff3c26ae1ebdd4b46668f7a3b5a58
[]
no_license
JustSheryl/DataScienceCourseRepo
1cae58188500750984dfdf5d56bf125180745e4b
4f91840eb0ed2acd1aabe32362839237a15c9f49
refs/heads/master
2022-11-10T21:08:09.997459
2020-06-25T18:50:29
2020-06-25T18:50:29
263,632,122
0
0
null
null
null
null
UTF-8
R
false
false
2,026
r
rankall.R
rankall <- function(outcome, num = "best") { ## Read outcome data ## get directory from environment; ## if it's not there, use default directory<-Sys.getenv("directory") if (is.null(directory)){ directory="C:\\Users\\grier006\\Documents\\R\\R-week4" } setwd(directory) ## Read outcome data ...
78bed6b315b7c6af539f6334f76ca30cf58f190f
67e3265bf57ee6ba59877b538d49229acb6a438a
/R/print.pval.R
30643ea607578ffabe78dc0bf2b27475463b2400
[]
no_license
cran/conting
7c259dde0bc77603b63ab7836dfac5c6adafff24
aa153b7c9f34c3b55395c8e436a106cee78a4b97
refs/heads/master
2020-12-24T08:41:02.243028
2019-04-02T19:00:03
2019-04-02T19:00:03
17,695,235
0
1
null
null
null
null
UTF-8
R
false
false
442
r
print.pval.R
print.pval <- function(x, digits = max(3, getOption("digits") - 3),...){ statistic2<-c("X2","deviance","Freeman-Tukey")[x$statnum==(1:3)] cat("Under the",statistic2,"statistic \n") cat("\n") cat("Summary statistics for T_pred \n") print(round(summary(x$Tpred),digits=digits)) cat("\n") cat("Summary statistics for T_ob...
c345994f0ae2de0825e0daee03b05d8d7885c040
280cfdaad648f7211566eb7f2d943952fec91480
/part_2-regression/random-forest-regression/random_forest_regression.R
3a49367a47cb9a40b568c4c757a941e04cc274aa
[]
no_license
mdrijwan123/Machine-Learning-Udemy-A-to-Z
01aef5bc9fa8f37c8fbe8e90aeacbdfed7f71cd5
c25a87662a56f311b7536908e3becb13b7068ba1
refs/heads/master
2020-04-12T02:04:53.780657
2018-12-18T06:21:08
2018-12-18T06:21:08
162,237,522
1
0
null
null
null
null
UTF-8
R
false
false
915
r
random_forest_regression.R
# Importing the dataset # --------------------- dataset = read.csv('../../data_files/Position_Salaries.csv') dataset = dataset[2:3] # Fitting Regression to the dataset # install.packages('randomForest') library(randomForest) set.seed(1234) regressor = randomForest(x=dataset[1], y=dataset$Salary, ntree=50...
a7cb9e6895e65638c84339e81cfa7a14e474b80f
2903a1a39d4fa77a7fc86258733a56fd80be43fa
/R/RcppExports.R
94de28aedcda450ea2e8fb40bfbea035b14a45e1
[]
no_license
bruce1995/BAGEL
fc919ba003269df51ee7ebcced800ddb208cc359
59f3085b515070bc871c0d06cf86af5a71b07fe4
refs/heads/master
2022-11-14T15:14:25.649593
2020-06-28T20:51:44
2020-07-02T16:00:49
275,665,344
0
0
null
null
null
null
UTF-8
R
false
false
2,977
r
RcppExports.R
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 compute_mu <- function(H, e, alpha, gamma, R, beta, Z, data, D, Q, S, B) { .Call('_BAGEL_compute_mu', PACKAGE = 'BAGEL', H, e, alpha, gamma, R, beta, Z, data, D, Q, S, B) } compute_muk2 <-...
34f0782bd09831ad7500ba6645e4ebae29cb1ec6
6503c8c87f4e7d88ef7cc6231edf9206c5661810
/plot2.R
85a740c55f7dcbcb0565853e100ac2ca39e822b4
[]
no_license
bisc11/ExData_Plotting1
68360c50e49f10135dfdb0dc70cdaef67e48686c
2180560ebe0df72aa2234f86c63a921353e19595
refs/heads/master
2020-12-30T23:21:15.093616
2015-06-04T11:54:01
2015-06-04T11:54:01
36,856,688
0
0
null
2015-06-04T08:01:27
2015-06-04T08:01:26
null
UTF-8
R
false
false
1,398
r
plot2.R
## Before running this script, check that the datafile "household_power_consumption.txt" ## is unzipped and in your working directory. if (!file.exists("household_power_consumption.txt")){ print("Download and unzip household_power_consumption.txt in your working directory") } ## Read the datafile. Since we will onl...
35650c5f45ed153d78c0cdd2d40431b420703b0b
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/GUILDS/examples/maxLikelihood.ESF.Rd.R
d13e62dbde7cb6b38c4062545ccae7e267537e49
[]
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
280
r
maxLikelihood.ESF.Rd.R
library(GUILDS) ### Name: maxLikelihood.ESF ### Title: Maximization of the loglikelihood given the standard Neutral ### Model, using the Etienne Sampling Formula ### Aliases: maxLikelihood.ESF ### ** Examples A <- c(1,1,1,3,5,8) maxLikelihood.ESF( c(7,0.1), abund = A)
97067ddd8b5a58ba751e9bc87dccf7d484b2495d
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/powerSurvEpi/examples/ssizeCT.default.Rd.R
a9f828c19c62e4e9492a800ef5c3d54e8c305bcb
[]
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
416
r
ssizeCT.default.Rd.R
library(powerSurvEpi) ### Name: ssizeCT.default ### Title: Sample Size Calculation in the Analysis of Survival Data for ### Clinical Trials ### Aliases: ssizeCT.default ### Keywords: survival design ### ** Examples # Example 14.42 in Rosner B. Fundamentals of Biostatistics. # (6-th edition). (2006) page 809 ...
5346a52a560ad8145ed1ef7d15ac70fefa0e1721
ba07f5cbc690640115108e4ee07b46ef8340e5fe
/DA3-labs/lab2/code/Ch16_airbnb_random_forest.R
c95406834580d1f2ff70007451c0d2b7a27889a4
[]
no_license
ozkrleal/london-prediction-r
08a16f4c6b3416d57d3b2cea24b10c797eafed41
f81488a92dae37b7e54074d6ebb76b62f95fbfa7
refs/heads/master
2020-12-20T13:12:59.718332
2020-02-15T00:32:02
2020-02-15T00:32:02
236,085,457
0
0
null
null
null
null
UTF-8
R
false
false
24,006
r
Ch16_airbnb_random_forest.R
############################################################ # # DATA ANALYSIS TEXTBOOK # RANDOM FOREST # ILLUSTRATION STUDY # Airbnb London 2017 march 05 data # v2.1 2019-04-24 # v2.2 2019-07-25 added todo-s # v2.3 2019-08-12 some small changes by BG # v2.4 2019-19-18 major update by Zsuzsi # v2.5 2019-19-19 small fi...
1a32875da035900d329cfe13d31aae101b5fe5b7
ff2689000222b710c8c39c3ebc791cb7bf46446a
/R/bgm.R
6834b3cf5c652403c8956d1028f43554baa81493
[]
no_license
vianney6364/ETGC
1e4734fb7b096fcad825a24d32e64e72c2332f30
60add98ef34dcfb1f2d104e2b0275c6bf9d96f1b
refs/heads/main
2023-05-09T14:26:56.219939
2021-06-01T14:07:18
2021-06-01T14:07:18
372,831,922
0
0
null
null
null
null
UTF-8
R
false
false
4,540
r
bgm.R
#' Bayesian global model, on encapsule un modèle global générique dans la fonction #' @param tab_input mcmc list #' @param n_proj nombre d'annee de projection #' @examples #' #' #Les données d'entrée #' data(tableau_pa) #' #' resultats_pa<-delta (tab=tableau_pa, esp="BOBO",list_param=c("mois","zone","type_pirogue","mo...
7189b3d0e284132a84e6c832f5fe80a2b91e0c5c
133ae5007dd9d8b3786b83c778510e0294b4e75f
/man/blblm.Rd
5cff2c7076d59e2b7ff1d65863cf0fd8624ae84d
[ "MIT" ]
permissive
shihanjing/sta141c-project
b80de206983efc1f548c0ed3e24b3112262a3e98
96a084352c1dc3606319d77e3cbef569a65523bc
refs/heads/master
2022-11-09T04:20:27.094536
2020-06-11T02:24:18
2020-06-11T02:24:18
270,555,743
0
0
null
2020-06-08T06:27:23
2020-06-08T06:27:22
null
UTF-8
R
false
true
592
rd
blblm.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/blblm.R \name{blblm} \alias{blblm} \title{main function to run linear regression with mini bag bootstrap} \usage{ blblm(formula, data, m = 10, B = 5000, cluster_size = 1) } \arguments{ \item{formula}{an object with class "formula"} \item{dat...
0ace6e09a89146f8da00ddaa8d9669a5be2bcce8
e7bd469eccdbf11cded79bfd9d4cf457f87fbba4
/R/error.HGgaussian.r
06733119105bda78855e46c3f14f2b528ac10973
[]
no_license
parsifal9/ptools
ac1c4268ec8e7d728e3a21c8df764799dd8c2702
baeeb606b7e2f9076155de0b7885b6e45daee94c
refs/heads/master
2023-08-29T17:05:39.639233
2023-08-06T08:43:11
2023-08-06T08:43:11
299,174,721
0
0
null
null
null
null
UTF-8
R
false
false
162
r
error.HGgaussian.r
error.HGgaussian <- function (object, X, y, weights, fv, ...) { if (missing(fv)) r <- (y - object$fv) else r <- (y - fv) mean(r * r * weights) }
54c563ea4fc9a18e8582b1413676931d3d662fbd
8f3d8a0c98d83b612b1ac3e989b29d1594886608
/etl/sagarpa.R
4d4da55c531cc2b03d1dd957d34d710ef2a7f384
[ "MIT" ]
permissive
plataformapreventiva/food-price-warning-indicator
54c7b03e55bc7bda4aa8ec89e94b87ec1e3df52c
8aa1f54ddb0d1d94d517832b4d60f06c067e0616
refs/heads/master
2021-10-08T02:46:07.953202
2018-12-06T20:20:06
2018-12-06T20:20:06
94,374,856
2
2
null
2017-11-16T22:04:26
2017-06-14T21:32:30
R
UTF-8
R
false
false
892
r
sagarpa.R
library(tidyverse) library(lubridate) library(stringr) set.wd('../data/') municipal <- read_csv('../data/maiz_municipal_2004_2015.csv') municipal_1 <- municipal %>% gather(key = anio, value = precio, -Nomestado, -Idmunicipio, -Nommunicipio) %>% mutate(cve_mun = str_pad(Idmunicipio,width=3,pad='0',side='left'), ...
9fd961c78c3af0f47205b5ef052000d1f6b3ea36
737b06d18e008ce83980cd95aab6b097010e703f
/docs/R/06_wrappers.R
43b176e191ad89d6479d6f1eee57319fa5a994eb
[]
no_license
RemkoDuursma/cjib
848bc357fc3973b8aa48d6e670ab78c6cb334eb6
f74ae567cbb30859b43042c9585cea0565fca4a2
refs/heads/master
2021-02-28T12:01:02.890167
2020-11-11T08:40:03
2020-11-11T08:40:03
245,694,664
0
0
null
null
null
null
UTF-8
R
false
false
533
r
06_wrappers.R
library(ggplot2) library(dplyr) mtcars_scatter_abline <- function(xvar, yvar, xlab = xvar, ylab = yvar, ...){ plot(mtcars[[xvar]], mtcars[[yvar]], pch = 19, xlab = xlab, ylab = ylab, ...) abline(lm( mtcars[[yvar]] ~ mtcars[[xvar]])) } mtcars_scatter_abline("wt", "disp", ylab = "Displacement", ma...
efa62c0770666fd6e3eaae245af23a48fc4f3264
7879e0b7476cfefe1d83b8760932a2978296103f
/R/globals.R
a393707ca6347bf2c8761d2827cd493f2edfe361
[ "MIT" ]
permissive
go-yohan/sppcredit
75914cb30f37c67e12190c9d2f8f51f542510626
19597394d0a8c489857476f50c00f9c2c39e02e6
refs/heads/master
2020-12-30T16:45:32.897205
2017-09-21T20:35:49
2017-09-21T20:35:49
91,020,921
0
0
null
null
null
null
UTF-8
R
false
false
630
r
globals.R
FTPROOT_REFPRICE <- "ftp://pubftp.spp.org/TCR/ReferencePrices" FTPROOT_DAPRICE <- "ftp://pubftp.spp.org/Markets/DA/LMP_By_SETTLEMENT_LOC" TEAColors <- c( "#0BC1AC", "#919191", "#87E8E7", "#D0272A", "#5FCE5B", "#535210", "#F55165", "#277DCE", "#531033", "#101153", "#FFAD5C", "#533110", "#0BC1...
402561cdefbb0ba84c87a6dfd322929fa30cfbf9
1c740460e7ce2417cfc6208cd5996ca3fe7b3511
/Code/mlm/gng/NH_rt_mod12.R
26071d3ef33cc6ec002d66b809afa664f3013748
[]
no_license
UNCDEPENdLab/PD_Inhibition_DDM
103d51f4e31614be01764b19ffbe52c7c8ac5967
4a95ead2ee95cc6197d5be2556eb3bdb616195f3
refs/heads/master
2023-06-30T02:34:12.758028
2021-08-05T14:00:40
2021-08-05T14:00:40
68,667,400
1
0
null
null
null
null
UTF-8
R
false
false
18,284
r
NH_rt_mod12.R
setwd("/Users/michael/Data_Analysis/PD_Inhibition_DDM/Code/mlm/gng") if (!require(pacman)) { install.packages("pacman"); library(pacman) } p_load(car, brms, nlme, lme4, loo, readr, tidyverse, emmeans, cowplot, glmmTMB, bbmle, broom, MplusAutomation) # this is an admixture of Alison and Nate's code. # Load data # Dat...
feab813b9492768c2e9c99a00dd166d22a1e0d32
0eb28b91d153379551cdd235fd05dd50ca0e0f83
/R/nyc311.R
c152d8f5fca8fb529238bde5a860bdf8d4d9aceb
[]
no_license
thisisdaryn/workshop
4bac3516bc1dba76919762296ae57b56a0185808
a491731090cbaf3245280a12ecef55ba30dd46be
refs/heads/master
2020-09-10T15:32:03.747382
2020-01-17T19:13:01
2020-01-17T19:13:01
221,739,853
0
0
null
2019-11-21T20:43:20
2019-11-14T16:23:59
JavaScript
UTF-8
R
false
false
655
r
nyc311.R
#' NYC 311 Service Requests for Jan 1-14 2020 #' #' #' #' @source <https://nycopendata.socrata.com/Social-Services/311-Service-Requests-from-2010-to-Present/erm2-nwe9> #' @format Data frame with columns #' \describe{ #' \item{Key}{Case identifier} #' \item{Created}{Date Created} #' \item{Closed}{Date Closed} #' \item{A...
af208a9e9d4ef388eff27e1d56cf058ed7a10b48
12742f268035aec07a49f58a93affa73870b2f20
/Lab1.R
3c953ec615a3d574e442c16965e72f077c660afd
[]
no_license
nguyench95/R-Labs
1fa6bb8b2d64f608fb31026a47f52092086e2e89
291ef8d589bd158046e45669e30d283db1ea5900
refs/heads/master
2022-07-15T08:49:14.117816
2020-05-11T20:15:17
2020-05-11T20:15:17
263,147,968
0
0
null
null
null
null
UTF-8
R
false
false
3,525
r
Lab1.R
########################################################################## # CSC-315, Fall 2019 # Lab 1: R programming # Name: ########################################################################## ########################################################################## # Add R code to the script below i...
5b944194416e1a231d194022d53bd70691bd4fae
6cbea2b09ccaa5b50a7671d396285737923cf248
/Laboratori di Esercitazione/Training Lezione/Training 1 - ML1.R
b53bdb15f2237d7b5f3bd7fbe4153b6316fd2981
[]
no_license
AngelusGi/MachineLearningDivino
c4c6eb6124fdda038545985cde265249d7b26992
86547b3764d8324e59369e633bfd51cd0563028f
refs/heads/master
2022-04-22T20:31:47.023982
2020-04-05T10:39:32
2020-04-05T10:39:32
233,409,930
0
0
null
null
null
null
UTF-8
R
false
false
3,223
r
Training 1 - ML1.R
#Simulazione di modello di Regressione lineare # MODELLO : Y=(B0+B1X)+E # n : dimensione training set # m : dimensione test set # X : reddito ( tra 1000 e 2000 ) # Y : consumi # A : B0<-250 #Costi fissi B1<-0.7 #70% del reddito va in consumi n<-80 #Su 100 dati 80 verranno usati per il training m<-20 #Il resto verran...
245637a0bbd2d2befe386559b2dd2bfd84cccfa0
6be70ffdb95ed626d05b5ef598b842c5864bac4d
/R/calc_congress.R
29eaa53b9647ad0019a25f73709c9f180c8d3b3d
[]
no_license
Hershberger/partycalls
c4f7a539cacd3120bf6b0bfade327f269898105a
8d9dc31dd3136eae384a8503ba71832c78139870
refs/heads/master
2021-09-22T17:54:29.106667
2018-09-12T21:16:56
2018-09-12T21:16:56
null
0
0
null
null
null
null
UTF-8
R
false
false
219
r
calc_congress.R
#' Calculate congress corresponding to a year #' #' Simple conversion between year and congress #' @param year integer year #' @return integer congress #' @export calc_congress <- function(year) { (year - 1788) / 2 }
340fdbeb63bfea524f765e16c309281f8f780d3e
f2eadd5c3d82192a2f8a6a8b588364b102185f4f
/source/Practice_set.1/step2.SCRAN_normalization_featureSelection.r
c4cafea5ca223e7cc9d68cc55d721b3f5a6816d4
[]
no_license
mgood2/BIML-2019-SingleCellRNAseq-
2a5ce49a44f77828be76375389649bf2656d2bee
2d1e993afe1d445f8e93b7e8b746b2383ce3791c
refs/heads/master
2020-05-16T09:03:25.624452
2019-02-23T06:30:54
2019-02-23T06:30:54
null
0
0
null
null
null
null
UTF-8
R
false
false
1,623
r
step2.SCRAN_normalization_featureSelection.r
# filteredSCEset <- readRDS(file = paste(PATH_PBMC_dataset, "filteredSCEset.rds", sep = "/")) filteredSCEset <- sce[, which(sce$filtering==1)] library(scran) clusters <- quickCluster(filteredSCEset, method="igraph") filteredSCEset <- computeSumFactors(filteredSCEset, cluster=clusters) filteredSCEset <- normali...
90e219f31c1a7b771c3aacf1e5c8b2025ed3dec5
a44d50f5407c1a6d7ed75c589bb06b591be205e8
/R/skill_scores.R
5232b52c943ef9200bb3cb1ab21125972b57e368
[]
no_license
laubblatt/cleaRskyQuantileRegression
622462a481398ebbb3391da602c2cecd5b9e39a5
8edb71d94538a0680a4fb0e0d507cb16902a6d1e
refs/heads/master
2020-07-12T02:20:12.030386
2019-11-26T09:05:09
2019-11-26T09:05:09
204,692,274
1
0
null
null
null
null
UTF-8
R
false
false
1,780
r
skill_scores.R
#' Collection of skill scores #' #' #' @filename skill_scores.R #' @export MSE_SkillScore #' @export rmse #' NULL MSE_SkillScore = function(o,p,ref) { #' Calc the Skill Score with the Mean Squared Error as skill #' #' Can be interpreted as reduction of variance #' Skill of 1 is perfect; Skill of 0 no improveme...
3fc44e2ebf1954da003d478f57d50edd6dbbcb45
e907785f763bcfabec58dd01278d6996cd2525ab
/man/broad_zhenghe.Rd
d21e0993e019bd6e1f8cb204a4475a91029b43a0
[]
no_license
cran/SPMS
2a8a9796677f908cae849e3a61c183394ef0c980
7f337e242f6f743ec4d6b88bfb1a264b63bd1ea8
refs/heads/master
2016-09-05T16:19:08.045425
2013-05-08T00:00:00
2013-05-08T00:00:00
null
0
0
null
null
null
null
UTF-8
R
false
false
11,633
rd
broad_zhenghe.Rd
\name{broad_zhenghe} \alias{broad_zhenghe} %- Also NEED an '\alias' for EACH other topic documented here. \title{ To redundancy the text result. } \description{ Function according to the rule that we formulate to redundancy the result. } \usage{ broad_zhenghe(paths, dORb, inG) } %- maybe also 'usage' for ot...
dabfe5cb61f59cd8b4deebdbc4ddfd2bfa957cc2
965aa4666380808a369c2c02ab5c3d081caecf82
/factCheck 02 - get pages data.R
43ab2705f7a955907c64bbef448a0e6d5ba0aa35
[]
no_license
lekovicj/EUvsVirus---What-the-Fake
cddc02030f1eca951298ed394aae285e6e2c2ef2
7c7791a1983304d67cf05f557a671268daf1105f
refs/heads/master
2022-06-10T15:43:14.605697
2020-04-25T22:04:24
2020-04-25T22:04:24
258,490,503
0
0
null
null
null
null
UTF-8
R
false
false
1,080
r
factCheck 02 - get pages data.R
library(tidyverse) library(xml2) library(rvest) dataRAW <- read_rds(path = "data/factCheck/pagesScraped.rds") exclude <- read_rds(path = "data/factCheck/pageDetails.rds") %>% select(link) %>% distinct() dataRAW <- dataRAW %>% anti_join(exclude) for(i in 1:nrow(dataRAW)) { page <- read_html...
a70d5686d0c38582baac3e949b13b73a6ee38b3b
3f1d1377ab5bcc2777db0e8b68209374f92bf6f8
/R/upload.R
3c226b4a3ad79719b62618344dff18eece94ca7d
[ "curl" ]
permissive
omegahat/RCurl
5dc3299c75dce0d0ab2481902125aebaa9cb7c9e
e07c076963fc6436e0b05db04bb0b3a20ba378e9
refs/heads/master
2022-06-25T08:55:39.848816
2022-06-07T02:34:35
2022-06-07T02:34:35
4,004,831
20
18
NOASSERTION
2022-06-07T02:34:35
2012-04-12T13:17:38
Turing
UTF-8
R
false
false
1,441
r
upload.R
ftpUpload = # # what is the name of the file or the contents of the file # function(what, to, asText = inherits(what, "AsIs") || is.raw(what), ..., curl = getCurlHandle()) { if(!asText && !inherits(what, "connection")) { file = file(what, "rb") on.exit(close(file)) } else file = what ...
daccad6717e3ffd3ceb03ac198fe6e74cf1b17de
2e1925418c2995782d16826e24f8e4d32d43c84d
/database/allocator/analysis.R
8b6d622ebc4acff0842166671c1ae554ab3d4c9a
[]
no_license
JohnCalhoun/Flamingo
7079983357d2c9f6dcf544dbdb67946c0e28c7a5
cc77a69caf19a8b4ab62cbe0eff85c38504513eb
refs/heads/master
2021-01-18T22:33:26.517156
2016-05-31T22:41:36
2016-05-31T22:41:36
50,302,153
1
2
null
2016-01-29T02:48:07
2016-01-24T18:47:42
Cuda
UTF-8
R
false
false
497
r
analysis.R
#! /usr/bin/env Rscript #load libraries library(DBI) library(RSQLite) #set up database connection drv<-dbDriver("SQLite") database_location<-"../flamingo_database.db" db<-dbConnect(drv,database_location) #loadin data dbListTables(db) dbListFields(db,"allocator") allocator_sql<-"select 'ID' from 'allocator'" allocator_...
3da5cc9b4bbb729ead37759dc343895d4e041959
79e29c2faf00c09c3293cb7866c70529583adf16
/tests/testthat/test-extend.R
1aa0803125fd0b1fb551c922da02bf59cfb2b71f
[ "MIT" ]
permissive
schloerke/sass
c787acd09ed79c29fadcf819873470088aadc69d
20168a157b6eeeb45e89e7ea56daa091211b1bd5
refs/heads/master
2020-03-28T02:14:05.756939
2018-08-17T22:02:02
2018-08-17T22:02:02
147,556,853
0
0
null
null
null
null
UTF-8
R
false
false
235
r
test-extend.R
context('extend') test_that('extend works', { expected_first_line <- '.message, .success, .error, .warning ' css <- compile_sass('test-extend.scss') expect_equal( strsplit(css, '\\{')[[1]][1], expected_first_line ) })
3e5f79981b84755d4c301d6c1cb4af344a5ae211
9465a81c226513900dc1a96cc746b2fa9b8196c8
/codeProcessing/R/h_file_proc.R
0c131f2e86991a7a929b3fa86e66f0f411c7a252
[]
no_license
enginuity/codeProcessing
beced5a7ab42384084756af1076570bdebd28131
a44947621e065c2105bce4109bc8f4b28a3a81fe
refs/heads/master
2021-01-17T15:15:01.619715
2017-10-31T08:00:16
2017-10-31T08:00:16
27,804,505
1
0
null
null
null
null
UTF-8
R
false
false
2,134
r
h_file_proc.R
##@S This file contains function to aid with repeating file processing tasks ## (file-name processing, etc.) #' Find all files with appropriate file extensions and extract code #' #' @param FD [\code{\link{FilesDescription}}] :: A specification of codefiles #' #' @return [\code{\link{Codebase}}] :: Specification and...
e52ce2d9d0b9fcf599cd1ecbb7d54f8ce9124d44
10891d71f6512ba51d61a6dffedd8d9b3c5496e6
/man/generate_sample.Rd
492e8fa0ed0def7ae20a63dabbc885203890535a
[ "Apache-2.0" ]
permissive
dewittpe/icd_file_generator
d7c1027b35770100bf40cb37a3e18a636c66d6c3
5ee69a9a8cbe148f7d8acde7ba7bb29ac95c9727
refs/heads/master
2020-03-31T10:05:09.209578
2018-10-19T19:13:24
2018-10-19T19:13:24
152,121,980
0
0
Apache-2.0
2018-10-08T17:48:58
2018-10-08T17:48:57
null
UTF-8
R
false
true
1,034
rd
generate_sample.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/icdgenerator.R \name{generate_sample} \alias{generate_sample} \title{Generate Random ICD Data} \usage{ generate_sample(version = 10, nrows = 1, dcols = 1, pcols = 1, gcols = 0, pct_empty = 0.2, quiet = TRUE) } \arguments{ \item{version}{ICD...
76abee21d6edf31aec8d7cb74c6d73eba10b9b83
59ff81a51cd1e41711291dadb6b6c3d39b30f207
/R/retrieve_spectral_library.R
b2ec7e579c0e78b50663cc64131de6d65024683c
[ "MIT" ]
permissive
MarconiS/NeonSpeciesClassification
8646d2cf4f71b1eb6ce5bfd89af47c3c5e76bd9d
dd7de3877641c86df6424d9a1604763e401614ba
refs/heads/master
2023-03-11T17:45:07.083153
2021-03-01T22:40:54
2021-03-01T22:40:54
256,378,136
0
0
null
null
null
null
UTF-8
R
false
false
34,706
r
retrieve_spectral_library.R
library(tidyverse) library(data.table) csv_vst = fread("~/Documents/GitHub/neonVegWrangleR/outdir/field_data/neon_vst_data_022021.csv") #%>% filter(height > 3) full_shaded_ids = csv_vst %>% filter(canopyPosition %in% c("Mostly shaded","Full shade") | !str_detect(plantStatus , "Live")) full_shaded_ids = full_shaded...
926f68e5c1380b84093100b6f40379246b0f68ee
be6e3356c1b1a8b6e73ce7eec50f84875471092e
/man/getPatientDataStartEnd.Rd
c6e7af8f9fe443ac4aa5f10d35786c7d1e3c8779
[ "Apache-2.0" ]
permissive
OHDSI/Aphrodite
a9bdbf66e24b4faf6089c493f59db1960302cbd2
8dc775e128e0a81c11ca1d2486efd7a5c84a9e5d
refs/heads/master
2021-07-14T20:36:15.448860
2020-09-17T18:56:53
2020-09-17T18:56:53
32,827,088
37
15
Apache-2.0
2021-06-25T19:05:04
2015-03-24T21:46:36
R
UTF-8
R
false
true
1,475
rd
getPatientDataStartEnd.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions.R \name{getPatientDataStartEnd} \alias{getPatientDataStartEnd} \title{This function fetches all the patient data (generic) - from a given start date and with a given end date} \usage{ getPatientDataStartEnd(connection, dbms, patient...
dcb1ab1f27577f114979fd60dfcd719f343afb99
2bec5a52ce1fb3266e72f8fbeb5226b025584a16
/EWGoF/man/EDF_NS.test.Rd
2ddf2ee382cfc31c16865efad20cbdbdfb966214
[]
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
2,618
rd
EDF_NS.test.Rd
\name{EDF_NS.test} \alias{EDF_NS.test} \title{ GoF tests based on the empirical distribution function, the normalized spacings and the probability plots for the Exponential distribution } \description{ Computes the Exponential GoF tests based on the empirical distribution function: the Kolmogorov-Smirnov (KS), Cramer-V...
57a0cd242fb7b1488fcb9ee71ecf91e87eca43ec
c2300aa02b4c2e4a53bebae27e4c38ec077b98e2
/plot4.R
04a8ab3d01de072d58717ce2f38a1d5b03f26298
[]
no_license
danielcalcinaro/ExData_Plotting1
5a801f37141364f9ec916e29e2382bcafe257e2e
a8590520e19b1b7540497317dfbff0015adf39b3
refs/heads/master
2021-08-28T06:26:35.081742
2017-12-11T12:13:23
2017-12-11T12:13:23
113,708,997
0
0
null
2017-12-09T23:34:58
2017-12-09T23:34:57
null
UTF-8
R
false
false
1,381
r
plot4.R
library(dplyr) read_power<-read.table("household_power_consumption.txt",sep=";",header=TRUE,stringsAsFactors=FALSE) power<-mutate(read_power,NDate=paste(Date,Time)) power$NDate<-as.POSIXct(power$NDate,format="%d/%m/%Y %H:%M:%S") powerf<-filter(power,NDate<as.POSIXct("2007-02-03",format="%Y-%m-%d") & NDate>=...
07ffe063f87084ccac466eb607f3a93b394e1b86
9262e777f0812773af7c841cd582a63f92d398a4
/inst/userguide/figures/CS3--Cs22_hood-q3.R
3f32e13e65c0aaa96a881ff0790ace48c78e8a1a
[ "CC0-1.0", "LicenseRef-scancode-public-domain" ]
permissive
nwfsc-timeseries/MARSS
f0124f9ba414a28ecac1f50c4596caaab796fdd2
a9d662e880cb6d003ddfbd32d2e1231d132c3b7e
refs/heads/master
2023-06-07T11:50:43.479197
2023-06-02T19:20:17
2023-06-02T19:20:17
438,764,790
1
2
NOASSERTION
2023-06-02T19:17:41
2021-12-15T20:32:14
R
UTF-8
R
false
false
171
r
CS3--Cs22_hood-q3.R
################################################### ### code chunk number 32: Cs22_hood-q3 ################################################### Q.models$hood.independent
57599986343a8d8d76f770f38931096f1f4a978c
10d8a07507b5fe24ec918736c2b2f58fcea96f57
/rankhospital.R
b728c9fd36f3a93f59499d661d5399895aa66f0f
[]
no_license
YYCGreg/ProgramAssignment3
7ee15a061bd8762d76639d006040091a7807342b
749dca6522be0a927601d1e903221695ba1e5c9b
refs/heads/master
2022-11-05T00:37:54.355678
2020-06-14T13:39:15
2020-06-14T13:39:15
271,904,900
0
0
null
null
null
null
UTF-8
R
false
false
2,850
r
rankhospital.R
# Write a function called rankhospital that takes three arguments: the 2-character abbreviated name of a # state (state), an outcome (outcome), and the ranking of a hospital in that state for that outcome (num). # The function reads the outcome-of-care-measures.csv file and returns a character vector with the name # of...
ed4b0de3b0a2a512b8a297461c44bf7e94fd1b87
6bd4081120ef7c99dfa01b18bfdc7a59fa704c85
/37810 assignment 2.R
38896d3c140a20d2eaaf467c6ced8170611e02d6
[]
no_license
Uchicago-Stat-Comp-37810/assignment-2-KumamonYJ
2cad833e6ac660bb093d849b9c7860280865b9d6
7e039f84a60726d361b0c6602618394b6cb0b8dd
refs/heads/master
2020-04-01T16:23:25.505323
2018-10-22T19:08:16
2018-10-22T19:08:16
153,379,086
0
0
null
null
null
null
UTF-8
R
false
false
1,927
r
37810 assignment 2.R
#37810 Assignment 2_Yi Jin step 6 source('~/GitHub/assignment-2-KumamonYJ/function.set.R') # set coefficient A trueA <- 5 # set coefficient B trueB <- 0 # set standard error trueSd <- 10 # set sample size sampleSize <- 31 # create independent x-values x <- (-(sampleSize-1)/2):((sampleSize-1)/2) # create dependent ...
d416bc607b1b6b5856b57f75defde21bcc05b54d
9bd76e78124ab7acc42798efe389358e6c9f4676
/old_models/discrete_time_models/SEIRS-discrete-time-gamma.R
8e03ac2b7cd326d27b51749cbf4d170c3df3cef7
[ "MIT" ]
permissive
tc13/covid-19-immunity
68f8f105402d4b931c5ebc167b9eaa2d923bc9a1
46458273e2322b2a1384d747a189db821b35111b
refs/heads/master
2023-07-05T19:03:29.562622
2021-08-23T08:33:18
2021-08-23T08:33:18
258,193,243
2
3
MIT
2021-04-28T16:07:58
2020-04-23T12:20:46
R
UTF-8
R
false
false
2,738
r
SEIRS-discrete-time-gamma.R
### Dynamics of SARS-CoV-2 with waning immunity ### Thomas Crellen thomas.crellen@bdi.ox.ac.uk, April 2020 ### SEIRS discrete time model, gamma (Erlang) distributed waiting times #Clear R environment remove(list = ls()) #libraries require(testthat) #parameters sigma_recip <- 4.5 #Average duration of latent ...
1c4d60e9aabb4c629b534c4457dec4c0d58fee23
6460e7412441a992835418f98673a3b7bd96406f
/R/reformat_fun.R
844dc693b0718b61294f3e5bb2881c31c0b971b4
[]
no_license
TylerGrantSmith/funflow
dd1b031405d95b38dd70243a8f417351080d69ff
975cbdb3eeb8317a0128d7b1289c013dc8d24d08
refs/heads/master
2022-11-09T22:12:03.455410
2020-06-24T21:13:36
2020-06-24T21:13:36
null
0
0
null
null
null
null
UTF-8
R
false
false
5,588
r
reformat_fun.R
################################################### # regularize_comments <- function(fun) { # env <- environment(fun) # fun <- deparse(fun) # #fun <- gsub("(\\s*`#`\\(\")(.*?)\\\"\\)$","\\2", fun) # fun <- gsub("(\\s*)`#`\\(\"(\\s*)(.*?)\\\"\\)$","\\1\\3", fun) # fun <- gsub("\\\\n","\n",fun) # eval(pars...
58d30ce55c7abf71e9d2fccd304864b9cc0e8e14
7bed383ed8beabe77bb4286b7b47d49590698b96
/explore-SaiMajeti/EDA.R
82443dd622b4bed73621a11091a7738c32d53bbb
[]
no_license
SaiMajeti/Data-Visualization
2c5f0fdb26ddc9f59023fff1a3adb9818d753b6c
60f6bd90ba6b0d6a97847811daa7d0d63e37a525
refs/heads/main
2023-02-05T08:17:58.437687
2020-12-25T23:35:57
2020-12-25T23:35:57
324,441,669
0
0
null
null
null
null
UTF-8
R
false
false
16,147
r
EDA.R
library(nycflights13) library(tidyverse) library(dplyr) library(ggplot2) library(ggpubr) library(hexbin) library(ggstance) #Q1 - Look at the number of cancelled flights per day. Is there a pattern? Is the proportion of cancelled flights related to the average delay? #part 1- find number of flights schedul...
d3e1325a646d460662824bbb60dfcceece4bf45d
b65abc4f3b8395a8cd1ad037055f1dfc4693cb94
/man/pathway_names.Rd
2823a1f7c01de0f2a16262cca6c93deeb4dedaae
[]
no_license
cran/TPEA
6aeabcb2d4fb9bb493a3804335f37b4474801346
a5c1c4273bac35b2ef8ab0ff1f0367ac48b26f70
refs/heads/master
2021-01-18T17:40:12.141616
2017-06-25T14:42:32
2017-06-25T14:42:32
71,983,452
1
0
null
null
null
null
UTF-8
R
false
false
177
rd
pathway_names.Rd
\name{pathway_names} \alias{pathway_names} \docType{data} \title{Pathway names in KEGG Database} \description{All pathway names we used in this method} \keyword{datasets}
193af8dceebfab081f61feeeb7da0a4de65013ba
baebf17a7eb0f8c8d1bbb1eb5ab3256308576f11
/man/svgPanZoom.Rd
1ce5e2d3957b7281362d317193a7df893f92d8f5
[ "BSD-3-Clause", "MIT" ]
permissive
arturochian/svgPanZoom
44fe7ab29bc11c80fbac01f9b9fb096434494858
32146c2b2a5c0de0e819906d3f96fe7a6176feab
refs/heads/master
2020-12-27T15:28:43.668326
2015-01-12T23:10:45
2015-01-12T23:10:45
null
0
0
null
null
null
null
UTF-8
R
false
false
296
rd
svgPanZoom.Rd
% Generated by roxygen2 (4.0.2): do not edit by hand \name{svgPanZoom} \alias{svgPanZoom} \title{Pan and Zoom R graphics} \usage{ svgPanZoom(svg, ..., width = NULL, height = NULL) } \description{ Add panning and zooming to almost any R graphics and hopefully and eventually other htmlwidgets. }
53242397b412e505a0a73978cc84541307b7162a
ac42cb637f8a5b15d6dbab9b5b5ccd6470102f17
/Codes/concat_and_gapfill_climate_data_from_Kenya.R
889ddaf845f8b7f57e074e4972ec21a9bd860b52
[]
no_license
rsippy/EVP
7e6feff73e60bedba222b94b23266e3875c1eb16
3ef3302d7ab7b212aeca0ae1270ff3f66127eebc
refs/heads/master
2020-06-14T21:10:22.799880
2019-06-14T06:30:12
2019-06-14T06:30:12
null
0
0
null
null
null
null
UTF-8
R
false
false
10,348
r
concat_and_gapfill_climate_data_from_Kenya.R
# concatenate climate data from redcap and gapfill missing logger data -------- rm(list=ls()) #remove previous variable assignments # load libraries library(tidyverse) library(plyr) # load and format data redcap data --------------------------------------------------------------------- # import redcap data as 'redcap...
2dff0b0c6e8ad009199b1705ddf8e45fe66ab960
922fe381b8ea87a77dd6011fb875d0c13dee325e
/cum_flux_summaries_GWP.R
5d1d61461dbf8147ce76404b25604b40ae970d6b
[]
no_license
pz10/all_incubations
94e36a596c716a8eee00b4fab4da9bb3c34ee86f
75dd3f03709652cf4ccf50e5516f1c4ee074474a
refs/heads/master
2021-01-19T00:43:38.271134
2017-04-04T15:40:37
2017-04-04T15:40:37
87,204,294
0
0
null
null
null
null
UTF-8
R
false
false
19,864
r
cum_flux_summaries_GWP.R
mydata <- copy(data) # calcultate GWP CO2 eq mydata[, CH4.4replicates:= CH4] mydata[is.na(CH4.4replicates), CH4.4replicates:= 0] gwpCH4 <- 25 gwpN2O <- 298 mydata[,GWP.CO2:= CO2] mydata[,GWP.CH4:= CH4.4replicates/1000*16/12 * gwpCH4 * 12/44] mydata[,GWP.N2O:= N2O/1000*44/28 * gwpN2O * 12/44] mydata[,GWP.al...
2dc368d4fd8fad526bffb0eb9521f5f81ea4469f
1a50b4f1ec326c3c876071f7455b623abf5e84c3
/man/summary.binomscreenr.Rd
024e02b265c729a1f4e1a18af8b485d835c0dcbd
[]
no_license
larajiuk/screenr
671d3201c8a6d2d269d4c236afef7558cc64e7ab
d5dc80934258f3f68350c0318ccf31d4617e952f
refs/heads/master
2022-10-20T16:24:50.804955
2020-06-23T19:56:52
2020-06-23T19:56:52
null
0
0
null
null
null
null
UTF-8
R
false
true
664
rd
summary.binomscreenr.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/binomialScreening.R \name{summary.binomscreenr} \alias{summary.binomscreenr} \title{Print Summaries of \code{binomscreenr} Objects} \usage{ \method{summary}{binomscreenr}(object, diagnostics = FALSE, ...) } \arguments{ \item{object}{an object...
9086b2fdf157d2881219ff9baa61bc37c01aef79
ffa84a5066a4b6c780abe9dad26b08f9ac5416e1
/package/binomial/tests/testthat/test-summary.R
b8ffe47dbca7f5b1e2768c5554ec02f786204558
[]
no_license
justinhan33/R-Package
1cf161399957edbef135330c4487535cf29e2e57
806fe67da844a79ff01fbadaf68f18f145e47559
refs/heads/master
2020-12-14T05:39:10.787925
2020-01-18T01:04:38
2020-01-18T01:04:38
234,659,557
1
0
null
null
null
null
UTF-8
R
false
false
3,464
r
test-summary.R
context("Tests for auxiliary functions") #aux_mean test_that("aux_mean is less than or equal to the first parameter", { expect_lte(aux_mean(10, 0.5), 10) expect_lte(aux_mean(10, 1), 10) expect_lte(aux_mean(10, 0), 10) expect_lte(aux_mean(5, 0.5), 5) expect_lte(aux_mean(5, 1), 5) expect_lte(aux_mean(5, 0),...
bb3e3a8d3d6c03494a7945430bf1ea2c0dd4c5b4
41977022b45c051d1091ae99a6c01e42fc2169bb
/seq ana lab 2/lab4.R
a83c2f6beac52dbded155c95814a2c63f2ced166
[]
no_license
wopoczynski/R
fc2ff7b5a7b8e7139b4c6af75b20b1d969b03356
a5a428e4eb811930b44531e364b058ef6f487d15
refs/heads/master
2021-01-20T05:22:00.351244
2017-08-25T20:21:57
2017-08-25T20:21:57
101,439,459
0
0
null
null
null
null
UTF-8
R
false
false
1,056
r
lab4.R
dlchrom1=234560296; dlchrom3=203221608; dlchrom4=173516952; dlchrom8=150392723; dlchrom12=108540874; dlchrom18=75010233; contig1=1+2698+161+14809; contig3=1+2323+171+11569; contig4=1+9831+71+1664; contig8=1215+1+7950+63; contig12=820+1+28+5707; contig18=690+1+3904+39 dlugosc=c(dlchrom1,dlchrom3,dlchrom4,dlchrom8,dlchr...
86fb9fc91c4f7121dc7167a365bb36df07932ec8
bdb965469633a334d1755c5e500c200a083dc1fe
/prostateCancerFunctions.R
fa1128ca1b3faa5c6553720e532d6c783ce673d9
[]
no_license
ysvang/ProstateCancerDream
e14e3f6f1caf93c884c512a09a1b70445a70ac9e
95cd8329359dd6342c3474c393cebf98e00eebb1
refs/heads/master
2021-01-10T01:09:14.446248
2015-10-13T06:27:59
2015-10-13T06:27:59
44,156,376
0
0
null
null
null
null
UTF-8
R
false
false
9,424
r
prostateCancerFunctions.R
library(survival) library(pec) library(MASS) library(muhaz) library(caret) library(matrixStats) library(gbm,lib.loc ='gbmci') library(glmnet) # read in training and testing data readData <- function(trainFile, testFile) { trainingDF <- read.csv(trainFile) testDF <- read.csv(testFile) time <- read.csv(...
2f50c63ef1fba594d6a040796a2998875080eed7
8c84ea2e7e9c74c085ac1c04d3af2f2818264e97
/scripts/ch08.R
476ae63ad64de5139d1a57ffae90242c46657d5c
[]
no_license
liao961120/rethinking_code
250351fc54e61dd81e8e23bacf9c1e4a4a35b346
5b4d07eb7a71c5735825066c564dec11b399f6aa
refs/heads/main
2023-06-01T13:03:19.506478
2021-06-20T05:16:14
2021-06-20T05:16:14
335,544,180
0
2
null
null
null
null
UTF-8
R
false
false
6,079
r
ch08.R
#+ Setup remotes::install_github('rmcelreath/rethinking', upgrade=F) library(rethinking) #' ## R code 8.1 #+ R code 8.1 library(rethinking) data(rugged) d <- rugged # make log version of outcome d$log_gdp <- log( d$rgdppc_2000 ) # extract countries with GDP data dd <- d[ complete.cases(d$rgdppc_2000) , ] # rescale...
d2264f3152780508fbaf630d4e1cccba7f000937
ea2da1ab290bc772e0804f0d22f070876bfe255f
/inst/scripts/Example-1.R
9b98641df719454ff8c6468166f2180dae802b58
[]
no_license
YinanZheng/HIMA
fe9c2273e5c27b0316fe298fbc4437a392e21b63
aefb1a44b846ab1711d3a4f65b764c87ff597fea
refs/heads/master
2023-05-12T15:54:32.116778
2023-04-29T01:56:04
2023-04-29T01:56:04
47,419,574
15
19
null
2018-03-01T17:45:29
2015-12-04T17:38:51
R
UTF-8
R
false
false
1,354
r
Example-1.R
# Generate HIMA example based on real-world dataset - 1 (linear outcome) set.seed(1029) p <- 300 # the dimension of mediators q <- 2 # the dimension of covariates n <- 300 # sample size alpha <- matrix(0,1,p) # the coefficients for X -> M beta <- matrix(0,1,p) # the coefficients for M -> Y alpha[1:5] <- 0.5 beta[1...
5caa0e53938107c5f69a5589946e0fbee80aaaad
db57b8d257b2ff7adbe8b5e62acf40d3658a15a8
/Oldprogram/reading_NGK.r
9d1e1c7e7125a521d4814e5fb57910f3c6a2c755
[]
no_license
inyoungkim1/NonnegativeGarroteKernel
7594e4eaba1146d35933273fcf94e32cc760ca93
0c66f79bb0d9510d3ab1d34f631c0108c12583e6
refs/heads/master
2020-07-11T08:31:34.173482
2019-09-04T19:15:33
2019-09-04T19:15:33
204,490,473
1
0
null
null
null
null
UTF-8
R
false
false
2,049
r
reading_NGK.r
n<-64 ############################################################# #What user needs to change: Kernel and path name<-"Gauss" path=paste("/FolderName/Test_",name,"_n=",n,"_p=80.csv",sep="") ############################################################# name<-"Gauss" path=paste("/FolderName/Test_",name,"_n=",n,"...
5cb101c68f66a1aedc24470089a270ed1fc4f612
ffdea92d4315e4363dd4ae673a1a6adf82a761b5
/data/genthat_extracted_code/JumpTest/examples/jumptestday.Rd.R
1acecf107b3fc8994466702280a3b8257c3620dd
[]
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
229
r
jumptestday.Rd.R
library(JumpTest) ### Name: jumptestday ### Title: Nonparametric jump test for each interval ### Aliases: jumptestday ### ** Examples orip <- runif(100) testres <- jumptestday(orip) ts <- testres@stat pv <- testres@pvalue
827b6ed97c10f76c2976269012e62e3d3fdfb9c5
1e6f64fb9f3adcf2f78b5d53a1f26fd11c7ee0ac
/merging_accuracytable_7.R
6f259a4112a794b782fb18fc8e1995252bfa01e4
[]
no_license
bigtiger94/droughtPrediction
30fac36a49e6042d52263c474fbfe7673fcda7fb
e52368e65f7998158934c29df629b154ac616033
refs/heads/master
2022-11-27T12:17:54.984625
2020-08-02T11:19:20
2020-08-02T11:19:20
284,443,046
0
0
null
null
null
null
UTF-8
R
false
false
2,406
r
merging_accuracytable_7.R
dindexname = "sri12" bsnnames = c("soyang", "daecheong", "andong", "sumjin", "chungju", "hapcheon", "namgang", "imha") bsncodes = c(1012, 3008, 2001, 4001, 1003, 2015, 2018, 2002) period.irr = c(4:9) period.nonirr = setdiff(c(1:12), period.irr) bsncase = 1 for (bsncase in c(1:length(bsncodes))){ targetbsn = bsncodes[...
98e2dc4f5103387601b5b3258c81af7a35600e9a
d0d0f1aa8690b903b946c90dd368d7ba910818d5
/Enders Materials/AMASS Workshop/R/Ex3.R
8237c3e82601b11b8697aee085ee6f179e0afca6
[]
no_license
mhalvo/missingdata
5fc3722a5d59a89fc7a44fddba549a18e8daa2c5
7e5bb66e31790e9a8f27d115c7b606a9413be002
refs/heads/master
2021-06-24T17:54:28.537775
2021-06-21T20:01:35
2021-06-21T20:01:35
149,327,993
0
0
null
null
null
null
UTF-8
R
false
false
678
r
Ex3.R
# Required packages library(mitml) # Read data filepath <- "~/desktop/examples/imps.csv" impdata <- read.csv(filepath, header = F) names(impdata) <- c("imputation","id","female","diagnose","sleep","pain","posaff","negaff","stress") # Compute product variable impdata$femxpain <- impdata$female * impdata$pain # Analyz...
f39a6d6f040642d658cd108151acaea01967fa37
506ec6d6c5eaf172576da7c1df34d7ad629aedc3
/man/rGibbsHurdle.Rd
4b82060ec624d1707c224b562cb20af965bfbc7f
[]
no_license
amcdavid/HurdleNormal
fad2957cabad451b94283bc3aefc82de706d6b0f
425d4853a0433e8c390988d07bac3e8ebcdae682
refs/heads/master
2022-05-13T17:14:59.717569
2022-05-09T18:16:16
2022-05-09T18:16:16
49,632,891
5
4
null
null
null
null
UTF-8
R
false
true
1,005
rd
rGibbsHurdle.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/HurdleDistributions.R \name{rGibbsHurdle} \alias{rGibbsHurdle} \alias{cpp_rGibbsHurdle} \title{Sample from a multivariate hurdle model} \usage{ rGibbsHurdle(G, H, K, Nt, burnin = 500, thin = 0.1, tol = 5e-04, Nkeep = 500) } \arguments{ \item{...
b3f3a7afad8645151e9a85221131b599882fb0ef
bf0f6a1900c953a9477967d91b4b68422ce926a7
/tests/testthat/test_to_ast.R
2a2bba77ad05931f38b9b3ffe82c641cb020148a
[]
no_license
clarkfitzg/rstatic
95f183455580511115168e6962bc3668ad2a763d
906373cbbb241390aaa37a5d963fa7c0537f5aad
refs/heads/master
2021-01-16T00:00:08.242471
2017-07-31T01:06:13
2017-07-31T01:06:13
99,951,249
0
0
null
2017-08-10T17:59:13
2017-08-10T17:59:13
null
UTF-8
R
false
false
1,732
r
test_to_ast.R
context("toAST") test_that("call args have correct parent", { result = toAST( call("is.na", 42L) ) # ----- expect_is(result, "Call") expect_is(result$args[[1]], "Integer") expect_identical(result, result$args[[1]]$parent) }) test_that("primitives are converted to Primitives", { result = toAST(sum) # ...
c9e8bb407c760885198ac388fdc98ff2f41e48ef
091d556043c26004c97265787f83a09698df7e61
/inst/vosondash/ui/popovers.R
bd3e94abf417f83d5037d3974e61026f9ad0d78f
[]
no_license
cran/VOSONDash
8b289008643072ab617e797b2f94b5e06e7beb1f
2146bce8bf765f33b512349f3d4a9c274a163d70
refs/heads/master
2021-07-23T22:20:35.176937
2020-07-27T12:20:02
2020-07-27T12:20:02
201,459,148
0
0
null
null
null
null
UTF-8
R
false
false
6,538
r
popovers.R
po_reseed_graph <- function() { title <- "Re-seed Graph" content <- "Generate a new random number to seed the graph layout." list(title = title, content = content) } po_graph_layout <- function() { title <- "Graph Layout Algorithms" content <- paste0("Select a network layout for the graph.<br><br...
05ef02fd8bf79290db1e7268a8b7d6cc982f858b
e0e1c770c793ffbad0ce09a1724adbc1534bcc94
/R/makePredictions.R
99205cb6dc6485ab4d52758cd97dc285af699af7
[]
no_license
ctloftin/NCAATournament
955a6c14bb5c2d2bf5e71dfeb4e30683f738513c
91b8c72e77c27025263d34cf3ad5718b6015db28
refs/heads/master
2021-09-10T08:40:07.988384
2018-03-23T03:35:25
2018-03-23T03:35:25
124,843,958
0
0
null
null
null
null
UTF-8
R
false
false
1,676
r
makePredictions.R
#'@export makePredictions <- function() { results <- read.csv(file = "data/HistNCAATournamentResults.csv", header = T, stringsAsFactors = F) results$GID <- c(1:nrow(results)) lmmodel <- create_model(fromSample = T, yearToTest = NULL) test <- lmmodel[[2]] lmmodel <- lmmodel[[1]] # test <- get_kp_data(resu...
5df34acbfda9bc1c4b952ae5d43ddbfea013d6dc
625407d36cc192d1df51593899bf7514ba9dc6ee
/plot3.R
aada53b42544418439b29ae0ef0ad9dd4ba6a9b4
[]
no_license
SergeyBykov1/ExData_Plotting1
6dadb9a3fb342dd66ae9e6f2c9dd4048c717de93
16f248a8f822d887cc925e5acaf1daaf60e993e3
refs/heads/master
2021-01-22T14:46:16.190904
2014-10-15T02:28:17
2014-10-15T02:28:17
null
0
0
null
null
null
null
UTF-8
R
false
false
914
r
plot3.R
# # Exploratory Data Analysis # Course Project 1 Extension # Plot 3 # # needs data.table package for fast reading require("data.table") full_data <- fread('household_power_consumption.txt', na.strings="?") target_dates <- as.Date(c("2007-02-01", "2007-02-02")) target_data <- full_data[as.Date(full_data$Date, format=...
40e0e2041bbbe6f4c99185f7b3b0ae445250441e
f3d74693d480724b8e594559ba2adb7a286d7ee6
/ar_ordered.R
ceaf72c7d72e38c5f6f9771f89c2fe38d0613c9f
[]
no_license
deleaf/impois
b2a0a1823fb82528d7ce02dca91f0fc07fed28af
a88419a6be0dc82d01672c3f03179e3e76d40006
refs/heads/master
2020-03-09T08:23:20.346793
2018-04-28T21:38:49
2018-04-28T21:38:49
128,687,863
0
0
null
null
null
null
UTF-8
R
false
false
580
r
ar_ordered.R
# level gamma acceptance region from ordering of X's at fixed lambda and b # r is the ranking function ar.ordered <- function(lambda, b, gamma, r) { X = 0:170 R = r(X, lambda, b) # get sort indices R.sort.idx = sort(R, decreasing=T, index.return=T)$ix # probability masses px.sort = dpois(X[R.sort.idx], la...
ed135f3b253e12fb6074bacd20370db7718ec44b
2a4957cf70afb6f0c8da2cf41365d7accf701558
/man/FSR_standalone.Rd
193cbf5740c8ddf1bf71652a104e01e56823392a
[ "MIT" ]
permissive
klausfrieler/psyquest
85f4a9ac205cf3fc00baff845a1db55ed10161e6
3667bdf12f206eb7467482ec9945b2a6ff3ced80
refs/heads/master
2023-07-29T12:46:53.737338
2023-07-12T14:04:06
2023-07-12T14:04:06
364,350,973
1
0
NOASSERTION
2022-01-26T11:33:54
2021-05-04T18:32:36
R
UTF-8
R
false
true
971
rd
FSR_standalone.Rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/standalone.R \name{FSR_standalone} \alias{FSR_standalone} \title{FSR Standalone} \usage{ FSR_standalone(languages = psyquest::languages(), subscales = NULL, ...) } \arguments{ \item{languages}{(Character vector) Determines the languages avail...