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
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CompoundMsData.r \docType{data} \name{CompoundMsData} \alias{CompoundMsData} \title{CompoundMsData Class} \format{An object of class \code{R6ClassGenerator} of length 25.} \usage{ CompoundMsData } \description{ CompoundMsData Class } \section...
/Rsirius/man/CompoundMsData.Rd
permissive
boecker-lab/Rsirius
R
false
true
474
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CompoundMsData.r \docType{data} \name{CompoundMsData} \alias{CompoundMsData} \title{CompoundMsData Class} \format{An object of class \code{R6ClassGenerator} of length 25.} \usage{ CompoundMsData } \description{ CompoundMsData Class } \section...
require(lubridate) # convenient for dates loadnplot <- function(directory, dev="screen") { data <- load_data(directory) plot_data(data) return(data) } plot_data <- function(data, dev="screen") { # Take subset workdata<-subset(data, Date=="1/2/2007"| Date=="2/2/2007") if ( dev == "png" ) { ...
/plot1.R
no_license
d8a-sci/ExData_Plotting1
R
false
false
1,340
r
require(lubridate) # convenient for dates loadnplot <- function(directory, dev="screen") { data <- load_data(directory) plot_data(data) return(data) } plot_data <- function(data, dev="screen") { # Take subset workdata<-subset(data, Date=="1/2/2007"| Date=="2/2/2007") if ( dev == "png" ) { ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compute_functions.R \name{forwardingRules.list} \alias{forwardingRules.list} \title{Retrieves a list of ForwardingRule resources available to the specified project and region.} \usage{ forwardingRules.list(project, region, filter = NULL, maxR...
/googlecomputev1.auto/man/forwardingRules.list.Rd
permissive
Phippsy/autoGoogleAPI
R
false
true
1,426
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/compute_functions.R \name{forwardingRules.list} \alias{forwardingRules.list} \title{Retrieves a list of ForwardingRule resources available to the specified project and region.} \usage{ forwardingRules.list(project, region, filter = NULL, maxR...
## Code to import data and make graph 1 library(dplyr) setwd("C:/Users/Kim/Dropbox/Soudi Coursera/course 4/Week 1 assingment") data <- read.table("household_power_consumption.txt",header=TRUE, sep = ";") data<-data[which(data$Date=="1/2/2007" | data$Date=="2/2/2007"),] data$Global_active_power <- as.nu...
/Plot1.R
no_license
KimBetts/ExData_Plotting1
R
false
false
498
r
## Code to import data and make graph 1 library(dplyr) setwd("C:/Users/Kim/Dropbox/Soudi Coursera/course 4/Week 1 assingment") data <- read.table("household_power_consumption.txt",header=TRUE, sep = ";") data<-data[which(data$Date=="1/2/2007" | data$Date=="2/2/2007"),] data$Global_active_power <- as.nu...
column(width = 12, fluidRow(column(width = 12, h3(textOutput("regionName")))), fluidRow( box( title = "Demographics", status = "primary", solidHeader = FALSE, collapsible = TRUE, width = 12, HTML("<p><stro...
/assets/ui/layouts/adult1213.R
no_license
bogdanrau/hp
R
false
false
2,525
r
column(width = 12, fluidRow(column(width = 12, h3(textOutput("regionName")))), fluidRow( box( title = "Demographics", status = "primary", solidHeader = FALSE, collapsible = TRUE, width = 12, HTML("<p><stro...
## Set working directory setwd("../ExploratoryAnalysis/data") ## Load in prepared dataset (see PrepareData.R) ds <- read.csv("workingdata.csv") ## Plot 1 png("plot1.png",bg="white") hist(ds$Global_active_power,col="red",main="Global Active Power",xlab="Global Active Power (kilowatts)") dev.off()
/scripts/plot1.R
no_license
LMHollingshead/ExData_Plotting1
R
false
false
298
r
## Set working directory setwd("../ExploratoryAnalysis/data") ## Load in prepared dataset (see PrepareData.R) ds <- read.csv("workingdata.csv") ## Plot 1 png("plot1.png",bg="white") hist(ds$Global_active_power,col="red",main="Global Active Power",xlab="Global Active Power (kilowatts)") dev.off()
# https://rdrr.io/cran/RapidoPGS/man/EUR_ld.blocks38.html library(tidyverse) load("EUR_ld.blocks38.RData") ld_blodk_eur38 <- data.frame(EUR_ld.blocks38)[,1:3] colnames(ld_blodk_eur38) <- c("CHR", "START", "STOP") ld_blodk_eur38$CHR <- sub("chr","",ld_blodk_eur38$CHR) ld_blodk_eur38 <- as_tibble(ld_blodk_eur38) save(ld_...
/data/ldblock/RHOGE_ldblock.R
no_license
junghyunJJ/jjutil
R
false
false
962
r
# https://rdrr.io/cran/RapidoPGS/man/EUR_ld.blocks38.html library(tidyverse) load("EUR_ld.blocks38.RData") ld_blodk_eur38 <- data.frame(EUR_ld.blocks38)[,1:3] colnames(ld_blodk_eur38) <- c("CHR", "START", "STOP") ld_blodk_eur38$CHR <- sub("chr","",ld_blodk_eur38$CHR) ld_blodk_eur38 <- as_tibble(ld_blodk_eur38) save(ld_...
#==========================================================================================# #==========================================================================================# # This function creates an expression object that has the description and the units # # with sub-scripts, superscripts and s...
/Models/26jan17/R-utils/desc.unit.r
no_license
hamiddashti/ED_BSU
R
false
false
1,552
r
#==========================================================================================# #==========================================================================================# # This function creates an expression object that has the description and the units # # with sub-scripts, superscripts and s...
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function # function makeCacheMatrix creates a special matrix that can cache its inverse makeCacheMatrix <- function(x = matrix()) { inverseMatrix <- NULL set <- function(y) { x <<- y } ...
/cachematrix.R
no_license
IuliiaNikitina12/ProgrammingAssignment2
R
false
false
1,110
r
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function # function makeCacheMatrix creates a special matrix that can cache its inverse makeCacheMatrix <- function(x = matrix()) { inverseMatrix <- NULL set <- function(y) { x <<- y } ...
testlist <- list(id = c(-1L, -1L, -1L, -65536L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, ...
/ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1610031353-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
478
r
testlist <- list(id = c(-1L, -1L, -1L, -65536L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/roboto-condensed.r \docType{data} \name{font_rc} \alias{font_rc} \alias{font_rc_light} \title{Roboto Condensed font name R variable aliases} \format{length 1 character vector} \usage{ font_rc font_rc_light } \description{ \code{font_rc} == "...
/man/RobotoCondensed.Rd
no_license
cran/hrbrthemes
R
false
true
565
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/roboto-condensed.r \docType{data} \name{font_rc} \alias{font_rc} \alias{font_rc_light} \title{Roboto Condensed font name R variable aliases} \format{length 1 character vector} \usage{ font_rc font_rc_light } \description{ \code{font_rc} == "...
col_names <- names(binary) binary[,col_names] <- lapply(binary[,col_names] , factor) library(arules) rules.all <- apriori(binary) rules <- apriori(binary, control = list(verbose=F), parameter = list(minlen=2, supp=0.007, conf=0.8)) source("http://bioconductor.org/biocLite.R") biocLite("Rgraphviz") rules.sorted <- sort...
/lab7/real_lab_7_admissions.R
no_license
faroos3/CSCI2600_S17_lab_work
R
false
false
405
r
col_names <- names(binary) binary[,col_names] <- lapply(binary[,col_names] , factor) library(arules) rules.all <- apriori(binary) rules <- apriori(binary, control = list(verbose=F), parameter = list(minlen=2, supp=0.007, conf=0.8)) source("http://bioconductor.org/biocLite.R") biocLite("Rgraphviz") rules.sorted <- sort...
library(forecast) library(magrittr) library(fpp2) library(astsa) library(lmtest) library(ggplot2) setwd('C:/Users/Shuya C/Desktop/depaul/DSC 425/group') gl= read.csv(file="GOOGL.csv", header=TRUE, sep=",") gl$Date=as.Date(gl$Date) head(gl) tail(gl) str(gl) #check missing value missing_value<-sum(is.na(gl))...
/Auto.arima_Sarima.R
no_license
schiang3/R-project
R
false
false
3,626
r
library(forecast) library(magrittr) library(fpp2) library(astsa) library(lmtest) library(ggplot2) setwd('C:/Users/Shuya C/Desktop/depaul/DSC 425/group') gl= read.csv(file="GOOGL.csv", header=TRUE, sep=",") gl$Date=as.Date(gl$Date) head(gl) tail(gl) str(gl) #check missing value missing_value<-sum(is.na(gl))...
### All of my deprecated and defunct stuff ##' Deprecated genoset features ##' ##' GenoSet is moving towards using GenomicRanges instead of RangedData. We are also getting rid of dependencies on eSet for a potential switch to an underlying SummarizedExperiment. ##' @name genoset-deprecated ##' @aliases genoset-depreca...
/R/junk.R
no_license
phaverty/genoset
R
false
false
1,024
r
### All of my deprecated and defunct stuff ##' Deprecated genoset features ##' ##' GenoSet is moving towards using GenomicRanges instead of RangedData. We are also getting rid of dependencies on eSet for a potential switch to an underlying SummarizedExperiment. ##' @name genoset-deprecated ##' @aliases genoset-depreca...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_ACC.R \name{get_ACC} \alias{get_ACC} \title{Get the ACC values for a selection of chemicals} \usage{ get_ACC(CAS) } \arguments{ \item{CAS}{Vector of CAS.} } \value{ data frame with columns CAS, chnm, flags, endPoint, ACC, MlWt...
/man/get_ACC.Rd
no_license
cran/toxEval
R
false
true
961
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_ACC.R \name{get_ACC} \alias{get_ACC} \title{Get the ACC values for a selection of chemicals} \usage{ get_ACC(CAS) } \arguments{ \item{CAS}{Vector of CAS.} } \value{ data frame with columns CAS, chnm, flags, endPoint, ACC, MlWt...
rm(list=ls()) ### # Task1Analysis of adult/kid movie data and testing of glmnet. # Objects can be loaded by load("~/ds-shorsman/data/Task1Solution.RData") ### # Load required libraries library(Matrix) library(glmnet) library(caret) # Read in the file and munge the df # task1.file contains our training data # all_use...
/src/main/R/Task1Analysis.R
no_license
StuHorsman-zz/ds-shorsman
R
false
false
5,944
r
rm(list=ls()) ### # Task1Analysis of adult/kid movie data and testing of glmnet. # Objects can be loaded by load("~/ds-shorsman/data/Task1Solution.RData") ### # Load required libraries library(Matrix) library(glmnet) library(caret) # Read in the file and munge the df # task1.file contains our training data # all_use...
# function for printing summaries with standard deviations # only for numerical variables summarySD <- function(x) { stopifnot(is.numeric(x) | is.data.frame(x), is.null(dim(x)) | dim(x)[2] == 1) ### cast to simple numerical vector if data.frame (with one row) if(is.data.frame(x)) x <- as.numeric(x) ...
/functions.R
no_license
victorabelmurcia/ShinyApp-Example
R
false
false
5,499
r
# function for printing summaries with standard deviations # only for numerical variables summarySD <- function(x) { stopifnot(is.numeric(x) | is.data.frame(x), is.null(dim(x)) | dim(x)[2] == 1) ### cast to simple numerical vector if data.frame (with one row) if(is.data.frame(x)) x <- as.numeric(x) ...
# test.rpart.rules.R (also tests rpart.predict and roundint argument) source("test.prolog.R") old.width <- options("width") example(rpart.rules) title("example(rpart.rules)") example(print.rpart.rules) title("example(print.rpart.rules)") # test rpart.model.frame with good and bad data par(mfrow=c(2, 2)) data(trees) ...
/packrat/lib/x86_64-w64-mingw32/3.5.3/rpart.plot/slowtests/test.rpart.rules.R
no_license
jcmorera/Tarea3_promidat_parte1
R
false
false
36,274
r
# test.rpart.rules.R (also tests rpart.predict and roundint argument) source("test.prolog.R") old.width <- options("width") example(rpart.rules) title("example(rpart.rules)") example(print.rpart.rules) title("example(print.rpart.rules)") # test rpart.model.frame with good and bad data par(mfrow=c(2, 2)) data(trees) ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/naive_Bayes_naivebayes.R \name{details_naive_Bayes_naivebayes} \alias{details_naive_Bayes_naivebayes} \title{Naive Bayes models via naivebayes} \description{ \code{\link[naivebayes:naive_bayes]{naivebayes::naive_bayes()}} fits a model that us...
/man/details_naive_Bayes_naivebayes.Rd
permissive
tidymodels/parsnip
R
false
true
2,459
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/naive_Bayes_naivebayes.R \name{details_naive_Bayes_naivebayes} \alias{details_naive_Bayes_naivebayes} \title{Naive Bayes models via naivebayes} \description{ \code{\link[naivebayes:naive_bayes]{naivebayes::naive_bayes()}} fits a model that us...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rgcv.R \name{rgcv} \alias{rgcv} \title{Cross validation, n-fold for random forest in ranger (RG)} \usage{ rgcv(trainx, trainy, cv.fold = 10, mtry = if (!is.null(trainy) && !is.factor(trainy)) max(floor(ncol(trainx)/3), 1) else flo...
/man/rgcv.Rd
no_license
zhang01GA/spm
R
false
true
3,222
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rgcv.R \name{rgcv} \alias{rgcv} \title{Cross validation, n-fold for random forest in ranger (RG)} \usage{ rgcv(trainx, trainy, cv.fold = 10, mtry = if (!is.null(trainy) && !is.factor(trainy)) max(floor(ncol(trainx)/3), 1) else flo...
########################### # File: Avg Cost.R # Description: Downloads a Player's Avg Cost in Yahoo Auction Drafts # Date: 3/3/2013 # Author: Isaac Petersen (isaac@fantasyfootballanalytics.net) # Notes: # To do: ########################### #Library library("stringr") library("XML") #Functions source(paste(getwd(),"/...
/R Scripts/Avg Cost.R
no_license
Themustardtiger/FantasyFootballAnalyticsR
R
false
false
4,299
r
########################### # File: Avg Cost.R # Description: Downloads a Player's Avg Cost in Yahoo Auction Drafts # Date: 3/3/2013 # Author: Isaac Petersen (isaac@fantasyfootballanalytics.net) # Notes: # To do: ########################### #Library library("stringr") library("XML") #Functions source(paste(getwd(),"/...
power <- read.table("household_power_consumption.txt", sep = ";", header = TRUE) #reading the data power$newDate <- paste(power$Date, power$Time) #combine the column of date and time power$newDate <- strptime(power$newDate, "%d/%m/%Y %H:%M:%S", tz = "GMT") #convert the data type into Date type #subsetting the data powe...
/plot3.R
no_license
kerompa/ExData_Plotting1
R
false
false
1,228
r
power <- read.table("household_power_consumption.txt", sep = ";", header = TRUE) #reading the data power$newDate <- paste(power$Date, power$Time) #combine the column of date and time power$newDate <- strptime(power$newDate, "%d/%m/%Y %H:%M:%S", tz = "GMT") #convert the data type into Date type #subsetting the data powe...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/RejectionABC.R \name{RejectionABC} \alias{RejectionABC} \title{Rejection Approximate Bayesian Computation} \usage{ RejectionABC(data, prior, simulator, tolerance = 0.1, n = 10000) } \arguments{ \item{data}{an observation} \item{prior...
/man/RejectionABC.Rd
permissive
tom-jin/LazyABC
R
false
false
1,174
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/RejectionABC.R \name{RejectionABC} \alias{RejectionABC} \title{Rejection Approximate Bayesian Computation} \usage{ RejectionABC(data, prior, simulator, tolerance = 0.1, n = 10000) } \arguments{ \item{data}{an observation} \item{prior...
library(rmi) ### Name: knn_mi ### Title: kNN Mutual Information Estimators ### Aliases: knn_mi ### ** Examples set.seed(123) x <- rnorm(1000) y <- x + rnorm(1000) knn_mi(cbind(x,y),c(1,1),options = list(method = "KSG2", k = 6)) set.seed(123) x <- rnorm(1000) y <- 100*x + rnorm(1000) knn_mi(cbind(x,y),c(1,1),option...
/data/genthat_extracted_code/rmi/examples/knn_mi.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
751
r
library(rmi) ### Name: knn_mi ### Title: kNN Mutual Information Estimators ### Aliases: knn_mi ### ** Examples set.seed(123) x <- rnorm(1000) y <- x + rnorm(1000) knn_mi(cbind(x,y),c(1,1),options = list(method = "KSG2", k = 6)) set.seed(123) x <- rnorm(1000) y <- 100*x + rnorm(1000) knn_mi(cbind(x,y),c(1,1),option...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 23833 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 23833 c c Input Parameter (command line, file): c input filename pcnf/PCNF/gttt_1_1_00101121_4x4_torus_w.qdimacs c output file...
/code/dcnf-ankit-optimized/Results/PCNF-TRACK-2018/E1/Experiments/gttt_1_1_00101121_4x4_torus_w/gttt_1_1_00101121_4x4_torus_w.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
632
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 23833 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 23833 c c Input Parameter (command line, file): c input filename pcnf/PCNF/gttt_1_1_00101121_4x4_torus_w.qdimacs c output file...
x = read.table('counts_matrix.txt') metadata = read.table('metadata.txt',sep='\t',header=TRUE) rownames(x) # gene colnames(x) # 80 samples metadata$patient.id # same as the last command colnames(x) == metadata$patient.id # all same # ex1 count.nonzero = function(x){ x.length = nrow(x) counts = vector(length=x.len...
/ComputerExercise3/CE3.R
no_license
xuyankun/MVE510-Intro-to-Bioinformatics
R
false
false
6,833
r
x = read.table('counts_matrix.txt') metadata = read.table('metadata.txt',sep='\t',header=TRUE) rownames(x) # gene colnames(x) # 80 samples metadata$patient.id # same as the last command colnames(x) == metadata$patient.id # all same # ex1 count.nonzero = function(x){ x.length = nrow(x) counts = vector(length=x.len...
# remotes::install_github("muschellij2/SummarizedActigraphy") library(SummarizedActigraphy) # remotes::install_github("THLfi/read.gt3x") library(read.gt3x) library(dplyr) library(readxl) library(tidyr) library(readr) library(lubridate) library(MIMSunit) data_dir = here::here("data") source(here::here("code/helper_func...
/code/create_summaries.R
no_license
andrew-leroux/upper_limb_gt3x_prosthesis
R
false
false
1,663
r
# remotes::install_github("muschellij2/SummarizedActigraphy") library(SummarizedActigraphy) # remotes::install_github("THLfi/read.gt3x") library(read.gt3x) library(dplyr) library(readxl) library(tidyr) library(readr) library(lubridate) library(MIMSunit) data_dir = here::here("data") source(here::here("code/helper_func...
library(lubridate) fileName <- "household_power_consumption.txt" top5rows <- read.table(fileName, header = TRUE, sep = ";", na.string = "?", nrows = 5) classes <- sapply(top5rows, class) raw_data <- read.table(fileName, header = TRUE, sep = ";", na.string = "?", colClasses = classes) selected <- raw_data[raw_data$Date ...
/plot4.R
no_license
puluoning/ExData_Plotting1
R
false
false
1,390
r
library(lubridate) fileName <- "household_power_consumption.txt" top5rows <- read.table(fileName, header = TRUE, sep = ";", na.string = "?", nrows = 5) classes <- sapply(top5rows, class) raw_data <- read.table(fileName, header = TRUE, sep = ";", na.string = "?", colClasses = classes) selected <- raw_data[raw_data$Date ...
test_that("on_exit runs in caller env", { a <- 1 local <- function(x) { on_exit(a <<- !!x) } f <- function() { local(2) 3 } f() expect_equal(a, 2) }) test_that("can temporarily trace a function", { f <- function() { local_trace(mean, signal("", class = "traced")) mean(1:10) } e...
/tests/testthat/test-utils.R
permissive
isabella232/codestate
R
false
false
705
r
test_that("on_exit runs in caller env", { a <- 1 local <- function(x) { on_exit(a <<- !!x) } f <- function() { local(2) 3 } f() expect_equal(a, 2) }) test_that("can temporarily trace a function", { f <- function() { local_trace(mean, signal("", class = "traced")) mean(1:10) } e...
## code to prepare `REE_plus_Y_Elements` dataset goes here REE_plus_Y_Elements <- c("La", "Ce", "Pr", "Nd", "Sm", "Eu", "Gd", "Tb", "Dy", "Ho", "Er", "Tm", "Yb", "Lu",'Y') usethis::use_data(REE_plus_Y_Elements, overwrite = TRUE)
/data-raw/REE_Y.R
permissive
cicarrascog/imputeREE
R
false
false
285
r
## code to prepare `REE_plus_Y_Elements` dataset goes here REE_plus_Y_Elements <- c("La", "Ce", "Pr", "Nd", "Sm", "Eu", "Gd", "Tb", "Dy", "Ho", "Er", "Tm", "Yb", "Lu",'Y') usethis::use_data(REE_plus_Y_Elements, overwrite = TRUE)
test_that("numeric_summary results match expected values", { # Expected result expected <- data.frame(min = 14L, median = 19L, sd = 3.65148371670111, max = 24L) ...
/tests/testthat/test-non-exported.R
permissive
jmbo1190/datasummary
R
false
false
718
r
test_that("numeric_summary results match expected values", { # Expected result expected <- data.frame(min = 14L, median = 19L, sd = 3.65148371670111, max = 24L) ...
#' rangebreak.linear Conduct a linear rangebreak test as described in Glor and Warren 2011. #' #' #' @param species.1 An emtools.species object #' @param species.2 An enmtools.species object #' @param env A RasterLayer or RasterStack object containing environmental data #' @param type The type of model to construct, cu...
/R/rangebreak.linear.R
no_license
bomeara/ENMTools
R
false
false
12,598
r
#' rangebreak.linear Conduct a linear rangebreak test as described in Glor and Warren 2011. #' #' #' @param species.1 An emtools.species object #' @param species.2 An enmtools.species object #' @param env A RasterLayer or RasterStack object containing environmental data #' @param type The type of model to construct, cu...
library(stringr) library(GenomicRanges) # Setup parameters # # Version of Human Genome references. Current version is hg19. (options: 18 or 19) hg_v <- 19 # Setting working directory # setwd("cnvdata") # regex for hg version with cnv and nocnv regex.all <- paste0(".+hg",hg_v,".*") # regex for hg version with cnv (exc...
/a.r
no_license
Al3n70rn/lgg-cnv
R
false
false
4,471
r
library(stringr) library(GenomicRanges) # Setup parameters # # Version of Human Genome references. Current version is hg19. (options: 18 or 19) hg_v <- 19 # Setting working directory # setwd("cnvdata") # regex for hg version with cnv and nocnv regex.all <- paste0(".+hg",hg_v,".*") # regex for hg version with cnv (exc...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_lad_successors.R \name{get_lad_successors} \alias{get_lad_successors} \title{Get LAD Successors} \usage{ get_lad_successors(stp_lookups) } \arguments{ \item{stp_lookups}{the results of the stp_lookups target} } \value{ tibble } \descripti...
/man/get_lad_successors.Rd
permissive
The-Strategy-Unit/754-inequalities-access-mh-cyp
R
false
true
811
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/get_lad_successors.R \name{get_lad_successors} \alias{get_lad_successors} \title{Get LAD Successors} \usage{ get_lad_successors(stp_lookups) } \arguments{ \item{stp_lookups}{the results of the stp_lookups target} } \value{ tibble } \descripti...
png(filename='./plot3.png', width=480, height=480) plot(x = powtbl$Datetime, y = powtbl$Sub_metering_1, type = "l", xlab = "", ylab = "Energy sub metering") lines(powtbl$Datetime,powtbl$Sub_metering_2, col = "red") lines(powtbl$Datetime,powtbl$Sub_metering_3, col = "blue") legend("topright", leg...
/Plot3.R
no_license
JanDirkBakker/ExData_Plotting1
R
false
false
445
r
png(filename='./plot3.png', width=480, height=480) plot(x = powtbl$Datetime, y = powtbl$Sub_metering_1, type = "l", xlab = "", ylab = "Energy sub metering") lines(powtbl$Datetime,powtbl$Sub_metering_2, col = "red") lines(powtbl$Datetime,powtbl$Sub_metering_3, col = "blue") legend("topright", leg...
#' @title Sprawdzanie argumentow funkcji #' @description Funkcja sprawdza, czy podane dane są zgodne podanym opisem #' struktury testu (oraz czy sam ten opis jest poprawny). #' @param x argument do sprawdzenia - dane #' @param y argument do sprawdzenia - opis struktury testu #' @param nazwaArgumentuX nazwa argumentu, k...
/R/assert_ot.R
permissive
tzoltak/KTT
R
false
false
9,173
r
#' @title Sprawdzanie argumentow funkcji #' @description Funkcja sprawdza, czy podane dane są zgodne podanym opisem #' struktury testu (oraz czy sam ten opis jest poprawny). #' @param x argument do sprawdzenia - dane #' @param y argument do sprawdzenia - opis struktury testu #' @param nazwaArgumentuX nazwa argumentu, k...
library(sf) library(geojsonio) library(cartovl) data_url <- paste0( "https://raw.githubusercontent.com/uber-common/deck.gl-data/", "master/examples/geojson/vancouver-blocks.json" ) blocks <- st_read(data_url) %>% geojson_json() viz_def <- list( "color: ramp($growth, [red, green, yellow])" ) map <- cartovl()...
/inst/examples/vancouver-blocks.R
permissive
crazycapivara/cartovl
R
false
false
581
r
library(sf) library(geojsonio) library(cartovl) data_url <- paste0( "https://raw.githubusercontent.com/uber-common/deck.gl-data/", "master/examples/geojson/vancouver-blocks.json" ) blocks <- st_read(data_url) %>% geojson_json() viz_def <- list( "color: ramp($growth, [red, green, yellow])" ) map <- cartovl()...
#! /usr/bin/env Rscript .suppress <- suppressPackageStartupMessages .suppress(library(neuroim)) .suppress(library(rMVPA)) .suppress(library(optparse)) .suppress(library(futile.logger)) .suppress(library(parallel)) option_list <- list( make_option(c("-d", "--design"), type="character", help="the name of the design f...
/scripts/prep_betas.R
no_license
li362/rMVPA
R
false
false
2,530
r
#! /usr/bin/env Rscript .suppress <- suppressPackageStartupMessages .suppress(library(neuroim)) .suppress(library(rMVPA)) .suppress(library(optparse)) .suppress(library(futile.logger)) .suppress(library(parallel)) option_list <- list( make_option(c("-d", "--design"), type="character", help="the name of the design f...
getTrimmedSeqs <- function(qualityThreshold, badQuality, qualityWindow, primer, ltrbit, largeLTRFrag, linker, linker_common, mingDNA, read1, read2, alias, vectorSeq){ ##### Load libraries ##### library("hiReadsProcessor") library("ShortRead") stats <- ...
/intSiteLogic.R
no_license
kelsi-kw/intSiteCaller
R
false
false
20,435
r
getTrimmedSeqs <- function(qualityThreshold, badQuality, qualityWindow, primer, ltrbit, largeLTRFrag, linker, linker_common, mingDNA, read1, read2, alias, vectorSeq){ ##### Load libraries ##### library("hiReadsProcessor") library("ShortRead") stats <- ...
#' @title List deals associated with an organization #' @description Function to List deals associated with an organization from pipedrive. #' @param id ID of an organization #' @param start Pagination start #' @param limit Items shown per page #' @param status Only fetch deals with specific status. If omitted, al...
/R/organizations.get.deals.R
no_license
cran/Rpipedrive
R
false
false
2,533
r
#' @title List deals associated with an organization #' @description Function to List deals associated with an organization from pipedrive. #' @param id ID of an organization #' @param start Pagination start #' @param limit Items shown per page #' @param status Only fetch deals with specific status. If omitted, al...
### This code loads two months data from current directory. ### Line plot and export it as .png file library(data.table) DT<- fread("./household_power_consumption.txt",skip="1/2/2007",nrows=2880) nam <- fread("household_power_consumption.txt",nrows=1) # finding column names setnames(DT,names(nam)) # set s...
/plot2.R
no_license
AHGW/ExData_Plotting1
R
false
false
652
r
### This code loads two months data from current directory. ### Line plot and export it as .png file library(data.table) DT<- fread("./household_power_consumption.txt",skip="1/2/2007",nrows=2880) nam <- fread("household_power_consumption.txt",nrows=1) # finding column names setnames(DT,names(nam)) # set s...
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/A3.R \name{plot.A3} \alias{plot.A3} \title{Plot A3 Results} \usage{ \method{plot}{A3}(x, ...) } \arguments{ \item{x}{an A3 object.} \item{...}{additional options provided to \code{\link{plotPredictions}}, \code{\link{plotSlopes}} and...
/spec/samples/A3/man/plot.A3.Rd
no_license
stellamiranda/R-Packages
R
false
false
676
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/A3.R \name{plot.A3} \alias{plot.A3} \title{Plot A3 Results} \usage{ \method{plot}{A3}(x, ...) } \arguments{ \item{x}{an A3 object.} \item{...}{additional options provided to \code{\link{plotPredictions}}, \code{\link{plotSlopes}} and...
# Exercise 6: Popular Baby Names Over Time setwd("C:/Users/Jesse/Desktop/AUT16/INFO 201/Modules/m8-dataframes/exercise-6/data") # Read in the female baby names csv file into a variable called `female.names` female.names <- read.csv('female_names.csv', stringsAsFactors = FALSE) # Create a vector `year` as the year colu...
/exercise-6/exercise.R
permissive
jes4u/m8-dataframes
R
false
false
1,616
r
# Exercise 6: Popular Baby Names Over Time setwd("C:/Users/Jesse/Desktop/AUT16/INFO 201/Modules/m8-dataframes/exercise-6/data") # Read in the female baby names csv file into a variable called `female.names` female.names <- read.csv('female_names.csv', stringsAsFactors = FALSE) # Create a vector `year` as the year colu...
# clear the memory rm(list = ls()) library(tidyverse) library(magrittr) options(stringsAsFactors = F) options(dplyr.width = Inf) getwd() # directory, Ubuntu dir = "~/Documents/gitlab/Omics_Integration/" # small functions, %nin%, %||%, isnothing source( paste0(dir, "Code/small_fun.R") ) ######### load the more chemi...
/Code/more_chems/load_data.R
no_license
Guannan-Shen/ECCHO_github
R
false
false
544
r
# clear the memory rm(list = ls()) library(tidyverse) library(magrittr) options(stringsAsFactors = F) options(dplyr.width = Inf) getwd() # directory, Ubuntu dir = "~/Documents/gitlab/Omics_Integration/" # small functions, %nin%, %||%, isnothing source( paste0(dir, "Code/small_fun.R") ) ######### load the more chemi...
####################################################################### # seriation - Infrastructure for seriation # Copyrigth (C) 2011 Michael Hahsler, Christian Buchta and Kurt Hornik # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
/R/AAAregistry.R
no_license
dirkseidensticker/seriation
R
false
false
2,418
r
####################################################################### # seriation - Infrastructure for seriation # Copyrigth (C) 2011 Michael Hahsler, Christian Buchta and Kurt Hornik # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as pub...
#'@import rvest #' #player page #"https://www.baseball-reference.com/players/s/sabatc.01-pitch.shtml" #'@export scrape_pitching_career_stats <- function(url, player = NULL){ # some function that finds the player you want and creates url # url <- find_player() # url <- "https://www.baseball-reference.com...
/R/career_stats.R
no_license
nickpaul7/npmlb
R
false
false
1,117
r
#'@import rvest #' #player page #"https://www.baseball-reference.com/players/s/sabatc.01-pitch.shtml" #'@export scrape_pitching_career_stats <- function(url, player = NULL){ # some function that finds the player you want and creates url # url <- find_player() # url <- "https://www.baseball-reference.com...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mvord.R \name{summary.mvord} \alias{summary.mvord} \title{Summary method for Multivariate Ordinal Regression Models.} \usage{ \method{summary}{mvord}(object, short = TRUE, call = TRUE, ...) } \arguments{ \item{object}{object of class \code{'m...
/man/summary.mvord.Rd
no_license
cran/mvord
R
false
true
644
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mvord.R \name{summary.mvord} \alias{summary.mvord} \title{Summary method for Multivariate Ordinal Regression Models.} \usage{ \method{summary}{mvord}(object, short = TRUE, call = TRUE, ...) } \arguments{ \item{object}{object of class \code{'m...
sel.fsets <- function(x, i=rep(TRUE, nrow(x)), j=rep(TRUE, ncol(x)), ...) { if (!is.fsets(x)) { stop("'x' must be an instance of the 'fsets' class") } v <- vars(x) s <- specs(x) class(x) <- setdiff(class(x), 'fsets') return(fsets(x[i, j, drop=FALSE], v[j], s[j, j, drop=FALSE])) }
/lfl/R/sel.fsets.R
no_license
ingted/R-Examples
R
false
false
313
r
sel.fsets <- function(x, i=rep(TRUE, nrow(x)), j=rep(TRUE, ncol(x)), ...) { if (!is.fsets(x)) { stop("'x' must be an instance of the 'fsets' class") } v <- vars(x) s <- specs(x) class(x) <- setdiff(class(x), 'fsets') return(fsets(x[i, j, drop=FALSE], v[j], s[j, j, drop=FALSE])) }
library(raster) library(dplyr) r <- stack(list.files("./DATA/RASTER/TopoVars", full.names = TRUE, pattern = ".tif$")) DF <- r %>% values %>% na.omit cmSpear <- cor(DF, method = "spearman") %>% round(digits = 2) View(cmSpear) # aspect_beer / slope / tpi_3r / tri_3r r1 <- stack(c(list.files("./DATA...
/RCODE/MTopBryo_CorrelationMatrices-v1.R
no_license
joaofgoncalves/MountainBryophytesSDM
R
false
false
607
r
library(raster) library(dplyr) r <- stack(list.files("./DATA/RASTER/TopoVars", full.names = TRUE, pattern = ".tif$")) DF <- r %>% values %>% na.omit cmSpear <- cor(DF, method = "spearman") %>% round(digits = 2) View(cmSpear) # aspect_beer / slope / tpi_3r / tri_3r r1 <- stack(c(list.files("./DATA...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ar_basis.R \name{Predict.matrix.ar.smooth} \alias{Predict.matrix.ar.smooth} \title{Predict.matrix method for ar basis} \usage{ \method{Predict.matrix}{ar.smooth}(object, data) } \arguments{ \item{object}{a \code{ar.smooth} object created by \...
/man/Predict.matrix.ar.smooth.Rd
no_license
jgellar/mgcvTrans
R
false
true
587
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ar_basis.R \name{Predict.matrix.ar.smooth} \alias{Predict.matrix.ar.smooth} \title{Predict.matrix method for ar basis} \usage{ \method{Predict.matrix}{ar.smooth}(object, data) } \arguments{ \item{object}{a \code{ar.smooth} object created by \...
Sys.setenv(USER="cchoi") source("/usr/local/share/rhipe.mozilla.setup.R") source("~/code/default-analysis-functions.R") library(data.table) library(rjson) ################################################################################################## ###############################################################...
/adhoc/browserdefault/mapreduce.R
no_license
mozilla/execCIProject
R
false
false
3,325
r
Sys.setenv(USER="cchoi") source("/usr/local/share/rhipe.mozilla.setup.R") source("~/code/default-analysis-functions.R") library(data.table) library(rjson) ################################################################################################## ###############################################################...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plotLweights.R \name{plotLweights} \alias{plotLweights} \title{Distribution rank comparison} \usage{ plotLweights( dlf, type = "o", col = RColorBrewer::brewer.pal(5, "Set2"), pch = c(1:4, NA), lty = 1, lwd = 1, legargs = NULL, ...
/man/plotLweights.Rd
no_license
brry/extremeStat
R
false
true
1,281
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plotLweights.R \name{plotLweights} \alias{plotLweights} \title{Distribution rank comparison} \usage{ plotLweights( dlf, type = "o", col = RColorBrewer::brewer.pal(5, "Set2"), pch = c(1:4, NA), lty = 1, lwd = 1, legargs = NULL, ...
library(shinydashboard) library(leaflet) header <- dashboardHeader( title = "Omnicare Inc." ) shinyUI(navbarPage("Omnicare Inc. Supply Chain", tabPanel("Interactive Map", body <- dashboardBody( fluidRow( column(width = 9, box(width = NULL, solidHeader = TRUE, leafletOutput('myMap', height = 400)...
/ui.r
no_license
Lobanion1/InteractiveMap
R
false
false
1,498
r
library(shinydashboard) library(leaflet) header <- dashboardHeader( title = "Omnicare Inc." ) shinyUI(navbarPage("Omnicare Inc. Supply Chain", tabPanel("Interactive Map", body <- dashboardBody( fluidRow( column(width = 9, box(width = NULL, solidHeader = TRUE, leafletOutput('myMap', height = 400)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/coastline.R \docType{class} \name{coastline-class} \alias{coastline-class} \title{Class to Store Coastline Data} \description{ Class to store coastline data, which may be read with \code{\link{read.coastline}} or constructed with \code{\link{...
/man/coastline-class.Rd
no_license
pablovaldes/oce
R
false
true
1,623
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/coastline.R \docType{class} \name{coastline-class} \alias{coastline-class} \title{Class to Store Coastline Data} \description{ Class to store coastline data, which may be read with \code{\link{read.coastline}} or constructed with \code{\link{...
register_class("data.table") # to --------------------------------------------------------------------------- ts_data.table_dts <- function(x) { dts_rm(x)[] } # from ------------------------------------------------------------------------- #' @export #' @method ts_dts data.table ts_dts.data.table <- function(x) ...
/R/to_from_data.table.R
no_license
romainfrancois/tsbox
R
false
false
661
r
register_class("data.table") # to --------------------------------------------------------------------------- ts_data.table_dts <- function(x) { dts_rm(x)[] } # from ------------------------------------------------------------------------- #' @export #' @method ts_dts data.table ts_dts.data.table <- function(x) ...
# # 2016-sclit-uup.R, 23 Aug 17 # Data from: # Do Students' Programming Skills Depend on Programming Language? # Milo\u{s} Savi{\'c} and Mirjana Ivanovi{\'c} and Zoran Budimac and Milo\u{s} Radovanovi{\'c} # # Example from: # Evidence-based Software Engineering: based on the publicly available data # Derek M. Jones # #...
/ecosystems/2016-sclit-uup.R
no_license
Derek-Jones/ESEUR-code-data
R
false
false
1,912
r
# # 2016-sclit-uup.R, 23 Aug 17 # Data from: # Do Students' Programming Skills Depend on Programming Language? # Milo\u{s} Savi{\'c} and Mirjana Ivanovi{\'c} and Zoran Budimac and Milo\u{s} Radovanovi{\'c} # # Example from: # Evidence-based Software Engineering: based on the publicly available data # Derek M. Jones # #...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions_signal_plots.R \name{add_cluster_annotation} \alias{add_cluster_annotation} \title{add_cluster_annotation} \usage{ add_cluster_annotation( cluster_ids, p = NULL, xleft = 0, xright = 1, rect_colors = c("black", "gray"), t...
/man/add_cluster_annotation.Rd
no_license
jrboyd/seqsetvis
R
false
true
3,014
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/functions_signal_plots.R \name{add_cluster_annotation} \alias{add_cluster_annotation} \title{add_cluster_annotation} \usage{ add_cluster_annotation( cluster_ids, p = NULL, xleft = 0, xright = 1, rect_colors = c("black", "gray"), t...
# how many stations are there? # which stations have the most rides? # how long is a typical ride? # what does the total # rides vs time look like? # what is the average daily pattern of rides? # is the # rides correlated with weather? rm(list=ls()) setwd("/Users/Andy/Bcycle/") library(ggplot2) library(lubridate) # ...
/ExamineBcycleData.R
no_license
andypicke/Bcycle
R
false
false
8,433
r
# how many stations are there? # which stations have the most rides? # how long is a typical ride? # what does the total # rides vs time look like? # what is the average daily pattern of rides? # is the # rides correlated with weather? rm(list=ls()) setwd("/Users/Andy/Bcycle/") library(ggplot2) library(lubridate) # ...
options(scipen = 999) ########### SRT associated to the actions recorded during the executions "NO MONITORING" ########### srt_no_mon_T24_01 = read.csv("data/srt/nomonitor/Test24/01/system_response_time.csv", dec = ".", sep = "#", header = T) srt_no_mon_T24_02 = read.csv("data/srt/nomonitor/Test24/02/system_response_...
/RQ1/T24.R
no_license
cbr-paper/CBR_Experimental
R
false
false
5,991
r
options(scipen = 999) ########### SRT associated to the actions recorded during the executions "NO MONITORING" ########### srt_no_mon_T24_01 = read.csv("data/srt/nomonitor/Test24/01/system_response_time.csv", dec = ".", sep = "#", header = T) srt_no_mon_T24_02 = read.csv("data/srt/nomonitor/Test24/02/system_response_...
/torpor-plot-themes.R
no_license
rbcurry/functions
R
false
false
2,863
r
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lkthr.R \name{lkthr_set} \alias{lkthr_set} \title{Set the assets' attributes} \usage{ lkthr_set(ptfs, attr) } \arguments{ \item{ptfs}{A \code{lkthr} object contains the ptf position.} \item{attr}{A named \code{list}. The asset will be match ...
/man/lkthr_set.Rd
permissive
shrektan/lookthrough
R
false
true
486
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lkthr.R \name{lkthr_set} \alias{lkthr_set} \title{Set the assets' attributes} \usage{ lkthr_set(ptfs, attr) } \arguments{ \item{ptfs}{A \code{lkthr} object contains the ptf position.} \item{attr}{A named \code{list}. The asset will be match ...
# The assignment states: "Your code file should include code for reading the # data so that the plot can be fully reproduced." # I get that I can consider the data already downloaded, unzipped in the "data" # folder and that the assignment asks for the code to read the part of the data # set that is of interest for the...
/plot3.R
no_license
h72580/ExData_Plotting1
R
false
false
3,902
r
# The assignment states: "Your code file should include code for reading the # data so that the plot can be fully reproduced." # I get that I can consider the data already downloaded, unzipped in the "data" # folder and that the assignment asks for the code to read the part of the data # set that is of interest for the...
source('./knn-dtree-cv.R') # read data from disk, extract train test into separate variables all_data <- read.csv('./data/pima-indians-diabetes.csv', stringsAsFactors= T, header = F) x <- all_data[, 1:8] y <- as.factor(all_data[, 9]) # ------- Part A ------- # Train a 5-nn classifier on the whole dataset and predi...
/checker.R
no_license
rohitnair11/KNN-DTree-CV
R
false
false
2,316
r
source('./knn-dtree-cv.R') # read data from disk, extract train test into separate variables all_data <- read.csv('./data/pima-indians-diabetes.csv', stringsAsFactors= T, header = F) x <- all_data[, 1:8] y <- as.factor(all_data[, 9]) # ------- Part A ------- # Train a 5-nn classifier on the whole dataset and predi...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/FunctionsForHasse.R \name{compare.profiles} \alias{compare.profiles} \title{Compare each pair of structuples/profiles in a matrix.} \usage{ compare.profiles(pr) } \arguments{ \item{pr}{A matrix where each row is a distinct structuple...
/man/compare.profiles.Rd
permissive
CambridgeAssessmentResearch/POSAC
R
false
true
811
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/FunctionsForHasse.R \name{compare.profiles} \alias{compare.profiles} \title{Compare each pair of structuples/profiles in a matrix.} \usage{ compare.profiles(pr) } \arguments{ \item{pr}{A matrix where each row is a distinct structuple...
library(shiny) library(shinydashboard) library(shiny.semantic) library(leaflet) library(leaflet.extras2) library(dplyr) # Function to set ship type colors ship_type_color <- function(df) { ship_type_color <- data.frame( ship_type = c("Cargo", "Tanker", "Tug", "Fishing", "Passenger", "Pleasure", "Navigation", ...
/global.R
no_license
HamzaAjmal/ship-explorer-test-app
R
false
false
545
r
library(shiny) library(shinydashboard) library(shiny.semantic) library(leaflet) library(leaflet.extras2) library(dplyr) # Function to set ship type colors ship_type_color <- function(df) { ship_type_color <- data.frame( ship_type = c("Cargo", "Tanker", "Tug", "Fishing", "Passenger", "Pleasure", "Navigation", ...
library(tidyverse) library(glue) # path for released results release_folder <- here::here("release20220226") eligibility_count_ab <- readr::read_csv(file.path(release_folder, "eligibility_count_ab.csv")) eligibility_count_ab$criteria <- NA_character_ eligibility_count_ab[1:9,]$criteria <- "a" eligibility_count_ab[10:...
/analysis/post_release/flow.R
permissive
opensafely/covid-ve-change-over-time
R
false
false
4,977
r
library(tidyverse) library(glue) # path for released results release_folder <- here::here("release20220226") eligibility_count_ab <- readr::read_csv(file.path(release_folder, "eligibility_count_ab.csv")) eligibility_count_ab$criteria <- NA_character_ eligibility_count_ab[1:9,]$criteria <- "a" eligibility_count_ab[10:...
# This program takes the UC Irvine Machine Learning Repository (http://archive.ics.uci.edu/ml/) dataset # Electric Power Consumption (https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip), # using the definition at https://archive.ics.uci.edu/ml/datasets/Individual+household+electric+p...
/plot4.R
no_license
dalehurtt/ExData_Plotting1
R
false
false
2,006
r
# This program takes the UC Irvine Machine Learning Repository (http://archive.ics.uci.edu/ml/) dataset # Electric Power Consumption (https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip), # using the definition at https://archive.ics.uci.edu/ml/datasets/Individual+household+electric+p...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sns_operations.R \name{sns_get_platform_application_attributes} \alias{sns_get_platform_application_attributes} \title{Retrieves the attributes of the platform application object for the supported push notification services, such as APNS and ...
/paws/man/sns_get_platform_application_attributes.Rd
permissive
sanchezvivi/paws
R
false
true
1,024
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sns_operations.R \name{sns_get_platform_application_attributes} \alias{sns_get_platform_application_attributes} \title{Retrieves the attributes of the platform application object for the supported push notification services, such as APNS and ...
library(shiny) ##Se crea en ambos archivos ##library(rchart) mpg<-read.csv("salesfile.csv", header=TRUE) shinyServer( function(input, output){ output$salida2<-renderPlot({ mpg2<-subset(mpg,nombre.Agencia== input$Entrada2 ) hist(mpg2$Total, breaks=10,col="red") ...
/server.R
no_license
GonzaloMoreno/Develop-Data-Product-Project
R
false
false
474
r
library(shiny) ##Se crea en ambos archivos ##library(rchart) mpg<-read.csv("salesfile.csv", header=TRUE) shinyServer( function(input, output){ output$salida2<-renderPlot({ mpg2<-subset(mpg,nombre.Agencia== input$Entrada2 ) hist(mpg2$Total, breaks=10,col="red") ...
#' Spearman-Brown prophecy formula to estimate the reliability of a lengthened measure #' #' \loadmathjax #' This function implements the Spearman-Brown prophecy formula for estimating the reliability of a lengthened (or shortened) measure. #' The formula implemented here assumes that all items added to (or subtracted ...
/R/composites.R
no_license
abblake/psychmeta
R
false
false
23,713
r
#' Spearman-Brown prophecy formula to estimate the reliability of a lengthened measure #' #' \loadmathjax #' This function implements the Spearman-Brown prophecy formula for estimating the reliability of a lengthened (or shortened) measure. #' The formula implemented here assumes that all items added to (or subtracted ...
# MSeasy Tcl/Tk GUI for some basic functions in the MSeasy package. # Part of the code is based on the ade4TkGUI package by Jean Thioulouse <jthioulouse@biomserv.univ-lyon1.fr>, Stephane # Dray <dray@biomserv.univ-lyon1.fr> # dialog.MS.DataCreation.user <- function() { op=options() options(warn=-1) ...
/R/dialog.MS.DataCreation.user.R
no_license
cran/MSeasyTkGUI
R
false
false
5,509
r
# MSeasy Tcl/Tk GUI for some basic functions in the MSeasy package. # Part of the code is based on the ade4TkGUI package by Jean Thioulouse <jthioulouse@biomserv.univ-lyon1.fr>, Stephane # Dray <dray@biomserv.univ-lyon1.fr> # dialog.MS.DataCreation.user <- function() { op=options() options(warn=-1) ...
## load the library suppressMessages({ library(faosws) library(data.table) library(faoswsUtil) library(faoswsFlag) library(countrycode) # library(faoswsStock) }) ## Set up for the test environment and parameters R_SWS_SHARE_PATH <- Sys.getenv("R_SWS_SHARE_PATH") # This return FALSE if on the Statistical ...
/modules/impute_stocks/main.R
no_license
SWS-Methodology/faoswsStock
R
false
false
33,336
r
## load the library suppressMessages({ library(faosws) library(data.table) library(faoswsUtil) library(faoswsFlag) library(countrycode) # library(faoswsStock) }) ## Set up for the test environment and parameters R_SWS_SHARE_PATH <- Sys.getenv("R_SWS_SHARE_PATH") # This return FALSE if on the Statistical ...
geo_list_BO<-sf::st_read( "C:/Users/luigi/Documents/BH_TEST/HEADANDNECK/RUN_001/analysis/BODEN/ex.sqlite" ) geo_list_RU<-sf::st_read( "C:/Users/luigi/Documents/BH_TEST/HEADANDNECK/RUN_001/analysis/RUNIMC1/topLayers.sqlite" ) trns<-scales::modulus_trans(0) colToUse<-colnames(geo_list_BO)[3:32] geo_...
/HEADANDNECK/comparisons.R
no_license
luigidolcetti/RUNIMC_paper_scripts
R
false
false
28,820
r
geo_list_BO<-sf::st_read( "C:/Users/luigi/Documents/BH_TEST/HEADANDNECK/RUN_001/analysis/BODEN/ex.sqlite" ) geo_list_RU<-sf::st_read( "C:/Users/luigi/Documents/BH_TEST/HEADANDNECK/RUN_001/analysis/RUNIMC1/topLayers.sqlite" ) trns<-scales::modulus_trans(0) colToUse<-colnames(geo_list_BO)[3:32] geo_...
#' Scrape Images URLs #' #' @param link the link of the web page #' @param askRobot logical. Should the function ask the robots.txt if we're allowed or not to scrape the web page ? Default is FALSE. #' #' @return Images URLs #' #' @examples \donttest{ #' #' images_preview(link = "https://rstudio.com/") #' #' } #' #' @e...
/R/preview_images.R
permissive
feddelegrand7/ralger
R
false
false
2,027
r
#' Scrape Images URLs #' #' @param link the link of the web page #' @param askRobot logical. Should the function ask the robots.txt if we're allowed or not to scrape the web page ? Default is FALSE. #' #' @return Images URLs #' #' @examples \donttest{ #' #' images_preview(link = "https://rstudio.com/") #' #' } #' #' @e...
#!/usr/bin/env Rscript library(beer) library(PhIPData) library(dplyr) # input from the edgeR process edgeR_out = readRDS("PhIPData.rds") # For more on running BEER # see http://www.bioconductor.org/packages/release/bioc/html/beer.html ### Named vector specifying where we want to store the summarized MCMC output ###...
/bin/run_BEER.Rscript
permissive
matsengrp/phip-flow
R
false
false
1,437
rscript
#!/usr/bin/env Rscript library(beer) library(PhIPData) library(dplyr) # input from the edgeR process edgeR_out = readRDS("PhIPData.rds") # For more on running BEER # see http://www.bioconductor.org/packages/release/bioc/html/beer.html ### Named vector specifying where we want to store the summarized MCMC output ###...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/exportToJson.R \name{exportDrugToJson} \alias{exportDrugToJson} \title{exportDrugToJson} \usage{ exportDrugToJson(connectionDetails, cdmSchema, resultsSchema, outputPath = getwd(), cdmVersion = "4") } \arguments{ \item{c...
/man/exportDrugToJson.Rd
permissive
seven-qi/Achilles
R
false
false
1,221
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/exportToJson.R \name{exportDrugToJson} \alias{exportDrugToJson} \title{exportDrugToJson} \usage{ exportDrugToJson(connectionDetails, cdmSchema, resultsSchema, outputPath = getwd(), cdmVersion = "4") } \arguments{ \item{c...
library(testthat) context("module0_model_3pl.R") test_that("create a model using given data", { theta <- c(-1, 0, 1) a <- c(.5882, 1) b <- c(-1, 1) c <- c(0, .2) people <- data.frame(theta=theta) items <- data.frame(a=a, b=b, c=c) x <- model_3pl(people, items) expect_equal(x$people, people) expect...
/tests/testthat/test_module0_model_3pl.R
no_license
xzhaopsy/xxIRT
R
false
false
2,379
r
library(testthat) context("module0_model_3pl.R") test_that("create a model using given data", { theta <- c(-1, 0, 1) a <- c(.5882, 1) b <- c(-1, 1) c <- c(0, .2) people <- data.frame(theta=theta) items <- data.frame(a=a, b=b, c=c) x <- model_3pl(people, items) expect_equal(x$people, people) expect...
setwd("/Users/mengli/Documents/projects/abs"); library(plyr); library(stringr); library(dplyr); # find star_mm/ -type f -name '*SJ.out.tab' -exec cp '{}' star_re/ ';' # scp limeng@10.10.118.191:/picb/rnasys2/limeng/mouse/star_re/\* /Users/mengli/Documents/projects/abs/mouse/star/ # find star_mm/ -type f -name ...
/mouse/merge_biorep_star_mm.r
no_license
limeng12/abs
R
false
false
7,752
r
setwd("/Users/mengli/Documents/projects/abs"); library(plyr); library(stringr); library(dplyr); # find star_mm/ -type f -name '*SJ.out.tab' -exec cp '{}' star_re/ ';' # scp limeng@10.10.118.191:/picb/rnasys2/limeng/mouse/star_re/\* /Users/mengli/Documents/projects/abs/mouse/star/ # find star_mm/ -type f -name ...
repair_program <- c(3,1033,1008,1033,1,1032,1005,1032,31,1008, 1033,2,1032,1005,1032,58,1008,1033,3,1032, 1005,1032,81,1008,1033,4,1032,1005,1032,104, 99,1001,1034,0,1039,102,1,1036,1041,1001, 1035,-1,1040,1008,1038,0,1043,102,-1,1043, ...
/2019/day15/repair_program.R
permissive
azambranog/adventofcode
R
false
false
5,564
r
repair_program <- c(3,1033,1008,1033,1,1032,1005,1032,31,1008, 1033,2,1032,1005,1032,58,1008,1033,3,1032, 1005,1032,81,1008,1033,4,1032,1005,1032,104, 99,1001,1034,0,1039,102,1,1036,1041,1001, 1035,-1,1040,1008,1038,0,1043,102,-1,1043, ...
# compute the score of a bayesian network. network.score = function(network, data, score, extra.args, debug = FALSE) { sum(per.node.score(network = network, data = data, score = score, nodes = names(network$nodes), extra.args = extra.args, debug = debug)) }#NETWORK.SCORE # compute single nodes' contributi...
/R/scores.R
no_license
gasse/bnlearn-clone-3.4
R
false
false
7,779
r
# compute the score of a bayesian network. network.score = function(network, data, score, extra.args, debug = FALSE) { sum(per.node.score(network = network, data = data, score = score, nodes = names(network$nodes), extra.args = extra.args, debug = debug)) }#NETWORK.SCORE # compute single nodes' contributi...
library(MED) ### Name: MED ### Title: Estimate the Natural Indirect and Direct Effects ### Aliases: MED ### ** Examples library(MED) #binary treatment and binary mediator set.seed(25) n <- 200 Z <- matrix(rnorm(4*n),ncol=4,nrow=n) prop.e <- 1 / (1 + exp(Z[,1] - 0.5 * Z[,2] + 0.25*Z[,3] + 0.1 * Z[,4])) treat <- rbi...
/data/genthat_extracted_code/MED/examples/MED.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
728
r
library(MED) ### Name: MED ### Title: Estimate the Natural Indirect and Direct Effects ### Aliases: MED ### ** Examples library(MED) #binary treatment and binary mediator set.seed(25) n <- 200 Z <- matrix(rnorm(4*n),ncol=4,nrow=n) prop.e <- 1 / (1 + exp(Z[,1] - 0.5 * Z[,2] + 0.25*Z[,3] + 0.1 * Z[,4])) treat <- rbi...
#Discussion Board Week 7 #Alla Topp #Data Visualization # Philly Housing Prices library(tidyverse) library(data.table) library(ggrepel) library(readxl) library(scales) setwd("D:/Users/aleks/Desktop/Regis/MSDS670 Data Visualization/Week 7") # Open Philly with xlsx philly <- read_xlsx('Week_7_In_Class_Ex...
/Data Visualization/Philly Housing Prices.R
no_license
AATopp/Data_Science_School_Projects
R
false
false
1,789
r
#Discussion Board Week 7 #Alla Topp #Data Visualization # Philly Housing Prices library(tidyverse) library(data.table) library(ggrepel) library(readxl) library(scales) setwd("D:/Users/aleks/Desktop/Regis/MSDS670 Data Visualization/Week 7") # Open Philly with xlsx philly <- read_xlsx('Week_7_In_Class_Ex...
# Copyright 2015 Metamarkets Group, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
/evaluatePower.R
permissive
metamx/frequencyGovernorBenchmark
R
false
false
3,914
r
# Copyright 2015 Metamarkets Group, Inc. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
/study/Statistics/20190130_중심극한정리2.R
no_license
Jong9Dev/MyStudentProjects
R
false
false
3,280
r
## Windowsのバージョンとリリース年、の何番煎じか library(tidyverse) library(dplyr) library(forcats) library(ggplot2) library(purrr) library(stringr) library(extrafont) ## 営業開始年(一年に複数ある場合は月も)の出典 ## ドクターイエロー923形は除く ## 0系=東海道新幹線(1964)、200系=東北新幹線(1982)、400系=山形新幹線(1992/7)、 ## 800系=九州新幹線(2004)の開業 ## ## 100 (1985), 300 (1992/3), ...
/scripts/stock_price/shinkansen.R
permissive
zettsu-t/cPlusPlusFriend
R
false
false
3,801
r
## Windowsのバージョンとリリース年、の何番煎じか library(tidyverse) library(dplyr) library(forcats) library(ggplot2) library(purrr) library(stringr) library(extrafont) ## 営業開始年(一年に複数ある場合は月も)の出典 ## ドクターイエロー923形は除く ## 0系=東海道新幹線(1964)、200系=東北新幹線(1982)、400系=山形新幹線(1992/7)、 ## 800系=九州新幹線(2004)の開業 ## ## 100 (1985), 300 (1992/3), ...
# Matrix inversion is often a costly computation. # This is a pair of functions that cache the inverse of a matrix ## The first function, makeCacheMatrix, is function to 1. set the value of the matrix 2. get the value of the matrix 3. set the value of the inverse of the matrix 4. get the value of the inverse of the m...
/cachematrix.R
no_license
jvgorman/ProgrammingAssignment2
R
false
false
1,096
r
# Matrix inversion is often a costly computation. # This is a pair of functions that cache the inverse of a matrix ## The first function, makeCacheMatrix, is function to 1. set the value of the matrix 2. get the value of the matrix 3. set the value of the inverse of the matrix 4. get the value of the inverse of the m...
\name{segment} \alias{label} \alias{leaf_label} \alias{segment} \title{Returns segment, label or leaf-label data from dendro object.} \usage{ segment(x) label(x) leaf_label(x) } \arguments{ \item{x}{dendro object} } \description{ \code{segment} extracts line segments, \code{label} extracts labels, and \co...
/man/segment.Rd
no_license
mmaga/ggdendro
R
false
false
423
rd
\name{segment} \alias{label} \alias{leaf_label} \alias{segment} \title{Returns segment, label or leaf-label data from dendro object.} \usage{ segment(x) label(x) leaf_label(x) } \arguments{ \item{x}{dendro object} } \description{ \code{segment} extracts line segments, \code{label} extracts labels, and \co...
# Read in the raw data. The source raw file is assumed to be in # the working directory. options(stringsAsFactors=FALSE) raw_data <- read.table('household_power_consumption.txt', sep=';', header = TRUE) # Filter the data for the relevant dates, and remove the raw data from memory. data <- subset...
/plot3.R
no_license
mkuentzler/ExData_Plotting1
R
false
false
1,296
r
# Read in the raw data. The source raw file is assumed to be in # the working directory. options(stringsAsFactors=FALSE) raw_data <- read.table('household_power_consumption.txt', sep=';', header = TRUE) # Filter the data for the relevant dates, and remove the raw data from memory. data <- subset...
###### GLOBAL SUPERSTORE CASE STUDY salesData <- aws.s3::s3read_using(read.csv, object = "s3://r-studio-bucket/Global Superstore.csv") # backup <- salesData # salesData <- backup ########## PART 0 - CREATING ENVIRONMENT ### LOADING LIBRARIES library(tidyverse) library(lubridate) library(gridExtra) library(foreca...
/case-study-global-sales.R
no_license
DeepanshKhurana/case-study-global-sales
R
false
false
25,497
r
###### GLOBAL SUPERSTORE CASE STUDY salesData <- aws.s3::s3read_using(read.csv, object = "s3://r-studio-bucket/Global Superstore.csv") # backup <- salesData # salesData <- backup ########## PART 0 - CREATING ENVIRONMENT ### LOADING LIBRARIES library(tidyverse) library(lubridate) library(gridExtra) library(foreca...
## Site GG, Species SAMBAR ## Libraries and functions source("Scripts/SMR_functions.R") inDir <- "Input/" Site <- "GG" crs <- CRS("+proj=lcc +lat_1=-30.75 +lat_2=-35.75 +lat_0=-33.25 +lon_0=147 +x_0=9300000 +y_0=4500000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs") crsKM <- CRS("+proj=lcc +lat_1=-30.75 +la...
/GG_SAMBAR_release.R
permissive
AndrewBengsen/WildDeerSMR_release
R
false
false
2,668
r
## Site GG, Species SAMBAR ## Libraries and functions source("Scripts/SMR_functions.R") inDir <- "Input/" Site <- "GG" crs <- CRS("+proj=lcc +lat_1=-30.75 +lat_2=-35.75 +lat_0=-33.25 +lon_0=147 +x_0=9300000 +y_0=4500000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs") crsKM <- CRS("+proj=lcc +lat_1=-30.75 +la...
function(data){ res <- vector("numeric", nrow(data)) for (i in 1:nrow(data)){ res=2*pnorm(-abs(data[,4] - rowMeans(data))/apply(data,1,sd,na.rm=TRUE)) } return (res) }
/Rfiles/calcZscores.R
no_license
DashaZhernakova/misc
R
false
false
182
r
function(data){ res <- vector("numeric", nrow(data)) for (i in 1:nrow(data)){ res=2*pnorm(-abs(data[,4] - rowMeans(data))/apply(data,1,sd,na.rm=TRUE)) } return (res) }
# restore pre-testing pboptions pbapply::pboptions(pbopts)
/tests/testthat/teardown.R
no_license
Mark-S-Hill/cancereffectsizeR
R
false
false
60
r
# restore pre-testing pboptions pbapply::pboptions(pbopts)
163746c4ee881c6ca331e30951b69ac2 query24_query45_1344.qdimacs 409 3089
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/A1/Database/Jordan-Kaiser/reduction-finding-full-set-params-k1c3n4/query24_query45_1344/query24_query45_1344.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
70
r
163746c4ee881c6ca331e30951b69ac2 query24_query45_1344.qdimacs 409 3089
library(BE) ### Name: test2x2 ### Title: Bioequivalence test for a variable of a 2x2 study ### Aliases: test2x2 ### Keywords: Statistical Test ### ** Examples print(test2x2(NCAResult4BE, "AUClast"), na.print="") print(test2x2(NCAResult4BE, "Cmax"), na.print="")
/data/genthat_extracted_code/BE/examples/test2x2.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
271
r
library(BE) ### Name: test2x2 ### Title: Bioequivalence test for a variable of a 2x2 study ### Aliases: test2x2 ### Keywords: Statistical Test ### ** Examples print(test2x2(NCAResult4BE, "AUClast"), na.print="") print(test2x2(NCAResult4BE, "Cmax"), na.print="")
# FUnction to work out whether points in nutrient spaace fall within the hull given by the raw data inhull <- function(testpts, calpts, hull=convhulln(calpts), tol=mean(mean(abs(calpts)))*sqrt(.Machine$double.eps)) { require(sp) require(geometry) # https://tolstoy.newcastle.edu.au/R/e8/help/09/12/8784.html cal...
/0. Header_Functions.R
no_license
Barardo/ASM_HumanLT
R
false
false
10,694
r
# FUnction to work out whether points in nutrient spaace fall within the hull given by the raw data inhull <- function(testpts, calpts, hull=convhulln(calpts), tol=mean(mean(abs(calpts)))*sqrt(.Machine$double.eps)) { require(sp) require(geometry) # https://tolstoy.newcastle.edu.au/R/e8/help/09/12/8784.html cal...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/team_season_stats.R \name{.team_season_stats} \alias{.team_season_stats} \title{Get Team Season Stats} \usage{ .team_season_stats(team_id, year, sport) } \arguments{ \item{team_id}{Team ID from team_mapping} \item{year}{Actual Year Note for ...
/man/dot-team_season_stats.Rd
no_license
meysubb/collegeballR
R
false
true
713
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/team_season_stats.R \name{.team_season_stats} \alias{.team_season_stats} \title{Get Team Season Stats} \usage{ .team_season_stats(team_id, year, sport) } \arguments{ \item{team_id}{Team ID from team_mapping} \item{year}{Actual Year Note for ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/io.R \name{write_civis} \alias{write_civis} \alias{write_civis.data.frame} \alias{write_civis.character} \alias{write_civis.numeric} \title{Upload a local data frame or csv file to the Civis Platform (Redshift)} \usage{ write_civis(x, ...) \...
/man/write_civis.Rd
no_license
ajchin/civis-r
R
false
true
3,750
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/io.R \name{write_civis} \alias{write_civis} \alias{write_civis.data.frame} \alias{write_civis.character} \alias{write_civis.numeric} \title{Upload a local data frame or csv file to the Civis Platform (Redshift)} \usage{ write_civis(x, ...) \...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/occ_download_dataset_activity.R \name{occ_download_dataset_activity} \alias{occ_download_dataset_activity} \title{Lists the downloads activity of a dataset} \usage{ occ_download_dataset_activity(dataset, limit = 20, start = 0, curlopts = li...
/man/occ_download_dataset_activity.Rd
permissive
MuChMu/rgbif
R
false
true
1,435
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/occ_download_dataset_activity.R \name{occ_download_dataset_activity} \alias{occ_download_dataset_activity} \title{Lists the downloads activity of a dataset} \usage{ occ_download_dataset_activity(dataset, limit = 20, start = 0, curlopts = li...
#' --- #' title: "PChome" #' author: "" #' date: "`r Sys.Date()`" #' output: #' html_document: #' toc: yes #' --- #' #+ include=FALSE knitr::opts_chunk$set(eval = FALSE) #' [PChome](http://ecshweb.pchome.com.tw/search/v3.3/?q=apple) #' #' ## Load Packages library(httr) library(jsonlite) library(magrittr) #' ...
/R/sl_R/crawlers/R/pchome_fill_in.R
no_license
slchangtw/R_Basics
R
false
false
795
r
#' --- #' title: "PChome" #' author: "" #' date: "`r Sys.Date()`" #' output: #' html_document: #' toc: yes #' --- #' #+ include=FALSE knitr::opts_chunk$set(eval = FALSE) #' [PChome](http://ecshweb.pchome.com.tw/search/v3.3/?q=apple) #' #' ## Load Packages library(httr) library(jsonlite) library(magrittr) #' ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/germlineStrelka2Manta.R, % R/somaticStrelka2Manta.R \name{manta} \alias{manta} \title{manta} \usage{ manta( tumor_bam, ctrl_bam, ref = "/gpfs42/robbyfs/scratch/lab_lpasquali/msubirana/ref/GCA_000001405.15_GRCh38_no_alt_analysis_se...
/man/manta.Rd
no_license
msubirana/DNAseqPipeline
R
false
true
1,724
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/germlineStrelka2Manta.R, % R/somaticStrelka2Manta.R \name{manta} \alias{manta} \title{manta} \usage{ manta( tumor_bam, ctrl_bam, ref = "/gpfs42/robbyfs/scratch/lab_lpasquali/msubirana/ref/GCA_000001405.15_GRCh38_no_alt_analysis_se...