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
testlist <- list(data = structure(c(-3.12995105238217e+105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(8L, 10L))...
/distr6/inst/testfiles/C_EmpiricalMVPdf/libFuzzer_C_EmpiricalMVPdf/C_EmpiricalMVPdf_valgrind_files/1610036081-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
1,336
r
testlist <- list(data = structure(c(-3.12995105238217e+105, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(8L, 10L))...
install.packages("bayesm") library(bayesm) data(margarine) demos <- read.csv(file="/Users/davidch91/Desktop/demos.csv", header=TRUE, sep=",") products <- read.csv(file="/Users/davidch91/Desktop/product.csv", header=TRUE, sep=",") #merging both data frames total <- merge(demos,products,by="hhid") #Report of the resul...
/HW3 613.R
no_license
davidch91/Assignment_1_613
R
false
false
11,249
r
install.packages("bayesm") library(bayesm) data(margarine) demos <- read.csv(file="/Users/davidch91/Desktop/demos.csv", header=TRUE, sep=",") products <- read.csv(file="/Users/davidch91/Desktop/product.csv", header=TRUE, sep=",") #merging both data frames total <- merge(demos,products,by="hhid") #Report of the resul...
## Overall I am setting up two generic functions that act in conjunction with one another. The purpose of ## these functions is to be able to quickly and repeatedly find the inverse of any invertible matrix. ## This first function is a generic function that takes a matrix and returns a list of four functions. ## The ...
/cachematrix.R
no_license
MrMikeK/ProgrammingAssignment2
R
false
false
1,821
r
## Overall I am setting up two generic functions that act in conjunction with one another. The purpose of ## these functions is to be able to quickly and repeatedly find the inverse of any invertible matrix. ## This first function is a generic function that takes a matrix and returns a list of four functions. ## The ...
\name{SKAT_NULL_emmaX} \alias{SKAT_NULL_emmaX} \title{Get parameters and residuals from the null model with kinship matrix} \description{ Compute model parameters and residuals for SKAT with incorporating kinship structure. } \usage{ SKAT_NULL_emmaX (formula, data=NULL, K=NULL, Kin.File=NULL, ngrids=100, ...
/man/SKAT_NULL_emmaX.rd
no_license
weinstockj/SKAT
R
false
false
1,686
rd
\name{SKAT_NULL_emmaX} \alias{SKAT_NULL_emmaX} \title{Get parameters and residuals from the null model with kinship matrix} \description{ Compute model parameters and residuals for SKAT with incorporating kinship structure. } \usage{ SKAT_NULL_emmaX (formula, data=NULL, K=NULL, Kin.File=NULL, ngrids=100, ...
library(terra) library(caTools) library(R.utils) library(BiocManager) library(rhdf5) # jack tarricone # september 29, 2021 ################################################################# #### produce code that goes into each year, then into each month #### untars, unzips each day #### creates a header so it can b...
/extract_daily_swe.R
no_license
carapiske/nres_snow
R
false
false
5,679
r
library(terra) library(caTools) library(R.utils) library(BiocManager) library(rhdf5) # jack tarricone # september 29, 2021 ################################################################# #### produce code that goes into each year, then into each month #### untars, unzips each day #### creates a header so it can b...
# ui.R AFM2 shinyUI(fluidPage( titlePanel(div(paste("MFA on the ",nameJDD," dataset"),style="color:#6E6E6E",align="center")), sidebarLayout( sidebarPanel( tags$head( tags$style("body {background-color: #E1D3FB; }"), tags$style(type='text/css', "#title1 { height: 25px; }"),...
/Factoshiny/inst/FactoMFAapp2/ui.R
no_license
ingted/R-Examples
R
false
false
13,697
r
# ui.R AFM2 shinyUI(fluidPage( titlePanel(div(paste("MFA on the ",nameJDD," dataset"),style="color:#6E6E6E",align="center")), sidebarLayout( sidebarPanel( tags$head( tags$style("body {background-color: #E1D3FB; }"), tags$style(type='text/css', "#title1 { height: 25px; }"),...
library(ape) testtree <- read.tree("2403_5.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="2403_5_unrooted.txt")
/codeml_files/newick_trees_processed/2403_5/rinput.R
no_license
DaniBoo/cyanobacteria_project
R
false
false
135
r
library(ape) testtree <- read.tree("2403_5.txt") unrooted_tr <- unroot(testtree) write.tree(unrooted_tr, file="2403_5_unrooted.txt")
# The inner workings of PCA, from p. 98 ## p. 100 myPCA = function (df) { eig = eigen(cov(df)) means = unlist(lapply(df,mean)) scores = scale(df, center = means) %*% eig$vectors list(values = eig$values,vectors = eig$vectors, scores = scores) } my_pca = myPCA(iris[1:4]) my_pca ## p. 101 pca = princomp(ir...
/Learning-Predictive-Analytics-with-R-master/CODE/CH6 CODE.R
permissive
cyrsis/RSandBox
R
false
false
1,749
r
# The inner workings of PCA, from p. 98 ## p. 100 myPCA = function (df) { eig = eigen(cov(df)) means = unlist(lapply(df,mean)) scores = scale(df, center = means) %*% eig$vectors list(values = eig$values,vectors = eig$vectors, scores = scores) } my_pca = myPCA(iris[1:4]) my_pca ## p. 101 pca = princomp(ir...
#installing packeges install.packages("Rfacebook") install.packages("httpuv") install.packages("RColorBrewer") install.packages("rjson") install.packages("httr") install.packages("RCurl") install.packages("igraph") #Loading required packages require(Rfacebook) require(httpuv) require(RColorBrewer) require(rjson) requi...
/Facebook.R
no_license
jagetic/facebookR
R
false
false
1,914
r
#installing packeges install.packages("Rfacebook") install.packages("httpuv") install.packages("RColorBrewer") install.packages("rjson") install.packages("httr") install.packages("RCurl") install.packages("igraph") #Loading required packages require(Rfacebook) require(httpuv) require(RColorBrewer) require(rjson) requi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/communicate.R \name{communicate_warning} \alias{communicate_warning} \title{Communicate a warning if necessary} \usage{ communicate_warning(changed, transformers) } \arguments{ \item{changed}{Boolean with indicating for each file whether or n...
/man/communicate_warning.Rd
no_license
mkhoin/styler
R
false
true
572
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/communicate.R \name{communicate_warning} \alias{communicate_warning} \title{Communicate a warning if necessary} \usage{ communicate_warning(changed, transformers) } \arguments{ \item{changed}{Boolean with indicating for each file whether or n...
##' Approximate a function by a spline, refined to a given tolerance ##' ##' @title Approximate function with a spline ##' @param target A function to approximate ##' ##' @param a The lower bound of the interpolation ##' ##' @param b The upper bound of the interpolation ##' ##' @param ... Additional arguments passed th...
/R/approximate.R
no_license
richfitz/approximate
R
false
false
3,706
r
##' Approximate a function by a spline, refined to a given tolerance ##' ##' @title Approximate function with a spline ##' @param target A function to approximate ##' ##' @param a The lower bound of the interpolation ##' ##' @param b The upper bound of the interpolation ##' ##' @param ... Additional arguments passed th...
#' Perform joins on all of the individual database tables between all ToxicoSets #' #' Outputs the final database tables to the 'latest' directory #' #' @md #' @export buildAllTables <- function() { buildCompoundTables() buildCellTables() buildSampleTables() buildMolecProfTables() buildSensiti...
/rToxicoDI/R/buildAllTables.R
no_license
bhklab/DataIngestion
R
false
false
474
r
#' Perform joins on all of the individual database tables between all ToxicoSets #' #' Outputs the final database tables to the 'latest' directory #' #' @md #' @export buildAllTables <- function() { buildCompoundTables() buildCellTables() buildSampleTables() buildMolecProfTables() buildSensiti...
n1= 33 n2= 12 y1bar = 25.2 y2bar=33.9 s1=8.6 s2=17.4 t=(y1bar-y2bar)/(sqrt((s1*s1/n1)+(s2*s2/n2))) print(t) # To compute the rejection and p-value, we need to compute the approximate df c=((s1*s1)/n1)/(((s1*s1)/n1)+((s2*s2)/n2)) print(c) df=((n1-1)*(n2-1))/((1-c)^2*(n1-1)+(c*c)*(n2-1)) print(df) # crt...
/An_Introduction_To_Statistical_Methods_And_Data_Analysis_by_R_Lyman_Ott_And_Michael_Longnecker/CH6/EX6.4/Ex6_4.r
permissive
FOSSEE/R_TBC_Uploads
R
false
false
491
r
n1= 33 n2= 12 y1bar = 25.2 y2bar=33.9 s1=8.6 s2=17.4 t=(y1bar-y2bar)/(sqrt((s1*s1/n1)+(s2*s2/n2))) print(t) # To compute the rejection and p-value, we need to compute the approximate df c=((s1*s1)/n1)/(((s1*s1)/n1)+((s2*s2)/n2)) print(c) df=((n1-1)*(n2-1))/((1-c)^2*(n1-1)+(c*c)*(n2-1)) print(df) # crt...
library('readr') Network<-read_csv('Care_Quality,_Workforce_&_7_Day_Services-weekend.csv') UK<-Network[which(Network$`Author Country Code`=='uk'),] #only UK tweets U<-UK[-which(is.na(UK$`Mentioned Authors`)),] #only tweets that @Mention U$`Mentioned Authors`<-gsub('@','',U$`Mentioned Authors`) U<-U[-wh...
/author network.R
no_license
DataS-DHSC/Network-analysis
R
false
false
1,458
r
library('readr') Network<-read_csv('Care_Quality,_Workforce_&_7_Day_Services-weekend.csv') UK<-Network[which(Network$`Author Country Code`=='uk'),] #only UK tweets U<-UK[-which(is.na(UK$`Mentioned Authors`)),] #only tweets that @Mention U$`Mentioned Authors`<-gsub('@','',U$`Mentioned Authors`) U<-U[-wh...
# Setting up globals for use #' @title Plot color default #' @export #' @description sets plot color text color_plot_text <- "#505050" #' @title Title color default #' @export #' @description sets title color color_title <- "#202020" #' @title Color caption default #' @export #' @description sets color caption color...
/R/plot_setup.r
permissive
USAID-OHA-SI/glitr
R
false
false
452
r
# Setting up globals for use #' @title Plot color default #' @export #' @description sets plot color text color_plot_text <- "#505050" #' @title Title color default #' @export #' @description sets title color color_title <- "#202020" #' @title Color caption default #' @export #' @description sets color caption color...
# Plot 1: Have total emissions from PM2.5 decreased in the United States from 1999 to 2008? setwd("C:/Users/Michelle/dataScience/ExploratoryData") # Load data # NB: rds file format is Microsoft SQL Server Reporting Services data source file NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_...
/Users/Michelle/Documents/GitHub/ExploratoryResearch_Project2/plot1.R
no_license
LadyRisingmoon/ExploratoryResearch_Project2
R
false
false
835
r
# Plot 1: Have total emissions from PM2.5 decreased in the United States from 1999 to 2008? setwd("C:/Users/Michelle/dataScience/ExploratoryData") # Load data # NB: rds file format is Microsoft SQL Server Reporting Services data source file NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_...
context("brute_force_knapsack") set.seed(42) n <- 2000 knapsack_objects <- data.frame( w=sample(1:4000, size = n, replace = TRUE), v=runif(n = n, 0, 10000) ) test_that("Correct object is returned", { expect_silent(bfk <- brute_force_knapsack(x = knapsack_objects[1:8,], W = 3500)) expect_named(bfk, c("value",...
/knapsack/tests/testthat/test_brute_force_knapsack.R
no_license
gyommy15/lab6
R
false
false
1,382
r
context("brute_force_knapsack") set.seed(42) n <- 2000 knapsack_objects <- data.frame( w=sample(1:4000, size = n, replace = TRUE), v=runif(n = n, 0, 10000) ) test_that("Correct object is returned", { expect_silent(bfk <- brute_force_knapsack(x = knapsack_objects[1:8,], W = 3500)) expect_named(bfk, c("value",...
# noise_model_with_curve.R # Jake Yeung # November 28 2014 # Plot variance versus mean for each tissue and each gene. # include saturation in model of parameter... # Clock genes -------------------------------------------------------- clockgenes <- c('Nr1d1','Dbp', 'Arntl', 'Npas2', 'Nr1d2', 'Bhlhe41...
/scripts/fit.old.attempts/noise_model_with_curve.R
no_license
jakeyeung/Yeung_et_al_2018_TissueSpecificity
R
false
false
6,210
r
# noise_model_with_curve.R # Jake Yeung # November 28 2014 # Plot variance versus mean for each tissue and each gene. # include saturation in model of parameter... # Clock genes -------------------------------------------------------- clockgenes <- c('Nr1d1','Dbp', 'Arntl', 'Npas2', 'Nr1d2', 'Bhlhe41...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Bass_ind_skeleton.R \name{Bass_ind_skeleton} \alias{Bass_ind_skeleton} \title{Creates the folders structure for Seabass individual bioenergetic model} \usage{ Bass_ind_skeleton(userpath) } \arguments{ \item{userpath}{the path where f...
/man/Bass_ind_skeleton.Rd
no_license
cran/RAC
R
false
true
435
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Bass_ind_skeleton.R \name{Bass_ind_skeleton} \alias{Bass_ind_skeleton} \title{Creates the folders structure for Seabass individual bioenergetic model} \usage{ Bass_ind_skeleton(userpath) } \arguments{ \item{userpath}{the path where f...
install.packages("rpart") install.packages("rpart.plot") install.packages("rattle") install.packages("AER") install.packages("randomForest") library(rpart) library(rpart.plot) library(rattle) library(AER) library(randomForest) # # randomForest(formula, data=NULL, ..., subset, na.action=na.fail) #formula : (Y ~.)表示除了Y...
/ML/RFtrees(0714).R
no_license
JamesYeh2017/R
R
false
false
8,722
r
install.packages("rpart") install.packages("rpart.plot") install.packages("rattle") install.packages("AER") install.packages("randomForest") library(rpart) library(rpart.plot) library(rattle) library(AER) library(randomForest) # # randomForest(formula, data=NULL, ..., subset, na.action=na.fail) #formula : (Y ~.)表示除了Y...
regextract <- function(pattern, text) { match <- gregexpr(pattern, text, perl=TRUE) vals <- length(attr(match[[1]],"capture.start")[]) returner <- c() for (i in 1:vals) { start <- attr(match[[1]],"capture.start")[i] end <- attr(match[[1]],"capture.start")[i] + attr(match[[1]],"capture.length")[i] -1 ...
/regextract.R
no_license
forwardprefekt/code
R
false
false
490
r
regextract <- function(pattern, text) { match <- gregexpr(pattern, text, perl=TRUE) vals <- length(attr(match[[1]],"capture.start")[]) returner <- c() for (i in 1:vals) { start <- attr(match[[1]],"capture.start")[i] end <- attr(match[[1]],"capture.start")[i] + attr(match[[1]],"capture.length")[i] -1 ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/installed.R \name{installed_prior} \alias{installed_prior} \title{Save List of Packages Prior to Updating R} \usage{ installed_prior(savefilepath, path = NULL, updated = FALSE) } \arguments{ \item{savefilepath}{the path where to save the list...
/man/installed_prior.Rd
no_license
TysonStanley/rinstalled
R
false
true
607
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/installed.R \name{installed_prior} \alias{installed_prior} \title{Save List of Packages Prior to Updating R} \usage{ installed_prior(savefilepath, path = NULL, updated = FALSE) } \arguments{ \item{savefilepath}{the path where to save the list...
library(ggplot2) library(tidyr) library(dplyr) library(knitr) library(caret) library(corrgram) library(pROC) library(plyr) library(caretEnsemble) library(doMC) registerDoMC(cores = 4) ############################################################################################## # A function to train multiple models o...
/full_code.R
no_license
medo/Telco
R
false
false
16,443
r
library(ggplot2) library(tidyr) library(dplyr) library(knitr) library(caret) library(corrgram) library(pROC) library(plyr) library(caretEnsemble) library(doMC) registerDoMC(cores = 4) ############################################################################################## # A function to train multiple models o...
library(CEGO) ### Name: distanceStringLCStr ### Title: Longest Common Substring distance ### Aliases: distanceStringLCStr ### ** Examples distanceStringLCStr("ABCD","AACC")
/data/genthat_extracted_code/CEGO/examples/distanceStringLCStr.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
181
r
library(CEGO) ### Name: distanceStringLCStr ### Title: Longest Common Substring distance ### Aliases: distanceStringLCStr ### ** Examples distanceStringLCStr("ABCD","AACC")
# seas_stat.R MakeSeasonStats <- function(){ year<-year(max(db_ranking$Date)) tmp<-select_results() %>% select(ID_play, Rnd, Surface, Result, Tournament) winners<-filter(tmp, Rnd==1, Result=="Win") %>% group_by(ID_play) %>% summarise(Winners =n()) %>%ungroup %>% arrange(...
/seas_stat.R
no_license
DanielSzulc/Tensim
R
false
false
3,594
r
# seas_stat.R MakeSeasonStats <- function(){ year<-year(max(db_ranking$Date)) tmp<-select_results() %>% select(ID_play, Rnd, Surface, Result, Tournament) winners<-filter(tmp, Rnd==1, Result=="Win") %>% group_by(ID_play) %>% summarise(Winners =n()) %>%ungroup %>% arrange(...
NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") # Read the NEI and SCC file library(ggplot2) library(tidyr) data_baltimore <- subset(NEI, NEI$fips == "24510") # Data in Baltimore city data_baltimore_type <- split(data_baltimore, data_baltimore$type) # Split the Baltimore city d...
/plot3.R
no_license
ZiyingFeng/Exploratory-Data-Analysis---Fine-Particle-Matter-in-US
R
false
false
651
r
NEI <- readRDS("summarySCC_PM25.rds") SCC <- readRDS("Source_Classification_Code.rds") # Read the NEI and SCC file library(ggplot2) library(tidyr) data_baltimore <- subset(NEI, NEI$fips == "24510") # Data in Baltimore city data_baltimore_type <- split(data_baltimore, data_baltimore$type) # Split the Baltimore city d...
# Copyright 2021 Observational Health Data Sciences and Informatics # # This file is part of CohortDiagnostics # # 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/li...
/R/IncidenceRates.R
permissive
Jake-Gillberg/CohortDiagnostics
R
false
false
6,051
r
# Copyright 2021 Observational Health Data Sciences and Informatics # # This file is part of CohortDiagnostics # # 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/li...
cur.mod <- 6 library(doParallel) cl <- makePSOCKcluster(4) registerDoParallel(cl) result.cv.intern <- data.table(expand.grid(cv_n = 1:10, model = models[cur.mod], outcome = c("unfav", "mort"), ...
/cv_10x.R
no_license
belalanik/ML_baseline_pred_code
R
false
false
9,404
r
cur.mod <- 6 library(doParallel) cl <- makePSOCKcluster(4) registerDoParallel(cl) result.cv.intern <- data.table(expand.grid(cv_n = 1:10, model = models[cur.mod], outcome = c("unfav", "mort"), ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rds_operations.R \name{rds_stop_db_cluster} \alias{rds_stop_db_cluster} \title{Stops an Amazon Aurora DB cluster} \usage{ rds_stop_db_cluster(DBClusterIdentifier) } \arguments{ \item{DBClusterIdentifier}{[required] The DB cluster identifier o...
/paws/man/rds_stop_db_cluster.Rd
permissive
sanchezvivi/paws
R
false
true
1,056
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rds_operations.R \name{rds_stop_db_cluster} \alias{rds_stop_db_cluster} \title{Stops an Amazon Aurora DB cluster} \usage{ rds_stop_db_cluster(DBClusterIdentifier) } \arguments{ \item{DBClusterIdentifier}{[required] The DB cluster identifier o...
context("Task Parameter Estimation") loadExamples(4) setParameterEstimationSettings(update_model = FALSE, method = "LevenbergMarquardt") test_that("runParameterEstimation()", { PE <- runParameterEstimation() expect_length(PE, 13) expect_is(PE$settings, "list") expect_is(PE$main, "list") expect_gt(PE$m...
/tests/testthat/test_task_parameterestimation.R
permissive
jpahle/CoRC
R
false
false
3,957
r
context("Task Parameter Estimation") loadExamples(4) setParameterEstimationSettings(update_model = FALSE, method = "LevenbergMarquardt") test_that("runParameterEstimation()", { PE <- runParameterEstimation() expect_length(PE, 13) expect_is(PE$settings, "list") expect_is(PE$main, "list") expect_gt(PE$m...
# Load Data MtM_data = read.csv("first_train_data.csv",header = FALSE) MtM_data_val = read.csv("first_val_data.csv",header = FALSE) training.matrix = as.matrix(MtM_data[,-1]) val_data = as.matrix(MtM_data_val[,-1]) ## patches of 10 by 10 pixels ## Set up the autoencoder architecture: nl=3 ## number of layers (default...
/R_autoencoder_code.r
no_license
robin93/deep_learn_model_hq
R
false
false
1,545
r
# Load Data MtM_data = read.csv("first_train_data.csv",header = FALSE) MtM_data_val = read.csv("first_val_data.csv",header = FALSE) training.matrix = as.matrix(MtM_data[,-1]) val_data = as.matrix(MtM_data_val[,-1]) ## patches of 10 by 10 pixels ## Set up the autoencoder architecture: nl=3 ## number of layers (default...
library(foreign) library(data.table) # browseVignettes("data.table") ### 5c data #fn <- "5c_merged_dataset_jan_2018_31_countries_visualization.sav" #data.spss <- read.spss(fn, use.value.labels = FALSE, to.data.frame = TRUE) #saveRDS(data.spss, file="data_spss.rda") data.spss <- readRDS("data_spss.rda") data.all <- d...
/preprocessing.R
no_license
5ccareers/shiny5c
R
false
false
10,894
r
library(foreign) library(data.table) # browseVignettes("data.table") ### 5c data #fn <- "5c_merged_dataset_jan_2018_31_countries_visualization.sav" #data.spss <- read.spss(fn, use.value.labels = FALSE, to.data.frame = TRUE) #saveRDS(data.spss, file="data_spss.rda") data.spss <- readRDS("data_spss.rda") data.all <- d...
library(Causata) ### Name: Where ### Title: Query WHERE clause and comparison operations ### Aliases: Where EqualTo NotEqualTo GreaterThan GreaterThanOrEqualTo ### LessThan LessThanOrEqualTo Like BeginningWith In ### Keywords: SQL ### ** Examples q <- FocalPointQuery("page-view") + Where("page-view-count", Greate...
/data/genthat_extracted_code/Causata/examples/Where.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
466
r
library(Causata) ### Name: Where ### Title: Query WHERE clause and comparison operations ### Aliases: Where EqualTo NotEqualTo GreaterThan GreaterThanOrEqualTo ### LessThan LessThanOrEqualTo Like BeginningWith In ### Keywords: SQL ### ** Examples q <- FocalPointQuery("page-view") + Where("page-view-count", Greate...
library(testthat) library(coRdon) test_check("coRdon")
/tests/testthat.R
no_license
BioinfoHR/coRdon
R
false
false
56
r
library(testthat) library(coRdon) test_check("coRdon")
testlist <- list(A = structure(c(2.31584307392677e+77, 9.5381832092761e+295, 1.22810536108214e+146, 4.12396251261199e-221, 0), .Dim = c(5L, 1L)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_rows,testlist) str(result)
/multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613116714-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
250
r
testlist <- list(A = structure(c(2.31584307392677e+77, 9.5381832092761e+295, 1.22810536108214e+146, 4.12396251261199e-221, 0), .Dim = c(5L, 1L)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_rows,testlist) str(result)
library(raster) library(vegan) source('week-10/biostats.r') # call in data data(varespec) data(varechem) str(varespec) summary(varespec) str(varechem) summary(varechem) # select species: identify and remove extremely common or rare species occur <- foa.plots(varespec) # ^^ this is a pretty fun plotting function!...
/week-10/Lab_10.r
no_license
diazrenata/multivar-stats
R
false
false
6,282
r
library(raster) library(vegan) source('week-10/biostats.r') # call in data data(varespec) data(varechem) str(varespec) summary(varespec) str(varechem) summary(varechem) # select species: identify and remove extremely common or rare species occur <- foa.plots(varespec) # ^^ this is a pretty fun plotting function!...
#' Title #' #' @param gmle.out #' @param profile.setup #' @param profile.stable.parameters #' @param profile.on.list #' @param special.stuff.profile #' @param range.list #' @param size #' @param interactive #' @param save.structures #' @param addname #' @param save.parameter.vectors #' @param debug1 #' @par...
/R/one.dim.profile.R
no_license
anhnguyendepocen/SMRD
R
false
false
4,745
r
#' Title #' #' @param gmle.out #' @param profile.setup #' @param profile.stable.parameters #' @param profile.on.list #' @param special.stuff.profile #' @param range.list #' @param size #' @param interactive #' @param save.structures #' @param addname #' @param save.parameter.vectors #' @param debug1 #' @par...
# # xts: eXtensible time-series # # Copyright (C) 2008 Jeffrey A. Ryan jeff.a.ryan @ gmail.com # # Contributions from Joshua M. Ulrich # # 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 Foundat...
/R/toperiod.R
no_license
cran/xts
R
false
false
8,659
r
# # xts: eXtensible time-series # # Copyright (C) 2008 Jeffrey A. Ryan jeff.a.ryan @ gmail.com # # Contributions from Joshua M. Ulrich # # 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 Foundat...
#' Send a message using Pushover #' #' \code{pushover} sends a message (push notification) to a user or group. #' Messages can be given different priorities, play different sounds, or require #' acknowledgments. The \code{pushover_normal}, \code{pushover_silent}, #' \code{pushover_quiet}, \code{pushover_high}, and \cod...
/R/pushover.R
permissive
rohitpandey13/pushoverr
R
false
false
5,116
r
#' Send a message using Pushover #' #' \code{pushover} sends a message (push notification) to a user or group. #' Messages can be given different priorities, play different sounds, or require #' acknowledgments. The \code{pushover_normal}, \code{pushover_silent}, #' \code{pushover_quiet}, \code{pushover_high}, and \cod...
\name{mkfun.poly} \alias{mkfun.poly} \alias{mkrk.cubic} \alias{mkphi.cubic} \alias{mkrk.cubic.per} \alias{mkrk.linear} \alias{mkrk.linear.per} \alias{mkrk.trig} \alias{mkphi.trig} \title{ Crafting Building Blocks for Polynomial Splines } \description{ Craft numerical functions to be used by \code{\link{mkterm}}...
/man/mkfun.poly.Rd
no_license
cran/gss
R
false
false
1,626
rd
\name{mkfun.poly} \alias{mkfun.poly} \alias{mkrk.cubic} \alias{mkphi.cubic} \alias{mkrk.cubic.per} \alias{mkrk.linear} \alias{mkrk.linear.per} \alias{mkrk.trig} \alias{mkphi.trig} \title{ Crafting Building Blocks for Polynomial Splines } \description{ Craft numerical functions to be used by \code{\link{mkterm}}...
#'Calculates the C1-C4 measures of convergent evolution between two lineages as described in #'Stayton (2015). All measures quantify convergence by the ratio of current to maximum past phenotypic #'distance between lineages. Can be used as-is but more often will be used within the calcConv script. #'Code written by...
/R/calcCs.R
no_license
cran/convevol
R
false
false
3,939
r
#'Calculates the C1-C4 measures of convergent evolution between two lineages as described in #'Stayton (2015). All measures quantify convergence by the ratio of current to maximum past phenotypic #'distance between lineages. Can be used as-is but more often will be used within the calcConv script. #'Code written by...
generate_data= function(n, p){ covariates=matrix(rnorm(n*p, 0, 1), n, p) response= rnorm(n, 0, 1) return (list(covariates, response)) } model_select= function(covariates, responses, cutoff){ b=lm(responses ~ covariates) c=summary(b) return (b[c$coefficients[,ncol(c$coefficients)]<cutoff]) }
/lab12_simulation.R
no_license
krao97/350lab
R
false
false
312
r
generate_data= function(n, p){ covariates=matrix(rnorm(n*p, 0, 1), n, p) response= rnorm(n, 0, 1) return (list(covariates, response)) } model_select= function(covariates, responses, cutoff){ b=lm(responses ~ covariates) c=summary(b) return (b[c$coefficients[,ncol(c$coefficients)]<cutoff]) }
setwd("/Users/thomasblanchet/Dropbox/W2ID/Population/WorldNationalAccounts/stata-programs/wtid-data") library(readxl) library(stringr) sources <- read_excel("Database.xlsx", sheet="Sources") countries <- sources$Country for (c in countries) { cat(paste0("--> ", c, "\n")) sheet <- read_excel("Database.xlsx", ...
/data-input/wtid-data/export-to-csv.R
no_license
WIDworld/wid-world
R
false
false
634
r
setwd("/Users/thomasblanchet/Dropbox/W2ID/Population/WorldNationalAccounts/stata-programs/wtid-data") library(readxl) library(stringr) sources <- read_excel("Database.xlsx", sheet="Sources") countries <- sources$Country for (c in countries) { cat(paste0("--> ", c, "\n")) sheet <- read_excel("Database.xlsx", ...
#' Function to classify the time complexity of the expression passed onto asymptoticTimings (which outputs a data frame to be used here) #' #' @title Asymptotic Time Complexity Classifying function #' #' @param model.df A data frame composed of columns 'Timings' and 'Data sizes', which can be obtained by asymptoticTimi...
/R/asymptoticTimeComplexityClass.R
permissive
Anirban166/testComplexity
R
false
false
2,456
r
#' Function to classify the time complexity of the expression passed onto asymptoticTimings (which outputs a data frame to be used here) #' #' @title Asymptotic Time Complexity Classifying function #' #' @param model.df A data frame composed of columns 'Timings' and 'Data sizes', which can be obtained by asymptoticTimi...
#'@export open_subprocess <- function(script.name, ...) { ping.stdout <- tempfile() system2("Rscript", args = c(system.file(script.name, package="RzmqJobQueue"), unlist(list(...))), wait=FALSE, stdout = ping.stdout) while(!file.exists(ping.stdout)) next while(file.info(ping.stdout)$size == 0) next suppressWar...
/R/subprocess.R
no_license
wush978/RzmqJobQueue
R
false
false
454
r
#'@export open_subprocess <- function(script.name, ...) { ping.stdout <- tempfile() system2("Rscript", args = c(system.file(script.name, package="RzmqJobQueue"), unlist(list(...))), wait=FALSE, stdout = ping.stdout) while(!file.exists(ping.stdout)) next while(file.info(ping.stdout)$size == 0) next suppressWar...
# the density is for a continous distribution is a measure of # the relative probability of "getting a value close to x". # the probability of getting a value in a particular interval # is the area under the corresponding part of the curve # for discrete distributions the term "density" is ued for the # point probabil...
/iswr/probability_distributions/densities.R
no_license
kayfay/data_viz
R
false
false
842
r
# the density is for a continous distribution is a measure of # the relative probability of "getting a value close to x". # the probability of getting a value in a particular interval # is the area under the corresponding part of the curve # for discrete distributions the term "density" is ued for the # point probabil...
library(aiRthermo) ### Name: PTheta2T ### Title: Temperature from pressure and potential temperature ### Aliases: PTheta2T ### Keywords: Functions ### ** Examples data(RadiosondeD) dPs<-RadiosondeD[,1]*100 dTs<-C2K(RadiosondeD[,3]) dThetas=PT2Theta(dPs,dTs) PTheta2T(dPs,dThetas)
/data/genthat_extracted_code/aiRthermo/examples/PTheta2T.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
287
r
library(aiRthermo) ### Name: PTheta2T ### Title: Temperature from pressure and potential temperature ### Aliases: PTheta2T ### Keywords: Functions ### ** Examples data(RadiosondeD) dPs<-RadiosondeD[,1]*100 dTs<-C2K(RadiosondeD[,3]) dThetas=PT2Theta(dPs,dTs) PTheta2T(dPs,dThetas)
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{brasil_soccer_league} \alias{brasil_soccer_league} \title{This is a dataset with the results matches fromo the first league of the Brazilian soccer championship from 2017-2019. It was reduced and translatedfrom t...
/fuzzedpackages/bpcs/man/brasil_soccer_league.Rd
permissive
akhikolla/testpackages
R
false
true
1,220
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{brasil_soccer_league} \alias{brasil_soccer_league} \title{This is a dataset with the results matches fromo the first league of the Brazilian soccer championship from 2017-2019. It was reduced and translatedfrom t...
### Example 5.1: Population Proportion --- Sensitivity Analysis ### n <- 70 y <- 12 ### Consider the same four priors as in Example 3.1 ### and compute (1) posterior mean, and (2) prob that pi >= 0.3 d.pi <- 1/1000 # pi grid spacing pi.grid <- seq(0, 1, d.pi) post.means <- numeric(4) post.probs <- numeric(4)...
/lec/lec3/ex5.1.R
permissive
TaigaHasegawa/Bayesian-Analysis
R
false
false
2,055
r
### Example 5.1: Population Proportion --- Sensitivity Analysis ### n <- 70 y <- 12 ### Consider the same four priors as in Example 3.1 ### and compute (1) posterior mean, and (2) prob that pi >= 0.3 d.pi <- 1/1000 # pi grid spacing pi.grid <- seq(0, 1, d.pi) post.means <- numeric(4) post.probs <- numeric(4)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/figures.R \name{read_wordsintransition_chunks} \alias{read_wordsintransition_chunks} \title{Read all available knitr chunks in the wordsintransition package.} \usage{ read_wordsintransition_chunks() } \description{ Read all available knitr ch...
/wordsintransition/man/read_wordsintransition_chunks.Rd
no_license
lupyanlab/words-in-transition
R
false
true
361
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/figures.R \name{read_wordsintransition_chunks} \alias{read_wordsintransition_chunks} \title{Read all available knitr chunks in the wordsintransition package.} \usage{ read_wordsintransition_chunks() } \description{ Read all available knitr ch...
# B.3.5 Data Frames # data frames are 2D, each column has the same number of rows, but the columns can be different (numeric, integer, charactor, complex, imaginary) dat <- data.frame(species = c("S.altissima", "S.rugosa", "E.graminifolia", "A.pilosus"), treatment = factor(c("Control", "Water", "Control", "Water")), he...
/B.3.5.R
no_license
lalsmith/UCLA-QBC
R
false
false
764
r
# B.3.5 Data Frames # data frames are 2D, each column has the same number of rows, but the columns can be different (numeric, integer, charactor, complex, imaginary) dat <- data.frame(species = c("S.altissima", "S.rugosa", "E.graminifolia", "A.pilosus"), treatment = factor(c("Control", "Water", "Control", "Water")), he...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/limma_a_b.R \name{limma_a_b} \alias{limma_a_b} \alias{limma_gen} \title{Wrapper for Limma} \usage{ limma_a_b(eset, model.str, coef.str, ...) limma_gen(eset, model.str, coef.str, ...) } \arguments{ \item{eset}{eset (or most likely eset subcla...
/man/limma_a_b.Rd
no_license
vladpetyuk/vp.misc
R
false
true
1,471
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/limma_a_b.R \name{limma_a_b} \alias{limma_a_b} \alias{limma_gen} \title{Wrapper for Limma} \usage{ limma_a_b(eset, model.str, coef.str, ...) limma_gen(eset, model.str, coef.str, ...) } \arguments{ \item{eset}{eset (or most likely eset subcla...
mycount1 <- function(x){ ## returns sorted unique values of x and how many times each appears b1 = sort(unique(x),decreasing=TRUE) b2 = length(b1) b3 = rep(0,b2) for(i in 1:b2) b3[i] = sum(x == b1[i]) list(v=b1, ct = b3) }
/Codigo R/holdem/R/mycount1.R
no_license
Aokaen/Poker_Simu
R
false
false
228
r
mycount1 <- function(x){ ## returns sorted unique values of x and how many times each appears b1 = sort(unique(x),decreasing=TRUE) b2 = length(b1) b3 = rep(0,b2) for(i in 1:b2) b3[i] = sum(x == b1[i]) list(v=b1, ct = b3) }
library(shiny) library(ggplot2) library(data.table) library(maps) library(rCharts) library(reshape2) library(markdown) library(mapproj) states_map <- map_data("state") # following data is from # this is repdata-data-StormData.csv.bz2 data - # cleaned up and aggregated by year/state, events are counted and damage # is...
/server.R
no_license
batla/DataProducts
R
false
false
5,269
r
library(shiny) library(ggplot2) library(data.table) library(maps) library(rCharts) library(reshape2) library(markdown) library(mapproj) states_map <- map_data("state") # following data is from # this is repdata-data-StormData.csv.bz2 data - # cleaned up and aggregated by year/state, events are counted and damage # is...
genContourData <- function(x, rules) { contour.data <- expand.grid(x1 = seq(min(x[,1]), max(x[,1]), length = 300), x2 = seq(min(x[,2]), max(x[,2]), length = 300)) contour.y <- genOracleTreatments(contour.data, rules) data.frame(contour.data, z = as.numeric(contour.y)) } plotTreatm...
/R/plotting.R
permissive
jaredhuling/mowl
R
false
false
5,025
r
genContourData <- function(x, rules) { contour.data <- expand.grid(x1 = seq(min(x[,1]), max(x[,1]), length = 300), x2 = seq(min(x[,2]), max(x[,2]), length = 300)) contour.y <- genOracleTreatments(contour.data, rules) data.frame(contour.data, z = as.numeric(contour.y)) } plotTreatm...
# Case Study - Denco #Manufacturing Firm with sales data of partnum and customer with region wise sales # Should know - import, table, dplyr, aggregate etc #read file : Method1 sales1 = read.csv("./data/denco.csv") str(sales1) #see if data is loaded and check its structure #read file : Method2 : when location is n...
/denco_case.R
no_license
ak-rishi-vardhan/analytics
R
false
false
4,249
r
# Case Study - Denco #Manufacturing Firm with sales data of partnum and customer with region wise sales # Should know - import, table, dplyr, aggregate etc #read file : Method1 sales1 = read.csv("./data/denco.csv") str(sales1) #see if data is loaded and check its structure #read file : Method2 : when location is n...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/asymmetrycurve.R \name{asymmetryCurve} \alias{asymmetryCurve} \title{Asymmetry curve based on depths} \usage{ asymmetryCurve(x, y = NULL, alpha = seq(0, 1, 0.01), movingmedian = FALSE, name = "X", name_y = "Y", depth_params = list(method = ...
/man/asymmetryCurve.Rd
no_license
SurajMalpani/DepthProc
R
false
true
3,859
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/asymmetrycurve.R \name{asymmetryCurve} \alias{asymmetryCurve} \title{Asymmetry curve based on depths} \usage{ asymmetryCurve(x, y = NULL, alpha = seq(0, 1, 0.01), movingmedian = FALSE, name = "X", name_y = "Y", depth_params = list(method = ...
data = read.csv("xor.data", header=F) colnames(data) <- c("x", "y", "noise1", "noise2", "noise3", "noise4", "class") title="Features de dataset XOR" plot(data[,-7], col=data[,7]+2, main=title)
/TP1/plot-ej8.r
no_license
elopez/IAA
R
false
false
193
r
data = read.csv("xor.data", header=F) colnames(data) <- c("x", "y", "noise1", "noise2", "noise3", "noise4", "class") title="Features de dataset XOR" plot(data[,-7], col=data[,7]+2, main=title)
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.VPA.R \name{plot.VPA} \alias{plot.VPA} \title{VPA plot} \usage{ \method{plot}{VPA}(x, display_last_class = TRUE, ...) } \arguments{ \item{x}{list of the class \code{"VPA"} containing the results of the VPA model.} \item{display_last_cla...
/man/plot.VPA.Rd
no_license
alko989/TropFishR
R
false
true
883
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.VPA.R \name{plot.VPA} \alias{plot.VPA} \title{VPA plot} \usage{ \method{plot}{VPA}(x, display_last_class = TRUE, ...) } \arguments{ \item{x}{list of the class \code{"VPA"} containing the results of the VPA model.} \item{display_last_cla...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mst.all.R \name{mst.all} \alias{mst.all} \title{Minimum spanning tree for all regions} \usage{ mst.all( neighbors, cases, pop, w, ex, ty, max_pop, type = "maxonly", nlinks = "one", early = FALSE, cl = NU...
/man/mst.all.Rd
no_license
cran/smerc
R
false
true
5,060
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mst.all.R \name{mst.all} \alias{mst.all} \title{Minimum spanning tree for all regions} \usage{ mst.all( neighbors, cases, pop, w, ex, ty, max_pop, type = "maxonly", nlinks = "one", early = FALSE, cl = NU...
# reading the required data from"household_power_consumption.txt" EPCdata <- read.table("household_power_consumption.txt", na.strings = "?", sep = ";", skip = 66637, nrows = 2880) # creating the required histogram frequency plot of "Global Active power" for the given household for a interval of 2 days(2007-02-01 a...
/plot1.R
no_license
anagh24/ExData_Plotting1
R
false
false
826
r
# reading the required data from"household_power_consumption.txt" EPCdata <- read.table("household_power_consumption.txt", na.strings = "?", sep = ";", skip = 66637, nrows = 2880) # creating the required histogram frequency plot of "Global Active power" for the given household for a interval of 2 days(2007-02-01 a...
install.packages("psych") install.packages('ggplot2', dep = TRUE) install.packages('car', dep = TRUE) install.packages('MASS') require(MASS) library(ggplot2) library(psych) library(car) rm(list=ls()) # clear environment dataset <- read.csv("C://users/vemul/Desktop/ISL-master/ISL-master/dataset_Facebook.csv", ...
/isl_project_update.R
no_license
vemula1802/ISL
R
false
false
10,398
r
install.packages("psych") install.packages('ggplot2', dep = TRUE) install.packages('car', dep = TRUE) install.packages('MASS') require(MASS) library(ggplot2) library(psych) library(car) rm(list=ls()) # clear environment dataset <- read.csv("C://users/vemul/Desktop/ISL-master/ISL-master/dataset_Facebook.csv", ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ShinyApps.R \name{prepareForEvidenceExplorer} \alias{prepareForEvidenceExplorer} \title{Prepare results for the Evidence Explorer Shiny app.} \usage{ prepareForEvidenceExplorer(resultsZipFile, dataFolder) } \arguments{ \item{resultsZ...
/man/prepareForEvidenceExplorer.Rd
permissive
zarathucorp/ppi0623
R
false
true
927
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ShinyApps.R \name{prepareForEvidenceExplorer} \alias{prepareForEvidenceExplorer} \title{Prepare results for the Evidence Explorer Shiny app.} \usage{ prepareForEvidenceExplorer(resultsZipFile, dataFolder) } \arguments{ \item{resultsZ...
#' @importFrom rlang %||% rlang::`%||%` #' @importFrom purrr %>% purrr::`%>%`
/mlflow/R/mlflow/R/imports.R
permissive
sepidehhosseinzadeh/mlflow-cpp
R
false
false
79
r
#' @importFrom rlang %||% rlang::`%||%` #' @importFrom purrr %>% purrr::`%>%`
#' Additive Model Log Likelihood #' #' Computes the log-likelihood of a spike train under the assumptions of the additive model. #' #' @param param a numeric vector containing the value of the eta and gamma parameters in the model. #' For a model containing K frequencies, the first K numbers are eta values and the seco...
/R/AdditiveLogLikelihood.R
no_license
dpwynne/mmnst
R
false
false
2,544
r
#' Additive Model Log Likelihood #' #' Computes the log-likelihood of a spike train under the assumptions of the additive model. #' #' @param param a numeric vector containing the value of the eta and gamma parameters in the model. #' For a model containing K frequencies, the first K numbers are eta values and the seco...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/blblm_core.R \name{blbsigma_rcpp} \alias{blbsigma_rcpp} \title{compute sigma from fit} \usage{ blbsigma_rcpp(fit, weights, y) } \arguments{ \item{fit}{The fitted model} \item{weights}{The weights used to fit} \item{y}{The response varibale}...
/man/blbsigma_rcpp.Rd
no_license
lxpzzj/141c_final
R
false
true
362
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/blblm_core.R \name{blbsigma_rcpp} \alias{blbsigma_rcpp} \title{compute sigma from fit} \usage{ blbsigma_rcpp(fit, weights, y) } \arguments{ \item{fit}{The fitted model} \item{weights}{The weights used to fit} \item{y}{The response varibale}...
get_mutations_by_sample_id <- function(sample_id = NULL, study_id = NULL, genes, panel) { input_study_id <- study_id # separate impact samples impact_ids <- sample_id[stringr::str_detect(sample...
/R/get_mutations.R
permissive
LurkingVariable/cbioportalR
R
false
false
8,360
r
get_mutations_by_sample_id <- function(sample_id = NULL, study_id = NULL, genes, panel) { input_study_id <- study_id # separate impact samples impact_ids <- sample_id[stringr::str_detect(sample...
#plot1.R library(data.table) # Downloading Data url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" dest_file <- "Dataset.zip" download.file(url, destfile = dest_file, method = "curl") d <- unzip(dest_file) #Reading Data data <- read.table(d[1], sep =";",header = TRUE, na.s...
/plot1.R
no_license
epetushek/ExData_Plotting1
R
false
false
712
r
#plot1.R library(data.table) # Downloading Data url <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" dest_file <- "Dataset.zip" download.file(url, destfile = dest_file, method = "curl") d <- unzip(dest_file) #Reading Data data <- read.table(d[1], sep =";",header = TRUE, na.s...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/temp.kalman.R \name{temp.kalman} \alias{temp.kalman} \title{Smooth temperature time series using a Kalman filter/ smoother} \usage{ temp.kalman(wtr, watts, ampH=1, ...) } \arguments{ \item{wtr}{Vector (regular time series) of water temperatur...
/man/temp.kalman.Rd
no_license
GLEON/LakeMetabolizer
R
false
true
1,069
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/temp.kalman.R \name{temp.kalman} \alias{temp.kalman} \title{Smooth temperature time series using a Kalman filter/ smoother} \usage{ temp.kalman(wtr, watts, ampH=1, ...) } \arguments{ \item{wtr}{Vector (regular time series) of water temperatur...
#### # A Diferença entre initU e initU2 é o que o initU2 recebe os Centros iniciais, # por outro lado initU recebe o número de valores a serem inicializados #### require('flexclust') initU <- function(Data, centers, expo, distanceMetric, verboseGraphs, waitTime){ U <- estimateU(Data = Data, cen...
/TrabalhoParcial/src/initU.R
no_license
PauloCirino/Redes_Neurais_UFMG
R
false
false
528
r
#### # A Diferença entre initU e initU2 é o que o initU2 recebe os Centros iniciais, # por outro lado initU recebe o número de valores a serem inicializados #### require('flexclust') initU <- function(Data, centers, expo, distanceMetric, verboseGraphs, waitTime){ U <- estimateU(Data = Data, cen...
# Loading packages and establishing working directory setwd("~/OneDrive - UNIVERSIDAD NACIONAL AUTÓNOMA DE MÉXICO/MSc Innovation Sciences/Thesis/Data analysis/NUTS") library(purrr) # PERIOD 1 # Reading files Hydro1 <- read.delim("Hydro1.txt") Geo1 <- read.delim("Geo1.txt") PV1 <- read.delim("PV1.txt") Ocean1 <- re...
/NUTS counts/NUTS - Overlapping.R
no_license
OVazquezVillegas/Complex-knowledge-repository
R
false
false
1,099
r
# Loading packages and establishing working directory setwd("~/OneDrive - UNIVERSIDAD NACIONAL AUTÓNOMA DE MÉXICO/MSc Innovation Sciences/Thesis/Data analysis/NUTS") library(purrr) # PERIOD 1 # Reading files Hydro1 <- read.delim("Hydro1.txt") Geo1 <- read.delim("Geo1.txt") PV1 <- read.delim("PV1.txt") Ocean1 <- re...
ins<- read.csv("~/insurance.csv") str(ins) summmary(ins$age) sd(ins$age) boxplot(ins$bmi, main="Boxplot of Insurance BMI",ylab="BMI") hist(ins$charges, main="Histogram of Insurance Charges",xlab="Charges") plot(x=ins$bmi, y=ins$charges, main="Scatterplot of BMIvs Charges", xlab="BMI", ylab="Charges") plot(density(ins$...
/Prak2.R
no_license
JekMa/Daming
R
false
false
2,253
r
ins<- read.csv("~/insurance.csv") str(ins) summmary(ins$age) sd(ins$age) boxplot(ins$bmi, main="Boxplot of Insurance BMI",ylab="BMI") hist(ins$charges, main="Histogram of Insurance Charges",xlab="Charges") plot(x=ins$bmi, y=ins$charges, main="Scatterplot of BMIvs Charges", xlab="BMI", ylab="Charges") plot(density(ins$...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.R \name{s3control} \alias{s3control} \title{AWS S3 Control} \usage{ s3control( config = list(), credentials = list(), endpoint = NULL, region = NULL ) } \arguments{ \item{config}{Optional configuration of credentials, endpoint, a...
/cran/paws/man/s3control.Rd
permissive
paws-r/paws
R
false
true
14,076
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/paws.R \name{s3control} \alias{s3control} \title{AWS S3 Control} \usage{ s3control( config = list(), credentials = list(), endpoint = NULL, region = NULL ) } \arguments{ \item{config}{Optional configuration of credentials, endpoint, a...
library(ggplot2) library(nnet) set.seed(999) redshifts <- read.csv("redshift_between0and1.csv") #redshifts <- read.csv("redshift_between0and7.csv") redshifts <- redshifts[c("u","g","r","i","z","redshift")] redshifts <- as.data.frame(scale(redshifts)) npoints_train = as.integer(dim(redshifts)[1]*2/3) #definindo a quan...
/NNet/Qualificação - Script de Treinamento e Teste da rede NNet.r
no_license
amitamk/Qualificacao
R
false
false
1,736
r
library(ggplot2) library(nnet) set.seed(999) redshifts <- read.csv("redshift_between0and1.csv") #redshifts <- read.csv("redshift_between0and7.csv") redshifts <- redshifts[c("u","g","r","i","z","redshift")] redshifts <- as.data.frame(scale(redshifts)) npoints_train = as.integer(dim(redshifts)[1]*2/3) #definindo a quan...
# ============================================================================== # NORMALIZATION # ============================================================================== # read input FCS ffsNorm <- reactive({ if (vals$keepDataConcat) { list(ffConcat()) } else { req(input$fcsNorm) ...
/inst/shinyGUI/server-normalization.R
no_license
sorjuela/CATALYST
R
false
false
16,658
r
# ============================================================================== # NORMALIZATION # ============================================================================== # read input FCS ffsNorm <- reactive({ if (vals$keepDataConcat) { list(ffConcat()) } else { req(input$fcsNorm) ...
# # example 5 library(shiny) shinyUI(fluidPage( titlePanel("Tabs!"), sidebarLayout( sidebarPanel( textInput("box1", "Enter Tab 1 Text:", value = "Tab 1!"), textInput("box2", "Enter Tab 2 Text:", value = "Tab 2!"), ...
/example5/ui.R
no_license
GaryFH/Developing-Data-Products
R
false
false
697
r
# # example 5 library(shiny) shinyUI(fluidPage( titlePanel("Tabs!"), sidebarLayout( sidebarPanel( textInput("box1", "Enter Tab 1 Text:", value = "Tab 1!"), textInput("box2", "Enter Tab 2 Text:", value = "Tab 2!"), ...
library(shiny) library('ggplot2') # Define UI for application ui <- fluidPage( # Application title titlePanel("Time Value of Money"), # Create a new Row in the UI for slider input and select input fluidRow( column(4, sliderInput("init", "Initial Amount", ...
/workout02/app.R
no_license
stat133-sp19/hw-stat133-Zehao1006
R
false
false
5,119
r
library(shiny) library('ggplot2') # Define UI for application ui <- fluidPage( # Application title titlePanel("Time Value of Money"), # Create a new Row in the UI for slider input and select input fluidRow( column(4, sliderInput("init", "Initial Amount", ...
# TODO:: # - This is a UI file and should be moved to App/ui/ ######### ## mpa ## ######### STATIC.results.mpa <- renderText({'TODO: Instructions for user here.'}) STATIC.button.save <- renderUI({ span() }) STATIC.submat.selection <- list( nucleotide = renderUI({ column( 12, class='submat-define-chi...
/inst/app/server/static.R
permissive
Chebuu/fastalign
R
false
false
2,084
r
# TODO:: # - This is a UI file and should be moved to App/ui/ ######### ## mpa ## ######### STATIC.results.mpa <- renderText({'TODO: Instructions for user here.'}) STATIC.button.save <- renderUI({ span() }) STATIC.submat.selection <- list( nucleotide = renderUI({ column( 12, class='submat-define-chi...
setwd("C:/Users/16437/Desktop/2020 Fall/assignment 7") library(ggplot2) library(rlang) library(glue) library(tibble) library(dplyr) library(lubridate) library(ggplot2) library(factoextra) library(usethis) df_sobar <- read.csv("sobar-72.csv") df_red <- read.csv("winequality-red.csv",sep = ";") df_white <- ...
/assignment 7/Assignment_7.R
no_license
samileyang/DataAnalytics2020_Yihui_Yang
R
false
false
3,206
r
setwd("C:/Users/16437/Desktop/2020 Fall/assignment 7") library(ggplot2) library(rlang) library(glue) library(tibble) library(dplyr) library(lubridate) library(ggplot2) library(factoextra) library(usethis) df_sobar <- read.csv("sobar-72.csv") df_red <- read.csv("winequality-red.csv",sep = ";") df_white <- ...
#This is my scratch script for practicing R library(ape) library(geiger) library(ggplot2) #trying in class exercise cat("hello world") #use stackoverflow for help tips <- c("avoid excel", "use a reference manager", "learn a programing language") tips source("source.example.R") all.I.know.about.life.I.learned.in.grad.s...
/myfirstscript.R
no_license
mooret5/eeb201
R
false
false
4,935
r
#This is my scratch script for practicing R library(ape) library(geiger) library(ggplot2) #trying in class exercise cat("hello world") #use stackoverflow for help tips <- c("avoid excel", "use a reference manager", "learn a programing language") tips source("source.example.R") all.I.know.about.life.I.learned.in.grad.s...
# PHASE 1: (i) read the data file # (ii) select the data from 2007-02-01 and 2007-02-02 classes <- c("character", # Date "character", # Time "numeric", # Global_active_power "numeric", # Global_reactive_power "numeric", ...
/plot1.R
no_license
ldemey/ExData_Plotting1
R
false
false
1,176
r
# PHASE 1: (i) read the data file # (ii) select the data from 2007-02-01 and 2007-02-02 classes <- c("character", # Date "character", # Time "numeric", # Global_active_power "numeric", # Global_reactive_power "numeric", ...
# Load libraries library(dplyr) library(stringr) library(ggplot2) # read in emagistrate data (emags) source("reports/emagistrate_prep.R") TDOJ <- emags %>% filter(Type=="TDOJ") #this is where we start using summary counts per month (FYMonthAbbrev factor is ordered by Fiscal Calendar) TDOJmonthly <- group_b...
/reports/eMag_TDOJ_Monthly_FY10-FY15_PLOT.R
permissive
zhuoaprilfu/shiny-court-grapher
R
false
false
785
r
# Load libraries library(dplyr) library(stringr) library(ggplot2) # read in emagistrate data (emags) source("reports/emagistrate_prep.R") TDOJ <- emags %>% filter(Type=="TDOJ") #this is where we start using summary counts per month (FYMonthAbbrev factor is ordered by Fiscal Calendar) TDOJmonthly <- group_b...
# ------------- Redes Neuronales --------------- # Objetivo: elaborar el mejor modelo de red neuronal de acuerdo # a los valores de prediccion obtenidos tras variar el # numero de nodos y ratio de aprendizaje # Autor: Alberto Fernandez Hernandez #--- Librerias suppressPackageStartupMessages({ lib...
/scripts/02_red_neuronal.R
no_license
AlbertoUAH/MachineLearning
R
false
false
18,427
r
# ------------- Redes Neuronales --------------- # Objetivo: elaborar el mejor modelo de red neuronal de acuerdo # a los valores de prediccion obtenidos tras variar el # numero de nodos y ratio de aprendizaje # Autor: Alberto Fernandez Hernandez #--- Librerias suppressPackageStartupMessages({ lib...
args<-commandArgs(TRUE) #print(paste("these are the read arguments",args)) # args<-c(1,2,3,4,5) # chr1pos<-t(as.matrix(read.table('finestructure/1135-imp-1.haplotypes-drought_chrpositions',sep=' ',header=F))) # chr2pos<-t(as.matrix(read.table('finestructure/1135-imp-2.haplotypes-drought_chrpositions',sep=' ',header=F...
/parsejoin_chr_positions.R
no_license
yanjunzan/aGWA
R
false
false
1,139
r
args<-commandArgs(TRUE) #print(paste("these are the read arguments",args)) # args<-c(1,2,3,4,5) # chr1pos<-t(as.matrix(read.table('finestructure/1135-imp-1.haplotypes-drought_chrpositions',sep=' ',header=F))) # chr2pos<-t(as.matrix(read.table('finestructure/1135-imp-2.haplotypes-drought_chrpositions',sep=' ',header=F...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/aiplatform_objects.R \name{GoogleCloudAiplatformV1ResourcesConsumed} \alias{GoogleCloudAiplatformV1ResourcesConsumed} \title{GoogleCloudAiplatformV1ResourcesConsumed Object} \usage{ GoogleCloudAiplatformV1ResourcesConsumed() } \value{ GoogleC...
/googleaiplatformv1.auto/man/GoogleCloudAiplatformV1ResourcesConsumed.Rd
no_license
justinjm/autoGoogleAPI
R
false
true
619
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/aiplatform_objects.R \name{GoogleCloudAiplatformV1ResourcesConsumed} \alias{GoogleCloudAiplatformV1ResourcesConsumed} \title{GoogleCloudAiplatformV1ResourcesConsumed Object} \usage{ GoogleCloudAiplatformV1ResourcesConsumed() } \value{ GoogleC...
# install.packages("ggplot2") library(ggplot2) # Data set.seed(1) df <- data.frame(x = rnorm(200), y = rnorm(200)) p1<- ggplot(df, aes(x = x, y = y)) + geom_point() + geom_density_2d_filled(alpha = 0.4) + geom_density_2d(colour = "black") p2<- ggplot(df, aes(x = x, y = y)) + geom_density_2d_fil...
/Day49_2D_Density_plot.R
no_license
sharifshohan/One_Figure_A_Day_Challenge
R
false
false
430
r
# install.packages("ggplot2") library(ggplot2) # Data set.seed(1) df <- data.frame(x = rnorm(200), y = rnorm(200)) p1<- ggplot(df, aes(x = x, y = y)) + geom_point() + geom_density_2d_filled(alpha = 0.4) + geom_density_2d(colour = "black") p2<- ggplot(df, aes(x = x, y = y)) + geom_density_2d_fil...
## Bayesian Estimate of PS paramters from Brassica ACi curves ### setwd("~/Documents/ACiP4/Scripts") ### Change 4 server require(rjags)### Change 4 server source("CaCc_Temp_Jf_model_H.R") ### Bayesian Modelw/ Temp Dependency & farQ_tempDep limitation #### Set up for rjags ######### parameters = c("Vcmax25", "Rd25",...
/CaCc_Temp_Jf_script_H.R
no_license
zhujiedong/Bayes_Farquhar_Models_2_level_Hierarchy
R
false
false
15,800
r
## Bayesian Estimate of PS paramters from Brassica ACi curves ### setwd("~/Documents/ACiP4/Scripts") ### Change 4 server require(rjags)### Change 4 server source("CaCc_Temp_Jf_model_H.R") ### Bayesian Modelw/ Temp Dependency & farQ_tempDep limitation #### Set up for rjags ######### parameters = c("Vcmax25", "Rd25",...
#' @export get_basefile <- function(x, simplify = TRUE, missing = NULL) { x <- as.flat_list(x) res <- llply(x, get_basefile_) if (simplify && length(res) == 1) { return(res[[1]]) } else if (simplify && length(res) > 1) { res[laply(res, is.null)] <- missing unlist(res) } return(res) } get_basef...
/R/get_basefile.R
no_license
jason-huling/rstash
R
false
false
608
r
#' @export get_basefile <- function(x, simplify = TRUE, missing = NULL) { x <- as.flat_list(x) res <- llply(x, get_basefile_) if (simplify && length(res) == 1) { return(res[[1]]) } else if (simplify && length(res) > 1) { res[laply(res, is.null)] <- missing unlist(res) } return(res) } get_basef...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pvaluate.R \name{pvaluate} \alias{pvaluate} \title{Compute p.values} \usage{ pvaluate(estimate, std.error, df, adjustment = "none") } \arguments{ \item{estimate}{estimate of the regression (or other fit)} \item{std.error}{standard error} \i...
/man/pvaluate.Rd
no_license
eliocamp/wave4
R
false
true
615
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pvaluate.R \name{pvaluate} \alias{pvaluate} \title{Compute p.values} \usage{ pvaluate(estimate, std.error, df, adjustment = "none") } \arguments{ \item{estimate}{estimate of the regression (or other fit)} \item{std.error}{standard error} \i...
testlist <- list(Beta = 0, CVLinf = 86341236051411296, FM = 1.53632495265886e-311, L50 = 0, L95 = 0, LenBins = c(2.0975686864138e+162, -2.68131210337361e-144, -1.11215735981244e+199, -4.48649879577108e+143, 1.6611802228813e+218, 900371.947279558, 1.07063092954708e+238, 2.88003257377011e-142, 1.29554...
/DLMtool/inst/testfiles/LBSPRgen/AFL_LBSPRgen/LBSPRgen_valgrind_files/1615837113-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
2,048
r
testlist <- list(Beta = 0, CVLinf = 86341236051411296, FM = 1.53632495265886e-311, L50 = 0, L95 = 0, LenBins = c(2.0975686864138e+162, -2.68131210337361e-144, -1.11215735981244e+199, -4.48649879577108e+143, 1.6611802228813e+218, 900371.947279558, 1.07063092954708e+238, 2.88003257377011e-142, 1.29554...
library(hmm.discnp) ### Name: logLikHmm ### Title: Log likelihood of a hidden Markov model ### Aliases: logLikHmm ### Keywords: models ### ** Examples # TO DO: One or more bivariate examples. P <- matrix(c(0.7,0.3,0.1,0.9),2,2,byrow=TRUE) R <- matrix(c(0.5,0,0.1,0.1,0.3, 0.1,0.1,0,0.3,0.5),5,2) set.s...
/data/genthat_extracted_code/hmm.discnp/examples/logLikHmm.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
878
r
library(hmm.discnp) ### Name: logLikHmm ### Title: Log likelihood of a hidden Markov model ### Aliases: logLikHmm ### Keywords: models ### ** Examples # TO DO: One or more bivariate examples. P <- matrix(c(0.7,0.3,0.1,0.9),2,2,byrow=TRUE) R <- matrix(c(0.5,0,0.1,0.1,0.3, 0.1,0.1,0,0.3,0.5),5,2) set.s...
# Title: Make Krajbich dataset usable for addmtoolbox # Load necessary packages ------------------------------------------------------------------------------- library(dplyr) library(data.table) library(foreign) # ------------------------------------------------------------------------------------------------------- ...
/temp/original_data/prepare_krajbich_data.R
permissive
AlexanderFengler/addmtoolbox
R
false
false
1,725
r
# Title: Make Krajbich dataset usable for addmtoolbox # Load necessary packages ------------------------------------------------------------------------------- library(dplyr) library(data.table) library(foreign) # ------------------------------------------------------------------------------------------------------- ...
setwd("D:/limworkspace/R_Statistics/Assignment/AM_10") # 모비율 추정 -------------------------------------------------------------- # 문제 1 --------------------------------------- # 어느 대학교에서 대중교통을 이용하여 등교하는 학생의 비율을 알아보기 위하여 # 이 학교 학생 중 n 명을 임의 추출하여 조사한 결과 50%의 학생이 대중교통을 이용하여 등교하는 것으로 나타났다. # 이 결과를 이용하여 이 대학교 전체 학생 중에서...
/Assignment/AM_10/[과제10] 풀코드.R
no_license
limwonki0619/R_statistics
R
false
false
6,551
r
setwd("D:/limworkspace/R_Statistics/Assignment/AM_10") # 모비율 추정 -------------------------------------------------------------- # 문제 1 --------------------------------------- # 어느 대학교에서 대중교통을 이용하여 등교하는 학생의 비율을 알아보기 위하여 # 이 학교 학생 중 n 명을 임의 추출하여 조사한 결과 50%의 학생이 대중교통을 이용하여 등교하는 것으로 나타났다. # 이 결과를 이용하여 이 대학교 전체 학생 중에서...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/structural.properties.R \name{knn} \alias{graph.knn} \alias{knn} \title{Average nearest neighbor degree} \usage{ knn(graph, vids = V(graph), weights = NULL) } \arguments{ \item{graph}{The input graph. It can be directed, but it will be treate...
/man/knn.Rd
no_license
Ruchika8/Dgraph
R
false
true
2,184
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/structural.properties.R \name{knn} \alias{graph.knn} \alias{knn} \title{Average nearest neighbor degree} \usage{ knn(graph, vids = V(graph), weights = NULL) } \arguments{ \item{graph}{The input graph. It can be directed, but it will be treate...
rm(list=ls()) # Discret time logistic (Verhulst) model ###################################################### r <- 2.4 #per capita growth rate (or intrinsic growth rate) K <- 1 delta_t <- 1 #time step N0 <- 0.1 #initial condition time_steps <- seq(0,100,by=delta_t) #sequence of time steps N <- rep(NA,length(time_st...
/Classical models in biology/Series1/series1_extra.R
no_license
ThibaultSchowing/unistuff
R
false
false
681
r
rm(list=ls()) # Discret time logistic (Verhulst) model ###################################################### r <- 2.4 #per capita growth rate (or intrinsic growth rate) K <- 1 delta_t <- 1 #time step N0 <- 0.1 #initial condition time_steps <- seq(0,100,by=delta_t) #sequence of time steps N <- rep(NA,length(time_st...
ComputeDurDist <- function(fix, env = parent.frame(n = 4)){ # compute fixation duration fix$dur <- fix$stop - fix$start # compute distance to previous fixation (in characters) fix$dist = NA for (i in 2:nrow(fix)){ fix$dist[i] <- round(abs(fix$xs[i] - fix$xs[i - 1]) / e...
/R/ComputeDurDist.R
no_license
sascha2schroeder/popEye
R
false
false
373
r
ComputeDurDist <- function(fix, env = parent.frame(n = 4)){ # compute fixation duration fix$dur <- fix$stop - fix$start # compute distance to previous fixation (in characters) fix$dist = NA for (i in 2:nrow(fix)){ fix$dist[i] <- round(abs(fix$xs[i] - fix$xs[i - 1]) / e...
## File Name: lsem_local_weights.R ## File Version: 0.194 lsem_local_weights <- function(data.mod, moderator.grid, h, sampling_weights=NULL, bw=NULL, kernel="gaussian") { eps <- 1E-8 N <- length(data.mod) no_sampling_weights <- FALSE if (is.null(sampling_weights)){ sampling_weights <- r...
/R/lsem_local_weights.R
no_license
isoyturk/sirt
R
false
false
2,031
r
## File Name: lsem_local_weights.R ## File Version: 0.194 lsem_local_weights <- function(data.mod, moderator.grid, h, sampling_weights=NULL, bw=NULL, kernel="gaussian") { eps <- 1E-8 N <- length(data.mod) no_sampling_weights <- FALSE if (is.null(sampling_weights)){ sampling_weights <- r...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{ta05.02} \alias{ta05.02} \title{Data from Table 05.02} \format{\Sexpr[results=rd]{bps5data:::doc_data("ta05.02") }} \source{ \url{ http://bcs.whfreeman.com/bps5e/content/cat_030/PC-Text.zip } } \usage{ data...
/man/ta05.02.Rd
no_license
jrnold/bps5data
R
false
false
1,261
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{ta05.02} \alias{ta05.02} \title{Data from Table 05.02} \format{\Sexpr[results=rd]{bps5data:::doc_data("ta05.02") }} \source{ \url{ http://bcs.whfreeman.com/bps5e/content/cat_030/PC-Text.zip } } \usage{ data...
# Load packages rm(list=ls()) library(rjags) library(jagsUI) library(dplyr) library(rtrim) # Compare methods using the HDS model 6. Same as comparemethods6 but using the HAZARD RATE detection function on the # species that have bad bayesian p-values ##################################################################...
/Ch. 2-3/Ch. 2/Resubmission/6.1.CompareMethodsHR_resub_Species_Dontconverge/6.1.CompareMethodsHR_resub_FATIN.r
no_license
anasanz/MyScripts
R
false
false
22,024
r
# Load packages rm(list=ls()) library(rjags) library(jagsUI) library(dplyr) library(rtrim) # Compare methods using the HDS model 6. Same as comparemethods6 but using the HAZARD RATE detection function on the # species that have bad bayesian p-values ##################################################################...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/documentation-dummies.R \name{pt_args} \alias{pt_args} \title{pt_args} \usage{ pt_args(pt_color, pt_size, pt_alpha) } \arguments{ \item{pt_color}{Character value. Denotes the color of the points of the scatterplot.} \item{pt_size, pt_alpha}{...
/man/pt_args.Rd
no_license
kueckelj/celltracer
R
false
true
430
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/documentation-dummies.R \name{pt_args} \alias{pt_args} \title{pt_args} \usage{ pt_args(pt_color, pt_size, pt_alpha) } \arguments{ \item{pt_color}{Character value. Denotes the color of the points of the scatterplot.} \item{pt_size, pt_alpha}{...