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
#!/applications/R/R-4.0.0/bin/Rscript # author: Andy Tock # contact: ajt200@cam.ac.uk # date: 21.01.2021 # Calculate and plot metaprofiles CEN180 SNVs relative to CEN180 consensus # (CEN180 windowed means and 95% confidence intervals, CIs) # for all CEN180 sequences and randomly positioned loci # Usage: # /applicati...
/CEN180_in_T2T_Col/CEN180_CENgap_CENAthila_CENsoloLTR_SNVs_v_CEN180consensus_7metaprofiles.R
no_license
ajtock/repeats
R
false
false
29,478
r
#!/applications/R/R-4.0.0/bin/Rscript # author: Andy Tock # contact: ajt200@cam.ac.uk # date: 21.01.2021 # Calculate and plot metaprofiles CEN180 SNVs relative to CEN180 consensus # (CEN180 windowed means and 95% confidence intervals, CIs) # for all CEN180 sequences and randomly positioned loci # Usage: # /applicati...
library(tidystats) ### Name: report ### Title: Report function ### Aliases: report ### ** Examples # Read in a list of results results <- read_stats(system.file("results.csv", package = "tidystats")) # Set the list as the default list options(tidystats_list = results) # Example: t-test report("t_test_one_sample")...
/data/genthat_extracted_code/tidystats/examples/report.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
683
r
library(tidystats) ### Name: report ### Title: Report function ### Aliases: report ### ** Examples # Read in a list of results results <- read_stats(system.file("results.csv", package = "tidystats")) # Set the list as the default list options(tidystats_list = results) # Example: t-test report("t_test_one_sample")...
# Analysis of ARM results library(ggplot2) library(gridExtra) library(ggpubr) #library(wesanderson) library("RColorBrewer") ### CONSTANTS ### workspace = "/Users/marcosmr/tmp/ARM_resources/EVALUATION/results" setwd(workspace) color1 <- "#DB6D00" color2 <- "#070092" color3 <- "#ffff99" # yellow file_NCBItoNCBI <-...
/scripts/python/archive/2018/ARM_evaluation/R_scripts/arm_analysis-v4.R
permissive
metadatacenter/cedar-util
R
false
false
17,294
r
# Analysis of ARM results library(ggplot2) library(gridExtra) library(ggpubr) #library(wesanderson) library("RColorBrewer") ### CONSTANTS ### workspace = "/Users/marcosmr/tmp/ARM_resources/EVALUATION/results" setwd(workspace) color1 <- "#DB6D00" color2 <- "#070092" color3 <- "#ffff99" # yellow file_NCBItoNCBI <-...
######################################################################################################################## ## RnBeadRawSet-class.R ## created: 2013-xx-xx ## creator: Pavlo Lutsik ## --------------------------------------------------------------------------------------------------------------------- ## RnB...
/R/RnBeadRawSet-class.R
no_license
cirruswolke/RnBeads
R
false
false
34,872
r
######################################################################################################################## ## RnBeadRawSet-class.R ## created: 2013-xx-xx ## creator: Pavlo Lutsik ## --------------------------------------------------------------------------------------------------------------------- ## RnB...
loadHospitalChargeData_CSV <- function(){ hospital_charge_data <- read_csv("../data/hospital_charge_data.csv", col_types = cols(`Average Covered Charges` = col_number(), `Average Medicare Payments` = col_number(), ...
/lib/hospital_data_utils.R
no_license
TZstatsADS/Spr2017-proj2-grp6
R
false
false
4,571
r
loadHospitalChargeData_CSV <- function(){ hospital_charge_data <- read_csv("../data/hospital_charge_data.csv", col_types = cols(`Average Covered Charges` = col_number(), `Average Medicare Payments` = col_number(), ...
## testEdges: List all edges that can be added with test statistic, Find most significant edge ## Author: Niharika ## Input ## object : imod-object ## edgeList : A list of edges; each edge is a vector ## Output ## A dataframe with test statistics (p-value or change in AIC), edges and logical ## telling if the edge...
/R/modelList.R
no_license
niharikag/gMCI
R
false
false
469
r
## testEdges: List all edges that can be added with test statistic, Find most significant edge ## Author: Niharika ## Input ## object : imod-object ## edgeList : A list of edges; each edge is a vector ## Output ## A dataframe with test statistics (p-value or change in AIC), edges and logical ## telling if the edge...
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", "Electric power consumption.zip") unzip("Electric power consumption") data<-read.table("household_power_consumption.txt", header=T, na.strings="?", sep=";") dat<-data[data$Date=="1/2/2007"|data$Date=="2/2/2007",] GAP<...
/Assignment/plot2.R
no_license
jkelvis/ExData_Plotting1
R
false
false
556
r
download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip", "Electric power consumption.zip") unzip("Electric power consumption") data<-read.table("household_power_consumption.txt", header=T, na.strings="?", sep=";") dat<-data[data$Date=="1/2/2007"|data$Date=="2/2/2007",] GAP<...
ht <- function(x){ #Hermitian transpose if(is.complex(x)){ return(t(Conj(x))) } else { return(t(x)) } } "cprod" <- function(x,y=NULL){ if(is.complex(x) | is.complex(y)){ if(is.null(y)){ return(crossprod(Conj(x),x)) } else { return(crossprod(Conj(x),y)) } } else { return(crosspro...
/R/aaa_cprod.R
no_license
RobinHankin/emulator
R
false
false
2,033
r
ht <- function(x){ #Hermitian transpose if(is.complex(x)){ return(t(Conj(x))) } else { return(t(x)) } } "cprod" <- function(x,y=NULL){ if(is.complex(x) | is.complex(y)){ if(is.null(y)){ return(crossprod(Conj(x),x)) } else { return(crossprod(Conj(x),y)) } } else { return(crosspro...
a=read.csv("herv.rnaseq_sorted.DI_delta.csv") a$X=NULL a$name = factor(a$name,levels=a$name) pdf("figures/herv.rnaseq_sorted.DI_delta.pdf") melted = melt(a) ggplot(melted) + geom_tile(aes(x=variable,y=name, fill=ifelse(value>0, log2(value),-log2(-value)) )) + scale_fill_gradient2(high...
/hervh/plotDI_delta.r
no_license
bioinfx/cvdc_scripts
R
false
false
1,210
r
a=read.csv("herv.rnaseq_sorted.DI_delta.csv") a$X=NULL a$name = factor(a$name,levels=a$name) pdf("figures/herv.rnaseq_sorted.DI_delta.pdf") melted = melt(a) ggplot(melted) + geom_tile(aes(x=variable,y=name, fill=ifelse(value>0, log2(value),-log2(-value)) )) + scale_fill_gradient2(high...
rm(list=ls()) library(Hmisc) library(tools) library(stringr) library(lattice) library(devtools) library(httr) `%ni%` <- Negate('%in%') # Necessary Changes to the Conformance RUles File: # Problem #1: In excel file or conformance rules in cell [559,F] a non-ASCI character is used for " that needs to be fixed. # Solu...
/contributed/Nonclinical/R/SEND_conformance/SEND_conformance.R
permissive
ShuguangSun/phuse-scripts
R
false
false
11,615
r
rm(list=ls()) library(Hmisc) library(tools) library(stringr) library(lattice) library(devtools) library(httr) `%ni%` <- Negate('%in%') # Necessary Changes to the Conformance RUles File: # Problem #1: In excel file or conformance rules in cell [559,F] a non-ASCI character is used for " that needs to be fixed. # Solu...
#market drop #this function analyses given a market drop how much a stock recovers to #tickers <- c("GS", "UBS","TSLA","AAPL","CS","F","ITUB") tickers <- c("GS") collect_since <- "2017-01-01" marketData <- assembleData(tickers,collect_since = collect_since) marketDrop_threshold <- 0.25 marketDrop_window <- c(7,3...
/R_analysis/marketDrop_recovery.R
permissive
vacaciones/vacaciones
R
false
false
505
r
#market drop #this function analyses given a market drop how much a stock recovers to #tickers <- c("GS", "UBS","TSLA","AAPL","CS","F","ITUB") tickers <- c("GS") collect_since <- "2017-01-01" marketData <- assembleData(tickers,collect_since = collect_since) marketDrop_threshold <- 0.25 marketDrop_window <- c(7,3...
\name{covest.SGB} \alias{covest.SGB} \title{ Classical and robust asymptotic covariance matrix } \description{ Computation of two covariance matrices of the estimators of parameters in a SGB regression. The first is based on the Hessian and the second is the sandwich estimator. } \usage{ covest.SGB(x, d, u, V, weight...
/man/covest.SGB.Rd
no_license
cran/SGB
R
false
false
4,201
rd
\name{covest.SGB} \alias{covest.SGB} \title{ Classical and robust asymptotic covariance matrix } \description{ Computation of two covariance matrices of the estimators of parameters in a SGB regression. The first is based on the Hessian and the second is the sandwich estimator. } \usage{ covest.SGB(x, d, u, V, weight...
## PUT YOUR library(..) calls here e.g. packages <- c("lubridate", "tidyr", "dplyr", "ggplot2") lapply(packages, function(package) { quiet_library <- function(p) suppressWarnings(suppressMessages(library(package=p, character.only = T, quietly=TRUE, logical.return=TRUE))) if(!quiet_library(package)){ cat("Packa...
/templates/r/includes/libraries.R
no_license
keynmol/sutin
R
false
false
430
r
## PUT YOUR library(..) calls here e.g. packages <- c("lubridate", "tidyr", "dplyr", "ggplot2") lapply(packages, function(package) { quiet_library <- function(p) suppressWarnings(suppressMessages(library(package=p, character.only = T, quietly=TRUE, logical.return=TRUE))) if(!quiet_library(package)){ cat("Packa...
context("test-plot_anomaly_decomposition.R") test_that("errors on incorrect input", { expect_error(plot_anomaly_decomposition(3)) }) test_that("returns a ggplot", { g <- tidyverse_cran_downloads %>% filter(package == "tidyquant") %>% ungroup() %>% time_decompose(count, me...
/revdep/checks.noindex/anomalize/old/anomalize.Rcheck/tests/testthat/test-plot_anomaly_decomposition.R
no_license
sstoeckl/tibbletime
R
false
false
467
r
context("test-plot_anomaly_decomposition.R") test_that("errors on incorrect input", { expect_error(plot_anomaly_decomposition(3)) }) test_that("returns a ggplot", { g <- tidyverse_cran_downloads %>% filter(package == "tidyquant") %>% ungroup() %>% time_decompose(count, me...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/4_metaClustering.R \name{ReassignMetaclusters} \alias{ReassignMetaclusters} \title{ReassignMetaclusters} \usage{ ReassignMetaclusters(fsom, metaclustering) } \arguments{ \item{fsom}{Result of calling the FlowSOM function} \item{metaclusterin...
/man/ReassignMetaclusters.Rd
no_license
ameranismail/FlowSOM
R
false
true
1,481
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/4_metaClustering.R \name{ReassignMetaclusters} \alias{ReassignMetaclusters} \title{ReassignMetaclusters} \usage{ ReassignMetaclusters(fsom, metaclustering) } \arguments{ \item{fsom}{Result of calling the FlowSOM function} \item{metaclusterin...
data <- read.csv('campaign_interarrival.csv') data$type <- factor(data$type, labels = c('Measurement','Fitting')) p <- ggplot(data %>% sample_frac(0.05), aes(x, color=type)) + stat_ecdf() + scale_x_continuous(limits = c(0,2)) + scale_y_continuous() + scale_color_manual(values = color.palette) + labs(x = lab...
/figures/cloud/crowdsourcing/measurements/campaign_interarrival.R
no_license
cschwartz/dissertation
R
false
false
478
r
data <- read.csv('campaign_interarrival.csv') data$type <- factor(data$type, labels = c('Measurement','Fitting')) p <- ggplot(data %>% sample_frac(0.05), aes(x, color=type)) + stat_ecdf() + scale_x_continuous(limits = c(0,2)) + scale_y_continuous() + scale_color_manual(values = color.palette) + labs(x = lab...
library(purrr) #### This function will return a new function, which use the arguments provided #### from the former one. #### adder_maker <- function(n){ function(x){ n + x } } adder_maker(4) adder_maker(4)(5) #### map function map(c(5, 4, 3, 2, 1), function(x){ c("one", "two", "three", "fou...
/03_functional_programming.R
no_license
bsmg1h/Advanced_R_Programming
R
false
false
4,010
r
library(purrr) #### This function will return a new function, which use the arguments provided #### from the former one. #### adder_maker <- function(n){ function(x){ n + x } } adder_maker(4) adder_maker(4)(5) #### map function map(c(5, 4, 3, 2, 1), function(x){ c("one", "two", "three", "fou...
#Bulk best binomial bandit script library(bandit) experiment = list() <? foreach ($this->subtests as $subtest) : ?> trials <- c(<?= implode(',', $subtest['trials']) ?>) successes <- c(<?= implode(',', $subtest['successes']) ?>) subtest <- list(trials = trials, successes = successes) experiment <- c(experiment, l...
/strategies/bulk-bandit.r
no_license
jgivoni/strategy-test
R
false
false
714
r
#Bulk best binomial bandit script library(bandit) experiment = list() <? foreach ($this->subtests as $subtest) : ?> trials <- c(<?= implode(',', $subtest['trials']) ?>) successes <- c(<?= implode(',', $subtest['successes']) ?>) subtest <- list(trials = trials, successes = successes) experiment <- c(experiment, l...
#' Score monthly table #' #' @param model_alias_score : Model previously made to use to score (character) #' @param date_to_score : Month to score (character) #' @param model_type_score : product of model choseen to score #' @param performance_calculation : use if exist a target to compare (logical) #' #' @return ...
/Scripts/scoring/score_mensual.R
no_license
DanielRZapataS/Recommendation_System_Retail_Banking
R
false
false
6,023
r
#' Score monthly table #' #' @param model_alias_score : Model previously made to use to score (character) #' @param date_to_score : Month to score (character) #' @param model_type_score : product of model choseen to score #' @param performance_calculation : use if exist a target to compare (logical) #' #' @return ...
# Title : TODO # Objective : TODO # Created by: krlse # Created on: 26/04/2021 # We may create vectors of class numeric or character with the concatenate function codes <- c(380, 124, 818) country <- c("italy", "canada", "egypt") # We can also name the elements of a numeric vector # Note that the two lines of cod...
/aula_2_1.R
no_license
krlsedu/Data-Science-R-Basics
R
false
false
1,018
r
# Title : TODO # Objective : TODO # Created by: krlse # Created on: 26/04/2021 # We may create vectors of class numeric or character with the concatenate function codes <- c(380, 124, 818) country <- c("italy", "canada", "egypt") # We can also name the elements of a numeric vector # Note that the two lines of cod...
#' Printing outputs of a CopulaCenR object #' @name print.CopulaCenR #' @aliases print.CopulaCenR #' @param x a CopulaCenR object #' @param ... further arguments #' @importFrom stats printCoefmat #' @export print.CopulaCenR <- function(x,...) { if (!is.null(x$m.dist)){ cat("Copula: ",x$copula,"\n") cat("Marg...
/R/fun_S3.R
no_license
cran/CopulaCenR
R
false
false
4,103
r
#' Printing outputs of a CopulaCenR object #' @name print.CopulaCenR #' @aliases print.CopulaCenR #' @param x a CopulaCenR object #' @param ... further arguments #' @importFrom stats printCoefmat #' @export print.CopulaCenR <- function(x,...) { if (!is.null(x$m.dist)){ cat("Copula: ",x$copula,"\n") cat("Marg...
#!/usr/bin/Rscript library(fpc) library(data.table) library(plyr) analyse <- function(data, out, keycol) { # Try numerous K's to discover natural groupings for (k in c(2,3,4,5,6)) { fit <- kmeans(data, k) # Plot parallel coordinates of the centroids pdf(paste0(out,"-",k,".pdf"), width=10, height=6) parcoord...
/scripts/clusterAnalysis.R
no_license
ossmeter/msr14-challenge
R
false
false
1,730
r
#!/usr/bin/Rscript library(fpc) library(data.table) library(plyr) analyse <- function(data, out, keycol) { # Try numerous K's to discover natural groupings for (k in c(2,3,4,5,6)) { fit <- kmeans(data, k) # Plot parallel coordinates of the centroids pdf(paste0(out,"-",k,".pdf"), width=10, height=6) parcoord...
library(kriens) context("recursively composing functions") test_that("if an empty list is passed the function errors", { expect_error(path()) }) test_that("if NULL is passed the function errors", { expect_error(path(NULL)) }) test_that("path(list(h, g, f)) = h %.% g %.% f", { f <- function(x, ret) { ret(x+...
/data/genthat_extracted_code/kriens/tests/test.path.R
no_license
surayaaramli/typeRrh
R
false
false
548
r
library(kriens) context("recursively composing functions") test_that("if an empty list is passed the function errors", { expect_error(path()) }) test_that("if NULL is passed the function errors", { expect_error(path(NULL)) }) test_that("path(list(h, g, f)) = h %.% g %.% f", { f <- function(x, ret) { ret(x+...
#'------------------------------------------------------------------------- #'------------------------------------------------------------------------- #' 2018.06.11. #' #' Generate Tables 1-4 and Figure 1 for GOBACK manuscript. #'------------------------------------------------------------------------- #'------------...
/Tables - manuscript.R
permissive
schrawj/GOBACK
R
false
false
24,968
r
#'------------------------------------------------------------------------- #'------------------------------------------------------------------------- #' 2018.06.11. #' #' Generate Tables 1-4 and Figure 1 for GOBACK manuscript. #'------------------------------------------------------------------------- #'------------...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mzrtsim.R \name{mzrtsim} \alias{mzrtsim} \title{Generate simulated count data with batch effects for npeaks} \usage{ mzrtsim(npeaks = 1000, ncomp = 0.1, ncond = 2, ncpeaks = 0.1, nbatch = 3, nbpeaks = 0.1, npercond = 10, nperbatch = c(8, 5,...
/man/mzrtsim.Rd
no_license
Feigeliudan01/mzrtsim
R
false
true
1,789
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mzrtsim.R \name{mzrtsim} \alias{mzrtsim} \title{Generate simulated count data with batch effects for npeaks} \usage{ mzrtsim(npeaks = 1000, ncomp = 0.1, ncond = 2, ncpeaks = 0.1, nbatch = 3, nbpeaks = 0.1, npercond = 10, nperbatch = c(8, 5,...
inspect_project <- function(path = ".", write_reports = FALSE, outdir = ".") { current_directory <- getwd() setwd(path) if (!file.exists("./0_metadata/project_overview.yaml")) { setwd(current_directory) stop("0_metadata/project_overview.yaml not found!") } meta <- read_yaml2("./0_metadata/project_o...
/R/inspect_project.r
no_license
babeheim/ecodata
R
false
false
13,985
r
inspect_project <- function(path = ".", write_reports = FALSE, outdir = ".") { current_directory <- getwd() setwd(path) if (!file.exists("./0_metadata/project_overview.yaml")) { setwd(current_directory) stop("0_metadata/project_overview.yaml not found!") } meta <- read_yaml2("./0_metadata/project_o...
library(rtweet) library(twitteR) library(streamR) library(tidytext) library(Rsentiment) library(syuzhet) library(SnowballC) library(tm) library(RColorBrewer) library(plyr) library(dplyr) library(tmap) library(wordcloud) consumer_key <-"DNnhocvfRJwAdVq05EKHFBV7v" consumer_secret <- "FnVrIdxCG95Qainl1gqDeg4uLOaNHmFQIslO...
/SentimentAnalysis.R
no_license
battulabharath/Sentiment-Analysis
R
false
false
2,789
r
library(rtweet) library(twitteR) library(streamR) library(tidytext) library(Rsentiment) library(syuzhet) library(SnowballC) library(tm) library(RColorBrewer) library(plyr) library(dplyr) library(tmap) library(wordcloud) consumer_key <-"DNnhocvfRJwAdVq05EKHFBV7v" consumer_secret <- "FnVrIdxCG95Qainl1gqDeg4uLOaNHmFQIslO...
#' Find Modules with Network Adjacency Matrix Using Walktrap Clustering #' #' This function wraps a function iteratively to get modules from network adjacency #' matrix using igraph's walktrap clusting function. #' #' @inheritParams findModules.CFinder #' #' @return GeneModules = n x 3 dimensional data frame with c...
/R/findModules.walktrap.R
permissive
Sage-Bionetworks/metanetwork
R
false
false
1,723
r
#' Find Modules with Network Adjacency Matrix Using Walktrap Clustering #' #' This function wraps a function iteratively to get modules from network adjacency #' matrix using igraph's walktrap clusting function. #' #' @inheritParams findModules.CFinder #' #' @return GeneModules = n x 3 dimensional data frame with c...
library(cir) ### Name: deltaInverse ### Title: Calculate inverse (dose-finding) intervals, using local ### inversion and the Delta method ### Aliases: deltaInverse ### ** Examples # Interesting run (#664) from a simulated up-and-down ensemble: # (x will be auto-generated as dose levels 1:5) dat=doseResponse(y=c(1...
/data/genthat_extracted_code/cir/examples/deltaInverse.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
1,749
r
library(cir) ### Name: deltaInverse ### Title: Calculate inverse (dose-finding) intervals, using local ### inversion and the Delta method ### Aliases: deltaInverse ### ** Examples # Interesting run (#664) from a simulated up-and-down ensemble: # (x will be auto-generated as dose levels 1:5) dat=doseResponse(y=c(1...
fTotalLine <- function(df, y_lab) { df %>% ggplot(aes(x = year, y = value)) + geom_line() + geom_area(aes(fill = name), show.legend = FALSE) + geom_point() + theme_classic() + scale_fill_manual(values = c("#009E73", "#E69F00")) + scale_y_continuous( ...
/functions/modules/total_line.R
permissive
HannesOberreiter/inat-austria-city-challenge-2021
R
false
false
695
r
fTotalLine <- function(df, y_lab) { df %>% ggplot(aes(x = year, y = value)) + geom_line() + geom_area(aes(fill = name), show.legend = FALSE) + geom_point() + theme_classic() + scale_fill_manual(values = c("#009E73", "#E69F00")) + scale_y_continuous( ...
#-------------------------------------------owner: Liran Ben-Zion------------------------------------------- #-------------------------------------------email- bzliran@gmail.com---------------------------------------- rm(list=ls()) library(dplyr) library(data.table) library(mice) library(ggplot2) library(corrp...
/Liran Ben Zion- Predicting House Sales in King County, USA.R
no_license
Liranbz/House_Sales_Prediction
R
false
false
12,421
r
#-------------------------------------------owner: Liran Ben-Zion------------------------------------------- #-------------------------------------------email- bzliran@gmail.com---------------------------------------- rm(list=ls()) library(dplyr) library(data.table) library(mice) library(ggplot2) library(corrp...
#!/usr/bin/env Rscript ##The intent of this script is to 'tune' crown delineation parameters ## all parameters will be varied randomly withing set range ## and run 10000 times ## Author:Jack ## Start date: 2/21/19 #All methods are based on a seed/marker generated from lidR::tree_detection() ## All metho...
/simplewatershed_tune.R
no_license
Jack-Hastings/Crown-Tuning-Masters-Thesis
R
false
false
8,930
r
#!/usr/bin/env Rscript ##The intent of this script is to 'tune' crown delineation parameters ## all parameters will be varied randomly withing set range ## and run 10000 times ## Author:Jack ## Start date: 2/21/19 #All methods are based on a seed/marker generated from lidR::tree_detection() ## All metho...
# Process Picarro data for Peyton's DWP lab experiment # Ben Bond-Lamberty April 2015 source("0-functions.R") SCRIPTNAME <- "3-fluxes.R" summarydata <- file.path(OUTPUT_DIR, "summarydata.csv") # output from script 2 # ============================================================================== # Main si...
/3-fluxes.R
no_license
janefudyma/dwp_peyton
R
false
false
3,649
r
# Process Picarro data for Peyton's DWP lab experiment # Ben Bond-Lamberty April 2015 source("0-functions.R") SCRIPTNAME <- "3-fluxes.R" summarydata <- file.path(OUTPUT_DIR, "summarydata.csv") # output from script 2 # ============================================================================== # Main si...
library(lpSolveAPI) questionB4 <- make.lp(5,2) set.column(questionB4,1,c(1,1,1,0,0)) set.column(questionB4,2,c(1,0,0,1,1)) set.constr.type(questionB4,c(">=",">=","<=",">=","<=")) set.rhs(questionB4,c(20,5,12,6,10)) set.objfn(questionB4,c(1,1)) lp.control(questionB4, sense="min") questionB4 solve(ques...
/questionB4.R
no_license
wilbertnw/UPH_OR_2018
R
false
false
436
r
library(lpSolveAPI) questionB4 <- make.lp(5,2) set.column(questionB4,1,c(1,1,1,0,0)) set.column(questionB4,2,c(1,0,0,1,1)) set.constr.type(questionB4,c(">=",">=","<=",">=","<=")) set.rhs(questionB4,c(20,5,12,6,10)) set.objfn(questionB4,c(1,1)) lp.control(questionB4, sense="min") questionB4 solve(ques...
subroutine qsbart(penalt,dofoff,xs,ys,ws,n,knot,nk, coef,sz,lev, crit,iparms,spar,parms, isetup, scrtch, ld4,ldnk,ier) implicit double precision(a-h,o-z) integer n,nk,isetup,iparms(2),ld4,ldnk,ier double precision penalt,dofoff,xs(n),ys(n),ws(n), knot(nk+4), coef(nk),sz(n),lev(n), ...
/src/qsbart.r
no_license
cran/ppr
R
false
false
761
r
subroutine qsbart(penalt,dofoff,xs,ys,ws,n,knot,nk, coef,sz,lev, crit,iparms,spar,parms, isetup, scrtch, ld4,ldnk,ier) implicit double precision(a-h,o-z) integer n,nk,isetup,iparms(2),ld4,ldnk,ier double precision penalt,dofoff,xs(n),ys(n),ws(n), knot(nk+4), coef(nk),sz(n),lev(n), ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/coef_diff_by_group.R \name{coef_diff_by_group} \alias{coef_diff_by_group} \alias{coef_diff_by_group.breathteststangroupfit} \title{Tabulates breath test parameter differences of groups from Stan group fit} \usage{ coef_diff_by_group.breathtes...
/man/coef_diff_by_group.Rd
no_license
bgoodri/breathteststan
R
false
true
2,201
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/coef_diff_by_group.R \name{coef_diff_by_group} \alias{coef_diff_by_group} \alias{coef_diff_by_group.breathteststangroupfit} \title{Tabulates breath test parameter differences of groups from Stan group fit} \usage{ coef_diff_by_group.breathtes...
####################### ##Risk measure - DP ##Following Jiang et. al 2015 ####################### library(FactoMineR) library(VGAM) numObs = 100 numVar = 1000 beta = c(0.5, 3) x = rnorm(numObs, mean = 2, sd = 1) y = matrix(NA, nrow = numObs, ncol = numVar) for(i in 1:ncol(y)){ y[, i] = beta[1] + beta[2]*x + rno...
/dpPCA.R
no_license
jsnoke/altman_HD
R
false
false
8,274
r
####################### ##Risk measure - DP ##Following Jiang et. al 2015 ####################### library(FactoMineR) library(VGAM) numObs = 100 numVar = 1000 beta = c(0.5, 3) x = rnorm(numObs, mean = 2, sd = 1) y = matrix(NA, nrow = numObs, ncol = numVar) for(i in 1:ncol(y)){ y[, i] = beta[1] + beta[2]*x + rno...
\name{ScoresDIA} \alias{ScoresDIA} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Statistical analysis for a pair of peak grouped metabolites from LC-MS/MS DIA analysis. } \description{ Peak-to-peak Pearson correlation coefficient, peak-to-peak shape ratio and product/precursor ion intens...
/man/ScoresDIA.rd
no_license
cran/MetaboList
R
false
false
2,076
rd
\name{ScoresDIA} \alias{ScoresDIA} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Statistical analysis for a pair of peak grouped metabolites from LC-MS/MS DIA analysis. } \description{ Peak-to-peak Pearson correlation coefficient, peak-to-peak shape ratio and product/precursor ion intens...
############################################################################ ## 1. makeCacheMatrix: This function creates a special "matrix" object ## ## that can cache its inverse. ## ## 2. cacheSolve: This function computes the inverse of the special ## ## "matrix" ...
/cachematrix.R
no_license
M0nd4/ProgrammingAssignment2
R
false
false
2,685
r
############################################################################ ## 1. makeCacheMatrix: This function creates a special "matrix" object ## ## that can cache its inverse. ## ## 2. cacheSolve: This function computes the inverse of the special ## ## "matrix" ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rcppPointer.R \name{rcppValue} \alias{rcppValue} \title{rcpp Value} \usage{ rcppValue(vectorSize) } \arguments{ \item{vectorSize}{integer} } \description{ function to update a logical vector }
/man/rcppValue.Rd
no_license
SymbolixAU/rcppTests
R
false
true
272
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rcppPointer.R \name{rcppValue} \alias{rcppValue} \title{rcpp Value} \usage{ rcppValue(vectorSize) } \arguments{ \item{vectorSize}{integer} } \description{ function to update a logical vector }
\name{retriever-package} \alias{retriever-package} \alias{retriever} \docType{package} \title{ \packageTitle{retriever} } \description{ \packageDescription{retriever} } \details{ The DESCRIPTION file: \packageDESCRIPTION{retriever} \packageIndices{retriever} } \author{ \packageAuthor{retriever} Maintainer: \packageMain...
/retriever/man/retriever-package.Rd
no_license
thiph169/ARP-lab-5
R
false
false
361
rd
\name{retriever-package} \alias{retriever-package} \alias{retriever} \docType{package} \title{ \packageTitle{retriever} } \description{ \packageDescription{retriever} } \details{ The DESCRIPTION file: \packageDESCRIPTION{retriever} \packageIndices{retriever} } \author{ \packageAuthor{retriever} Maintainer: \packageMain...
#install packages install.packages("devtools") library(devtools) install_github("vqv/ggbiplot") #read in data data <- read.table("rpm.counts.txt",header = TRUE, row.names = 1) #create a data matrix Mymatrix <- data.matrix(data) #transpose the data matrix TransposedMatrix <- t(Mymatrix) #prcomp takes data as input, usu...
/pca.R
no_license
roisinks/Dissertation
R
false
false
663
r
#install packages install.packages("devtools") library(devtools) install_github("vqv/ggbiplot") #read in data data <- read.table("rpm.counts.txt",header = TRUE, row.names = 1) #create a data matrix Mymatrix <- data.matrix(data) #transpose the data matrix TransposedMatrix <- t(Mymatrix) #prcomp takes data as input, usu...
fix_reference <- function(ref_path = "docs/reference/", is_test = FALSE) { if(is_test) { writeLines("test", file.path(ref_path, "index.html")) writeLines("reference", file.path(ref_path, "ref.rd")) } rds <- list.files(ref_path, pattern = "rd") new_html <- paste0(substr(rds, 1, nchar(rds) - 2), "html") ...
/R/utils.R
permissive
botan/veriler
R
false
false
1,696
r
fix_reference <- function(ref_path = "docs/reference/", is_test = FALSE) { if(is_test) { writeLines("test", file.path(ref_path, "index.html")) writeLines("reference", file.path(ref_path, "ref.rd")) } rds <- list.files(ref_path, pattern = "rd") new_html <- paste0(substr(rds, 1, nchar(rds) - 2), "html") ...
## Places to eat Shanghai ## Cities to visit Hangzhou
/GuiyuanLei/Christmas.Rd
no_license
githubteacher/welwyn-dec-2016
R
false
false
55
rd
## Places to eat Shanghai ## Cities to visit Hangzhou
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CombineCollinearRowsCols.R \name{CombineCollinearRowsCols} \alias{CombineCollinearRowsCols} \title{Removes rows and columns of zeros and optionnally, row or column duplicates} \usage{ CombineCollinearRowsCols(Y, rows = F, cols = F) } \argumen...
/man/CombineCollinearRowsCols.Rd
no_license
cran/TaxicabCA
R
false
true
1,182
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/CombineCollinearRowsCols.R \name{CombineCollinearRowsCols} \alias{CombineCollinearRowsCols} \title{Removes rows and columns of zeros and optionnally, row or column duplicates} \usage{ CombineCollinearRowsCols(Y, rows = F, cols = F) } \argumen...
#ranking library(jsonlite) liste <- read.csv("liste.csv", stringsAsFactors = FALSE, fileEncoding="UTF-8") band <- sort(unique(liste[,1])) ant.band <- length(band) dato <- Sys.Date() dato <- as.integer(substring(dato,3,4)) ##Algoritme for en enkelt poengberegning ##Siddis-poeng er 80% av NM-poeng poeng <-...
/rank.R
no_license
chrilur/brassranking
R
false
false
1,484
r
#ranking library(jsonlite) liste <- read.csv("liste.csv", stringsAsFactors = FALSE, fileEncoding="UTF-8") band <- sort(unique(liste[,1])) ant.band <- length(band) dato <- Sys.Date() dato <- as.integer(substring(dato,3,4)) ##Algoritme for en enkelt poengberegning ##Siddis-poeng er 80% av NM-poeng poeng <-...
# # Functions for analysing A. Thaliana Tiling Arrays # last modified: 27-08-2013 # first written: 27-08-2013 # (c) 2013 GBIC Yalan Bi, Danny Arends, R.C. Jansen # #********************************************* this is the final version for testing interaction regulated AS at 5 site ^_^ ******************************...
/functions/5'siteAS_HF_byI.r
no_license
YalanBi/AA
R
false
false
8,369
r
# # Functions for analysing A. Thaliana Tiling Arrays # last modified: 27-08-2013 # first written: 27-08-2013 # (c) 2013 GBIC Yalan Bi, Danny Arends, R.C. Jansen # #********************************************* this is the final version for testing interaction regulated AS at 5 site ^_^ ******************************...
#' Coalesce Multiple Columns #' #' @param df a data frame #' @param pattern pattern to split column names along using \code{stringr::str_split_fixed} #' @param noisy Do you want messages about the columns being coalesced? #' @description Coalesce columns matching the LHS when splitting by \code{pattern}. Columns #' are...
/R/coalesce_multi.R
no_license
svenhalvorson/SvenR
R
false
false
3,297
r
#' Coalesce Multiple Columns #' #' @param df a data frame #' @param pattern pattern to split column names along using \code{stringr::str_split_fixed} #' @param noisy Do you want messages about the columns being coalesced? #' @description Coalesce columns matching the LHS when splitting by \code{pattern}. Columns #' are...
library('dplyr') # data manipulation library('ggplot2') # Data Visualization library('ggthemes') # Data Visualization options(warn = -1) # load train.csv train <- read.csv('../input/train.csv', stringsAsFactors = F) # load test.csv test <- read.csv('../input/test.csv', stringsAsFactors = F) # combine them as a whole...
/r/kernels/vasuls-predictive-analysis-of-survival-rate-on-titanic/script/predictive-analysis-of-survival-rate-on-titanic.r
no_license
helenaK/trustworthy-titanic
R
false
false
8,472
r
library('dplyr') # data manipulation library('ggplot2') # Data Visualization library('ggthemes') # Data Visualization options(warn = -1) # load train.csv train <- read.csv('../input/train.csv', stringsAsFactors = F) # load test.csv test <- read.csv('../input/test.csv', stringsAsFactors = F) # combine them as a whole...
##San Diego Bay Turtle Movement Analysis ## Original R Code, JT Froeschke, December 29, 2015 ## Data modified from previous versions by SE Graham, June 2016, May 2018 ## Filtered data utilize GPS, and Argos LC = 1,2,3 ## Filtered data do not include points on land ## Filtered data only allow for 1 relocation every 4 h...
/hr_analysis_GPS_LC_newtags_24apr2018.R
no_license
mteguchi/Cm_SDB_PowerPlant
R
false
false
18,454
r
##San Diego Bay Turtle Movement Analysis ## Original R Code, JT Froeschke, December 29, 2015 ## Data modified from previous versions by SE Graham, June 2016, May 2018 ## Filtered data utilize GPS, and Argos LC = 1,2,3 ## Filtered data do not include points on land ## Filtered data only allow for 1 relocation every 4 h...
library(GSminer) library(testthat) context("test removeDup") test_that("remove Duplicate rows", { testdata <- data.frame("a" = c("ab", "cd", "ef"), "b" = c("cd", "ab", "ef"), stringsAsFactors = FALSE) result <- data.frame("a" = c("ab", "ef"), "b" = c("cd", "ef"), stringsAsFactors = FALSE) expect_true(all.eq...
/tests/testthat/test-GSminer.R
no_license
ShadowFiendSF/GSminer
R
false
false
381
r
library(GSminer) library(testthat) context("test removeDup") test_that("remove Duplicate rows", { testdata <- data.frame("a" = c("ab", "cd", "ef"), "b" = c("cd", "ab", "ef"), stringsAsFactors = FALSE) result <- data.frame("a" = c("ab", "ef"), "b" = c("cd", "ef"), stringsAsFactors = FALSE) expect_true(all.eq...
### <======================================================================> #' Plot ES contribution #' #'These functions plot the contribution of each asset to the overall portfolio expected shortfall. #' #' #' @docType methods #' @importFrom graphics plot #' @name plot-ghyp.attribution #' @rdname plot-ghyp.attribut...
/R/ghypPlots.R
no_license
KKAKKI/ghyp
R
false
false
18,976
r
### <======================================================================> #' Plot ES contribution #' #'These functions plot the contribution of each asset to the overall portfolio expected shortfall. #' #' #' @docType methods #' @importFrom graphics plot #' @name plot-ghyp.attribution #' @rdname plot-ghyp.attribut...
#' Standard Deviation #' This function calculates the standard deviation of input vector. #' @param vector x #' #' @return numeric #' @export #' #' @examples #' standard_deviation(c(2,6,7,8)) standard_deviation <- function(x) { if (is.null(x)){ stop("x should contain numbers and should not be null") } n <- l...
/R/deviation.R
permissive
hntek/deviation
R
false
false
545
r
#' Standard Deviation #' This function calculates the standard deviation of input vector. #' @param vector x #' #' @return numeric #' @export #' #' @examples #' standard_deviation(c(2,6,7,8)) standard_deviation <- function(x) { if (is.null(x)){ stop("x should contain numbers and should not be null") } n <- l...
lib <- c("raster", "rgdal", "MODIS", "remote", "doParallel", "reshape2", "ggplot2", "dplyr", "scales", "Rsenal", "Kendall", "RColorBrewer", "latticeExtra", "zoo") sapply(lib, function(x) library(x, character.only = TRUE)) source("sortByElevation.R") source("kendallStats.R") registerDoParallel(cl <...
/dfg_for_kilimanjaro/ndvi_kilimanjaro/src/gimms/prediction_eval_eotdsn.R
no_license
environmentalinformatics-marburg/magic
R
false
false
12,639
r
lib <- c("raster", "rgdal", "MODIS", "remote", "doParallel", "reshape2", "ggplot2", "dplyr", "scales", "Rsenal", "Kendall", "RColorBrewer", "latticeExtra", "zoo") sapply(lib, function(x) library(x, character.only = TRUE)) source("sortByElevation.R") source("kendallStats.R") registerDoParallel(cl <...
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function makeCacheMatrix <- function(x = matrix()) { inv <- NULL # cache the inverse matrix set <- function(y) { x <<- y inv <<- NULL } get <- function() x setinv <- function(i...
/cachematrix.R
no_license
ccy123/ProgrammingAssignment2
R
false
false
899
r
## Put comments here that give an overall description of what your ## functions do ## Write a short comment describing this function makeCacheMatrix <- function(x = matrix()) { inv <- NULL # cache the inverse matrix set <- function(y) { x <<- y inv <<- NULL } get <- function() x setinv <- function(i...
testlist <- list(Beta = 0, CVLinf = -1.37672045511449e-268, FM = 3.81959242373749e-313, L50 = 0, L95 = 0, LenBins = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), LenMids = numeric(0), Linf = 0, MK = 0, Ml = numeric(0), Prob = structure(0, .Dim = c(1L, 1L)), SL50 = 9.9794...
/DLMtool/inst/testfiles/LBSPRgen/AFL_LBSPRgen/LBSPRgen_valgrind_files/1615828915-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
487
r
testlist <- list(Beta = 0, CVLinf = -1.37672045511449e-268, FM = 3.81959242373749e-313, L50 = 0, L95 = 0, LenBins = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), LenMids = numeric(0), Linf = 0, MK = 0, Ml = numeric(0), Prob = structure(0, .Dim = c(1L, 1L)), SL50 = 9.9794...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/helper_functions_for_class_checks.R \name{is.probability.matrix} \alias{is.probability.matrix} \title{is.probability.matrix (internal function)} \usage{ is.probability.matrix(x) } \arguments{ \item{x}{Object to be checked.} } \value{ Logical ...
/man/is.probability.matrix.Rd
no_license
rmpiro/decompTumor2Sig
R
false
true
918
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/helper_functions_for_class_checks.R \name{is.probability.matrix} \alias{is.probability.matrix} \title{is.probability.matrix (internal function)} \usage{ is.probability.matrix(x) } \arguments{ \item{x}{Object to be checked.} } \value{ Logical ...
# this script recreates Simpkins et al 2013 analysis for tadpoles # Simpkins C, Shuker J.D., Lollback G.W., Castley J.G., Hero J. (2013). # Environmental variables associated with the distribution and occupancy # of habitat specialist tadpoles in naturally acidic, oligotrophic # waterbodies. Austral Ecology (in ...
/FRM/shuker/frm_shuker.R
no_license
linbx73/modelling_scripts
R
false
false
3,937
r
# this script recreates Simpkins et al 2013 analysis for tadpoles # Simpkins C, Shuker J.D., Lollback G.W., Castley J.G., Hero J. (2013). # Environmental variables associated with the distribution and occupancy # of habitat specialist tadpoles in naturally acidic, oligotrophic # waterbodies. Austral Ecology (in ...
Homepage <- dashboardPage( dashboardHeader(disable = T), dashboardSidebar(disable = T), dashboardBody( tags$head(tags$style("section.content { overflow-y: hidden; }")), fluidRow( column( width = 10, offset = 1, titleBox(title = "LIRBase: A web application for comprehensiv...
/Homepage.R
no_license
lihuaj/LIRBase
R
false
false
5,287
r
Homepage <- dashboardPage( dashboardHeader(disable = T), dashboardSidebar(disable = T), dashboardBody( tags$head(tags$style("section.content { overflow-y: hidden; }")), fluidRow( column( width = 10, offset = 1, titleBox(title = "LIRBase: A web application for comprehensiv...
#!/usr/bin/env R # Author: Sean Maden # Get BeadArray control outcomes from quality signals, do PCA and # ANOVAs on sample outcomes, then summarize results in component-wise # stacked barplot screeplot (figS4). library(ggplot2) library(RColorBrewer) library(recountmethylationManuscriptSupplement) #---------- # loa...
/inst/scripts/figures/figS4.R
no_license
metamaden/recountmethylationManuscriptSupplement
R
false
false
4,087
r
#!/usr/bin/env R # Author: Sean Maden # Get BeadArray control outcomes from quality signals, do PCA and # ANOVAs on sample outcomes, then summarize results in component-wise # stacked barplot screeplot (figS4). library(ggplot2) library(RColorBrewer) library(recountmethylationManuscriptSupplement) #---------- # loa...
#Decision Tree Regression # Regression Template # Importing the dataset dataset = read.csv('Position_Salaries.csv') dataset = dataset[2:3] # Splitting the dataset into the Training set and Test set # # install.packages('caTools') # library(caTools) # set.seed(123) # split = sample.split(dataset$Salary, SplitRatio = ...
/Regression/Decision Tree Regression/Wils DTR R.R
no_license
Wkornhauser/Machine_Learning_in_R_and_Python
R
false
false
1,724
r
#Decision Tree Regression # Regression Template # Importing the dataset dataset = read.csv('Position_Salaries.csv') dataset = dataset[2:3] # Splitting the dataset into the Training set and Test set # # install.packages('caTools') # library(caTools) # set.seed(123) # split = sample.split(dataset$Salary, SplitRatio = ...
library(performanceEstimation) ### Name: EstimationResults-class ### Title: Class "EstimationResults" ### Aliases: EstimationResults EstimationResults-class ### plot,EstimationResults-method summary,EstimationResults-method ### show,EstimationResults-method ### Keywords: classes ### ** Examples showClass("Estim...
/data/genthat_extracted_code/performanceEstimation/examples/EstimationResults-class.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
821
r
library(performanceEstimation) ### Name: EstimationResults-class ### Title: Class "EstimationResults" ### Aliases: EstimationResults EstimationResults-class ### plot,EstimationResults-method summary,EstimationResults-method ### show,EstimationResults-method ### Keywords: classes ### ** Examples showClass("Estim...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/input.R \name{numeric_input} \alias{numeric_input} \alias{numericInput} \title{Create Semantic UI Numeric Input} \usage{ numeric_input( input_id, label, value, min = NA, max = NA, step = NA, type = NULL, icon = NULL, placeho...
/man/numeric_input.Rd
permissive
ashbaldry/shiny.semantic
R
false
true
1,777
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/input.R \name{numeric_input} \alias{numeric_input} \alias{numericInput} \title{Create Semantic UI Numeric Input} \usage{ numeric_input( input_id, label, value, min = NA, max = NA, step = NA, type = NULL, icon = NULL, placeho...
% Generated by roxygen2 (4.0.2): do not edit by hand \docType{data} \name{iwv_online} \alias{iwv_online} \title{website traffic from IWV} \usage{ iwv_online() } \value{ UrlData object } \description{ website traffic as tracked by iwv online. Use yyyymm for query() as resource. This is an example for the \...
/man/iwv_online.Rd
no_license
doomhammerhell/test-datamart
R
false
false
528
rd
% Generated by roxygen2 (4.0.2): do not edit by hand \docType{data} \name{iwv_online} \alias{iwv_online} \title{website traffic from IWV} \usage{ iwv_online() } \value{ UrlData object } \description{ website traffic as tracked by iwv online. Use yyyymm for query() as resource. This is an example for the \...
#' @importFrom RODBC sqlQuery #' @export db_list_tables.TeradataODBCConnection <- function(con) { table_names <- attr(con, "table_names") if (is.null(table_names)) { dbname <- attr(con, "dbname") if (dbname != "") { query <- sprintf("SELECT TABLENAME FROM DBC.TABLES WHERE DATABASENAME = '%s'", dbname)...
/R/db-rodbc-teradata.R
no_license
dfalbel/dplyr.teradata
R
false
false
2,117
r
#' @importFrom RODBC sqlQuery #' @export db_list_tables.TeradataODBCConnection <- function(con) { table_names <- attr(con, "table_names") if (is.null(table_names)) { dbname <- attr(con, "dbname") if (dbname != "") { query <- sprintf("SELECT TABLENAME FROM DBC.TABLES WHERE DATABASENAME = '%s'", dbname)...
ui_cards <- function(id){ ns <- NS(id) uiOutput(ns("cards")) } server_cards <- function(input, output, session, df){ output$cards <- renderUI({ df <- df() %>% filter(is_parked == 0) speed <- round(mean(df$SPEED, na.rm = TRUE), 2) if(is.nan(speed)) speed <- NULL df_1 <- he...
/app/modules/cards.R
no_license
sflorezp/ship_explorer
R
false
false
2,130
r
ui_cards <- function(id){ ns <- NS(id) uiOutput(ns("cards")) } server_cards <- function(input, output, session, df){ output$cards <- renderUI({ df <- df() %>% filter(is_parked == 0) speed <- round(mean(df$SPEED, na.rm = TRUE), 2) if(is.nan(speed)) speed <- NULL df_1 <- he...
# Truncated regression library(magrittr); library(dplyr) # Simulated data set.seed(1056) # set seed to replicate example nobs = 2500 # number of obs in model x1 <- runif(nobs,-5,5) # random uniform variable alpha = 10 # intercept beta ...
/truncation.R
no_license
RafaelSdeSouza/selection_function
R
false
false
2,998
r
# Truncated regression library(magrittr); library(dplyr) # Simulated data set.seed(1056) # set seed to replicate example nobs = 2500 # number of obs in model x1 <- runif(nobs,-5,5) # random uniform variable alpha = 10 # intercept beta ...
############################################################################# # Supplementary Material to Schomaker M, Davies MA, Cornell M, Ford N. # # Assessing the risk of dolutegravir for women of childbearing potential. # # Lancet Global Health. 2018;6(9):e958-e9. # ...
/R/code_dolutegravir.r
no_license
MichaelSchomaker/MichaelSchomaker.github.io
R
false
false
6,726
r
############################################################################# # Supplementary Material to Schomaker M, Davies MA, Cornell M, Ford N. # # Assessing the risk of dolutegravir for women of childbearing potential. # # Lancet Global Health. 2018;6(9):e958-e9. # ...
# # KnockoutFigure5.R # # # Automatically handling the control, one-side and two-side I-cell knockout variations. # # Clear the workspace. rm(list = ls()); # Load up some libraries and helper functions. source ( "NMHelperFunctions.R" ); # # Additional specialized helper functions. # # # S...
/KnockoutFigure5.R
no_license
kgrajski/KamilGrajski-Somatotopic-Discontinuity-Plasticity
R
false
false
32,434
r
# # KnockoutFigure5.R # # # Automatically handling the control, one-side and two-side I-cell knockout variations. # # Clear the workspace. rm(list = ls()); # Load up some libraries and helper functions. source ( "NMHelperFunctions.R" ); # # Additional specialized helper functions. # # # S...
# write a vcf file from a tidy data frame #' @name write_vcf #' @title Used internally in stackr to write a vcf file from a tidy #' data frame #' @description Write a vcf file from a tidy data frame. #' Used internally in \href{https://github.com/thierrygosselin/stackr}{stackr} #' and might be of interest for users....
/R/write_vcf.R
no_license
caitiecollins/stackr
R
false
false
8,251
r
# write a vcf file from a tidy data frame #' @name write_vcf #' @title Used internally in stackr to write a vcf file from a tidy #' data frame #' @description Write a vcf file from a tidy data frame. #' Used internally in \href{https://github.com/thierrygosselin/stackr}{stackr} #' and might be of interest for users....
library(shiny) # UI Interfaz de Usuario ######################################################### ui <- fluidPage( # Título de la App ############################################################# titlePanel('"Automatic Text Summarization" de textos legales'), # Layout de la App ###########################...
/shiny/app.R
no_license
japellaniz/NLP_Lectura_Facil
R
false
false
1,681
r
library(shiny) # UI Interfaz de Usuario ######################################################### ui <- fluidPage( # Título de la App ############################################################# titlePanel('"Automatic Text Summarization" de textos legales'), # Layout de la App ###########################...
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 839 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 839 c c Input Parameter (command line, file): c input filename QBFLIB/Tentrup/toy/mvs8n.unsat.qdimacs c output filename /tmp/dc...
/code/dcnf-ankit-optimized/Results/QBFLIB-2018/E1/Experiments/Tentrup/toy/mvs8n.unsat/mvs8n.unsat.R
no_license
arey0pushpa/dcnf-autarky
R
false
false
597
r
c DCNF-Autarky [version 0.0.1]. c Copyright (c) 2018-2019 Swansea University. c c Input Clause Count: 839 c Performing E1-Autarky iteration. c Remaining clauses count after E-Reduction: 839 c c Input Parameter (command line, file): c input filename QBFLIB/Tentrup/toy/mvs8n.unsat.qdimacs c output filename /tmp/dc...
library(testthat) library(grid) library(gridtext) test_check("gridtext")
/tests/testthat.R
permissive
wilkelab/gridtext
R
false
false
74
r
library(testthat) library(grid) library(gridtext) test_check("gridtext")
# # DATA 608 - Assignment 3 - Question 2 # library(tidyverse) library(shiny) library(plotly) library(rsconnect) data <- read_csv("cleaned-cdc-mortality-1999-2010-2.csv") avgs <- data %>% dplyr::mutate(pop_w = Population * Crude.Rate) %>% dplyr::group_by(Year, ICD.Chapter) %>% dplyr::summarise(natl_a...
/crosemond_data608_hw3_q2.R
no_license
chrosemo/data608
R
false
false
1,891
r
# # DATA 608 - Assignment 3 - Question 2 # library(tidyverse) library(shiny) library(plotly) library(rsconnect) data <- read_csv("cleaned-cdc-mortality-1999-2010-2.csv") avgs <- data %>% dplyr::mutate(pop_w = Population * Crude.Rate) %>% dplyr::group_by(Year, ICD.Chapter) %>% dplyr::summarise(natl_a...
# uses the built in faithful dataset which is the observations of the old faithful # geyser in yellowstone national park! head(faithful) duration = faithful$eruptions duration range(duration) # set break point for the scatter plot breaks = seq(1.5,5.5,by=0.5) breaks # so nextclassify the eruption urations according to...
/quantitative_data.R
no_license
BerenMillidge/R_tutorials
R
false
false
2,424
r
# uses the built in faithful dataset which is the observations of the old faithful # geyser in yellowstone national park! head(faithful) duration = faithful$eruptions duration range(duration) # set break point for the scatter plot breaks = seq(1.5,5.5,by=0.5) breaks # so nextclassify the eruption urations according to...
# EMF FUTURES ################################################################## ## Installing and loading packages ============================================= # install.packages("urca") # install.packages("egcm") # install.packages("EnvStats") # install.packages("tidyverse") # install.packages("pacman") pacman::p_...
/code/hedge_ratio.r
no_license
jfcabrera7/emf_futures
R
false
false
3,529
r
# EMF FUTURES ################################################################## ## Installing and loading packages ============================================= # install.packages("urca") # install.packages("egcm") # install.packages("EnvStats") # install.packages("tidyverse") # install.packages("pacman") pacman::p_...
% --- Source file: calcMin.Rd --- \name{calcMin} \alias{calcMin} \title{Calculate the Minimum of a User-Defined Function} \concept{minimization} \description{ Minimization based on the R-stat functions \code{nlm}, \code{nlminb}, and \code{optim}. Model parameters are scaled and can be active or not in the mi...
/PBSmodelling/man/calcMin.Rd
no_license
pbs-software/pbs-modelling
R
false
false
4,679
rd
% --- Source file: calcMin.Rd --- \name{calcMin} \alias{calcMin} \title{Calculate the Minimum of a User-Defined Function} \concept{minimization} \description{ Minimization based on the R-stat functions \code{nlm}, \code{nlminb}, and \code{optim}. Model parameters are scaled and can be active or not in the mi...
context("get_electronic_filing_by_committees") test_that("expected errors", { year <- seq(1996, 2018) expect_warning(expect_error(get_electronic_filing_by_committees("UNITED EGG", 16), "Incorrect cycle"), "Cycle should be four-digit year") expect_warning(expect_error(get_electronic_filing_by_committees("UNITED E...
/tests/testthat/test-get_electronic_filing_by_committees.R
no_license
DavytJ/ProPublicaR
R
false
false
3,704
r
context("get_electronic_filing_by_committees") test_that("expected errors", { year <- seq(1996, 2018) expect_warning(expect_error(get_electronic_filing_by_committees("UNITED EGG", 16), "Incorrect cycle"), "Cycle should be four-digit year") expect_warning(expect_error(get_electronic_filing_by_committees("UNITED E...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{last_true} \alias{last_true} \title{Index of the last TRUE value} \usage{ last_true(x) } \description{ Index of the last TRUE value }
/R/yuez/man/last_true.Rd
no_license
giantwhale/yuez
R
false
true
232
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/RcppExports.R \name{last_true} \alias{last_true} \title{Index of the last TRUE value} \usage{ last_true(x) } \description{ Index of the last TRUE value }
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/ridgereg_print.R \name{print.ridgereg} \alias{print.ridgereg} \title{Print values} \usage{ \method{print}{ridgereg}(x, ...) } \arguments{ \item{x}{an object used to select a method.} \item{...}{further arguments passed to or from oth...
/lab7/man/print.ridgereg.Rd
no_license
ClaraSchartner/lab7
R
false
false
493
rd
% Generated by roxygen2 (4.1.1): do not edit by hand % Please edit documentation in R/ridgereg_print.R \name{print.ridgereg} \alias{print.ridgereg} \title{Print values} \usage{ \method{print}{ridgereg}(x, ...) } \arguments{ \item{x}{an object used to select a method.} \item{...}{further arguments passed to or from oth...
#Load 'dplyr' & 'plotly' & 'ggplot2' & 'leaflet' packages library(dplyr) library(plotly) library(ggplot2) library(leaflet) #Load dataset into a dataframe, with not reading strings as factors shootings2018_data <- read.csv("data/shootings-2018.csv", stringsAsFactors = FALSE) #Summary Information --------------------...
/Foundational Skills for Data Science/Lab5/analysis.R
permissive
KhoaDTran/UW-Data-Science-Coursework-Projects-
R
false
false
6,727
r
#Load 'dplyr' & 'plotly' & 'ggplot2' & 'leaflet' packages library(dplyr) library(plotly) library(ggplot2) library(leaflet) #Load dataset into a dataframe, with not reading strings as factors shootings2018_data <- read.csv("data/shootings-2018.csv", stringsAsFactors = FALSE) #Summary Information --------------------...
context("Shiny inputs") # Slider test_input(mwSlider(0, 10, 0), c(5, -20, 20), c(5, 0, 10)) # Slider with two values test_input( mwSlider(0, 10, 0), list(c(5, 7), c(-20, 20), c(-20, 5), c(5, 20)), list(c(5, 7), c(0, 10), c(0, 5), c(5, 10)) ) # Text test_input(mwText(), list("1", 1, NULL), list("1", ...
/tests/testthat/test-inputs.R
no_license
cran/manipulateWidget
R
false
false
2,388
r
context("Shiny inputs") # Slider test_input(mwSlider(0, 10, 0), c(5, -20, 20), c(5, 0, 10)) # Slider with two values test_input( mwSlider(0, 10, 0), list(c(5, 7), c(-20, 20), c(-20, 5), c(5, 20)), list(c(5, 7), c(0, 10), c(0, 5), c(5, 10)) ) # Text test_input(mwText(), list("1", 1, NULL), list("1", ...
args <- commandArgs(trailingOnly = TRUE) list<-unlist(strsplit(args,",")) todList<-unlist(strsplit(list[1]," ")) hhmmss<-todList[5] hh<-as.numeric(unlist(strsplit(hhmmss,":"))[1]) mm<-as.numeric(unlist(strsplit(hhmmss,":"))[2]) timeOfDay<-(hh+mm/60.0)/24.0 #print(timeOfDay) library("neuralnet") lat <-a...
/RScripts/getPrediction.r
no_license
paavoap/sgslhackfest2016
R
false
false
891
r
args <- commandArgs(trailingOnly = TRUE) list<-unlist(strsplit(args,",")) todList<-unlist(strsplit(list[1]," ")) hhmmss<-todList[5] hh<-as.numeric(unlist(strsplit(hhmmss,":"))[1]) mm<-as.numeric(unlist(strsplit(hhmmss,":"))[2]) timeOfDay<-(hh+mm/60.0)/24.0 #print(timeOfDay) library("neuralnet") lat <-a...
peakfinder <- function(data_umi) { dd <- density(data_umi) #define window size smallBins <- ifelse(round(length(dd$x) * 0.01, 0) %% 2, round(length(dd$x) * 0.01, 0), round(length(dd$x) * 0.01, 0) + 1) #add tails to begining and end of the density plot zero_beg <- seq(min(dd$x) ...
/templates/peakfinder.R
no_license
mariafiruleva/automated_processing_scrnaseq
R
false
false
1,164
r
peakfinder <- function(data_umi) { dd <- density(data_umi) #define window size smallBins <- ifelse(round(length(dd$x) * 0.01, 0) %% 2, round(length(dd$x) * 0.01, 0), round(length(dd$x) * 0.01, 0) + 1) #add tails to begining and end of the density plot zero_beg <- seq(min(dd$x) ...
library(UsingR) data(galton) library(ggplot2) library(reshape2) library(manipulate) # Plotting histograms of Childs and Parents height longGalton <- melt(galton, measure.vars = c("child","parent")) g <- ggplot(longGalton, aes(x=value)) + geom_histogram(aes(y=..density.., fill = variable), binwidth=1, color="black...
/statistical-inference/centerOfMass.R
no_license
rudra-shukla/datasciencecoursera
R
false
false
809
r
library(UsingR) data(galton) library(ggplot2) library(reshape2) library(manipulate) # Plotting histograms of Childs and Parents height longGalton <- melt(galton, measure.vars = c("child","parent")) g <- ggplot(longGalton, aes(x=value)) + geom_histogram(aes(y=..density.., fill = variable), binwidth=1, color="black...
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 rcpparma_hello_world <- function() { .Call(`_DMVI_rcpparma_hello_world`) } rcpparma_outerproduct <- function(x) { .Call(`_DMVI_rcpparma_outerproduct`, x) } rcpparma_innerproduct <- fu...
/R/RcppExports.R
no_license
mkoslovsky/DMVI
R
false
false
465
r
# Generated by using Rcpp::compileAttributes() -> do not edit by hand # Generator token: 10BE3573-1514-4C36-9D1C-5A225CD40393 rcpparma_hello_world <- function() { .Call(`_DMVI_rcpparma_hello_world`) } rcpparma_outerproduct <- function(x) { .Call(`_DMVI_rcpparma_outerproduct`, x) } rcpparma_innerproduct <- fu...
utils::globalVariables(c("packmeta", "deptable", "sysdata"))
/R/globalvars.R
no_license
talegari/pkggraph
R
false
false
61
r
utils::globalVariables(c("packmeta", "deptable", "sysdata"))
library(syuzhet) filename <- "alice.txt" book = gsub( "[\r\n]", " ", readChar(filename, file.info(filename)$size) ) sentences <- get_sentences(book) sentiment_vector <- get_sentiment( sentences, method="afinn" ) # plot( sentiment_vector, type="l", main="Example Plot Trajectory", xlab = "Narrative Time", ylab= "...
/timbr/source/read.r
no_license
JessieSalas/tambr
R
false
false
836
r
library(syuzhet) filename <- "alice.txt" book = gsub( "[\r\n]", " ", readChar(filename, file.info(filename)$size) ) sentences <- get_sentences(book) sentiment_vector <- get_sentiment( sentences, method="afinn" ) # plot( sentiment_vector, type="l", main="Example Plot Trajectory", xlab = "Narrative Time", ylab= "...
setwd("C:/ARCHIVE/DATA_SCIENTIST/EXPLORATORY_DATA/ASSIGNMENT1") if (!file.exists("household_power_consumption.txt")) { ## setwd("C:/ARCHIVE/DATA_SCIENTIST/EXPLORATORY_DATA/ASSIGNMENT1") temp <- tempfile() fileurl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file...
/loadData.R
no_license
abbahb/ExData_Plotting1
R
false
false
1,697
r
setwd("C:/ARCHIVE/DATA_SCIENTIST/EXPLORATORY_DATA/ASSIGNMENT1") if (!file.exists("household_power_consumption.txt")) { ## setwd("C:/ARCHIVE/DATA_SCIENTIST/EXPLORATORY_DATA/ASSIGNMENT1") temp <- tempfile() fileurl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" download.file...
# This script runs regressions to compare within-, between-, and pooled estimator of income effect on overall expenditure. library(ggplot2) library(reshape2) library(data.table) library(plm) library(gridExtra) library(scales) library(systemfit) library(stargazer) library(gridExtra) options(error = quote({dump.frames...
/main/income_effect/income_effect_reg_exp_between.R
no_license
Superet/Expenditure
R
false
false
15,056
r
# This script runs regressions to compare within-, between-, and pooled estimator of income effect on overall expenditure. library(ggplot2) library(reshape2) library(data.table) library(plm) library(gridExtra) library(scales) library(systemfit) library(stargazer) library(gridExtra) options(error = quote({dump.frames...
####################################################### # Script models optimisation # # By Menyssa CHERIFA # GITHUB : https://github.com/afroinshape/AHE.git ####################################################### ####################################### # # Lecture ##################################...
/scripts/R/toolbox/optimisation.R
no_license
mcherifa/MIMIC-II
R
false
false
2,312
r
####################################################### # Script models optimisation # # By Menyssa CHERIFA # GITHUB : https://github.com/afroinshape/AHE.git ####################################################### ####################################### # # Lecture ##################################...
#' Grade Level Readability by Grouping Variables #' #' Calculate the Flesch Kincaid, Gunning Fog Index, Coleman Liau, SMOG, #' Automated Readability Index and an average of the 5 readability scores. #' #' @param x A character vector. #' @param grouping.var The grouping variable(s). Takes a single grouping #' variable ...
/R/readability.R
no_license
ctzn-vishal/readability
R
false
false
6,865
r
#' Grade Level Readability by Grouping Variables #' #' Calculate the Flesch Kincaid, Gunning Fog Index, Coleman Liau, SMOG, #' Automated Readability Index and an average of the 5 readability scores. #' #' @param x A character vector. #' @param grouping.var The grouping variable(s). Takes a single grouping #' variable ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DataDesc.R \docType{data} \name{data.benchmark} \alias{data.benchmark} \title{MiRNA Sequencing Benchmark Data} \format{ A data frame with 1033 rows and 54 columns. Here are the examples of the column and row naming rule: \describe{ \item{MX...
/man/data.benchmark.Rd
no_license
LXQin/PRECISION.seq.DATA
R
false
true
874
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DataDesc.R \docType{data} \name{data.benchmark} \alias{data.benchmark} \title{MiRNA Sequencing Benchmark Data} \format{ A data frame with 1033 rows and 54 columns. Here are the examples of the column and row naming rule: \describe{ \item{MX...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fitR-package.r \name{mcmcSeitlTheta2} \alias{mcmcSeitlTheta2} \title{Markov-chain Monte Carlo (MCMC) outputs of a fit of the SEITL model to the influenza outbreak on Tristan da Cunha (long run)} \format{ A list with three elements describing ...
/man/mcmcSeitlTheta2.Rd
permissive
sbfnk/fitR
R
false
true
819
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/fitR-package.r \name{mcmcSeitlTheta2} \alias{mcmcSeitlTheta2} \title{Markov-chain Monte Carlo (MCMC) outputs of a fit of the SEITL model to the influenza outbreak on Tristan da Cunha (long run)} \format{ A list with three elements describing ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.ssra.R \name{plot.ssra} \alias{plot.ssra} \title{Plot ssra} \usage{ \method{plot}{ssra}(x, r.crt = NULL, r.sig = TRUE, d.sq = NULL, m.sig = TRUE, sig.col = TRUE, col = c("red2", "green4", "blue3", "black"), pch = c(1, 2, 0...
/man/plot.ssra.Rd
no_license
cran/SSRA
R
false
true
1,935
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plot.ssra.R \name{plot.ssra} \alias{plot.ssra} \title{Plot ssra} \usage{ \method{plot}{ssra}(x, r.crt = NULL, r.sig = TRUE, d.sq = NULL, m.sig = TRUE, sig.col = TRUE, col = c("red2", "green4", "blue3", "black"), pch = c(1, 2, 0...
### spatial difference - 3 columns by two rows #1. scatter #2. chla averaged across time-series. Maybe draw transition line #3. chla difference #4. blshtrk difference #5. swordifish difference #6. ecocast difference outputDir="/Users/heatherwelch/Dropbox/JPSS/plots_03.05.19/" library(scales) source("/Users/heatherwel...
/code_03.05.19/spatial_differences.R
no_license
HeatherWelch/JPSS_VIIRS
R
false
false
12,679
r
### spatial difference - 3 columns by two rows #1. scatter #2. chla averaged across time-series. Maybe draw transition line #3. chla difference #4. blshtrk difference #5. swordifish difference #6. ecocast difference outputDir="/Users/heatherwelch/Dropbox/JPSS/plots_03.05.19/" library(scales) source("/Users/heatherwel...
library('quanteda') library('tibble') library('dplyr') load("rfiles/d.Rdata") d <- d[d$Name%in%c("Attica", "Auburn", "Brazil", "Gary"),] #tf-idf for the whole corpus #create corpus crps <- corpus(d$doc) #set party docvar docvars(crps, "Party") <- d$winner docvars(crps, "City") <- d$Name #convert to dfm dfm_in3 <- d...
/old/quantedaTFIDF.R
no_license
desmarais-lab/govWebsites
R
false
false
1,316
r
library('quanteda') library('tibble') library('dplyr') load("rfiles/d.Rdata") d <- d[d$Name%in%c("Attica", "Auburn", "Brazil", "Gary"),] #tf-idf for the whole corpus #create corpus crps <- corpus(d$doc) #set party docvar docvars(crps, "Party") <- d$winner docvars(crps, "City") <- d$Name #convert to dfm dfm_in3 <- d...
# Page no 186 n <- 1220 pcap <- 0.18 alpha <- 0.05 std.error <- sqrt(pcap * (1-pcap) / n) std.error relaibility.coeff <- qnorm(1- alpha/2 ,0 ,1) relaibility.coeff confidence.interval <- c(pcap - relaibility.coeff*std.error , pcap + relaibility.coeff*std.error ) round(confidenc...
/Chapter 6/Ex6_5_1.R
no_license
SaksheePhade/R-Programming
R
false
false
334
r
# Page no 186 n <- 1220 pcap <- 0.18 alpha <- 0.05 std.error <- sqrt(pcap * (1-pcap) / n) std.error relaibility.coeff <- qnorm(1- alpha/2 ,0 ,1) relaibility.coeff confidence.interval <- c(pcap - relaibility.coeff*std.error , pcap + relaibility.coeff*std.error ) round(confidenc...
LoadData <- function(dataset="D1"){ if(dataset == "D1") { Dataset <- read.csv("E:/TO_upload/1.Datasets/D1_ALLAML.csv",row.names = NULL) }else if(dataset == "D2") { Dataset <- read.csv("E:/TO_upload/1.Datasets/D2_arcene.csv",row.names = NULL) }else if(dataset == "D3") { Datas...
/LoadData.R
no_license
priya-1211/Feature-Subset-Selection
R
false
false
1,029
r
LoadData <- function(dataset="D1"){ if(dataset == "D1") { Dataset <- read.csv("E:/TO_upload/1.Datasets/D1_ALLAML.csv",row.names = NULL) }else if(dataset == "D2") { Dataset <- read.csv("E:/TO_upload/1.Datasets/D2_arcene.csv",row.names = NULL) }else if(dataset == "D3") { Datas...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/HomeAndConstructionBusiness.R \name{HomeAndConstructionBusiness} \alias{HomeAndConstructionBusiness} \title{HomeAndConstructionBusiness} \usage{ HomeAndConstructionBusiness(id = NULL, priceRange = NULL, paymentAccepted = NULL, openingHours ...
/man/HomeAndConstructionBusiness.Rd
no_license
cboettig/schemar
R
false
true
9,998
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/HomeAndConstructionBusiness.R \name{HomeAndConstructionBusiness} \alias{HomeAndConstructionBusiness} \title{HomeAndConstructionBusiness} \usage{ HomeAndConstructionBusiness(id = NULL, priceRange = NULL, paymentAccepted = NULL, openingHours ...