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
#' remove_apostrophe #' #' Remove apostrophes from column field. #' #' @param .data A data frame or data frame extension (e.g., tibble). #' @param ... Name of the column(s) to remove apostrophes from. #' #' @return The mutated tibble. #' #' @export remove_apostrophe <- function(.data, ...) { # quote the expression ...
/R/clean_data.R
no_license
jmhatch-NOAA/seebirdr
R
false
false
17,984
r
#' remove_apostrophe #' #' Remove apostrophes from column field. #' #' @param .data A data frame or data frame extension (e.g., tibble). #' @param ... Name of the column(s) to remove apostrophes from. #' #' @return The mutated tibble. #' #' @export remove_apostrophe <- function(.data, ...) { # quote the expression ...
#' Adult Data Set #' #' Extraction was done by Barry Becker from the 1994 Census database. #' A set of reasonably clean records was extracted using the following #' conditions: ((AAGE > 16) && (AGI > 100) && (AFNLWGT > 1) && (HRSWK > 0)) #' #' @format A data frame with 32561 observations on the following 15 variables. ...
/R/adult_docs.R
no_license
daviddalpiaz/ucidata
R
false
false
2,997
r
#' Adult Data Set #' #' Extraction was done by Barry Becker from the 1994 Census database. #' A set of reasonably clean records was extracted using the following #' conditions: ((AAGE > 16) && (AGI > 100) && (AFNLWGT > 1) && (HRSWK > 0)) #' #' @format A data frame with 32561 observations on the following 15 variables. ...
shinyUI(fluidPage( useShinyjs(), # -- Add Tracking JS File tags$head(includeScript("google-analytics.js")), titlePanel("Matching Game"), sidebarLayout( sidebarPanel( actionButton("new_game", "New Game"), uiOutput("info") ), mainPanel( plotOutput("gameboard", ...
/matching-game/ui.R
no_license
anthonypileggi/avp-shiny
R
false
false
478
r
shinyUI(fluidPage( useShinyjs(), # -- Add Tracking JS File tags$head(includeScript("google-analytics.js")), titlePanel("Matching Game"), sidebarLayout( sidebarPanel( actionButton("new_game", "New Game"), uiOutput("info") ), mainPanel( plotOutput("gameboard", ...
Sys.setenv(LANG = "en") library(showtext) library(scales) font.add("myriad", "/Users/acailliau/Downloads/Adobe Font Folio 11/Western Fonts/Myriad Pro/MyriadPro-Regular.otf") showtext.auto() library(ggplot2) library(gridExtra) library("ggrepel") cbPalette <- c("#999999", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "...
/case-studies/ambulance-dispatching-system/Generate-Violation-Diagram.R
no_license
ancailliau/phd-thesis
R
false
false
3,874
r
Sys.setenv(LANG = "en") library(showtext) library(scales) font.add("myriad", "/Users/acailliau/Downloads/Adobe Font Folio 11/Western Fonts/Myriad Pro/MyriadPro-Regular.otf") showtext.auto() library(ggplot2) library(gridExtra) library("ggrepel") cbPalette <- c("#999999", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "...
rm(list=ls(all=T)) library(e1071) B = 100 k=1 Accuracy_SVM = matrix(0, nrow=B, ncol=1) final_table = matrix(0, nrow = 2, ncol = 2) # Table for confusion matrix for(i in 1:B){ load(sprintf("C:/Users/Piotr/Documents/NMR.diabetes/data%d.RData",i)) train = unique(train) test = unique(test) Class.train = t...
/Chapter-4/NMR.diabetes.Vast.scaling.SVM.r
no_license
Biospec/Application-of-chemometrics-for-the-robust-analysis-of-chemical-and-biochemical-data
R
false
false
1,156
r
rm(list=ls(all=T)) library(e1071) B = 100 k=1 Accuracy_SVM = matrix(0, nrow=B, ncol=1) final_table = matrix(0, nrow = 2, ncol = 2) # Table for confusion matrix for(i in 1:B){ load(sprintf("C:/Users/Piotr/Documents/NMR.diabetes/data%d.RData",i)) train = unique(train) test = unique(test) Class.train = t...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/diagnostics.R \name{find_config} \alias{find_config} \title{find the lintr config file} \usage{ find_config(filename) } \description{ find the lintr config file } \keyword{internal}
/man/find_config.Rd
no_license
kongdd/languageserver
R
false
true
260
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/diagnostics.R \name{find_config} \alias{find_config} \title{find the lintr config file} \usage{ find_config(filename) } \description{ find the lintr config file } \keyword{internal}
### R code from vignette source 'pan-tr.Rnw'
/data/genthat_extracted_code/pan/vignettes/pan-tr.R
no_license
surayaaramli/typeRrh
R
false
false
46
r
### R code from vignette source 'pan-tr.Rnw'
library(rstudioapi) library(dplyr) library(chron) library(sf) # library(tmap) # import 'nwfscSurvey' package library(nwfscSurvey) # vignette("nwfscSurvey", package = "nwfscSurvey") # Set working directory current_path <- getActiveDocumentContext()$path setwd(dirname(current_path)) print(getwd()) # import shapefiles ...
/haulsByStn.R
no_license
Curt-Whitmire-NOAA/SurveyCoverage
R
false
false
4,411
r
library(rstudioapi) library(dplyr) library(chron) library(sf) # library(tmap) # import 'nwfscSurvey' package library(nwfscSurvey) # vignette("nwfscSurvey", package = "nwfscSurvey") # Set working directory current_path <- getActiveDocumentContext()$path setwd(dirname(current_path)) print(getwd()) # import shapefiles ...
MyClass = function(x, ...) { structure(list(x, ...), class = "MyClass") } plot.MyClass = function(x, y, ...) { plot(1:10, main = "MyClass") }
/Pkg/R/myclass.R
no_license
dsidavis/RFundamentals
R
false
false
150
r
MyClass = function(x, ...) { structure(list(x, ...), class = "MyClass") } plot.MyClass = function(x, y, ...) { plot(1:10, main = "MyClass") }
library(ggplot2) library(apaTables) library(officer) make_lm_plots<-function(model, output_path, reg_table, reg_table_name){ word_doc <- read_docx() p1<-ggplot(model, aes(.fitted, .resid))+geom_point() p1<-p1+stat_smooth(method="loess")+geom_hline(yintercept=0, col="red", linetype="dashed") p1<-p1+xlab("Fitted...
/package.R
no_license
ng4567/LM2APA
R
false
false
3,592
r
library(ggplot2) library(apaTables) library(officer) make_lm_plots<-function(model, output_path, reg_table, reg_table_name){ word_doc <- read_docx() p1<-ggplot(model, aes(.fitted, .resid))+geom_point() p1<-p1+stat_smooth(method="loess")+geom_hline(yintercept=0, col="red", linetype="dashed") p1<-p1+xlab("Fitted...
bioinformatics <- 1 is <- 2 f_o_r <- 3 cool <- 4 people <- 5 print(bioinformatics + is + f_o_r + cool + people)
/Assignment-1/6.R
no_license
VivianeLovatel/Brasil_2019
R
false
false
111
r
bioinformatics <- 1 is <- 2 f_o_r <- 3 cool <- 4 people <- 5 print(bioinformatics + is + f_o_r + cool + people)
#Load .csv file data <- read.csv("C:/Users/weiyi/Desktop/R/exam2/Q2/CasinoA.csv", header = T, stringsAsFactors = T) str(data) summary(data) #Explore "Source" data$Source unique(data$Source) table(data$Source) #Change the data type for Source to a factor variable data$Source <- factor(data$Source) str(dat...
/Q2.R
no_license
dduwill/BA-Exam-Source
R
false
false
2,205
r
#Load .csv file data <- read.csv("C:/Users/weiyi/Desktop/R/exam2/Q2/CasinoA.csv", header = T, stringsAsFactors = T) str(data) summary(data) #Explore "Source" data$Source unique(data$Source) table(data$Source) #Change the data type for Source to a factor variable data$Source <- factor(data$Source) str(dat...
suppressPackageStartupMessages({ library(tercen) library(tercenApi) library(tidyr) library(dplyr) library(dtplyr) }) ctx <- tercenCtx() method <- ctx$op.value("method", as.character, "mean_per_row") df <- ctx %>% select(.ri, .ci, .y) %>% dtplyr::lazy_dt() %>% complete(.ri, .ci) if(method != "const...
/main.R
no_license
tercen/impute_operator
R
false
false
894
r
suppressPackageStartupMessages({ library(tercen) library(tercenApi) library(tidyr) library(dplyr) library(dtplyr) }) ctx <- tercenCtx() method <- ctx$op.value("method", as.character, "mean_per_row") df <- ctx %>% select(.ri, .ci, .y) %>% dtplyr::lazy_dt() %>% complete(.ri, .ci) if(method != "const...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/drive_objects.R \name{File.appProperties} \alias{File.appProperties} \title{File.appProperties Object} \usage{ File.appProperties() } \value{ File.appProperties object } \description{ File.appProperties Object } \details{ Autogenerated via \c...
/googledrivev3.auto/man/File.appProperties.Rd
permissive
Phippsy/autoGoogleAPI
R
false
true
936
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/drive_objects.R \name{File.appProperties} \alias{File.appProperties} \title{File.appProperties Object} \usage{ File.appProperties() } \value{ File.appProperties object } \description{ File.appProperties Object } \details{ Autogenerated via \c...
library(shiny) shinyUI(pageWithSidebar( headerPanel("Age Calculator"), sidebarPanel( p("This is an age calculator application. This application allows user to pick any date of birth for the calenar and calculate the age for the given birtdate."), dateInput("birthday", "Birthdate:"), em("Click on the tex...
/ui.R
no_license
Khairulhak/Coursera-ShinyApp-Age-Calculator
R
false
false
1,090
r
library(shiny) shinyUI(pageWithSidebar( headerPanel("Age Calculator"), sidebarPanel( p("This is an age calculator application. This application allows user to pick any date of birth for the calenar and calculate the age for the given birtdate."), dateInput("birthday", "Birthdate:"), em("Click on the tex...
library(shiny) shinyUI(pageWithSidebar( headerPanel("GSVA"), sidebarPanel( h5("Type GSE ID",align = "left",style = "color:gray"), textInput("symb", "", "gse35014"), actionButton("get", "Select"), tags$style(type='text/css', "button#get { margin-bottom: 9px; }"), p("To browse GEO series, ...
/ui.R
no_license
spavlidi/GSVA_test
R
false
false
1,729
r
library(shiny) shinyUI(pageWithSidebar( headerPanel("GSVA"), sidebarPanel( h5("Type GSE ID",align = "left",style = "color:gray"), textInput("symb", "", "gse35014"), actionButton("get", "Select"), tags$style(type='text/css', "button#get { margin-bottom: 9px; }"), p("To browse GEO series, ...
basePlot2 <- function(yin, plotTitle, drug) { xLab <- "Time (Days since first drug start)" yLab = "Bactericidal effect" laby <- c(10, 20, 30, 40, 50, 60, 70, 80, 90, 100) namesy <- c(10, 20, 30, 40, 50, 60, 70, 80, 90, 100) labx <- c(60, 120, 180, 240, 300, 360, 420, 480, 540, 600, 660, 720, 780, 840, 90...
/inst/R_old/basePlot2.R
no_license
WillFox/TBsim
R
false
false
1,696
r
basePlot2 <- function(yin, plotTitle, drug) { xLab <- "Time (Days since first drug start)" yLab = "Bactericidal effect" laby <- c(10, 20, 30, 40, 50, 60, 70, 80, 90, 100) namesy <- c(10, 20, 30, 40, 50, 60, 70, 80, 90, 100) labx <- c(60, 120, 180, 240, 300, 360, 420, 480, 540, 600, 660, 720, 780, 840, 90...
\name{data11Plot} \alias{data11Plot} \docType{data} \title{ data11Plot %% ~~ data name/kind ... ~~ } \description{ %% ~~ A concise (1-5 lines) description of the dataset. ~~ } \usage{data("data11Plot")} \format{ A data frame with 200 observations on the following 2 variables. \describe{ \item{\code{x}}{a nu...
/WHUMSurveyDataAnalysis/man/data11Plot.Rd
no_license
jnobuyuki/WHUMSurveyDataAnalysis
R
false
false
707
rd
\name{data11Plot} \alias{data11Plot} \docType{data} \title{ data11Plot %% ~~ data name/kind ... ~~ } \description{ %% ~~ A concise (1-5 lines) description of the dataset. ~~ } \usage{data("data11Plot")} \format{ A data frame with 200 observations on the following 2 variables. \describe{ \item{\code{x}}{a nu...
##crosstalk-plotly-shiny example: # Might make linked brushing alot easier, but we'll see if it delivers. #installation steps: devtools::install_github('ropensci/plotly') devtools::install_github('rstudio/crosstalk') ##devtools::install_github('rstudio/DT') library(crosstalk) library(plotly) library(DT) library(shin...
/code/crosstalk-plotly-shiny.R
no_license
ysoh286/honours-project-2017
R
false
false
1,346
r
##crosstalk-plotly-shiny example: # Might make linked brushing alot easier, but we'll see if it delivers. #installation steps: devtools::install_github('ropensci/plotly') devtools::install_github('rstudio/crosstalk') ##devtools::install_github('rstudio/DT') library(crosstalk) library(plotly) library(DT) library(shin...
# Takes in input data, and goes therough a series of possible lower # bounds to create an array of means. The rate of change of the # array of means is then taken. The mean of this array is found and # that mean is then compared to the rest of the array to find the # number of points in the array are less than the m...
/Functions/Old/LowerboundsFunction.R
no_license
rmcdonnell/Daphnia-Project
R
false
false
1,095
r
# Takes in input data, and goes therough a series of possible lower # bounds to create an array of means. The rate of change of the # array of means is then taken. The mean of this array is found and # that mean is then compared to the rest of the array to find the # number of points in the array are less than the m...
testlist <- list(n = 252645135L) result <- do.call(breakfast:::setBitNumber,testlist) str(result)
/breakfast/inst/testfiles/setBitNumber/libFuzzer_setBitNumber/setBitNumber_valgrind_files/1609960818-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
97
r
testlist <- list(n = 252645135L) result <- do.call(breakfast:::setBitNumber,testlist) str(result)
source('common.R', encoding = 'utf-8') ## @knitr init_stan y <- ukdrivers standata <- within(list(), { y <- as.vector(y) n <- length(y) }) ## @knitr show_model model_file <- '../models/fig03_01.stan' cat(paste(readLines(model_file)), sep = '\n') ## @knitr fit_stan lmresult <- lm(y ~ x, data = data.frame(x = ...
/R/fig03_01.R
permissive
enguang2/stan-statespace
R
false
false
2,180
r
source('common.R', encoding = 'utf-8') ## @knitr init_stan y <- ukdrivers standata <- within(list(), { y <- as.vector(y) n <- length(y) }) ## @knitr show_model model_file <- '../models/fig03_01.stan' cat(paste(readLines(model_file)), sep = '\n') ## @knitr fit_stan lmresult <- lm(y ~ x, data = data.frame(x = ...
#' CRS of various PROJ.4 projections #' #' coordinate reference system (CRS) Object for several proj4 character strings. #' \code{posm} and \code{pll} are taken directly from #' \code{OpenStreetMap::\link[OpenStreetMap]{osm}} and #' \code{\link[OpenStreetMap]{longlat}}.\cr #' \code{pmap} gets the projection string fro...
/R/proj.R
no_license
brry/OSMscale
R
false
false
2,232
r
#' CRS of various PROJ.4 projections #' #' coordinate reference system (CRS) Object for several proj4 character strings. #' \code{posm} and \code{pll} are taken directly from #' \code{OpenStreetMap::\link[OpenStreetMap]{osm}} and #' \code{\link[OpenStreetMap]{longlat}}.\cr #' \code{pmap} gets the projection string fro...
# Load Packages library(dplyr) library(ggplot2) getwd() # bring in data confounding <- read.csv(file="confounding example.csv", header = TRUE, sep = ",", strip.white = TRUE ) names(confounding)[names(confounding)=="?..VarA"] <- "VarA" str(confounding) #Confounding Plot ggplot(confounding, aes(x=VarE, y=VarD, color...
/01.14.18 - Confounding and Interaction/confounding.R
no_license
Ogweno/SynopticSignals
R
false
false
1,028
r
# Load Packages library(dplyr) library(ggplot2) getwd() # bring in data confounding <- read.csv(file="confounding example.csv", header = TRUE, sep = ",", strip.white = TRUE ) names(confounding)[names(confounding)=="?..VarA"] <- "VarA" str(confounding) #Confounding Plot ggplot(confounding, aes(x=VarE, y=VarD, color...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/geom_edge_point.R \name{geom_edge_point} \alias{geom_edge_point} \title{Draw edges as glyphs} \usage{ geom_edge_point(mapping = NULL, data = get_edges(), position = "identity", mirror = FALSE, show.legend = NA, ...) } \arguments{ \item{mapp...
/man/geom_edge_point.Rd
permissive
billdenney/ggraph
R
false
true
3,291
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/geom_edge_point.R \name{geom_edge_point} \alias{geom_edge_point} \title{Draw edges as glyphs} \usage{ geom_edge_point(mapping = NULL, data = get_edges(), position = "identity", mirror = FALSE, show.legend = NA, ...) } \arguments{ \item{mapp...
setwd("C:/Users/Aaron/Documents/JH/EDA project") load('data_for_plots.RData') # hist(tvals,breaks=60) # hist(pvals,breaks=100) # median(pvals) # hist(pvals,breaks=c(0,.001,.01,.05,.15,.6,1),plot=F)$breaks # hist(pvals,breaks=c(0,.001,.01,.05,.15,.6,1),plot=F)$counts # hist(pvals[pvals<.06],breaks=50) #ticke...
/Aaron's General Workspace/outdated stuff/generate_questions_1.r
no_license
Adamyazori/EDA-Project
R
false
false
1,594
r
setwd("C:/Users/Aaron/Documents/JH/EDA project") load('data_for_plots.RData') # hist(tvals,breaks=60) # hist(pvals,breaks=100) # median(pvals) # hist(pvals,breaks=c(0,.001,.01,.05,.15,.6,1),plot=F)$breaks # hist(pvals,breaks=c(0,.001,.01,.05,.15,.6,1),plot=F)$counts # hist(pvals[pvals<.06],breaks=50) #ticke...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bbEstDisp.R \name{bbEstDisp} \alias{bbEstDisp} \title{Simple line-search estimator for dispersion of a beta binomial} \usage{ bbEstDisp(success, size, weights = 1, x, beta, minDisp, maxDisp, se = FALSE) } \arguments{ \item{success}{the observ...
/man/bbEstDisp.Rd
no_license
azhu513/apeglm
R
false
true
2,198
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bbEstDisp.R \name{bbEstDisp} \alias{bbEstDisp} \title{Simple line-search estimator for dispersion of a beta binomial} \usage{ bbEstDisp(success, size, weights = 1, x, beta, minDisp, maxDisp, se = FALSE) } \arguments{ \item{success}{the observ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hhh4lag_methods.R \name{fixef.hhh4lag} \alias{fixef.hhh4lag} \title{A modified version of \code{fixef.hhh4}} \usage{ \method{fixef}{hhh4lag}(object, ...) } \description{ A modified version of \code{fixef.hhh4} }
/man/fixef.hhh4lag.Rd
no_license
jbracher/hhh4addon
R
false
true
290
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/hhh4lag_methods.R \name{fixef.hhh4lag} \alias{fixef.hhh4lag} \title{A modified version of \code{fixef.hhh4}} \usage{ \method{fixef}{hhh4lag}(object, ...) } \description{ A modified version of \code{fixef.hhh4} }
library(tidyverse) setwd('C:/Users/Ian/OneDrive - The Ohio State University/work/eggd_data/iupred') e1iupred<- read_tsv('eggd-1_iupred.txt') e2iupred<- read_tsv('eggd-2_iupred.txt') a<- ggplot(e1iupred, aes(x = POS, y = `IUPRED SCORE`)) + geom_line() + lims( y = c(0,1)) a a + theme_classic() + geom_hl...
/iupred_plots_script.R
no_license
benpastore/TurboID
R
false
false
601
r
library(tidyverse) setwd('C:/Users/Ian/OneDrive - The Ohio State University/work/eggd_data/iupred') e1iupred<- read_tsv('eggd-1_iupred.txt') e2iupred<- read_tsv('eggd-2_iupred.txt') a<- ggplot(e1iupred, aes(x = POS, y = `IUPRED SCORE`)) + geom_line() + lims( y = c(0,1)) a a + theme_classic() + geom_hl...
classes <- c("factor", "factor", "numeric", "numeric", "numeric", "numeric", "numeric", "numeric", "numeric") pd <- read.table("household_power_consumption.txt",header=T, sep=";", na.strings="?", colClasses=classes) pd$Date <- as.Date(pd$Date, format="%d/%m/%Y") startDate <- as.Date("2007-02-01") endDate <- as.Date("...
/plot2.R
no_license
chamal-sapumohotti/ExData_Plotting1
R
false
false
670
r
classes <- c("factor", "factor", "numeric", "numeric", "numeric", "numeric", "numeric", "numeric", "numeric") pd <- read.table("household_power_consumption.txt",header=T, sep=";", na.strings="?", colClasses=classes) pd$Date <- as.Date(pd$Date, format="%d/%m/%Y") startDate <- as.Date("2007-02-01") endDate <- as.Date("...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pmfr-package.R \docType{package} \name{pmfr} \alias{pmfr} \alias{pmfr-package} \title{R with Positive Matrix Factorization (PMF)} \description{ pmfr allows users to easily input and analyze results from US EPA Positive Matrix Factorization (P...
/man/pmfr.Rd
no_license
kralljr/pmfr
R
false
true
1,034
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pmfr-package.R \docType{package} \name{pmfr} \alias{pmfr} \alias{pmfr-package} \title{R with Positive Matrix Factorization (PMF)} \description{ pmfr allows users to easily input and analyze results from US EPA Positive Matrix Factorization (P...
library(foreach,quietly=TRUE) library(doParallel,quietly=TRUE) library(doRNG,quietly=TRUE) njobs <- 1600 nnode <- 100 chunk <- 1 ## set njobs, nnode chunk from the command line invisible(eval(parse(text=commandArgs(trailingOnly=TRUE)))) ncore <- 1 cl <- makeCluster(type="MPI",spec=nnode) registerDoParallel(cl) clu...
/scripts/doparallel_test.R
permissive
kingaa/kingaa.github.io
R
false
false
2,682
r
library(foreach,quietly=TRUE) library(doParallel,quietly=TRUE) library(doRNG,quietly=TRUE) njobs <- 1600 nnode <- 100 chunk <- 1 ## set njobs, nnode chunk from the command line invisible(eval(parse(text=commandArgs(trailingOnly=TRUE)))) ncore <- 1 cl <- makeCluster(type="MPI",spec=nnode) registerDoParallel(cl) clu...
rm(list = ls()) library("stats") library("ggplot2") tsbr = read.csv("FilteredTSBR.csv") #my file reads number as $123,456.78 -> $123456.78 -> 123456.78 #https://stat.ethz.ch/pipermail/r-help/2010-May/237909.html #http://stackoverflow.com/questions/1523126/how-to-read-a-csv-file-in-r-where-some-numbers-contain-commas ...
/TNEmployment.R
no_license
Riuchando/CollegeGraphs
R
false
false
3,641
r
rm(list = ls()) library("stats") library("ggplot2") tsbr = read.csv("FilteredTSBR.csv") #my file reads number as $123,456.78 -> $123456.78 -> 123456.78 #https://stat.ethz.ch/pipermail/r-help/2010-May/237909.html #http://stackoverflow.com/questions/1523126/how-to-read-a-csv-file-in-r-where-some-numbers-contain-commas ...
% Generated by roxygen2 (4.0.0): do not edit by hand \name{occurrencecount} \alias{occurrencecount} \title{Counts taxon concept records matching a range of filters.} \usage{ occurrencecount(scientificname = NULL, taxonconceptKey = NULL, dataproviderkey = NULL, dataresourcekey = NULL, institutioncode = NULL, collect...
/man/occurrencecount-deprecated.Rd
permissive
smartinsightsfromdata/rgbif
R
false
false
5,951
rd
% Generated by roxygen2 (4.0.0): do not edit by hand \name{occurrencecount} \alias{occurrencecount} \title{Counts taxon concept records matching a range of filters.} \usage{ occurrencecount(scientificname = NULL, taxonconceptKey = NULL, dataproviderkey = NULL, dataresourcekey = NULL, institutioncode = NULL, collect...
folder_path<-"/Users/MenaL/Desktop/GROUP P/R_project" solar<-readRDS("/Users/MenaL/Desktop/GROUP P/R_project/solar_dataset.RData") add<-readRDS("/Users/MenaL/Desktop/GROUP P/R_project/additional_variables.RData") geo<- read.table(file.path(folder_path, "station_info.csv"), sep = ",", header = TRUE) library(data.table) ...
/3_Predicting_solar_energy_production/02_Model/02_Modelling Script(2.1.3).R
no_license
diegoct6/Machine-Learning
R
false
false
2,014
r
folder_path<-"/Users/MenaL/Desktop/GROUP P/R_project" solar<-readRDS("/Users/MenaL/Desktop/GROUP P/R_project/solar_dataset.RData") add<-readRDS("/Users/MenaL/Desktop/GROUP P/R_project/additional_variables.RData") geo<- read.table(file.path(folder_path, "station_info.csv"), sep = ",", header = TRUE) library(data.table) ...
#' calculate trade statistics for round turn trades. #' #' One 'trade' is defined as a series of transactions which make up a 'round turn'. #' It may contain many transactions. This function reports statistics on these #' round turn trades which may be used on their own or which are also used #' by other functions, in...
/R/perTradeStats.R
no_license
claymoremarshall/blotter
R
false
false
31,431
r
#' calculate trade statistics for round turn trades. #' #' One 'trade' is defined as a series of transactions which make up a 'round turn'. #' It may contain many transactions. This function reports statistics on these #' round turn trades which may be used on their own or which are also used #' by other functions, in...
\name{erebus.70} \alias{erebus.70} \docType{data} \title{ %% ~~ data name/kind ... ~~ Image of Erebus Volcano, Antarctica } \description{ %% ~~ A concise (1-5 lines) description of the dataset. ~~ The 70th frame in a series of images that was recorded during a bubble bursting event at Mount Erebus. JPEG image read ...
/man/erebus.70.Rd
no_license
cran/imagefx
R
false
false
796
rd
\name{erebus.70} \alias{erebus.70} \docType{data} \title{ %% ~~ data name/kind ... ~~ Image of Erebus Volcano, Antarctica } \description{ %% ~~ A concise (1-5 lines) description of the dataset. ~~ The 70th frame in a series of images that was recorded during a bubble bursting event at Mount Erebus. JPEG image read ...
testlist <- list(doy = c(-4.99473634551392e+226, 1.6641339537879e-121, 4.94065645841247e-323, 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), latit...
/meteor/inst/testfiles/ET0_ThornthwaiteWilmott/AFL_ET0_ThornthwaiteWilmott/ET0_ThornthwaiteWilmott_valgrind_files/1615830900-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
429
r
testlist <- list(doy = c(-4.99473634551392e+226, 1.6641339537879e-121, 4.94065645841247e-323, 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), latit...
library(zoo) library(forecast) #library(data.table) model_arima = function(idnum,dt,date,pred_time){ dt = dt[dt$id==idnum,] dt = merge(dt,date,by = "sale_date",all = T) dt$count[is.na(dt$count)] = ifelse(is.na(mean(dt$count,na.rm = T)),0,median(dt$count,na.rm = T)) dt$id=NULL dt_series = zoo(x = dt$...
/function/model_arima.R
no_license
yahcong/supermarket
R
false
false
641
r
library(zoo) library(forecast) #library(data.table) model_arima = function(idnum,dt,date,pred_time){ dt = dt[dt$id==idnum,] dt = merge(dt,date,by = "sale_date",all = T) dt$count[is.na(dt$count)] = ifelse(is.na(mean(dt$count,na.rm = T)),0,median(dt$count,na.rm = T)) dt$id=NULL dt_series = zoo(x = dt$...
/Co.Temp.R
no_license
UniToDSTGruppoClima/CoTemp
R
false
false
24,916
r
\name{epi.sssimpleestc} \alias{epi.sssimpleestc} \title{ Sample size to estimate a continuous outcome using simple random sampling } \description{ Sample size to estimate a continuous outcome using simple random sampling. } \usage{ epi.sssimpleestc(N = NA, xbar, sigma, epsilon, error = "relative", ...
/man/epi.sssimpleestc.Rd
no_license
cran/epiR
R
false
false
3,655
rd
\name{epi.sssimpleestc} \alias{epi.sssimpleestc} \title{ Sample size to estimate a continuous outcome using simple random sampling } \description{ Sample size to estimate a continuous outcome using simple random sampling. } \usage{ epi.sssimpleestc(N = NA, xbar, sigma, epsilon, error = "relative", ...
## rm(list=ls()) # setwd('d:/Study/My projects/Statchem-Diudea/Codes') source('RobustQSAR_functions.R') library(ddalpha) library(ICSNP) # combined descriptors combined95 = read.csv("../Data/Combined-descriptors-95.csv") y95 = as.numeric(combined95[,2]) X95 = as.matrix(combined95[,-(1:2)]) # apply robust scaling delt...
/Codes/pca_95amine.R
no_license
shubhobm/Statchem-Diudea
R
false
false
1,998
r
## rm(list=ls()) # setwd('d:/Study/My projects/Statchem-Diudea/Codes') source('RobustQSAR_functions.R') library(ddalpha) library(ICSNP) # combined descriptors combined95 = read.csv("../Data/Combined-descriptors-95.csv") y95 = as.numeric(combined95[,2]) X95 = as.matrix(combined95[,-(1:2)]) # apply robust scaling delt...
#!/usr/bin/env Rscript #region(kanto), year(2000~2005)=>2005~2010, model (listas, ga), depth(25,60,100) setwd("~/Documents/estudos/unb/earthquakemodels/Zona2/dataForR") loadData = function(region, year, depth, type){ file = paste(region,"_",year,"_LastGen",depth,type,".txt",sep="") data = read.csv2(file, sep...
/code/R-files/anovaGAXilsta.R
permissive
PyQuake/earthquakemodels
R
false
false
4,628
r
#!/usr/bin/env Rscript #region(kanto), year(2000~2005)=>2005~2010, model (listas, ga), depth(25,60,100) setwd("~/Documents/estudos/unb/earthquakemodels/Zona2/dataForR") loadData = function(region, year, depth, type){ file = paste(region,"_",year,"_LastGen",depth,type,".txt",sep="") data = read.csv2(file, sep...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/motifUtils.r \name{consenusIUPAC} \alias{consenusIUPAC} \title{Consensus IUPAC} \usage{ consenusIUPAC(mstring) } \arguments{ \item{mstring}{a base pare string with only nucleotides eg A[AG]AGT} } \description{ The reverse of IUPACtoBase, take...
/man/consenusIUPAC.Rd
permissive
alexjgriffith/CCCA
R
false
true
455
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/motifUtils.r \name{consenusIUPAC} \alias{consenusIUPAC} \title{Consensus IUPAC} \usage{ consenusIUPAC(mstring) } \arguments{ \item{mstring}{a base pare string with only nucleotides eg A[AG]AGT} } \description{ The reverse of IUPACtoBase, take...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pred_int_jags.R \name{pred_int_jags} \alias{pred_int_jags} \title{pred_int_jags} \usage{ pred_int_jags( formula, data, df = NA, level = 0.95, quiet = FALSE, return = c("pdi", "all"), ... ) } \arguments{ \item{formula}{standard R...
/man/pred_int_jags.Rd
no_license
femiguez/predintma
R
false
true
897
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pred_int_jags.R \name{pred_int_jags} \alias{pred_int_jags} \title{pred_int_jags} \usage{ pred_int_jags( formula, data, df = NA, level = 0.95, quiet = FALSE, return = c("pdi", "all"), ... ) } \arguments{ \item{formula}{standard R...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/log-pdtmvn-mode-centered-kernel-fn.R \name{get_theta_optim_bounds_log_pdtmvn_mode_centered_kernel} \alias{get_theta_optim_bounds_log_pdtmvn_mode_centered_kernel} \title{Get lower and upper bounds for the theta parameters being estimated in th...
/man/get_theta_optim_bounds_log_pdtmvn_mode_centered_kernel.Rd
no_license
reichlab/kcde
R
false
true
700
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/log-pdtmvn-mode-centered-kernel-fn.R \name{get_theta_optim_bounds_log_pdtmvn_mode_centered_kernel} \alias{get_theta_optim_bounds_log_pdtmvn_mode_centered_kernel} \title{Get lower and upper bounds for the theta parameters being estimated in th...
% Generated by roxygen2 (4.0.2): do not edit by hand \docType{package} \name{vectordf} \alias{vectordf} \alias{vectordf-package} \title{vectordf} \description{ vectordf } \author{ Boris Demeshev }
/man/vectordf.Rd
no_license
bdemeshev/vectordf
R
false
false
198
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \docType{package} \name{vectordf} \alias{vectordf} \alias{vectordf-package} \title{vectordf} \description{ vectordf } \author{ Boris Demeshev }
\name{SpellCheckFiles} \alias{SpellCheckFiles} \alias{print.wordlist} \title{Spell checking a file or all files within a specified folder} \usage{ SpellCheckFiles(file = ".", ignore = character(), local.ignore = TRUE, global.ignore = TRUE) \method{print}{wordlist}(x, ...) } \arguments{ \item{file}{The filename o...
/man/SpellCheckFiles.Rd
no_license
dewarren/BrailleR
R
false
false
1,638
rd
\name{SpellCheckFiles} \alias{SpellCheckFiles} \alias{print.wordlist} \title{Spell checking a file or all files within a specified folder} \usage{ SpellCheckFiles(file = ".", ignore = character(), local.ignore = TRUE, global.ignore = TRUE) \method{print}{wordlist}(x, ...) } \arguments{ \item{file}{The filename o...
# Example preprocessing script. v <- list() v$player_variables <- c("PlayerID", "Player", "Club", "League_Country", "LeagueID", "SkinCol", "PhotoID", "PlayerHeightCM", "PlayerBirthd", "BirthD", "BirthM", "BirthY", "PositionID", "Position", "Position_Detailed") v$ref_var...
/munge/01-rdyads.R
no_license
jeromyanglim/anglim-redcards-2014
R
false
false
2,919
r
# Example preprocessing script. v <- list() v$player_variables <- c("PlayerID", "Player", "Club", "League_Country", "LeagueID", "SkinCol", "PhotoID", "PlayerHeightCM", "PlayerBirthd", "BirthD", "BirthM", "BirthY", "PositionID", "Position", "Position_Detailed") v$ref_var...
## Our aim in this experiment is to write a pair of functions, namely, ## "makeCacheMatrix" and "cacheSolve" that cache the inverse of a matrix ## makeCacheMatrix is a function which creates a special "matrix" object that can ## cache its inverse for the input (which is an invertible square matrix) makeCacheMatrix ...
/cachematrix.R
no_license
kemprateek003/ProgrammingAssignment2
R
false
false
1,094
r
## Our aim in this experiment is to write a pair of functions, namely, ## "makeCacheMatrix" and "cacheSolve" that cache the inverse of a matrix ## makeCacheMatrix is a function which creates a special "matrix" object that can ## cache its inverse for the input (which is an invertible square matrix) makeCacheMatrix ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nof1gen.summary.R \name{frequency_plot} \alias{frequency_plot} \title{Frequency plot for raw data} \usage{ frequency_plot(nof1, title = NULL, bins = 10) } \arguments{ \item{nof1}{nof1 object created using nof1.data} \item{title}{The title of...
/man/frequency_plot.Rd
no_license
arisp99/nof1gen
R
false
true
637
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/nof1gen.summary.R \name{frequency_plot} \alias{frequency_plot} \title{Frequency plot for raw data} \usage{ frequency_plot(nof1, title = NULL, bins = 10) } \arguments{ \item{nof1}{nof1 object created using nof1.data} \item{title}{The title of...
d <- read.table("household_power_consumption.txt", header=TRUE, sep=";", colClasses="character") d$Date <- as.Date(d$Date, "%d/%m/%Y") d$Global_active_power <- as.numeric(d$Global_active_power) x <- subset(d, as.Date("01/02/2007", "%d/%m/%Y") <= Date & Date <= as.Date("02/02/2007", "%d/%m/%Y")) png(fi...
/plot3.R
no_license
caofan/ExData_Plotting1
R
false
false
786
r
d <- read.table("household_power_consumption.txt", header=TRUE, sep=";", colClasses="character") d$Date <- as.Date(d$Date, "%d/%m/%Y") d$Global_active_power <- as.numeric(d$Global_active_power) x <- subset(d, as.Date("01/02/2007", "%d/%m/%Y") <= Date & Date <= as.Date("02/02/2007", "%d/%m/%Y")) png(fi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/db.R \name{get_gxg} \alias{get_gxg} \title{Get gene interactions} \usage{ get_gxg(db, organism, flush) } \arguments{ \item{db}{String containing the database to obtain the gene-gene interactions from. Possible values: 'biogrid', 'string'.} \...
/man/get_gxg.Rd
no_license
hclimente/martini
R
false
true
656
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/db.R \name{get_gxg} \alias{get_gxg} \title{Get gene interactions} \usage{ get_gxg(db, organism, flush) } \arguments{ \item{db}{String containing the database to obtain the gene-gene interactions from. Possible values: 'biogrid', 'string'.} \...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/centrality.R \name{estimate_centrality_threshold} \alias{estimate_centrality_threshold} \title{estimate_centrality_threshold} \usage{ estimate_centrality_threshold(graph, tolerance = 0.001) } \arguments{ \item{graph}{'data.frame' or equivalen...
/fuzzedpackages/dodgr/man/estimate_centrality_threshold.Rd
no_license
akhikolla/testpackages
R
false
true
1,358
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/centrality.R \name{estimate_centrality_threshold} \alias{estimate_centrality_threshold} \title{estimate_centrality_threshold} \usage{ estimate_centrality_threshold(graph, tolerance = 0.001) } \arguments{ \item{graph}{'data.frame' or equivalen...
library(shiny) library(quantmod) getSymbols(c('QQQ', 'SPY', 'BND', 'GLD'), src = "yahoo", from = '2008-01-03', to = Sys.Date(), auto.assign = TRUE) shinyServer( function(input, output) { begin_date<- time(head(QQQ, 1)) end_date<- time(tail(QQQ, 1)) output$q...
/server.R
no_license
yzzheng/DevelopingDataProducts
R
false
false
1,292
r
library(shiny) library(quantmod) getSymbols(c('QQQ', 'SPY', 'BND', 'GLD'), src = "yahoo", from = '2008-01-03', to = Sys.Date(), auto.assign = TRUE) shinyServer( function(input, output) { begin_date<- time(head(QQQ, 1)) end_date<- time(tail(QQQ, 1)) output$q...
library(mongolite) mongourl <- "mongodb://<USER>:<PASSWORD>@test..." inventario <- mongo("inventario_arraysembdoc", url = mongourl) inventario$find('{"instock": {"warehouse": "A", "qty": 5} }') inventario$find('{"instock": {"qty": 5, "warehouse": "A" } }') inventario$find('{"instock.qty": {"$lte": 20} }') invent...
/scripts/11_consultandoinventarios3.R
no_license
maorjuela73/analytics-nosql
R
false
false
663
r
library(mongolite) mongourl <- "mongodb://<USER>:<PASSWORD>@test..." inventario <- mongo("inventario_arraysembdoc", url = mongourl) inventario$find('{"instock": {"warehouse": "A", "qty": 5} }') inventario$find('{"instock": {"qty": 5, "warehouse": "A" } }') inventario$find('{"instock.qty": {"$lte": 20} }') invent...
server <- function(input,output, session){ data <- reactive({ x <- df }) output$distPlot <- renderPlot({ df <-data() final_data = filter(df,year>=min(input$inputrange) & year<=max(input$inputrange)) qplot(final_data$year,geom="histogram", alpha=I(.2), fill=I("blue"), ...
/server.R
no_license
thebooort/aracnomap
R
false
false
1,050
r
server <- function(input,output, session){ data <- reactive({ x <- df }) output$distPlot <- renderPlot({ df <-data() final_data = filter(df,year>=min(input$inputrange) & year<=max(input$inputrange)) qplot(final_data$year,geom="histogram", alpha=I(.2), fill=I("blue"), ...
scalecurve<-function(x,y=NULL,xlab="p",ylab="A(p)",main="Scale curve",lwd=2,...) { #Inputs: # x = Data matrix, where the rows are the observations and the columnns are the variables # y = optional vector, either numeric or factor, indicating the class of each observation in x # ... = gr...
/R/scalecurve.R
no_license
cran/depthTools
R
false
false
3,355
r
scalecurve<-function(x,y=NULL,xlab="p",ylab="A(p)",main="Scale curve",lwd=2,...) { #Inputs: # x = Data matrix, where the rows are the observations and the columnns are the variables # y = optional vector, either numeric or factor, indicating the class of each observation in x # ... = gr...
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Do not modify this file since it was automatically generated from: % % RspShSourceCode.R % % by the Rdoc compiler part of the R.oo package. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \name{RspShSourceCode} \...
/man/RspShSourceCode.Rd
no_license
HenrikBengtsson/R.rsp
R
false
false
2,222
rd
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % Do not modify this file since it was automatically generated from: % % RspShSourceCode.R % % by the Rdoc compiler part of the R.oo package. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \name{RspShSourceCode} \...
getwd() #setwd("C:/Users/Hape/Documents/Biohackathon") library(readxl) library(dplyr) data <- read_excel("Excel interventions.xlsx", sheet=1) ##add additional countries vector_new_country <- c("Netherlands", NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA ) vector_new_country2 <- c("United_States", NA, NA...
/Policies Europe/biohack_07042020.R
no_license
covid19-bh-biostats/data
R
false
false
10,379
r
getwd() #setwd("C:/Users/Hape/Documents/Biohackathon") library(readxl) library(dplyr) data <- read_excel("Excel interventions.xlsx", sheet=1) ##add additional countries vector_new_country <- c("Netherlands", NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA ) vector_new_country2 <- c("United_States", NA, NA...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/updates.R \name{VariableUpdate} \alias{VariableUpdate} \title{Class: VariableUpdate Describes an update to a variable} \description{ Class: VariableUpdate Describes an update to a variable Class: VariableUpdate Describes an update to a varia...
/man/VariableUpdate.Rd
permissive
kant/individual
R
false
true
3,135
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/updates.R \name{VariableUpdate} \alias{VariableUpdate} \title{Class: VariableUpdate Describes an update to a variable} \description{ Class: VariableUpdate Describes an update to a variable Class: VariableUpdate Describes an update to a varia...
test_that("helloWorld", { expect_output(helloWorld(), "Hello user of KeOps") })
/rkeops/tests/testthat/test-1_starting.R
permissive
getkeops/keops
R
false
false
84
r
test_that("helloWorld", { expect_output(helloWorld(), "Hello user of KeOps") })
res <- tryCatch( { a <- 1 b <- 2 c <- a+s b }, error = function(err){ paste("error", sep='') } )
/R/tryCatch.R
no_license
dipeshjoshi/MachineLearning
R
false
false
128
r
res <- tryCatch( { a <- 1 b <- 2 c <- a+s b }, error = function(err){ paste("error", sep='') } )
bookdown_file = function(...) { system.file(..., package = 'bookdown', mustWork = TRUE) } # find the y[j] closest to x[i] with y[j] > x[i] next_nearest = function(x, y) { n = length(x); m = length(y); z = integer(n) for (i in seq_len(n)) { for (j in seq_len(m)) { if (y[j] > x[i]) { z[i] = y[j] ...
/R/utils.R
no_license
muuksi/bookdown
R
false
false
13,027
r
bookdown_file = function(...) { system.file(..., package = 'bookdown', mustWork = TRUE) } # find the y[j] closest to x[i] with y[j] > x[i] next_nearest = function(x, y) { n = length(x); m = length(y); z = integer(n) for (i in seq_len(n)) { for (j in seq_len(m)) { if (y[j] > x[i]) { z[i] = y[j] ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tipitaka-docs.R \docType{data} \name{pali_stop_words} \alias{pali_stop_words} \title{Tentative set of "stop words" for Pali} \format{ An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 245 rows and 1 columns. ...
/man/pali_stop_words.Rd
no_license
cran/tipitaka
R
false
true
727
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tipitaka-docs.R \docType{data} \name{pali_stop_words} \alias{pali_stop_words} \title{Tentative set of "stop words" for Pali} \format{ An object of class \code{tbl_df} (inherits from \code{tbl}, \code{data.frame}) with 245 rows and 1 columns. ...
server = function(input, output) { output$table = renderTable({ head(iris) }) } ui = flowLayout( sliderInput("slider", "Slider", min = 1, max = 100, value = 50), textInput("text", "Text"), tableOutput("table") ) shinyApp(ui, server)
/Chapter04/flowLayout/app.R
permissive
PacktPublishing/Web-Application-Development-with-R-Using-Shiny-third-edition
R
false
false
260
r
server = function(input, output) { output$table = renderTable({ head(iris) }) } ui = flowLayout( sliderInput("slider", "Slider", min = 1, max = 100, value = 50), textInput("text", "Text"), tableOutput("table") ) shinyApp(ui, server)
library(ggplot2) library(dplyr) houses <- readLines("data.txt") houses <- as.list(strsplit(houses, "")[[1]]) # Part 1 directionVector <- function(direction) { if(direction == "v") { c(x=0, y=-1) } else if(direction == ">") { c(x=1, y=0) } else if(direction == "<") { c(x=-1, y=0) } else if(directio...
/2015/Day03/day_03.r
no_license
scottshepard/advent-of-code
R
false
false
1,588
r
library(ggplot2) library(dplyr) houses <- readLines("data.txt") houses <- as.list(strsplit(houses, "")[[1]]) # Part 1 directionVector <- function(direction) { if(direction == "v") { c(x=0, y=-1) } else if(direction == ">") { c(x=1, y=0) } else if(direction == "<") { c(x=-1, y=0) } else if(directio...
# in addition to counting the number of forms each month, # this graph also displays the forms where the minimum standard dataset # is not available # read in the data mdata <- read.table("h://mbg_db_reporting//reports//20150409_philly_fes_counts.csv", header=TRUE, sep=",") # remove obs from year past 2015 mdata ...
/chart_philly_count_fes_forms_for_mtg.r
no_license
douyany/FES
R
false
false
3,641
r
# in addition to counting the number of forms each month, # this graph also displays the forms where the minimum standard dataset # is not available # read in the data mdata <- read.table("h://mbg_db_reporting//reports//20150409_philly_fes_counts.csv", header=TRUE, sep=",") # remove obs from year past 2015 mdata ...
## Dependencies dependencies <- c("argparse", "RPostgreSQL", "tidyverse", "glue", "kableExtra", "rmarkdown", "cowplot", "gtools", "scales", "formattable", "knitr") args = commandArgs(trailingOnly=TRUE) if(any(grepl(pattern = "show", args))){ print(dependencies) quit() } for(dep in dependencies...
/install_dependencies.R
no_license
Militeee/GDA_exam
R
false
false
386
r
## Dependencies dependencies <- c("argparse", "RPostgreSQL", "tidyverse", "glue", "kableExtra", "rmarkdown", "cowplot", "gtools", "scales", "formattable", "knitr") args = commandArgs(trailingOnly=TRUE) if(any(grepl(pattern = "show", args))){ print(dependencies) quit() } for(dep in dependencies...
library(waved) ### Name: summary.wvd ### Title: Summary of wvd objects ### Aliases: summary.wvd ### Keywords: internal ### ** Examples library(waved) data=waved.example(TRUE,FALSE) doppler.wvd=WaveD(data$doppler.noisy,data$g) summary(doppler.wvd)
/data/genthat_extracted_code/waved/examples/summary.wvd.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
254
r
library(waved) ### Name: summary.wvd ### Title: Summary of wvd objects ### Aliases: summary.wvd ### Keywords: internal ### ** Examples library(waved) data=waved.example(TRUE,FALSE) doppler.wvd=WaveD(data$doppler.noisy,data$g) summary(doppler.wvd)
/Unit4. Exploratory Data Analysis/DiplomadoMineriaDatos(C.P y Biplot).R
no_license
kawaiiblitz/DataMining
R
false
false
15,679
r
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/packTool.R \name{packTool} \alias{packTool} \title{Pack a requested tool} \usage{ packTool( model_data_path = NULL, snuxim_model_data_path = NULL, undistributed_mer_data = NULL, tool, datapack_name, country_uids, template_path, ...
/man/packTool.Rd
permissive
jason-p-pickering/datapackr
R
false
true
2,147
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/packTool.R \name{packTool} \alias{packTool} \title{Pack a requested tool} \usage{ packTool( model_data_path = NULL, snuxim_model_data_path = NULL, undistributed_mer_data = NULL, tool, datapack_name, country_uids, template_path, ...
#' Plot signature contribution heatmap #' #' Plot relative contribution of signatures in a heatmap #' #' @param contribution Signature contribution matrix #' @param sig_order Character vector with the desired order of the signature names for plotting. Optional. #' @param sample_order Character vector with the desired o...
/R/plot_contribution_heatmap.R
permissive
ipstone/MutationalPatterns
R
false
false
8,427
r
#' Plot signature contribution heatmap #' #' Plot relative contribution of signatures in a heatmap #' #' @param contribution Signature contribution matrix #' @param sig_order Character vector with the desired order of the signature names for plotting. Optional. #' @param sample_order Character vector with the desired o...
# load data consumption.all <- read.table(file = "household_power_consumption.txt", sep = ";", header = TRUE, na.strings = "?") consumption.plot <- subset(x = consumption.all, subset = Date == "1/2/2007" | Date == "2/2/2007") # write image file #2 png(filename = "plot2.png") plot(x = consumption.plot[, 3], type = "l"...
/plot2.r
no_license
robertdobbs/ExData_Plotting1
R
false
false
545
r
# load data consumption.all <- read.table(file = "household_power_consumption.txt", sep = ";", header = TRUE, na.strings = "?") consumption.plot <- subset(x = consumption.all, subset = Date == "1/2/2007" | Date == "2/2/2007") # write image file #2 png(filename = "plot2.png") plot(x = consumption.plot[, 3], type = "l"...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/roxford_extension.R \name{getDomainModelResponse} \alias{getDomainModelResponse} \title{get a model based response back} \usage{ getDomainModelResponse(img.path, key, model = "celebrities") } \arguments{ \item{key}{for the vision api} \item{...
/man/getDomainModelResponse.Rd
no_license
anishsingh20/Roxford
R
false
true
587
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/roxford_extension.R \name{getDomainModelResponse} \alias{getDomainModelResponse} \title{get a model based response back} \usage{ getDomainModelResponse(img.path, key, model = "celebrities") } \arguments{ \item{key}{for the vision api} \item{...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mstFreq.R \name{mstFREQ} \alias{mstFREQ} \title{Analysis of Multisite Randomised Education Trials using Multilevel Model under a Frequentist Setting.} \usage{ mstFREQ(formula, random, intervention, baseln, nPerm, data, seed, nBoot) } \argumen...
/man/mstFREQ.Rd
no_license
InductiveStep/eefAnalytics
R
false
true
4,315
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mstFreq.R \name{mstFREQ} \alias{mstFREQ} \title{Analysis of Multisite Randomised Education Trials using Multilevel Model under a Frequentist Setting.} \usage{ mstFREQ(formula, random, intervention, baseln, nPerm, data, seed, nBoot) } \argumen...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils-json.R \name{json} \alias{json} \title{Import a JSON file to use for report} \usage{ json(file) } \arguments{ \item{file}{incoming json file} } \description{ Import a JSON file to use for report }
/man/json.Rd
permissive
ee-usgs/repgen
R
false
true
282
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utils-json.R \name{json} \alias{json} \title{Import a JSON file to use for report} \usage{ json(file) } \arguments{ \item{file}{incoming json file} } \description{ Import a JSON file to use for report }
# Title : TODO # Objective : TODO # Created by: agladsteinNew # Created on: 11/2/17 args<-commandArgs(TRUE) if (length(args)<3) { stop("Three arguments must be supplied (sim input file), (real input file), (header)", call.=FALSE) } else{ print(args) } file_sim<-args[1] #simulation output, should have the form...
/assessment/plot_results.R
permissive
ElsevierSoftwareX/SOFTX_2018_97
R
false
false
966
r
# Title : TODO # Objective : TODO # Created by: agladsteinNew # Created on: 11/2/17 args<-commandArgs(TRUE) if (length(args)<3) { stop("Three arguments must be supplied (sim input file), (real input file), (header)", call.=FALSE) } else{ print(args) } file_sim<-args[1] #simulation output, should have the form...
# HW1: matrix2 # # 1. Create a 10 x 10 matrix `m1` whose i-th row,j-th column element is (i+1)/(j+1). (hint: check the `outer`` function) # 2. Copy `m1` into a matrix `m2` and replace the non-integer value by 0. # 3. Flatten the matrix `m2` column-vise and assign it to `v1`. # 4. Copy `v1` to `v2`, remove the dupl...
/week1 program/Matrix.R
no_license
tomatoJr/GR5206
R
false
false
928
r
# HW1: matrix2 # # 1. Create a 10 x 10 matrix `m1` whose i-th row,j-th column element is (i+1)/(j+1). (hint: check the `outer`` function) # 2. Copy `m1` into a matrix `m2` and replace the non-integer value by 0. # 3. Flatten the matrix `m2` column-vise and assign it to `v1`. # 4. Copy `v1` to `v2`, remove the dupl...
#Script for testing the properties of the cladistic space #Setwd if(length(grep("TGuillerme", getwd()))) { setwd('~/PhD/Projects/SpatioTemporal_Disparity/Analysis') } else { warning("You might have to change the directory!") } if(length(grep("SpatioTemporal_Disparity/Analysis", getwd()))==0) { if(length(gr...
/Analysis/Testings/Data_setup_null_test.R
no_license
yassato/SpatioTemporal_Disparity
R
false
false
10,565
r
#Script for testing the properties of the cladistic space #Setwd if(length(grep("TGuillerme", getwd()))) { setwd('~/PhD/Projects/SpatioTemporal_Disparity/Analysis') } else { warning("You might have to change the directory!") } if(length(grep("SpatioTemporal_Disparity/Analysis", getwd()))==0) { if(length(gr...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/FLDet.R \name{det} \alias{det} \title{Determinant of a Matrix.} \usage{ det(object, ...) } \arguments{ \item{object}{is a FLMatrix object} \item{...}{any additional arguments} } \value{ \code{det} returns determinant as a R vector which repl...
/man/det.Rd
no_license
phani-srikar/AdapteR
R
false
true
795
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/FLDet.R \name{det} \alias{det} \title{Determinant of a Matrix.} \usage{ det(object, ...) } \arguments{ \item{object}{is a FLMatrix object} \item{...}{any additional arguments} } \value{ \code{det} returns determinant as a R vector which repl...
library(tidyverse) library(DBI) library(dbplyr) library(RPostgreSQL) myDb <- dbConnect(dbDriver('PostgreSQL'), host = "db.jla-data.net", port = 5432, dbname = "dbase", user = "babisobot", # user babisobot má pouze select práva... ...
/priklad.R
permissive
jlacko/babisobot
R
false
false
515
r
library(tidyverse) library(DBI) library(dbplyr) library(RPostgreSQL) myDb <- dbConnect(dbDriver('PostgreSQL'), host = "db.jla-data.net", port = 5432, dbname = "dbase", user = "babisobot", # user babisobot má pouze select práva... ...
source("../setpath.R") data=read.csv(file.path(data_path,"Database.csv"),header=TRUE,stringsAsFactors = FALSE) df = data[which(data[,2]==""),-2] gene_start = grep("rrrD",colnames(df)) p = dim(df)[2] mut = df[,gene_start:p] mut[which(mut!=mut[1,2],arr.ind=T)] = "Hit" id_mut =data.frame(df[,...
/2_analysis_ML_visualization/src/Supplemental/S4.R
permissive
IBPA/MutationDB
R
false
false
2,548
r
source("../setpath.R") data=read.csv(file.path(data_path,"Database.csv"),header=TRUE,stringsAsFactors = FALSE) df = data[which(data[,2]==""),-2] gene_start = grep("rrrD",colnames(df)) p = dim(df)[2] mut = df[,gene_start:p] mut[which(mut!=mut[1,2],arr.ind=T)] = "Hit" id_mut =data.frame(df[,...
##### # Script R para analise de desempenho do Gromacs # Todas as tabelas são modeladas e todos os gráficos são feitos com este script em R # Basta executá-lo ... ;) #### require(ggplot2) require(ggthemes) require(dplyr) library(stringr) library(readr) ###############################...
/ScriptsR/11-analiseGromacs.R
no_license
adrianoferruzzi/vmdata
R
false
false
7,104
r
##### # Script R para analise de desempenho do Gromacs # Todas as tabelas são modeladas e todos os gráficos são feitos com este script em R # Basta executá-lo ... ;) #### require(ggplot2) require(ggthemes) require(dplyr) library(stringr) library(readr) ###############################...
\name{BestSlope} \alias{BestSlope} \title{Choose the best-fit slope for the log(y) and x regression by the criteria of adjusted R-square.} \description{ It sequentially fits (log(y) ~ x) from the last point of x to the previous points with at least 3 points. It chooses a slope the highest adjusted R-square. If th...
/man/BestSlope.Rd
no_license
asancpt/NonCompart
R
false
false
2,137
rd
\name{BestSlope} \alias{BestSlope} \title{Choose the best-fit slope for the log(y) and x regression by the criteria of adjusted R-square.} \description{ It sequentially fits (log(y) ~ x) from the last point of x to the previous points with at least 3 points. It chooses a slope the highest adjusted R-square. If th...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.evol2.r \name{plot.evol2} \alias{plot.evol2} \title{Do something} \usage{ \method{plot}{evol2}(DT, groups, main, etyp = 0) } \description{ Do something } \examples{ } \author{ JuG }
/man/plot.evol2.Rd
no_license
jgodet/gmrcfun
R
false
true
267
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.evol2.r \name{plot.evol2} \alias{plot.evol2} \title{Do something} \usage{ \method{plot}{evol2}(DT, groups, main, etyp = 0) } \description{ Do something } \examples{ } \author{ JuG }
#' House publications #' #' Imports data on House of Commons and House of Lords publications. #' #' @param ID Publication ID. Defaults to `NULL`. If not `NULL`, #' requests a tibble with information on the given publication. #' #' @param house The house that produced the particular publication. Accepts #' `'commons'` ...
/R/publication_logs.R
permissive
basilesimon/hansard
R
false
false
3,030
r
#' House publications #' #' Imports data on House of Commons and House of Lords publications. #' #' @param ID Publication ID. Defaults to `NULL`. If not `NULL`, #' requests a tibble with information on the given publication. #' #' @param house The house that produced the particular publication. Accepts #' `'commons'` ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data-core.R \docType{data} \name{core} \alias{core} \title{CORE (Computing Research and Education) list of conference rankings} \format{An object of class \code{spec_tbl_df} (inherits from \code{tbl_df}, \code{tbl}, \code{data.frame}) with 16...
/man/core.Rd
no_license
njtierney/Rcademy
R
false
true
2,750
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data-core.R \docType{data} \name{core} \alias{core} \title{CORE (Computing Research and Education) list of conference rankings} \format{An object of class \code{spec_tbl_df} (inherits from \code{tbl_df}, \code{tbl}, \code{data.frame}) with 16...
rm(list = ls()); minimize <- function(f, m1, s1, m2, s2, n) { x_star <- NA; f_star <- NA; for(k in 1:n) { xk <- rnorm(1, m1, s1); yk <- rnorm(1, m2, s2); fk <- f(xk, yk); if(k==1) { x_star = c(xk, yk); f_star = fk; } else if(fk < f_star) { x_star = c(xk, yk); f_star = fk; ...
/week3c-opt/ex2b-gaussian-for-quadric.R
no_license
tutrunghieu/html2015b
R
false
false
464
r
rm(list = ls()); minimize <- function(f, m1, s1, m2, s2, n) { x_star <- NA; f_star <- NA; for(k in 1:n) { xk <- rnorm(1, m1, s1); yk <- rnorm(1, m2, s2); fk <- f(xk, yk); if(k==1) { x_star = c(xk, yk); f_star = fk; } else if(fk < f_star) { x_star = c(xk, yk); f_star = fk; ...
#' @export d3bubbles2 <- function(data, valueCol = NULL, labelCol = NULL, tooltipCol = NULL, colorCol = NULL, opts = NULL, width = NULL, height = NULL) { labelCol <- labelCol %||% names(data)[1] valueCol <- valueCol %||% names(data)[2] ...
/R/d3bubbles2.R
no_license
karthikl6/d3bubbles2
R
false
false
1,917
r
#' @export d3bubbles2 <- function(data, valueCol = NULL, labelCol = NULL, tooltipCol = NULL, colorCol = NULL, opts = NULL, width = NULL, height = NULL) { labelCol <- labelCol %||% names(data)[1] valueCol <- valueCol %||% names(data)[2] ...
## ui.R #install.packages('tm') library(shiny) library(shinydashboard) library(recommenderlab) library(data.table) library(ShinyRatingInput) library(shinyjs) source('functions/helpers.R') shinyUI( dashboardPage( skin = "blue", dashboardHeader(title = "Movie Recommender"), ...
/ShinyApp/ui.R
no_license
bsathyamur/MovieRecommender
R
false
false
3,199
r
## ui.R #install.packages('tm') library(shiny) library(shinydashboard) library(recommenderlab) library(data.table) library(ShinyRatingInput) library(shinyjs) source('functions/helpers.R') shinyUI( dashboardPage( skin = "blue", dashboardHeader(title = "Movie Recommender"), ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tools.R \name{perform_enrichGO} \alias{perform_enrichGO} \title{Perform a clusterPrfiler enrichGO analysis} \usage{ perform_enrichGO( ontology, entrezgenes, background_genes, use_background, species ) } \arguments{ \item{ontology}{C...
/man/perform_enrichGO.Rd
permissive
paulklemm/mygo
R
false
true
660
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tools.R \name{perform_enrichGO} \alias{perform_enrichGO} \title{Perform a clusterPrfiler enrichGO analysis} \usage{ perform_enrichGO( ontology, entrezgenes, background_genes, use_background, species ) } \arguments{ \item{ontology}{C...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mk_subread_index.R \name{mk_subread_index} \alias{mk_subread_index} \title{Make a Subread index} \usage{ mk_subread_index(ref_lib, split = 4, mem = 8000) } \arguments{ \item{ref_lib}{The name/location of the reference library file, in (uncomp...
/man/mk_subread_index.Rd
no_license
wevanjohnson/MetaScope
R
false
true
1,457
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mk_subread_index.R \name{mk_subread_index} \alias{mk_subread_index} \title{Make a Subread index} \usage{ mk_subread_index(ref_lib, split = 4, mem = 8000) } \arguments{ \item{ref_lib}{The name/location of the reference library file, in (uncomp...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/db-sqlar.R \name{db.unsqlar} \alias{db.unsqlar} \title{Unpack a SQLite archive.} \usage{ db.unsqlar(db, name, path, files) } \arguments{ \item{db}{The database connection. S4 object of class "database".} \item{name}{The name of the SQLite ar...
/man/db.unsqlar.Rd
no_license
blueraleigh/db
R
false
true
980
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/db-sqlar.R \name{db.unsqlar} \alias{db.unsqlar} \title{Unpack a SQLite archive.} \usage{ db.unsqlar(db, name, path, files) } \arguments{ \item{db}{The database connection. S4 object of class "database".} \item{name}{The name of the SQLite ar...
head(iris) plot(x = iris$Sepal.Length, y= iris$Sepal.Width, xlab = "Sepal Length", ylab = "Sepal Width", main = "scatter plot") View(iris)
/rproject.R
no_license
knevola/myFirstGitTry
R
false
false
139
r
head(iris) plot(x = iris$Sepal.Length, y= iris$Sepal.Width, xlab = "Sepal Length", ylab = "Sepal Width", main = "scatter plot") View(iris)
#' Estimate ANOVA decomposition-based variable importance. #' #' @inheritParams measure_accuracy #' @param full fitted values from a regression function of the observed outcome #' on the full set of covariates. #' @param reduced fitted values from a regression on the reduced set of observed #' covariates. #'...
/R/measure_anova.R
permissive
bdwilliamson/vimp
R
false
false
3,615
r
#' Estimate ANOVA decomposition-based variable importance. #' #' @inheritParams measure_accuracy #' @param full fitted values from a regression function of the observed outcome #' on the full set of covariates. #' @param reduced fitted values from a regression on the reduced set of observed #' covariates. #'...
## in this script we will get the ## load("data/expr/rawCounts/genic/fullExExJun.rda") ## load libraries and data library(devtools) setwd("C:/Users/mguelfi/projectsR/eQTLPipeline/") load_all() library(R.utils) path <- readWindowsShortcut("data.lnk", verbose=FALSE) setwd(dirname(path$networkPathname)) rm(path) ## loa...
/transcribedRegions.R
no_license
gughi/eQTLPipeline
R
false
false
7,739
r
## in this script we will get the ## load("data/expr/rawCounts/genic/fullExExJun.rda") ## load libraries and data library(devtools) setwd("C:/Users/mguelfi/projectsR/eQTLPipeline/") load_all() library(R.utils) path <- readWindowsShortcut("data.lnk", verbose=FALSE) setwd(dirname(path$networkPathname)) rm(path) ## loa...
##format NTAP data into fendR format library(dplyr) require(githubr) #here is where we will store the files par.id<-'syn8282028' #drug sensitivity ncat.file="https://raw.githubusercontent.com/sgosline/pnfCellLines/master/bin/ncatsSingleAgentScreens.R" source(ncat.file) this.file='https://raw.githubusercontent.com/...
/dev/formatDatasets/formatPlexiNFdata.R
no_license
Sage-Bionetworks/fendR
R
false
false
2,713
r
##format NTAP data into fendR format library(dplyr) require(githubr) #here is where we will store the files par.id<-'syn8282028' #drug sensitivity ncat.file="https://raw.githubusercontent.com/sgosline/pnfCellLines/master/bin/ncatsSingleAgentScreens.R" source(ncat.file) this.file='https://raw.githubusercontent.com/...
plot_arh <- function(c,t,sp,symbol){ par(mar=c(5,4,4,5)+.1) barplot(sp,col="grey",main=paste("Expression et probabilité d'épissage: ",symbol),xlab="",ylab="",las=2,ylim=c(0,max(sp)+0.1)) legend("topleft",col=c("red","blue"),lty=1,legend=c("C","T")) par(new=TRUE) plot(c,type="b",col="red",xaxt="n",yaxt="n",xlab="",ylab...
/plot.R
no_license
benhrif/Gene-Array-Alternative-Splicing-Detection-in-Galaxy
R
false
false
513
r
plot_arh <- function(c,t,sp,symbol){ par(mar=c(5,4,4,5)+.1) barplot(sp,col="grey",main=paste("Expression et probabilité d'épissage: ",symbol),xlab="",ylab="",las=2,ylim=c(0,max(sp)+0.1)) legend("topleft",col=c("red","blue"),lty=1,legend=c("C","T")) par(new=TRUE) plot(c,type="b",col="red",xaxt="n",yaxt="n",xlab="",ylab...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/load_eupath_pkg.R \name{load_eupath_pkg} \alias{load_eupath_pkg} \title{Loads a pkg into the current R environment.} \usage{ load_eupath_pkg(name, webservice = "eupathdb") } \arguments{ \item{name}{Package name.} \item{webservice}{From where...
/man/load_eupath_pkg.Rd
no_license
khughitt/EuPathDB
R
false
true
409
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/load_eupath_pkg.R \name{load_eupath_pkg} \alias{load_eupath_pkg} \title{Loads a pkg into the current R environment.} \usage{ load_eupath_pkg(name, webservice = "eupathdb") } \arguments{ \item{name}{Package name.} \item{webservice}{From where...