content
large_stringlengths
0
6.46M
path
large_stringlengths
3
331
license_type
large_stringclasses
2 values
repo_name
large_stringlengths
5
125
language
large_stringclasses
1 value
is_vendor
bool
2 classes
is_generated
bool
2 classes
length_bytes
int64
4
6.46M
extension
large_stringclasses
75 values
text
stringlengths
0
6.46M
#################################################################################################### ## ## Testing splitFrame with larger datasets ## splitFrame should not take longer than parsing ## #################################################################################################### setwd(normalizePat...
/h2o-r/tests/testdir_misc/runit_splitFrame_loop_large.R
permissive
tomasgreif/h2o-3
R
false
false
1,980
r
#################################################################################################### ## ## Testing splitFrame with larger datasets ## splitFrame should not take longer than parsing ## #################################################################################################### setwd(normalizePat...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simRandom.R \name{rst} \alias{rst} \title{Simulate spatial and temporal random effects} \usage{ rst( n = 1, type = c("s", "t", "st")[1], type.s = "ICAR", type.t = c("RW1", "RW2")[2], Amat = NULL, n.t = NULL, scale.model = TRUE )...
/man/rst.Rd
no_license
cran/SUMMER
R
false
true
2,936
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/simRandom.R \name{rst} \alias{rst} \title{Simulate spatial and temporal random effects} \usage{ rst( n = 1, type = c("s", "t", "st")[1], type.s = "ICAR", type.t = c("RW1", "RW2")[2], Amat = NULL, n.t = NULL, scale.model = TRUE )...
# Read in data -------------------------------------------------------------------------------- beer_states <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-03-31/beer_states.csv') # Organize data -----------------------------------------------------------------...
/Week14-Beer/beerPlot.R
no_license
riveraderrick5/tidytuesday
R
false
false
3,548
r
# Read in data -------------------------------------------------------------------------------- beer_states <- readr::read_csv('https://raw.githubusercontent.com/rfordatascience/tidytuesday/master/data/2020/2020-03-31/beer_states.csv') # Organize data -----------------------------------------------------------------...
library(ggplot2) #Sets the theme for all the plots #theme_set(theme_minimal()) pl <- ggplot(mtcars,aes(x = wt,y = mpg)) + geom_point() pl1 <- pl + theme_dark() pl1
/GGPLOT2/Themes.R
no_license
Himanshu-rathee/R-Basics--Visualization-
R
false
false
166
r
library(ggplot2) #Sets the theme for all the plots #theme_set(theme_minimal()) pl <- ggplot(mtcars,aes(x = wt,y = mpg)) + geom_point() pl1 <- pl + theme_dark() pl1
#ui.R library(shiny) require(shinydashboard) shinyUI(pageWithSidebar( # Application title headerPanel("Hello Shiny!"), # Sidebar with a slider input for number of observations sidebarPanel( sliderInput("KPI1", "KPI_Low_Max_value:", min = 1, max = 4750, ...
/07 Shiny/03 Crosstab in a SidebarPanel/ui.R
no_license
CannataUTDV/DataVisualization
R
false
false
625
r
#ui.R library(shiny) require(shinydashboard) shinyUI(pageWithSidebar( # Application title headerPanel("Hello Shiny!"), # Sidebar with a slider input for number of observations sidebarPanel( sliderInput("KPI1", "KPI_Low_Max_value:", min = 1, max = 4750, ...
# This is the user-interface definition of a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # library(shiny) library(radarchart) library(leaflet) shinyUI(fluidPage(theme="bootstrap.min.css", includeCSS("style.css"), tags$h1("FIFA 18 Analyt...
/Web/ui.R
no_license
Ettouhami/FIFA18-Data-Visualization
R
false
false
734
r
# This is the user-interface definition of a Shiny web application. # You can find out more about building applications with Shiny here: # # http://shiny.rstudio.com # library(shiny) library(radarchart) library(leaflet) shinyUI(fluidPage(theme="bootstrap.min.css", includeCSS("style.css"), tags$h1("FIFA 18 Analyt...
\name{compute.dif} \alias{compute.dif} \title{Function to compute simple statistics with unpaired data} \description{ This function computes a number of statistics for each gene in the unpaired data case. In particular, it computes the result of the homoscedastic and gene-specific variance model. } \usage{ comp...
/man/compute.dif.Rd
no_license
cran/varmixt
R
false
false
986
rd
\name{compute.dif} \alias{compute.dif} \title{Function to compute simple statistics with unpaired data} \description{ This function computes a number of statistics for each gene in the unpaired data case. In particular, it computes the result of the homoscedastic and gene-specific variance model. } \usage{ comp...
rm(list = ls(all = TRUE)) # clear the workspace readline("Warning replicating this figure takes a very long time. To run an aproximation run `demo(demo8Aapprox)` \nType <Return>\t to start :") # Figure 8A eightA <- aKMajorityRuleSimulation(folderName="Figure8A", numberOfIterations...
/demo/demoFigure8A.R
no_license
codeForReviewer/kMajorityRule
R
false
false
1,705
r
rm(list = ls(all = TRUE)) # clear the workspace readline("Warning replicating this figure takes a very long time. To run an aproximation run `demo(demo8Aapprox)` \nType <Return>\t to start :") # Figure 8A eightA <- aKMajorityRuleSimulation(folderName="Figure8A", numberOfIterations...
source("../scripts/analysis/trackAnalysisFunctions.R") # Input arguments from stdin: argv <- commandArgs( trailingOnly = TRUE ) trackfilename <- argv[1] dim <- as.numeric( argv[2] ) parms <- unlist( strsplit( argv[3], " " ) ) parmnames <- unlist( strsplit( argv[4], " " ) ) nsim <- as.numeric( argv[5] ) simgroupsize <...
/figures/scripts/analysis/analyze-speed-persistence-perim.R
permissive
ingewortel/2020-ucsp
R
false
false
4,944
r
source("../scripts/analysis/trackAnalysisFunctions.R") # Input arguments from stdin: argv <- commandArgs( trailingOnly = TRUE ) trackfilename <- argv[1] dim <- as.numeric( argv[2] ) parms <- unlist( strsplit( argv[3], " " ) ) parmnames <- unlist( strsplit( argv[4], " " ) ) nsim <- as.numeric( argv[5] ) simgroupsize <...
sim.data_dep<-function(n,Z,a,b,c,Delta,Xi1,Sigma2) { k<-nrow(b) M.coef<-rbind(a,Delta) D<-rbind(c,b) eps1<-matrix(NA,n,k) M<-matrix(NA,n,k) for(j in 1:k) { eps1[,j]<-rnorm(n,sd=sqrt(Xi1[j,j])) if(j==1) { M[,j]<-Z*A[1,1]+eps1[,j] }else { M[,j]<-cbind(Z...
/application/function 1 for PathwayLasso.R
no_license
paipaiqi167/High-Dimensional-Median-Analysis
R
false
false
674
r
sim.data_dep<-function(n,Z,a,b,c,Delta,Xi1,Sigma2) { k<-nrow(b) M.coef<-rbind(a,Delta) D<-rbind(c,b) eps1<-matrix(NA,n,k) M<-matrix(NA,n,k) for(j in 1:k) { eps1[,j]<-rnorm(n,sd=sqrt(Xi1[j,j])) if(j==1) { M[,j]<-Z*A[1,1]+eps1[,j] }else { M[,j]<-cbind(Z...
#!/usr/bin/Rscript # Script to quickly merge two dataset by a shared specific column # library here library(data.table) library(dplyr) # set for command line # File1, File2, Output args <- commandArgs(TRUE) in1 <- args[1] in2 <- args[2] out <- args[3] # Read the two files f1 <- fread(in1, header=T) f2 <- fread(in2, ...
/data_join.R
no_license
dangliu/Rscripts
R
false
false
546
r
#!/usr/bin/Rscript # Script to quickly merge two dataset by a shared specific column # library here library(data.table) library(dplyr) # set for command line # File1, File2, Output args <- commandArgs(TRUE) in1 <- args[1] in2 <- args[2] out <- args[3] # Read the two files f1 <- fread(in1, header=T) f2 <- fread(in2, ...
plot.Weather.raw <- function(feature) { t <- sort(table(feature), decreasing=TRUE) par(mar=c(5,12,5,2)) barplot(t, horiz=TRUE, las=1, main="Weather (raw)") } if (!exists(".no.output")) { load("RData/Weather.raw.RData") pdf(file="Weather.raw.RPlot.pdf") plot.Weather.raw(feature) }
/src/feature/plot/Weather.raw.R
no_license
donaldong/montgomery_county_crash
R
false
false
293
r
plot.Weather.raw <- function(feature) { t <- sort(table(feature), decreasing=TRUE) par(mar=c(5,12,5,2)) barplot(t, horiz=TRUE, las=1, main="Weather (raw)") } if (!exists(".no.output")) { load("RData/Weather.raw.RData") pdf(file="Weather.raw.RPlot.pdf") plot.Weather.raw(feature) }
# _________________________________________________________________________ # Harmonize AUS Traits ---- # TODO add a more detailed description # _________________________________________________________________________ # read in preprocessed trait data Trait_AUS <- readRDS( file = file.path( data_cleaned, ...
/R/02_AUS_harmonize_traits.R
no_license
KunzstLD/Invertebrate_traits
R
false
false
24,712
r
# _________________________________________________________________________ # Harmonize AUS Traits ---- # TODO add a more detailed description # _________________________________________________________________________ # read in preprocessed trait data Trait_AUS <- readRDS( file = file.path( data_cleaned, ...
corr <- function(directory, threshold = 0) { mylist <- list.files(path = directory, pattern = '.csv') df <- complete(directory) ids <- df[df['nobs'] > threshold, ]$id corr <- numeric() for (i in ids) { mydata <- read.csv(mylist[i]) dff <- mydata[co...
/corr.R
no_license
johnky100/ProgrammingAssignment2
R
false
false
440
r
corr <- function(directory, threshold = 0) { mylist <- list.files(path = directory, pattern = '.csv') df <- complete(directory) ids <- df[df['nobs'] > threshold, ]$id corr <- numeric() for (i in ids) { mydata <- read.csv(mylist[i]) dff <- mydata[co...
library(easyPubMed) gene <- openxlsx::read.xlsx("/cluster/home/chenhy/project/autism/result/variant_ewas.xlsx",1)$Gene article <- data.frame() for (i in gene) { #i <- intersect_gene[1] final_df <- NULL my_query <- sprintf('autism %s',i) my_query <- get_pubmed_ids(my_query) my_batches <- if(my_query$Count>1)se...
/src/.Rproj.user/96988426/sources/s-69736426/2C3DE9CC-contents
no_license
JujiaoKang/Brainspan-1
R
false
false
1,214
library(easyPubMed) gene <- openxlsx::read.xlsx("/cluster/home/chenhy/project/autism/result/variant_ewas.xlsx",1)$Gene article <- data.frame() for (i in gene) { #i <- intersect_gene[1] final_df <- NULL my_query <- sprintf('autism %s',i) my_query <- get_pubmed_ids(my_query) my_batches <- if(my_query$Count>1)se...
% Generated by roxygen2 (4.1.0.9000): do not edit by hand % Please edit documentation in R/pretty.r \name{pretty_dates} \alias{pretty.dates} \alias{pretty.day} \alias{pretty.hour} \alias{pretty.min} \alias{pretty.month} \alias{pretty.point} \alias{pretty.sec} \alias{pretty.unit} \alias{pretty.year} \alias{pretty_dates}...
/man/pretty_dates.Rd
no_license
apys/lubridate
R
false
false
1,514
rd
% Generated by roxygen2 (4.1.0.9000): do not edit by hand % Please edit documentation in R/pretty.r \name{pretty_dates} \alias{pretty.dates} \alias{pretty.day} \alias{pretty.hour} \alias{pretty.min} \alias{pretty.month} \alias{pretty.point} \alias{pretty.sec} \alias{pretty.unit} \alias{pretty.year} \alias{pretty_dates}...
#read data power <- read.table("household_power_consumption.txt",skip=1,sep=";", na.strings="?") #set column names names(power) <- c("Date","Time","Global_active_power","Global_reactive_power","Voltage","Global_intensity","Sub_metering_1","Sub_metering_2","Sub_metering_3") #Convert the Date variables to Date classes ...
/plot2.R
no_license
nikki-carumba/ExData_Plotting1
R
false
false
834
r
#read data power <- read.table("household_power_consumption.txt",skip=1,sep=";", na.strings="?") #set column names names(power) <- c("Date","Time","Global_active_power","Global_reactive_power","Voltage","Global_intensity","Sub_metering_1","Sub_metering_2","Sub_metering_3") #Convert the Date variables to Date classes ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/monday_query.R \name{monday_query} \alias{monday_query} \title{Get custom API request string} \usage{ monday_query(query) } \arguments{ \item{query}{Query parameters for the Graph API} } \description{ Query Monday.com with json encoded string...
/man/monday_query.Rd
no_license
lynuhs/MondayR
R
false
true
367
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/monday_query.R \name{monday_query} \alias{monday_query} \title{Get custom API request string} \usage{ monday_query(query) } \arguments{ \item{query}{Query parameters for the Graph API} } \description{ Query Monday.com with json encoded string...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 2 c Performing E1-Autarky iteration. c Input Parameter (command line, file): c input filename QBFLIB/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/axquery_trueque_1344n.qdimacs c output filename /tmp/dc...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/axquery_trueque_1344n/axquery_trueque_1344n.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
644
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 2 c Performing E1-Autarky iteration. c Input Parameter (command line, file): c input filename QBFLIB/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/axquery_trueque_1344n.qdimacs c output filename /tmp/dc...
#Some code #Some more # WE GONNA HAVE SOME FUNNNN
/Some code.R
no_license
KennethdeRonde/somecode
R
false
false
51
r
#Some code #Some more # WE GONNA HAVE SOME FUNNNN
# *********************************************************************************************** # Title : シミュレーションデータの作成(linear_Gaussian_process_mixed_effects_models.R) # Objective : TODO # Created by: Owner # Created on: 2021/03/20 # URL : https://github.com/fabsig/GPBoost/blob/master/R-package/demo/linear...
/library/gpboost/demo/func/generate_data_31.R
no_license
delta0726/r-hierarchical_model
R
false
false
2,439
r
# *********************************************************************************************** # Title : シミュレーションデータの作成(linear_Gaussian_process_mixed_effects_models.R) # Objective : TODO # Created by: Owner # Created on: 2021/03/20 # URL : https://github.com/fabsig/GPBoost/blob/master/R-package/demo/linear...
#Problem 3 library("faraway") data(pima) pregnant<-pima.df$pregnant glucose<-pima.df$glucose diastolic<-pima.df$diastolic triceps<-pima.df$triceps insulin<-pima.df$insulin bmi<-pima.df$bmi diabetes<-pima.df$diabetes age<-pima.df$age test<-pima.df$test #Part 1 summary(pima) #Looking at the summary, we see that there ar...
/JHigh HW 4/HW 4 Problem 3.R
no_license
joehigh/EN.550.413
R
false
false
7,568
r
#Problem 3 library("faraway") data(pima) pregnant<-pima.df$pregnant glucose<-pima.df$glucose diastolic<-pima.df$diastolic triceps<-pima.df$triceps insulin<-pima.df$insulin bmi<-pima.df$bmi diabetes<-pima.df$diabetes age<-pima.df$age test<-pima.df$test #Part 1 summary(pima) #Looking at the summary, we see that there ar...
library(rpart) all_data = cbind(clean, imp[,-1]) all_data$logerror_q3 = NULL col_names = colnames(all_data) rm_names = c("id_parcel", "fips_blockid", "date") cn = col_names[(!(col_names %in% rm_names))] # train / test data split set.seed(2344) train_inx = sample(1:nrow(all_data), nrow(all_data)*0.7) train_data = a...
/models/st-simple_tree-v3.R
no_license
yimingwym/nycdsa_coh10_team_alpha
R
false
false
2,322
r
library(rpart) all_data = cbind(clean, imp[,-1]) all_data$logerror_q3 = NULL col_names = colnames(all_data) rm_names = c("id_parcel", "fips_blockid", "date") cn = col_names[(!(col_names %in% rm_names))] # train / test data split set.seed(2344) train_inx = sample(1:nrow(all_data), nrow(all_data)*0.7) train_data = a...
### Predicting Stock Returns with Cluster-Then-Predict # ReturnJan = the return for the company's stock during January (in the year of the observation). # ReturnFeb = the return for the company's stock during February (in the year of the observation). # ReturnMar = the return for the company's stock during Mar...
/Clustering/Unit6_Stocks.R
no_license
cldsouza/edX-Analytics-Edge
R
false
false
6,999
r
### Predicting Stock Returns with Cluster-Then-Predict # ReturnJan = the return for the company's stock during January (in the year of the observation). # ReturnFeb = the return for the company's stock during February (in the year of the observation). # ReturnMar = the return for the company's stock during Mar...
###########################################################################/** # @RdocClass AromaUnitPscnBinarySet # # @title "The AromaUnitPscnBinarySet class" # # \description{ # @classhierarchy # # An AromaUnitPscnBinarySet object represents a set of # @see "AromaUnitPscnBinaryFile"s with \emph{identical...
/aroma.core/R/AromaUnitPscnBinarySet.R
no_license
ingted/R-Examples
R
false
false
11,394
r
###########################################################################/** # @RdocClass AromaUnitPscnBinarySet # # @title "The AromaUnitPscnBinarySet class" # # \description{ # @classhierarchy # # An AromaUnitPscnBinarySet object represents a set of # @see "AromaUnitPscnBinaryFile"s with \emph{identical...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bounding-box-xy.R \name{bounding_box_xy} \alias{bounding_box_xy} \title{Compute the bounding window from coordinates} \usage{ bounding_box_xy(x) } \arguments{ \item{x}{Columnwise matrix of coordinates, n-dimensional.} } \description{ Compute ...
/SGCS/man/bounding_box_xy.Rd
no_license
albrizre/spatstat.revdep
R
false
true
497
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bounding-box-xy.R \name{bounding_box_xy} \alias{bounding_box_xy} \title{Compute the bounding window from coordinates} \usage{ bounding_box_xy(x) } \arguments{ \item{x}{Columnwise matrix of coordinates, n-dimensional.} } \description{ Compute ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/summarizing_functions.R \name{reduce_epi_array} \alias{reduce_epi_array} \title{Successful Epidemics} \usage{ reduce_epi_array(results) } \arguments{ \item{results}{4-dimensional array of results (compartment, patch, time, simulation)} } \des...
/man/reduce_epi_array.Rd
permissive
ecohealthalliance/metaflu
R
false
true
374
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/summarizing_functions.R \name{reduce_epi_array} \alias{reduce_epi_array} \title{Successful Epidemics} \usage{ reduce_epi_array(results) } \arguments{ \item{results}{4-dimensional array of results (compartment, patch, time, simulation)} } \des...
library(excerptr) ### Name: get_excerpts ### Title: Clone the Excerpts Code from <URL: github.com> ### Aliases: get_excerpts ### ** Examples path <- file.path(tempdir(), "excerpts") get_excerpts(directory = path, force = TRUE) ## Not run: print(set_excertps_path(path = path))
/data/genthat_extracted_code/excerptr/examples/get_excerpts.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
284
r
library(excerptr) ### Name: get_excerpts ### Title: Clone the Excerpts Code from <URL: github.com> ### Aliases: get_excerpts ### ** Examples path <- file.path(tempdir(), "excerpts") get_excerpts(directory = path, force = TRUE) ## Not run: print(set_excertps_path(path = path))
dat <- read.csv("el6383/datafiles/output/output_4_1000.txt") dat$controller <- "pox" cnames <-c("red","controller") names(dat) <- cnames dat <- dat [-c(10),] final <- transform(dat, interval = colsplit(red,"=", names = c('switch', 'f/s'))) final <- transform(final, interval = colsplit(interval.f.s,"per", names = c('fp...
/review/projects/0015/plots/table_code.R
no_license
Roshni-Natarajan/HSN-Lab
R
false
false
6,388
r
dat <- read.csv("el6383/datafiles/output/output_4_1000.txt") dat$controller <- "pox" cnames <-c("red","controller") names(dat) <- cnames dat <- dat [-c(10),] final <- transform(dat, interval = colsplit(red,"=", names = c('switch', 'f/s'))) final <- transform(final, interval = colsplit(interval.f.s,"per", names = c('fp...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/zScore.R \name{zScore} \alias{zScore} \title{Calculate the Z-Score for a given transcript/unit} \usage{ zScore(PM, lambda, delta, exons = NULL) } \arguments{ \item{PM}{the raw observed intensities for the given unit. Must be a matrix with di...
/man/zScore.Rd
no_license
smped/BMEA
R
false
true
1,946
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/zScore.R \name{zScore} \alias{zScore} \title{Calculate the Z-Score for a given transcript/unit} \usage{ zScore(PM, lambda, delta, exons = NULL) } \arguments{ \item{PM}{the raw observed intensities for the given unit. Must be a matrix with di...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/iam_operations.R \name{iam_resync_mfa_device} \alias{iam_resync_mfa_device} \title{Synchronizes the specified MFA device with its IAM resource object on the AWS servers} \usage{ iam_resync_mfa_device(UserName, SerialNumber, AuthenticationCode...
/cran/paws.security.identity/man/iam_resync_mfa_device.Rd
permissive
sanchezvivi/paws
R
false
true
1,900
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/iam_operations.R \name{iam_resync_mfa_device} \alias{iam_resync_mfa_device} \title{Synchronizes the specified MFA device with its IAM resource object on the AWS servers} \usage{ iam_resync_mfa_device(UserName, SerialNumber, AuthenticationCode...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/qGG.R \name{qGG} \alias{qGG} \title{Quantile distribution function of the Generalized Gamma (GG) distribution} \usage{ qGG(u = NULL, RP = 1/(1 - u), para) } \arguments{ \item{u}{non-exceedance probability} \item{RP}{Return Period "don't use ...
/man/qGG.Rd
no_license
cran/LMoFit
R
false
true
778
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/qGG.R \name{qGG} \alias{qGG} \title{Quantile distribution function of the Generalized Gamma (GG) distribution} \usage{ qGG(u = NULL, RP = 1/(1 - u), para) } \arguments{ \item{u}{non-exceedance probability} \item{RP}{Return Period "don't use ...
# Created by Dongmei Chen library(ncdf4) library(ggplot2) library(grid) library(animation) library(parallel) library(doParallel) library(foreach) registerDoParallel(cores=28) source("/gpfs/projects/gavingrp/dongmeic/climate-space/R/boxplot_settings.R") years <- 1996:2015; nyr <- length(years) out <- "/gpfs/projects/ga...
/R/climate_space_paired_daily.R
permissive
dongmeic/climate-space
R
false
false
4,144
r
# Created by Dongmei Chen library(ncdf4) library(ggplot2) library(grid) library(animation) library(parallel) library(doParallel) library(foreach) registerDoParallel(cores=28) source("/gpfs/projects/gavingrp/dongmeic/climate-space/R/boxplot_settings.R") years <- 1996:2015; nyr <- length(years) out <- "/gpfs/projects/ga...
#' Positions of exons on build hg19 of the human genome #' #' Exon position extracted from the ensembl database version 71. #' #' @name exons.hg19 #' @md #' @docType data #' @format A data frame with 192,379 observations on the following 4 variables: #' * chromosome, a factor with levels `1`, `2` `3` `4`, `5` `6` `7` `...
/R/countBamInGranges.R
no_license
vplagnol/ExomeDepth
R
false
false
21,197
r
#' Positions of exons on build hg19 of the human genome #' #' Exon position extracted from the ensembl database version 71. #' #' @name exons.hg19 #' @md #' @docType data #' @format A data frame with 192,379 observations on the following 4 variables: #' * chromosome, a factor with levels `1`, `2` `3` `4`, `5` `6` `7` `...
\name{mergeCells-methods} \docType{methods} \alias{mergeCells} \alias{mergeCells-methods} \alias{mergeCells,workbook,character-method} \alias{mergeCells,workbook,numeric-method} \title{Merging cells} \description{ Merges cells in a worksheet. } \usage{ \S4method{mergeCells}{workbook,character}(object,sheet,r...
/man/mergeCells-methods.Rd
no_license
gnbrganchan/xlconnect
R
false
false
1,279
rd
\name{mergeCells-methods} \docType{methods} \alias{mergeCells} \alias{mergeCells-methods} \alias{mergeCells,workbook,character-method} \alias{mergeCells,workbook,numeric-method} \title{Merging cells} \description{ Merges cells in a worksheet. } \usage{ \S4method{mergeCells}{workbook,character}(object,sheet,r...
library(glue) library(uuid) DUMMY = UUIDgenerate() system(glue('docker build -t redditorapi --build-arg DUMMY={DUMMY} --file ./DockerfileApi .')) system(glue('docker build -t rpy --build-arg DUMMY={DUMMY} --file ./DockerfileRpy .')) system(glue('docker build -t redditorui --build-arg DUMMY={DUMMY} --file ./Dockerfile...
/build_docker.R
no_license
chpmoreno/ndexr-platform
R
false
false
469
r
library(glue) library(uuid) DUMMY = UUIDgenerate() system(glue('docker build -t redditorapi --build-arg DUMMY={DUMMY} --file ./DockerfileApi .')) system(glue('docker build -t rpy --build-arg DUMMY={DUMMY} --file ./DockerfileRpy .')) system(glue('docker build -t redditorui --build-arg DUMMY={DUMMY} --file ./Dockerfile...
summary.basta <- function(object,...){ extraArgs <- list(...) if (length(extraArgs) > 0) { if (!is.element('digits', names(extraArgs))){ digits <- 4 } else { digits <- extraArgs$digits } } else { digits <- 4 } if ("ModelSpecs" %in% names(object)) { object$modelSpecs <...
/Versions/BaSTA1.9.5/R/summary.basta.R
no_license
fercol/BaSTA
R
false
false
3,838
r
summary.basta <- function(object,...){ extraArgs <- list(...) if (length(extraArgs) > 0) { if (!is.element('digits', names(extraArgs))){ digits <- 4 } else { digits <- extraArgs$digits } } else { digits <- 4 } if ("ModelSpecs" %in% names(object)) { object$modelSpecs <...
NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") library(data.table) coal_scc = SCC[grep("coal", tolower(SCC$EI.Sector)), "SCC"] df = NEI[NEI[,"SCC"] %in% coal_scc,] em = aggregate(Emissions ~ year, df, sum) plot(em[,"year"], em[,"Emissions"], type = "l", xlab = ...
/lab7/lab7_plot4.R
no_license
osadchaya97/DataScienceCourseKNU2
R
false
false
388
r
NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") library(data.table) coal_scc = SCC[grep("coal", tolower(SCC$EI.Sector)), "SCC"] df = NEI[NEI[,"SCC"] %in% coal_scc,] em = aggregate(Emissions ~ year, df, sum) plot(em[,"year"], em[,"Emissions"], type = "l", xlab = ...
sem.fit = function( modelList, data, corr.errors = NULL, add.vars = NULL, grouping.vars = NULL, top.level.vars = NULL, adjust.p = FALSE, basis.set = NULL, pvalues.df = NULL, model.control = NULL, .progressBar = TRUE ) { if(!all(sapply(modelList, function(i) all(class(i) %in% c("lm", "glm", "ne...
/R/sem.fit.R
no_license
kdarras/piecewiseSEM
R
false
false
1,878
r
sem.fit = function( modelList, data, corr.errors = NULL, add.vars = NULL, grouping.vars = NULL, top.level.vars = NULL, adjust.p = FALSE, basis.set = NULL, pvalues.df = NULL, model.control = NULL, .progressBar = TRUE ) { if(!all(sapply(modelList, function(i) all(class(i) %in% c("lm", "glm", "ne...
study1 <- read.csv(file="study_1.csv") n=25 sim=2500 sigma_trial=c(1,5,10) f_mod_sig=matrix(0,3,sim) f_mod_nul=matrix(0,3,sim) p_mod_sig=matrix(0,3,sim) p_mod_nul=matrix(0,3,sim) r_mod_sig=matrix(0,3,sim) r_mod_nul=matrix(0,3,sim) trial=0 for (sigma in sigma_trial) { trial = trial + 1 for (i in 1:s...
/simulation/sim_proj/Rscript.R
no_license
ShikharKhanna22/STAT-420
R
false
false
2,327
r
study1 <- read.csv(file="study_1.csv") n=25 sim=2500 sigma_trial=c(1,5,10) f_mod_sig=matrix(0,3,sim) f_mod_nul=matrix(0,3,sim) p_mod_sig=matrix(0,3,sim) p_mod_nul=matrix(0,3,sim) r_mod_sig=matrix(0,3,sim) r_mod_nul=matrix(0,3,sim) trial=0 for (sigma in sigma_trial) { trial = trial + 1 for (i in 1:s...
#' Creates Extent of occurrence (EOO) Polygon #' #' \code{makeEOO} creates a minimum convex polygon enclosing all occurrences of #' the provided data #' @param ecosystem.data Raster object of an ecosystem or species distribution. #' Please use a CRS with units measured in metres. #' @return An object of class Spatia...
/R/EOO_functions.R
no_license
jrfep/redlistr
R
false
false
2,759
r
#' Creates Extent of occurrence (EOO) Polygon #' #' \code{makeEOO} creates a minimum convex polygon enclosing all occurrences of #' the provided data #' @param ecosystem.data Raster object of an ecosystem or species distribution. #' Please use a CRS with units measured in metres. #' @return An object of class Spatia...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sca_estimation_and_visualization.R \name{data_plot_sc_paths} \alias{data_plot_sc_paths} \title{Compresses data from list (to be plotted in ggplot)} \usage{ data_plot_sc_paths( test_list, sca_output = list(test_p_estimate = rep(1, length(t...
/TCpredictionbands/man/data_plot_sc_paths.Rd
permissive
Mr8ND/TC-prediction-bands
R
false
true
1,367
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sca_estimation_and_visualization.R \name{data_plot_sc_paths} \alias{data_plot_sc_paths} \title{Compresses data from list (to be plotted in ggplot)} \usage{ data_plot_sc_paths( test_list, sca_output = list(test_p_estimate = rep(1, length(t...
# This script extracts data from the Soil/CDL raster. It also uses the Weather polygon shapefile to determine weather grid points for each raster pixel. # The output is a data frame of the pixel coordinates, associated weather grid point coordinates, and STMUKEY value (STMUKEY is the MUKEY value with the state abbrevia...
/Scripts/RasterizeResults/ResultsRaster.R
no_license
rilllydi/MidwestSALUS
R
false
false
8,806
r
# This script extracts data from the Soil/CDL raster. It also uses the Weather polygon shapefile to determine weather grid points for each raster pixel. # The output is a data frame of the pixel coordinates, associated weather grid point coordinates, and STMUKEY value (STMUKEY is the MUKEY value with the state abbrevia...
# Tought this version would be faster by creating the bigrams ahead # and creating the hash table ahead, but the program just stalls # creating the hash table # Number of bigrams is 24Million # ---------- # --- source("BF_util.R") # my personal utilities # Source can be Blog, News or Twitter source <- getSource()...
/Count_bigrams_too_slow.R
no_license
BFCorsair/DS_Capstone
R
false
false
4,187
r
# Tought this version would be faster by creating the bigrams ahead # and creating the hash table ahead, but the program just stalls # creating the hash table # Number of bigrams is 24Million # ---------- # --- source("BF_util.R") # my personal utilities # Source can be Blog, News or Twitter source <- getSource()...
library(ape) testtree <- read.tree("7315_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="7315_0_unrooted.txt")
/codeml_files/newick_trees_processed/7315_0/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
135
r
library(ape) testtree <- read.tree("7315_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="7315_0_unrooted.txt")
library('quantmod') library('zoo') setwd('/Users/gregorychevalley/Documents/R/lppl_bitcoin/') rm(list=ls()) fileName <- './data/omx.csv' ticker <- read.csv(fileName, header=TRUE, sep=";") ticker$Date <- as.Date(ticker$Date) from <- as.Date("1996-02-01") to <- as.Date("1998-07-20") to <- as.Date("1998-04-15") rT...
/omx.R
no_license
Devendran0115/lppl_bitcoin
R
false
false
2,990
r
library('quantmod') library('zoo') setwd('/Users/gregorychevalley/Documents/R/lppl_bitcoin/') rm(list=ls()) fileName <- './data/omx.csv' ticker <- read.csv(fileName, header=TRUE, sep=";") ticker$Date <- as.Date(ticker$Date) from <- as.Date("1996-02-01") to <- as.Date("1998-07-20") to <- as.Date("1998-04-15") rT...
#----Vectors---- # A vector is a one-dimensional array. # We can create a vector with all the basic data type # The simplest way to build a vector is to use the c command. # Creating a Numerical Vector: vec_num <- c(1, 10, 49) vec_num class(vec_num) # Creating a Character Vector: vec_chr <- c("a", "b", "c...
/vector.R
no_license
Avantika1798/readme
R
false
false
1,752
r
#----Vectors---- # A vector is a one-dimensional array. # We can create a vector with all the basic data type # The simplest way to build a vector is to use the c command. # Creating a Numerical Vector: vec_num <- c(1, 10, 49) vec_num class(vec_num) # Creating a Character Vector: vec_chr <- c("a", "b", "c...
# Hello, world! # # This is an example function named 'hello' # which prints 'Hello, world!'. # # You can learn more about package authoring with RStudio at: # # http://r-pkgs.had.co.nz/ # # Some useful keyboard shortcuts for package authoring: # # Build and Reload Package: 'Cmd + Shift + B' # Check Package: ...
/R/hello.R
no_license
shanahdt/osucorpus
R
false
false
447
r
# Hello, world! # # This is an example function named 'hello' # which prints 'Hello, world!'. # # You can learn more about package authoring with RStudio at: # # http://r-pkgs.had.co.nz/ # # Some useful keyboard shortcuts for package authoring: # # Build and Reload Package: 'Cmd + Shift + B' # Check Package: ...
library(BMS) ### Name: plotModelsize ### Title: Plot Model Size Distribution ### Aliases: plotModelsize ### Keywords: hplot ### ** Examples data(datafls) mm=bms(datafls,burn=1500, iter=5000, nmodel=200,mprior="fixed",mprior.size=6) #plot Nb.1 based on aggregate results postdist= plotModelsize(mm) #plot based only...
/data/genthat_extracted_code/BMS/examples/plotModelsize.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
629
r
library(BMS) ### Name: plotModelsize ### Title: Plot Model Size Distribution ### Aliases: plotModelsize ### Keywords: hplot ### ** Examples data(datafls) mm=bms(datafls,burn=1500, iter=5000, nmodel=200,mprior="fixed",mprior.size=6) #plot Nb.1 based on aggregate results postdist= plotModelsize(mm) #plot based only...
## Gamma process reliability assessments ### Load model file used and MCMC samples source("R/gamma-2breaks.R") #load("fit-gp/2.rda") load("GP-theta.RData") # Define phi phi <- 2.0 #phi <- as.numeric(commandArgs()[5]) show( paste0("phi is ", phi)) # Load pre-saved profiles load("rel_loads_snow_Queb.rda") nrep <- l...
/R/calc-reliability-GP-snowQueb.R
no_license
yyang97/Multimodel-Reliability
R
false
false
2,781
r
## Gamma process reliability assessments ### Load model file used and MCMC samples source("R/gamma-2breaks.R") #load("fit-gp/2.rda") load("GP-theta.RData") # Define phi phi <- 2.0 #phi <- as.numeric(commandArgs()[5]) show( paste0("phi is ", phi)) # Load pre-saved profiles load("rel_loads_snow_Queb.rda") nrep <- l...
rm(list=ls()) #Set Run Flags DEBUG=TRUE #LOAD LIBRARY FUNCTIONS ... source("C:/Users/Courtney.S.Couch/Documents/GitHub/Benthic-Scripts/Functions/Benthic_Functions_newApp_vTAOfork.R") source("C:/Users/Courtney.S.Couch/Documents/GitHub/fish-paste/lib/core_functions.R") source("C:/Users/Courtney.S.Couch/Documents/GitH...
/SfM/Annotator Calibribration/InSitu_v_SfM_demog_dataprep_CALIBRATION.R
no_license
benthic-crep/Benthic-Scripts
R
false
false
14,891
r
rm(list=ls()) #Set Run Flags DEBUG=TRUE #LOAD LIBRARY FUNCTIONS ... source("C:/Users/Courtney.S.Couch/Documents/GitHub/Benthic-Scripts/Functions/Benthic_Functions_newApp_vTAOfork.R") source("C:/Users/Courtney.S.Couch/Documents/GitHub/fish-paste/lib/core_functions.R") source("C:/Users/Courtney.S.Couch/Documents/GitH...
# http://is-r.tumblr.com/post/32387034930/simplest-possible-heatmap-with-ggplot2
/heatmap/03-heatmap-ggplot.R
no_license
anhnguyendepocen/rexamples
R
false
false
81
r
# http://is-r.tumblr.com/post/32387034930/simplest-possible-heatmap-with-ggplot2
#' @export confint.margins <- function(object, parm, level = 0.95, ...) { mes <- marginal_effects(object, with_at = FALSE) names(mes) <- gsub("^dydx_", "", names(mes)) pnames <- colnames(mes) if (missing(parm)) { parm <- pnames } else if (is.numeric(parm)) { parm <- pnames...
/R/confint.R
no_license
cran/margins
R
false
false
898
r
#' @export confint.margins <- function(object, parm, level = 0.95, ...) { mes <- marginal_effects(object, with_at = FALSE) names(mes) <- gsub("^dydx_", "", names(mes)) pnames <- colnames(mes) if (missing(parm)) { parm <- pnames } else if (is.numeric(parm)) { parm <- pnames...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/decoupleR-decouple.R \name{decouple} \alias{decouple} \title{Evaluate multiple statistics with same input data} \usage{ decouple( mat, network, .source, .target, statistics, args = list(NULL), include_time = FALSE, show_toy_ca...
/man/decouple.Rd
no_license
Eirinits/decoupleR
R
false
true
2,977
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/decoupleR-decouple.R \name{decouple} \alias{decouple} \title{Evaluate multiple statistics with same input data} \usage{ decouple( mat, network, .source, .target, statistics, args = list(NULL), include_time = FALSE, show_toy_ca...
#' Covert and query #' #' If it is not tabix format already #' (determined by checking for a \link{.tbi} file of the same name in the same directory), #' the full summary statistics file is converted into tabix format for super fast querying. #' A query is then made using the min/max genomic positions to extract a loc...
/R/tabix.R
permissive
UKDRI/echolocatoR
R
false
false
6,130
r
#' Covert and query #' #' If it is not tabix format already #' (determined by checking for a \link{.tbi} file of the same name in the same directory), #' the full summary statistics file is converted into tabix format for super fast querying. #' A query is then made using the min/max genomic positions to extract a loc...
# IGraph R package # Copyright (C) 2005-2012 Gabor Csardi <csardi.gabor@gmail.com> # 334 Harvard street, Cambridge, MA 02139 USA # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; ei...
/R/community.R
no_license
vishalbelsare/rigraph
R
false
false
96,219
r
# IGraph R package # Copyright (C) 2005-2012 Gabor Csardi <csardi.gabor@gmail.com> # 334 Harvard street, Cambridge, MA 02139 USA # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; ei...
# Page no. : 321 - 322 # Population Mean Sigma Unknown Eg-2 data <- c(52,44,55,44,45,59,50,54,62,46,54,42,60,62,43,42,48,55,57,56) hist(data, col = "blue", main = "Histogram of Training Times", xlab = "Traing Times (days)", ylab = "Frequency") test <- t.test(...
/Statistics_For_Business_And_Economics_by_Anderson_Sweeney_And_Williams/CH8/EX8.2b/Ex8_2b.R
permissive
FOSSEE/R_TBC_Uploads
R
false
false
444
r
# Page no. : 321 - 322 # Population Mean Sigma Unknown Eg-2 data <- c(52,44,55,44,45,59,50,54,62,46,54,42,60,62,43,42,48,55,57,56) hist(data, col = "blue", main = "Histogram of Training Times", xlab = "Traing Times (days)", ylab = "Frequency") test <- t.test(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/seuratFunctions.R \name{.addSeuratToMetaDataSCE} \alias{.addSeuratToMetaDataSCE} \title{.addSeuratToMetaDataSCE Adds the input seurat object to the metadata slot of the input sce object (after removing the data matrices)} \usage{ .addSeuratTo...
/man/dot-addSeuratToMetaDataSCE.Rd
permissive
ykoga07/singleCellTK
R
false
true
857
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/seuratFunctions.R \name{.addSeuratToMetaDataSCE} \alias{.addSeuratToMetaDataSCE} \title{.addSeuratToMetaDataSCE Adds the input seurat object to the metadata slot of the input sce object (after removing the data matrices)} \usage{ .addSeuratTo...
get.seqs.from.ncbi <- function(coll.dat, dna.title, collector.name = 'noname', concat = c('ITS1', 'ITS2'), dna = cariceae.ncbi, write.files = T, clean.spaces = T, concatChars = paste(rep('N', 100), collapse = ''), silent = TRUE) { ## acc = accession vector to feed to NCBI ## dna.title = gene name (e.g., "ITS", "ETS")...
/cariceae/R/get.seqs.from.ncbi.R
no_license
andrew-hipp/mor-systematics
R
false
false
4,281
r
get.seqs.from.ncbi <- function(coll.dat, dna.title, collector.name = 'noname', concat = c('ITS1', 'ITS2'), dna = cariceae.ncbi, write.files = T, clean.spaces = T, concatChars = paste(rep('N', 100), collapse = ''), silent = TRUE) { ## acc = accession vector to feed to NCBI ## dna.title = gene name (e.g., "ITS", "ETS")...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compute_functions.R \name{instances.suspend} \alias{instances.suspend} \title{This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time. Suspended instances incur re...
/googlecomputealpha.auto/man/instances.suspend.Rd
permissive
GVersteeg/autoGoogleAPI
R
false
true
1,608
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compute_functions.R \name{instances.suspend} \alias{instances.suspend} \title{This method suspends a running instance, saving its state to persistent storage, and allows you to resume the instance at a later time. Suspended instances incur re...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/test.R \docType{class} \name{SomeClass-class} \alias{SomeClass} \alias{SomeClass-class} \title{some description} \description{ some description }
/man/SomeClass-class.Rd
no_license
krlmlr/rc
R
false
false
233
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/test.R \docType{class} \name{SomeClass-class} \alias{SomeClass} \alias{SomeClass-class} \title{some description} \description{ some description }
# First function for the assignment pollutantmean <- function(directory = "specdata", pollutant, id = 1:332) { path <- paste0(here::here()) directory <- paste0(path, directory) # pollutant <- "sulfate" df <- data.frame() for (i in id) { if (i < 10) { file_name <- paste0("00"...
/2_R_Programming/Week2/Programming_Assignment.R
no_license
patelis/jhu_ds_coursera
R
false
false
2,180
r
# First function for the assignment pollutantmean <- function(directory = "specdata", pollutant, id = 1:332) { path <- paste0(here::here()) directory <- paste0(path, directory) # pollutant <- "sulfate" df <- data.frame() for (i in id) { if (i < 10) { file_name <- paste0("00"...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{divar} \alias{divar} \title{Divar posts dataset} \format{ A tibble with 947635 rows and 17 variables: \describe{ \item{id}{Unique id of the post (1246772 ids)} \item{archive_by_user}{Whether the post was archiv...
/man/divar.Rd
no_license
mcnakhaee/dadegan
R
false
true
2,241
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{divar} \alias{divar} \title{Divar posts dataset} \format{ A tibble with 947635 rows and 17 variables: \describe{ \item{id}{Unique id of the post (1246772 ids)} \item{archive_by_user}{Whether the post was archiv...
source("~/prg/efdm/efdm.r") dat <- read.table("./dat/owiEfdmBase.txt.bz2", header=T) dat$removalTyp <- "no" dat$removalTyp[is.na(dat$d1)] <- "calamity" dat$removalTyp[!is.na(dat$nutzar) & dat$nutzar=="0"] <- "mortality" dat$removalTyp[!is.na(dat$nutzar) & dat$nutzar %in% c("1","2","3","4","5","6","7","8")] <- "harve...
/application/2020valoFor/3prepareData.r
no_license
GeorgKindermann/efdm
R
false
false
6,498
r
source("~/prg/efdm/efdm.r") dat <- read.table("./dat/owiEfdmBase.txt.bz2", header=T) dat$removalTyp <- "no" dat$removalTyp[is.na(dat$d1)] <- "calamity" dat$removalTyp[!is.na(dat$nutzar) & dat$nutzar=="0"] <- "mortality" dat$removalTyp[!is.na(dat$nutzar) & dat$nutzar %in% c("1","2","3","4","5","6","7","8")] <- "harve...
############################################################################################################################################# cluster_determination <- function(df, n_cluster, features, df_feat_info){ # Check which variables to include columns_selected <- df_feat_info[df_feat_info$cate...
/DS_Project_Final_SICHERUNG/function_files/functions_4_ClusterAnalysis.R
no_license
RobertNeulen/DS_Project_RobertNeulen
R
false
false
6,966
r
############################################################################################################################################# cluster_determination <- function(df, n_cluster, features, df_feat_info){ # Check which variables to include columns_selected <- df_feat_info[df_feat_info$cate...
if("dplyr" %in% rownames(installed.packages()) == FALSE) { install.packages("dplyr") } library(dplyr) power <- read.table("household_power_consumption.txt", na.strings = "?", sep = ";", header = TRUE) power$Date <- as.Date(power$Date, format = "%d/%m/%Y") power <- filter(power, Date == "2007-02-0...
/plot4.R
no_license
andrewkerndc/ExData_Plotting1
R
false
false
1,313
r
if("dplyr" %in% rownames(installed.packages()) == FALSE) { install.packages("dplyr") } library(dplyr) power <- read.table("household_power_consumption.txt", na.strings = "?", sep = ";", header = TRUE) power$Date <- as.Date(power$Date, format = "%d/%m/%Y") power <- filter(power, Date == "2007-02-0...
library(cptcity) ### Name: cpt ### Title: Function to return colour palettes functions from 'cpt-city' ### Aliases: cpt ### ** Examples { library(cptcity) image(matrix(1:100), col = cpt(pal = "mpl_inferno")) find_cpt("temperature") image(matrix(1:100), col = cpt("idv_temperature")) ## Not run: ##D # Do not run ##D...
/data/genthat_extracted_code/cptcity/examples/cpt.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
590
r
library(cptcity) ### Name: cpt ### Title: Function to return colour palettes functions from 'cpt-city' ### Aliases: cpt ### ** Examples { library(cptcity) image(matrix(1:100), col = cpt(pal = "mpl_inferno")) find_cpt("temperature") image(matrix(1:100), col = cpt("idv_temperature")) ## Not run: ##D # Do not run ##D...
# # Copyright 2007-2020 by the individuals mentioned in the source code history # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 #...
/R/MxTryHard.R
no_license
OpenMx/OpenMx
R
false
false
26,340
r
# # Copyright 2007-2020 by the individuals mentioned in the source code history # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 #...
#' @useDynLib sparselogit, .registration = TRUE #' @importFrom Rcpp sourceCpp #' @importFrom Rcpp evalCpp NULL
/R/cpp_utils.R
permissive
mauriciogtec/sparselogit
R
false
false
110
r
#' @useDynLib sparselogit, .registration = TRUE #' @importFrom Rcpp sourceCpp #' @importFrom Rcpp evalCpp NULL
library(DEoptimR) library(parallel) library(foreach) library(doParallel) set.seed(1234) load("work.Rdata") theta <- c() theta$par <- t0 meanUOptim <- function(par) { # Add a column of utilities dft$u <- 0 # Loop over every period for(t in 1:nrow(dft)) { # Define the period-t return Rpt <- 0 # Th...
/PPP Elastic Net/PPPElasticNetAWS.R
no_license
fstien/MastersDissertation
R
false
false
3,819
r
library(DEoptimR) library(parallel) library(foreach) library(doParallel) set.seed(1234) load("work.Rdata") theta <- c() theta$par <- t0 meanUOptim <- function(par) { # Add a column of utilities dft$u <- 0 # Loop over every period for(t in 1:nrow(dft)) { # Define the period-t return Rpt <- 0 # Th...
\name{ctpbs} \alias{ctpbs} \docType{data} \title{ The clinical trial design for strong biomarker effect } \description{ The dataset contains the 3-D rotable figure for the simulated nested two-subset design(strong biomarker effect), from which the optimal choice of each population's proportion and the optimal alpha spl...
/man/res_strong.Rd
no_license
ubcxzhang/DesignCTPB
R
false
false
994
rd
\name{ctpbs} \alias{ctpbs} \docType{data} \title{ The clinical trial design for strong biomarker effect } \description{ The dataset contains the 3-D rotable figure for the simulated nested two-subset design(strong biomarker effect), from which the optimal choice of each population's proportion and the optimal alpha spl...
#--------------------------------------------------------------------- # Author: Dongjun You # Date: 2018-05-15 # Filename: OutlierDetectionLinear.R # Purpose: An illustrative example of using dynr.taste to detect # outliers from a state space model. # Note: This is the small version of OutlierDetection.R. For the fu...
/demo/OutlierDetectionLinear.R
no_license
mhunter1/dynr
R
false
false
7,316
r
#--------------------------------------------------------------------- # Author: Dongjun You # Date: 2018-05-15 # Filename: OutlierDetectionLinear.R # Purpose: An illustrative example of using dynr.taste to detect # outliers from a state space model. # Note: This is the small version of OutlierDetection.R. For the fu...
testlist <- list(a = 0L, b = 0L, x = c(-1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -13500416L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L )) result <- do.call(grattan:::anyOutside,te...
/grattan/inst/testfiles/anyOutside/libFuzzer_anyOutside/anyOutside_valgrind_files/1610055159-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
339
r
testlist <- list(a = 0L, b = 0L, x = c(-1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -1L, -13500416L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L )) result <- do.call(grattan:::anyOutside,te...
## Computing the inverse of a square matrix and saving the result to the cache. ## The following functions assume that the matrix supplied is always invertible. ## Inverse of a square matrix is computed using solve function in R ## This function creates a special "matrix" object that can cache its inverse makeCache...
/cachematrix.R
no_license
pns123/ProgrammingAssignment2
R
false
false
1,530
r
## Computing the inverse of a square matrix and saving the result to the cache. ## The following functions assume that the matrix supplied is always invertible. ## Inverse of a square matrix is computed using solve function in R ## This function creates a special "matrix" object that can cache its inverse makeCache...
# Wrapper script to run in terminal ---- rm(list = ls()) run <- '3.3' sims <- 1.5e6 run_folder <- paste('Results/',run,'/',sep = '') if (dir.exists(run_folder) == F){dir.create(run_folder, recursive = T)} # set.seed(54321) library(knitr) # knitr::opts_chunk$set(fig.path='Figs/', echo=FALSE, warning=FALSE, message...
/Fish 558 Homeworks/HWK4/run_multi_mcmc.R
no_license
DanOvando/FISH-558
R
false
false
2,067
r
# Wrapper script to run in terminal ---- rm(list = ls()) run <- '3.3' sims <- 1.5e6 run_folder <- paste('Results/',run,'/',sep = '') if (dir.exists(run_folder) == F){dir.create(run_folder, recursive = T)} # set.seed(54321) library(knitr) # knitr::opts_chunk$set(fig.path='Figs/', echo=FALSE, warning=FALSE, message...
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function ## The two functions created are: makeCacheMatrix and cacheSolve makeCacheMatrix function creates a special "matrix" object that can cache its inverse or store the matrix and its inverse...
/cachematrix.R
no_license
quynhnhu95/ProgrammingAssignment2
R
false
false
1,324
r
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function ## The two functions created are: makeCacheMatrix and cacheSolve makeCacheMatrix function creates a special "matrix" object that can cache its inverse or store the matrix and its inverse...
if (requireNamespace("lintr", quietly = TRUE)) { context("lints") test_that("Package Style", { testthat::skip_on_cran() testthat::skip_on_travis() lint <- FALSE if (interactive()) { lint <- FALSE answer <- readline("Test linting (y/N)? ") if (is.character(answer) && answer %in% c("...
/tests/testthat/test_lints.R
permissive
aclemen1/modulr
R
false
false
2,095
r
if (requireNamespace("lintr", quietly = TRUE)) { context("lints") test_that("Package Style", { testthat::skip_on_cran() testthat::skip_on_travis() lint <- FALSE if (interactive()) { lint <- FALSE answer <- readline("Test linting (y/N)? ") if (is.character(answer) && answer %in% c("...
#Finds the combination of clusters which is most significantly associated to each of the species patterns multipatt <- function (x, cluster, func = "IndVal.g", duleg = FALSE, restcomb=NULL, min.order=1, max.order=NULL, control = how(), print.perm = FALSE) ...
/indicspecies/R/multipatt.r
no_license
ingted/R-Examples
R
false
false
8,589
r
#Finds the combination of clusters which is most significantly associated to each of the species patterns multipatt <- function (x, cluster, func = "IndVal.g", duleg = FALSE, restcomb=NULL, min.order=1, max.order=NULL, control = how(), print.perm = FALSE) ...
x = c(1.0, 0.90, 0.80, 0.70, 0.60) # quorum levels y0 = c(0.2, 1.0, 1.0, 1.0, 1.0) # connected topology success rate y1 = c(0.01, 0.48, 0.89, 0.99, 1.0) # random topology success rate png('f15r3.png', width=800, height=600, pointsize=18) plot(x,y0, xlab="quorum level", ylab="% success", main="Python simulations with ...
/pythonplots-quorum.R
no_license
Swarles-Barkley/3pcpy
R
false
false
887
r
x = c(1.0, 0.90, 0.80, 0.70, 0.60) # quorum levels y0 = c(0.2, 1.0, 1.0, 1.0, 1.0) # connected topology success rate y1 = c(0.01, 0.48, 0.89, 0.99, 1.0) # random topology success rate png('f15r3.png', width=800, height=600, pointsize=18) plot(x,y0, xlab="quorum level", ylab="% success", main="Python simulations with ...
.libPaths(.libPaths()[2]) library(dada2) library(ggplot2) err <- readRDS(snakemake@input[["error_matrix"]]) p <- plotErrors(err, nominalQ=TRUE) ggsave(filename=snakemake@output[["plot"]], plot=p)
/amplicon_processing/scripts/99.dada2_plotErrors.R
no_license
polzlab/VanInsberghe_2019_Cdiff_colonization
R
false
false
199
r
.libPaths(.libPaths()[2]) library(dada2) library(ggplot2) err <- readRDS(snakemake@input[["error_matrix"]]) p <- plotErrors(err, nominalQ=TRUE) ggsave(filename=snakemake@output[["plot"]], plot=p)
# H0 : 연봉 수준별로 직무 만족도의 평균이 같다 ANOVA = aov(satisfaction_level ~ salary, data=HR) summary(ANOVA) ''' Df Sum Sq Mean Sq F value Pr(>F) salary 2 2.3 1.1693 18.96 5.97e-09 *** Residuals 14996 924.8 0.0617 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05...
/statistics/ANOVA.R
no_license
leejukyu/R
R
false
false
1,923
r
# H0 : 연봉 수준별로 직무 만족도의 평균이 같다 ANOVA = aov(satisfaction_level ~ salary, data=HR) summary(ANOVA) ''' Df Sum Sq Mean Sq F value Pr(>F) salary 2 2.3 1.1693 18.96 5.97e-09 *** Residuals 14996 924.8 0.0617 --- Signif. codes: 0 ‘***’ 0.001 ‘**’ 0.01 ‘*’ 0.05...
library(geoChronR) #devtools::install_github("nickmckay/geoChronR") library(lipdR) #devtools::install_github("nickmckay/lipd-utilities",subdir = "R") library(purrr) library(magrittr) library(ggplot2) library(compositeR)#devtools::install_github("nickmckay/compositeR") library(foreach) library(doParallel) #load database...
/ScientificDataAnalysis/DCC/DCC.R
permissive
Chilipp/Temperature12k
R
false
false
6,855
r
library(geoChronR) #devtools::install_github("nickmckay/geoChronR") library(lipdR) #devtools::install_github("nickmckay/lipd-utilities",subdir = "R") library(purrr) library(magrittr) library(ggplot2) library(compositeR)#devtools::install_github("nickmckay/compositeR") library(foreach) library(doParallel) #load database...
# Loading some pakages to access their functions #### # If they have not yet be downloaded, you need to do that first! library(googledrive) library(plyr) library(data.table) library(tidyverse) library(tidytext) library(quanteda) library(syuzhet) library(textrank) library(topicmodels) library(ldatuning) library(ggpl...
/text_mining/Book_analysis.R
no_license
lsempe77/NLP-and-digital-humanities
R
false
false
44,359
r
# Loading some pakages to access their functions #### # If they have not yet be downloaded, you need to do that first! library(googledrive) library(plyr) library(data.table) library(tidyverse) library(tidytext) library(quanteda) library(syuzhet) library(textrank) library(topicmodels) library(ldatuning) library(ggpl...
## Week 9 ## Visualizing distribution ggplot(data = diamonds) + geom_bar(mapping = aes(x = cut)) ## count number of observations diamonds %>% count(cut) ## examine the distribution of a continuous variable ggplot(data = diamonds) + geom_histogram(mapping = aes(x = carat), binwidth = 0.5) ## combine diamonds %...
/Code_Portfolio_Shipeng/week9/week9.r
no_license
1210545510/ANLY506_Shipeng-Sun
R
false
false
2,625
r
## Week 9 ## Visualizing distribution ggplot(data = diamonds) + geom_bar(mapping = aes(x = cut)) ## count number of observations diamonds %>% count(cut) ## examine the distribution of a continuous variable ggplot(data = diamonds) + geom_histogram(mapping = aes(x = carat), binwidth = 0.5) ## combine diamonds %...
#Create the data frame. person.data <- data.frame( person_id = c (1:5), person_name = c("George Flyod","Ahmaud arbery","winston churchill ","Ryan Gosling","Alan turing"), birth_date=as.Date(c("1974-02-23","1996-05-08","1874-11-30","1980-11-12","1912-06-23")), death_date = as.Date(c("2020-05-25", "2020-02-23...
/droppingrowdata.R
no_license
Saadfurquan/R-training-
R
false
false
857
r
#Create the data frame. person.data <- data.frame( person_id = c (1:5), person_name = c("George Flyod","Ahmaud arbery","winston churchill ","Ryan Gosling","Alan turing"), birth_date=as.Date(c("1974-02-23","1996-05-08","1874-11-30","1980-11-12","1912-06-23")), death_date = as.Date(c("2020-05-25", "2020-02-23...
\name{usGetSeasonalSeasonUStarMappingFromDistributionResult} \alias{usGetSeasonalSeasonUStarMappingFromDistributionResult} \title{usGetSeasonalSeasonUStarMappingFromDistributionResult} \description{extract mapping season -> uStar columns from Distribution result (\code{\link{sEstUstarThresholdDistribution}}} \usage...
/man/usGetSeasonalSeasonUStarMappingFromDistributionResult.Rd
no_license
trevorkeenan/REddyProc
R
false
false
724
rd
\name{usGetSeasonalSeasonUStarMappingFromDistributionResult} \alias{usGetSeasonalSeasonUStarMappingFromDistributionResult} \title{usGetSeasonalSeasonUStarMappingFromDistributionResult} \description{extract mapping season -> uStar columns from Distribution result (\code{\link{sEstUstarThresholdDistribution}}} \usage...
library(ape) testtree <- read.tree("7052_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="7052_0_unrooted.txt")
/codeml_files/newick_trees_processed/7052_0/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
135
r
library(ape) testtree <- read.tree("7052_0.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="7052_0_unrooted.txt")
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chime_operations.R \name{chime_update_sip_media_application} \alias{chime_update_sip_media_application} \title{Updates the details for the specified SIP media application} \usage{ chime_update_sip_media_application(SipMediaApplicationId, Name...
/cran/paws.business.applications/man/chime_update_sip_media_application.Rd
permissive
paws-r/paws
R
false
true
1,259
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chime_operations.R \name{chime_update_sip_media_application} \alias{chime_update_sip_media_application} \title{Updates the details for the specified SIP media application} \usage{ chime_update_sip_media_application(SipMediaApplicationId, Name...
# Copyright 2018 Observational Health Data Sciences and Informatics # # This file is part of PatientLevelPrediction # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.o...
/tests/testthat/test-multiplePlp.R
permissive
parkdongsu/PatientLevelPrediction
R
false
false
8,030
r
# Copyright 2018 Observational Health Data Sciences and Informatics # # This file is part of PatientLevelPrediction # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.o...
\name{GetMunicipalityInfo} \alias{GetMunicipalityInfo} \alias{get.municipality.info} \title{Get information of Finnish municipalities from Statistics Finland 2012 and Maanmittauslaitos (C) MML 2011. For details of MML data, see help(GetShapeMML).} \usage{ GetMunicipalityInfo(...) } \arguments{ \item{...}{Arguments ...
/man/GetMunicipalityInfo.Rd
permissive
rOpenGov/datavaalit
R
false
false
734
rd
\name{GetMunicipalityInfo} \alias{GetMunicipalityInfo} \alias{get.municipality.info} \title{Get information of Finnish municipalities from Statistics Finland 2012 and Maanmittauslaitos (C) MML 2011. For details of MML data, see help(GetShapeMML).} \usage{ GetMunicipalityInfo(...) } \arguments{ \item{...}{Arguments ...
# Purpose: Prepare zonal stats files # Author: N. Castaneda (2014) ######################################################### # Preparing data for zonal stats # cajanus dir <- "D:/CWR-collaborations/cajanus/_ZonalAnalysis/gap_spp" src.dir <- "D:/_code/R/gap-analysis-maxent" source(paste(src.dir,"/000.zipRead.R", sep=...
/summaryZonalStats-Ipomoea-Cajanus.R
no_license
npcastaneda/_playground
R
false
false
4,647
r
# Purpose: Prepare zonal stats files # Author: N. Castaneda (2014) ######################################################### # Preparing data for zonal stats # cajanus dir <- "D:/CWR-collaborations/cajanus/_ZonalAnalysis/gap_spp" src.dir <- "D:/_code/R/gap-analysis-maxent" source(paste(src.dir,"/000.zipRead.R", sep=...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getUPS1acc.R \name{getUPS1acc} \alias{getUPS1acc} \title{Accession-Numbers And Names Of UPS-1 Proteins} \usage{ getUPS1acc() } \value{ This function returns data.frame with accession-numbers as stated by the supplier (\code{$acFull}), trimme...
/man/getUPS1acc.Rd
no_license
cran/wrProteo
R
false
true
929
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/getUPS1acc.R \name{getUPS1acc} \alias{getUPS1acc} \title{Accession-Numbers And Names Of UPS-1 Proteins} \usage{ getUPS1acc() } \value{ This function returns data.frame with accession-numbers as stated by the supplier (\code{$acFull}), trimme...
# Ajusta o diret?rio de trabalho setwd("/home/username/Desktop/DBN") # Leitura do arquivo data <- (read.csv("small.csv", stringsAsFactors=FALSE, sep=";", header=T)) # Remove wrong values data <- subset(data, (BATHROOM > 0 & BATHROOM <=1 & ELETRICITY > 0 & ELETRICITY <=1 & ...
/src/R/PreProc-SIHD-SUS-TBI.R
no_license
NaelsonDouglas/DistributedMachineLearning
R
false
false
2,476
r
# Ajusta o diret?rio de trabalho setwd("/home/username/Desktop/DBN") # Leitura do arquivo data <- (read.csv("small.csv", stringsAsFactors=FALSE, sep=";", header=T)) # Remove wrong values data <- subset(data, (BATHROOM > 0 & BATHROOM <=1 & ELETRICITY > 0 & ELETRICITY <=1 & ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/proton_operations.R \name{proton_create_environment_account_connection} \alias{proton_create_environment_account_connection} \title{Create an environment account connection in an environment account so that environment infrastructure resource...
/cran/paws.compute/man/proton_create_environment_account_connection.Rd
permissive
paws-r/paws
R
false
true
3,003
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/proton_operations.R \name{proton_create_environment_account_connection} \alias{proton_create_environment_account_connection} \title{Create an environment account connection in an environment account so that environment infrastructure resource...
# Solução Lista de Exercícios - Capítulo 3 # Obs: Caso tenha problemas com a acentuação, consulte este link: # https://support.rstudio.com/hc/en-us/articles/200532197-Character-Encoding # Configurando o diretório de trabalho # Coloque entre aspas o diretório de trabalho que você está usando no seu computador # Não us...
/DSA/Arquivos-Cap04/01-Solution-Exercicios-Cap03.R
no_license
walves69/estudor
R
false
false
3,439
r
# Solução Lista de Exercícios - Capítulo 3 # Obs: Caso tenha problemas com a acentuação, consulte este link: # https://support.rstudio.com/hc/en-us/articles/200532197-Character-Encoding # Configurando o diretório de trabalho # Coloque entre aspas o diretório de trabalho que você está usando no seu computador # Não us...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot-gdiscbar.r \name{windowDiscretebar} \alias{windowDiscretebar} \title{Wrapper Function of Discrete Bar Charts Subclass} \usage{ windowDiscretebar() } \description{ \code{windowDiscretebar} function is a wrapper function of \code{...
/man/plot-gdiscbar-windowDiscretebar.Rd
no_license
cran/RcmdrPlugin.KMggplot2
R
false
true
387
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot-gdiscbar.r \name{windowDiscretebar} \alias{windowDiscretebar} \title{Wrapper Function of Discrete Bar Charts Subclass} \usage{ windowDiscretebar() } \description{ \code{windowDiscretebar} function is a wrapper function of \code{...
\name{fReadTimeSeveralCols} \alias{fReadTimeSeveralCols} \title{fReadTimeSeveralCols} \description{Reading } \usage{fReadTimeSeveralCols(Data.F, FileName.s, Dir.s, NcPackage.s, CallFunction.s = "", colYear = "year", colMonth = "month", colDay = "day", colHour = "hour", defaultHour = 0, ...)} \arg...
/man/fReadTimeSeveralCols.Rd
no_license
trevorkeenan/REddyProc
R
false
false
1,047
rd
\name{fReadTimeSeveralCols} \alias{fReadTimeSeveralCols} \title{fReadTimeSeveralCols} \description{Reading } \usage{fReadTimeSeveralCols(Data.F, FileName.s, Dir.s, NcPackage.s, CallFunction.s = "", colYear = "year", colMonth = "month", colDay = "day", colHour = "hour", defaultHour = 0, ...)} \arg...
# Search through pdf documents # install.packages("devtools") # devtools::install_github('lebebr01/pdfsearch') library(pdftools) # generic pdf reader library(pdfsearch) # wrapper around pdftools for searching library(tidyverse) # Load utils code source("../mptools/r/my_utils.r") # end of text pages # y <- 2010 # f...
/R/pdf analysis of advice.r
no_license
martinpastoors/iAdvice
R
false
false
3,714
r
# Search through pdf documents # install.packages("devtools") # devtools::install_github('lebebr01/pdfsearch') library(pdftools) # generic pdf reader library(pdfsearch) # wrapper around pdftools for searching library(tidyverse) # Load utils code source("../mptools/r/my_utils.r") # end of text pages # y <- 2010 # f...
# Load Libraries library(shiny) library(readr) library(tidyverse) library(osmdata) # Access to Open Street Map data library(sf) # Simple Features (data frame with geometries) library(plotly) library(shinythemes) # Read in Data RKI <- read_csv(file ="https://opendata.arcgis.com/datasets/917fc37a709542548cc3...
/app - UTF8.R
no_license
Lucyfaria/Shiny-Covid
R
false
false
16,920
r
# Load Libraries library(shiny) library(readr) library(tidyverse) library(osmdata) # Access to Open Street Map data library(sf) # Simple Features (data frame with geometries) library(plotly) library(shinythemes) # Read in Data RKI <- read_csv(file ="https://opendata.arcgis.com/datasets/917fc37a709542548cc3...
seed <- 733 log.wt <- 0.0 penalty <- 2.8115950178536287e-8 intervals.send <- c() intervals.recv <- c(56, 112, 225, 450, 900, 1800, 3600, 7200, 14400, 28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600, 29491200, 58982400) dev.null <- 358759.0022669336 df.null <- 35567 dev.resid <- 227148....
/analysis/boot/boot733.R
no_license
patperry/interaction-proc
R
false
false
3,741
r
seed <- 733 log.wt <- 0.0 penalty <- 2.8115950178536287e-8 intervals.send <- c() intervals.recv <- c(56, 112, 225, 450, 900, 1800, 3600, 7200, 14400, 28800, 57600, 115200, 230400, 460800, 921600, 1843200, 3686400, 7372800, 14745600, 29491200, 58982400) dev.null <- 358759.0022669336 df.null <- 35567 dev.resid <- 227148....