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
## This module provides a special matrix for which ## the inverse is cached (i.e. only calculated once) ## If new data is assigned to the matrix the cached inverse ## is cleared. ## To create the special matrix call the function makeCacheMatrix. ## To calculate the inverse of the matrix call the function ## cacheSolv...
/cachematrix.R
no_license
jurgensmit/r-programming-assignment
R
false
false
1,814
r
## This module provides a special matrix for which ## the inverse is cached (i.e. only calculated once) ## If new data is assigned to the matrix the cached inverse ## is cleared. ## To create the special matrix call the function makeCacheMatrix. ## To calculate the inverse of the matrix call the function ## cacheSolv...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/banana.R \name{\%>\%} \alias{\%>\%} \title{pipe command to add elements to a banana object} \usage{ x \%>\% y } \description{ Typical usage is: } \details{ network <- Network() %>% FeedforwardEnsemble(TANH, 1) %>% FeedforwardEnsemble(TANH, 10...
/man/grapes-greater-than-grapes.Rd
permissive
brandmaier/bnnlib
R
false
true
408
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/banana.R \name{\%>\%} \alias{\%>\%} \title{pipe command to add elements to a banana object} \usage{ x \%>\% y } \description{ Typical usage is: } \details{ network <- Network() %>% FeedforwardEnsemble(TANH, 1) %>% FeedforwardEnsemble(TANH, 10...
# a function to make a platemap from list platemap <- function(x){ list <- read.csv(x, stringsAsFactors = F, row.names = 1) first <- list$ID[1] last <- list$ID[nrow(list)] list$ID <- as.character(list$ID) platemap <- as.matrix(reshape2::acast(list,list[,1] ~ list[,2])) write.csv(platemap, file = paste("data/", first...
/R/platefromlist.R
no_license
stuartmichelle/Laboratory
R
false
false
374
r
# a function to make a platemap from list platemap <- function(x){ list <- read.csv(x, stringsAsFactors = F, row.names = 1) first <- list$ID[1] last <- list$ID[nrow(list)] list$ID <- as.character(list$ID) platemap <- as.matrix(reshape2::acast(list,list[,1] ~ list[,2])) write.csv(platemap, file = paste("data/", first...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/check.all.settings.R \name{check.bety.version} \alias{check.bety.version} \title{Check BETY Version} \usage{ check.bety.version(dbcon) } \arguments{ \item{settings}{settings file} } \description{ Check BETY Version }
/base/settings/man/check.bety.version.Rd
permissive
araiho/pecan
R
false
true
295
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/check.all.settings.R \name{check.bety.version} \alias{check.bety.version} \title{Check BETY Version} \usage{ check.bety.version(dbcon) } \arguments{ \item{settings}{settings file} } \description{ Check BETY Version }
library(shiny) library(HistData) data(GaltonFamilies) library(dplyr) library(ggplot2) #convert inches to cm gf <- GaltonFamilies gf <- gf %>% mutate(father=father*2.54, mother=mother*2.54, childHeight=childHeight*2.54) #model a linear regression model1 <- lm(childHeight ~ fathe...
/server.R
no_license
ToshiakiKomura/Shiny-Application-and-Reproducible-Pitch
R
false
false
2,155
r
library(shiny) library(HistData) data(GaltonFamilies) library(dplyr) library(ggplot2) #convert inches to cm gf <- GaltonFamilies gf <- gf %>% mutate(father=father*2.54, mother=mother*2.54, childHeight=childHeight*2.54) #model a linear regression model1 <- lm(childHeight ~ fathe...
#This file contains all scripts for immune-related analysis library(estimate) ovEst = estimateScore(input.ds = "./ovRNA4ciber.gct.txt", output.ds = "./ovEst.gct") ovEst = CePa::read.gct("./ovEst.gct") ovEst = t(ovEst) ovEst = as.data.frame(ovEst) ucecEst = estimateScore(input.ds = "./ucecRNA4ciber.gct.txt", output.ds =...
/immune.R
no_license
jixing475/endometrial_vs_ovarian_comparison
R
false
false
11,321
r
#This file contains all scripts for immune-related analysis library(estimate) ovEst = estimateScore(input.ds = "./ovRNA4ciber.gct.txt", output.ds = "./ovEst.gct") ovEst = CePa::read.gct("./ovEst.gct") ovEst = t(ovEst) ovEst = as.data.frame(ovEst) ucecEst = estimateScore(input.ds = "./ucecRNA4ciber.gct.txt", output.ds =...
library(devtools) install_github("boyanangelov/sdmbench") library(sdmbench) library(mlr) library(iml) library(lime) library(dplyr) library(rsample) library(latticeExtra) library(sp) library(ggplot2) library(maptools) # Get and prepare data ---------------------------------------------------- set.seed(42) # this funct...
/interpretable_sdm.r
no_license
boyanangelov/interpretable_sdm
R
false
false
3,639
r
library(devtools) install_github("boyanangelov/sdmbench") library(sdmbench) library(mlr) library(iml) library(lime) library(dplyr) library(rsample) library(latticeExtra) library(sp) library(ggplot2) library(maptools) # Get and prepare data ---------------------------------------------------- set.seed(42) # this funct...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/structure.R \name{post} \alias{post} \title{Make a post sketch} \usage{ post(data = NULL) } \arguments{ \item{data}{An optional \code{\link[tibble:data_frame]{tibble::data_frame()}}.} } \description{ Make a post sketch }
/man/post.Rd
no_license
bedantaguru/p5
R
false
true
299
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/structure.R \name{post} \alias{post} \title{Make a post sketch} \usage{ post(data = NULL) } \arguments{ \item{data}{An optional \code{\link[tibble:data_frame]{tibble::data_frame()}}.} } \description{ Make a post sketch }
require(dplyr, quietly = TRUE, warn.conflicts = FALSE) library(progress, quietly = TRUE) root = file.path("Data") # task_length (in seconds) -- assume task length is 10 seconds, and assumes that 1 row = 1 frame TASK_LENGTH_SEC = 10 TASK_LENGTH = TASK_LENGTH_SEC*60 # Need to be above Data directory when calling this ...
/Cleaning/cleanTasks.R
no_license
gaffordb/NIDA-eyetracking
R
false
false
1,787
r
require(dplyr, quietly = TRUE, warn.conflicts = FALSE) library(progress, quietly = TRUE) root = file.path("Data") # task_length (in seconds) -- assume task length is 10 seconds, and assumes that 1 row = 1 frame TASK_LENGTH_SEC = 10 TASK_LENGTH = TASK_LENGTH_SEC*60 # Need to be above Data directory when calling this ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DSFM.R \name{KernelDensity2D} \alias{KernelDensity2D} \title{Two-Dimensional Kernel Estimation} \usage{ KernelDensity2D(y, I, J, x1, x2, u, U, h) } \arguments{ \item{y}{a list of numeric matrix of the data at each time \eqn{t}.} \item{I}{the...
/man/KernelDensity2D.Rd
no_license
MarcGumowski/dysefamor
R
false
true
1,681
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/DSFM.R \name{KernelDensity2D} \alias{KernelDensity2D} \title{Two-Dimensional Kernel Estimation} \usage{ KernelDensity2D(y, I, J, x1, x2, u, U, h) } \arguments{ \item{y}{a list of numeric matrix of the data at each time \eqn{t}.} \item{I}{the...
# load the packages ------------------------------------------------------------------ library(ComplexUpset) library(tidyverse) library(here) # set new color palette ------------------------------------------------------------- library(paletteer) scale_tableu <- function(){ paletteer::scale_fill_paletteer_d("ggt...
/scripts/upset.R
permissive
bougioukas/overlap_graphs
R
false
false
3,583
r
# load the packages ------------------------------------------------------------------ library(ComplexUpset) library(tidyverse) library(here) # set new color palette ------------------------------------------------------------- library(paletteer) scale_tableu <- function(){ paletteer::scale_fill_paletteer_d("ggt...
post = read.csv("0303.post.csv", header = TRUE, na.strings = ".") post summary(post) post$smoking = factor(post$smoking, levels = c(1,2), labels = c("smok", "nsmok")) post$cancer = factor(post$cancer, levels = c(1,2), ...
/RStat/ch03/03_CrossTable.R
no_license
HongSun2da/R
R
false
false
543
r
post = read.csv("0303.post.csv", header = TRUE, na.strings = ".") post summary(post) post$smoking = factor(post$smoking, levels = c(1,2), labels = c("smok", "nsmok")) post$cancer = factor(post$cancer, levels = c(1,2), ...
#################### #plot 1 #################### filename = "household_power_consumption.txt" df = read.table(filename, sep=";", header = TRUE) df$Date = as.Date(strptime(df$Date,format = "%d/%m/%Y")) df_plot = df[df$Date>="2007-02-01" & df$Date<="2007-02-02",] df_plot$Global_active_power = as.numeric(as.character(d...
/plot1.R
no_license
triangledatascience/ExData_Plotting1
R
false
false
550
r
#################### #plot 1 #################### filename = "household_power_consumption.txt" df = read.table(filename, sep=";", header = TRUE) df$Date = as.Date(strptime(df$Date,format = "%d/%m/%Y")) df_plot = df[df$Date>="2007-02-01" & df$Date<="2007-02-02",] df_plot$Global_active_power = as.numeric(as.character(d...
#' Create a dashboard outputting a single message #' #' @param messageIn message to output #' @param titleIn title of dash #' @param colorIn color in dash #' @param widthIn width #' @return dashboard object for rendering #' @author Todd Morley badDash <- function( messageIn, titleIn = "Error", colorIn = 'aqua', ...
/R/interactiveutils.R
no_license
tmmorley/AlteryxPredictive
R
false
false
2,098
r
#' Create a dashboard outputting a single message #' #' @param messageIn message to output #' @param titleIn title of dash #' @param colorIn color in dash #' @param widthIn width #' @return dashboard object for rendering #' @author Todd Morley badDash <- function( messageIn, titleIn = "Error", colorIn = 'aqua', ...
library(Renext) ### Name: gev2Ren ### Title: Translate a vector of GEV parameters into renewal model ### Aliases: gev2Ren ### ** Examples ## GEV parameters and block duration set.seed(1234) muGev <- rnorm(1); sigmaGev <- rgamma(1, shape = 5) xiGev <- runif(1, min = -0.2, max = 0.3) parGev <- c("loc" = muGev, "scale...
/data/genthat_extracted_code/Renext/examples/gev2Ren.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
2,630
r
library(Renext) ### Name: gev2Ren ### Title: Translate a vector of GEV parameters into renewal model ### Aliases: gev2Ren ### ** Examples ## GEV parameters and block duration set.seed(1234) muGev <- rnorm(1); sigmaGev <- rgamma(1, shape = 5) xiGev <- runif(1, min = -0.2, max = 0.3) parGev <- c("loc" = muGev, "scale...
# Prospective power analysis
/experiment-1/analysis/plan_n.R
no_license
mvuorre/git-example
R
false
false
29
r
# Prospective power analysis
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ddst.forstochdom.test.R \name{ddst.forstochdom.test} \alias{ddst.forstochdom.test} \title{Data Driven Smooth Test for Stochastic Dominance in Two Samples} \usage{ ddst.forstochdom.test( x, y, K.N = floor(log(length(x) + length(y), 2)) -...
/man/ddst.forstochdom.test.Rd
no_license
pbiecek/ddst
R
false
true
2,396
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ddst.forstochdom.test.R \name{ddst.forstochdom.test} \alias{ddst.forstochdom.test} \title{Data Driven Smooth Test for Stochastic Dominance in Two Samples} \usage{ ddst.forstochdom.test( x, y, K.N = floor(log(length(x) + length(y), 2)) -...
### reading image add_dimension <- function(array){ dim(array) <- c(dim(array), 1) return(array) } read_jpg <- function(files, ...){ EBImage::readImage(files, type = "jpg", ...) } set_read_img <- function(img_type = "", band = 2){ read_img <<- if(img_type %in% c("jpg", "JPG", "j...
/R/array_processing.R
no_license
KeachMurakami/pri
R
false
false
13,058
r
### reading image add_dimension <- function(array){ dim(array) <- c(dim(array), 1) return(array) } read_jpg <- function(files, ...){ EBImage::readImage(files, type = "jpg", ...) } set_read_img <- function(img_type = "", band = 2){ read_img <<- if(img_type %in% c("jpg", "JPG", "j...
get_prop_impact <- function(impact_age, lower_pfpr, upper_pfpr){ label1 = paste0("med_", lower_pfpr * 100, "to", upper_pfpr * 100) label2 = paste0("range_", lower_pfpr * 100, "to", upper_pfpr * 100) out <- impact_age %>% filter( age_upper <= 5, pfpr >= lower_pfpr, pfpr <=...
/R/table.R
no_license
mrc-ide/rtss_impact_cea_2021
R
false
false
2,894
r
get_prop_impact <- function(impact_age, lower_pfpr, upper_pfpr){ label1 = paste0("med_", lower_pfpr * 100, "to", upper_pfpr * 100) label2 = paste0("range_", lower_pfpr * 100, "to", upper_pfpr * 100) out <- impact_age %>% filter( age_upper <= 5, pfpr >= lower_pfpr, pfpr <=...
#trying to build poolseq mysql stuff into a shiny app for figures to make it more interactive and such #firstly I've just started with just the RNAseq to try and make it simplier so I can get the syntax for shiny down first #source("https://bioconductor.org/biocLite.R") #biocLite("RDAVIDWebService") # #You will need ...
/ShinyAppForFigures.R
permissive
eddydowle/shiny_pomonella
R
false
false
18,834
r
#trying to build poolseq mysql stuff into a shiny app for figures to make it more interactive and such #firstly I've just started with just the RNAseq to try and make it simplier so I can get the syntax for shiny down first #source("https://bioconductor.org/biocLite.R") #biocLite("RDAVIDWebService") # #You will need ...
# read in the table a1 <- read.table("http://www.stat.ucla.edu/~nchristo/statistics100C/soil.txt", header=TRUE) # n is the number of observations n = 30 # only want to use first 30 rows of data set a <- a1[1:n, ] # apply linear model with lead as our response variable and zinc as predictor variable q <- lm(a$lead ~ a$z...
/hw4_3.R
no_license
bonnieliu2002/Stats100C
R
false
false
1,217
r
# read in the table a1 <- read.table("http://www.stat.ucla.edu/~nchristo/statistics100C/soil.txt", header=TRUE) # n is the number of observations n = 30 # only want to use first 30 rows of data set a <- a1[1:n, ] # apply linear model with lead as our response variable and zinc as predictor variable q <- lm(a$lead ~ a$z...
#! /usr/bin/Rscript --no-save --no-restore library(dplyr) library(utils) library(lattice) library(RColorBrewer) library(ggplot2) library(data.table) setwd("/Users/jingwang/Dropbox/eQTL_paper/data") eqtls=fread("eQTLs.gene.summary.txt",header=T) ###Step1: estimate diversity and tajima's D separately for non-eGenes, e...
/Figure5_eQTLs.boxplot.R
no_license
jingwanglab/PLoSGenet-2017-eQTL-gene
R
false
false
13,151
r
#! /usr/bin/Rscript --no-save --no-restore library(dplyr) library(utils) library(lattice) library(RColorBrewer) library(ggplot2) library(data.table) setwd("/Users/jingwang/Dropbox/eQTL_paper/data") eqtls=fread("eQTLs.gene.summary.txt",header=T) ###Step1: estimate diversity and tajima's D separately for non-eGenes, e...
testlist <- list(latLongs = structure(c(3.34845030589153e-315, 6.52780084416322e-317, 5.91526093083366e-270, 0, 0, 0, 0), .Dim = c(7L, 1L)), r = 0) result <- do.call(MGDrivE::calcCos,testlist) str(result)
/MGDrivE/inst/testfiles/calcCos/libFuzzer_calcCos/calcCos_valgrind_files/1612727887-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
205
r
testlist <- list(latLongs = structure(c(3.34845030589153e-315, 6.52780084416322e-317, 5.91526093083366e-270, 0, 0, 0, 0), .Dim = c(7L, 1L)), r = 0) result <- do.call(MGDrivE::calcCos,testlist) str(result)
library(PEIP) ### Name: chi2cdf ### Title: Chi-Sq CDF ### Aliases: chi2cdf ### Keywords: misc ### ** Examples x= seq(from=0.1, to=0.9, length=20) chi2cdf(x , 3)
/data/genthat_extracted_code/PEIP/examples/chi2cdf.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
169
r
library(PEIP) ### Name: chi2cdf ### Title: Chi-Sq CDF ### Aliases: chi2cdf ### Keywords: misc ### ** Examples x= seq(from=0.1, to=0.9, length=20) chi2cdf(x , 3)
## These functions will create a matrix using passed information ## then calculate inverse of matrix and cache for future reference to ## reduce processor use unless matrix content is changed ## makeCacheMatrix creates a matrix based on arguments passed to function makeCacheMatrix <- function(x = matrix()) { #...
/cachematrix.R
no_license
brettaochs/ProgrammingAssignment2
R
false
false
1,294
r
## These functions will create a matrix using passed information ## then calculate inverse of matrix and cache for future reference to ## reduce processor use unless matrix content is changed ## makeCacheMatrix creates a matrix based on arguments passed to function makeCacheMatrix <- function(x = matrix()) { #...
setwd("~/mbDenoise/reproducibility") n.n = 50 n.w = 100 n.factors = 2 iter = 100 library(vegan) library(MASS) library(reticulate) library(transport) library(edgeR) library(DESeq2) library(mbImpute) library(SAVER) library(stats) library(coin) library(metagenomeSeq) library(glmnet) library(DirichletMultinomial) library(...
/reproducibility/simulation/sim_gllvm1.R
no_license
YanyZeng/mbDenoise
R
false
false
22,286
r
setwd("~/mbDenoise/reproducibility") n.n = 50 n.w = 100 n.factors = 2 iter = 100 library(vegan) library(MASS) library(reticulate) library(transport) library(edgeR) library(DESeq2) library(mbImpute) library(SAVER) library(stats) library(coin) library(metagenomeSeq) library(glmnet) library(DirichletMultinomial) library(...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{TestChronData} \alias{TestChronData} \title{Example chronology file for use with the BchronRSL function.} \format{A data frame with 27 observations on the following 6 variables: \describe{ \item{\code{id}}{ID names...
/man/TestChronData.Rd
no_license
andrewdolman/Bchron
R
false
true
951
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{TestChronData} \alias{TestChronData} \title{Example chronology file for use with the BchronRSL function.} \format{A data frame with 27 observations on the following 6 variables: \describe{ \item{\code{id}}{ID names...
library(fdapace) ### Name: CreateDiagnosticsPlot ### Title: Functional Principal Component Analysis Diagnostics plot ### Aliases: CreateDiagnosticsPlot plot.FPCA ### ** Examples set.seed(1) n <- 20 pts <- seq(0, 1, by=0.05) sampWiener <- Wiener(n, pts) sampWiener <- Sparsify(sampWiener, pts, 10) res1 <- FPCA(sampWi...
/data/genthat_extracted_code/fdapace/examples/plot.FPCA.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
439
r
library(fdapace) ### Name: CreateDiagnosticsPlot ### Title: Functional Principal Component Analysis Diagnostics plot ### Aliases: CreateDiagnosticsPlot plot.FPCA ### ** Examples set.seed(1) n <- 20 pts <- seq(0, 1, by=0.05) sampWiener <- Wiener(n, pts) sampWiener <- Sparsify(sampWiener, pts, 10) res1 <- FPCA(sampWi...
find_labels_only_token <- function(ith_doc) { #ith_doc <- 1 ith_doc_id <- one_line_docs_test$doc_id[ith_doc] test_only_token <- str_detect(one_line_docs_test$only_token[ith_doc], one_line_data_x$one_line_token) class_for_ith_doc <- one_line_data_x[which(test_only_token), ...
/eHealth_task1/find_functions/find_labels_only_token.R
no_license
gmdn/CLEF2020
R
false
false
1,225
r
find_labels_only_token <- function(ith_doc) { #ith_doc <- 1 ith_doc_id <- one_line_docs_test$doc_id[ith_doc] test_only_token <- str_detect(one_line_docs_test$only_token[ith_doc], one_line_data_x$one_line_token) class_for_ith_doc <- one_line_data_x[which(test_only_token), ...
library(glmnet) mydata = read.table("./TrainingSet/Correlation/oesophagus.csv",head=T,sep=",") x = as.matrix(mydata[,4:ncol(mydata)]) y = as.matrix(mydata[,1]) set.seed(123) glm = cv.glmnet(x,y,nfolds=10,type.measure="mse",alpha=0.04,family="gaussian",standardize=FALSE) sink('./Model/EN/Correlation/oesophagus/oesophagu...
/Model/EN/Correlation/oesophagus/oesophagus_018.R
no_license
leon1003/QSMART
R
false
false
373
r
library(glmnet) mydata = read.table("./TrainingSet/Correlation/oesophagus.csv",head=T,sep=",") x = as.matrix(mydata[,4:ncol(mydata)]) y = as.matrix(mydata[,1]) set.seed(123) glm = cv.glmnet(x,y,nfolds=10,type.measure="mse",alpha=0.04,family="gaussian",standardize=FALSE) sink('./Model/EN/Correlation/oesophagus/oesophagu...
R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distributi...
/foreign.rCharts.R
no_license
codeqwerty/study_R
R
false
false
7,823
r
R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet" Copyright (C) 2014 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 (64-bit) R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distributi...
#--- #title: "Distrito Capital. Dinamica. Exploraciones" #output: html_notebook #--- 1. Cambie el nombre de Distrito Capital en el titulo (title). Coloque la entidad que le corresponde a usted 2. Si usted tiene sus datos completos en un environment, súbalo a R. Modifique y descomente el codigo. **No olvide modificar...
/AsignaciondinamicaNotebook2.R
no_license
bittlejuice/distrito-capital
R
false
false
9,007
r
#--- #title: "Distrito Capital. Dinamica. Exploraciones" #output: html_notebook #--- 1. Cambie el nombre de Distrito Capital en el titulo (title). Coloque la entidad que le corresponde a usted 2. Si usted tiene sus datos completos en un environment, súbalo a R. Modifique y descomente el codigo. **No olvide modificar...
##PACKAGES ##Packages #install.packages("tidyr","stringr","comprehenr") ##LIBRARY library(dplyr) library(tidyr) library(stringr) library(comprehenr) library(caret) library(MASS) library(caTools) library(randomForest) library(ggplot2) library(GGally) library(car) library(rpart) library(rattle) #Functions numextrac...
/src/R/cleanup.R
no_license
PhilippeFerreiraDeSousa/ICOSuccessPrediction
R
false
false
8,699
r
##PACKAGES ##Packages #install.packages("tidyr","stringr","comprehenr") ##LIBRARY library(dplyr) library(tidyr) library(stringr) library(comprehenr) library(caret) library(MASS) library(caTools) library(randomForest) library(ggplot2) library(GGally) library(car) library(rpart) library(rattle) #Functions numextrac...
library(matrixpls) ### Name: estimator ### Title: Parameter estimation of a model matrix ### Aliases: estimator estimator.ols estimator.tsls estimator.plscLoadings ### estimator.efaLoadings estimator.cfaLoadings estimator.plsreg ### ** Examples # Run the education example from the book # Sanchez, G. (2013) PLS P...
/data/genthat_extracted_code/matrixpls/examples/estimator.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
3,094
r
library(matrixpls) ### Name: estimator ### Title: Parameter estimation of a model matrix ### Aliases: estimator estimator.ols estimator.tsls estimator.plscLoadings ### estimator.efaLoadings estimator.cfaLoadings estimator.plsreg ### ** Examples # Run the education example from the book # Sanchez, G. (2013) PLS P...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rasters_to_dataframe.R \name{rasters_to_dataframe} \alias{rasters_to_dataframe} \title{Convert rasters to a data.frame} \usage{ rasters_to_dataframe(...) } \arguments{ \item{...}{\code{raster} objects.} } \value{ A \code{data.frame} } \descri...
/man/rasters_to_dataframe.Rd
no_license
natedemaagd/LandCover
R
false
true
1,856
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/rasters_to_dataframe.R \name{rasters_to_dataframe} \alias{rasters_to_dataframe} \title{Convert rasters to a data.frame} \usage{ rasters_to_dataframe(...) } \arguments{ \item{...}{\code{raster} objects.} } \value{ A \code{data.frame} } \descri...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/9-global.R \name{promptCheck} \alias{promptCheck} \title{Feature Check} \usage{ promptCheck(N) } \arguments{ \item{N}{An integer. The number of features.} } \description{ Prompts user when performing an operation on an unusually large set of...
/man/promptCheck.Rd
no_license
tpq/propr
R
false
true
356
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/9-global.R \name{promptCheck} \alias{promptCheck} \title{Feature Check} \usage{ promptCheck(N) } \arguments{ \item{N}{An integer. The number of features.} } \description{ Prompts user when performing an operation on an unusually large set of...
#Nombre: Zavaleta Bueno Romel 20120236F #Respuesta6: Conjuto de datos 'iris' #¿Como esta estrucutrado iris? help("iris") #Pedemos leer la informacion con la 'ayuda' , # Es un data frame # Con 150 casos(filas) y 5 variables(columnas) llamadas : #Sepal.Length, Sepal.Width, Petal.Length, Petal.Width, y Species. #res...
/Practica3/Ejercicio6/Ejercicio6.R
no_license
Zavaleta-Bueno/Curso-R
R
false
false
541
r
#Nombre: Zavaleta Bueno Romel 20120236F #Respuesta6: Conjuto de datos 'iris' #¿Como esta estrucutrado iris? help("iris") #Pedemos leer la informacion con la 'ayuda' , # Es un data frame # Con 150 casos(filas) y 5 variables(columnas) llamadas : #Sepal.Length, Sepal.Width, Petal.Length, Petal.Width, y Species. #res...
plot4 <- function() { #importing data householdata <- read.csv("household_power_consumption.txt", sep=";",stringsAsFactors=FALSE) cls <- names(householdata) coercedata <- householdata[, cls[3:9]] #coercioning and handling missing values (?) ?--> NA householdata[,cls[3:9]] = apply(coercedata, 2, function(x) ...
/plot4.R
no_license
IruneAI/ExData_Plotting1
R
false
false
2,123
r
plot4 <- function() { #importing data householdata <- read.csv("household_power_consumption.txt", sep=";",stringsAsFactors=FALSE) cls <- names(householdata) coercedata <- householdata[, cls[3:9]] #coercioning and handling missing values (?) ?--> NA householdata[,cls[3:9]] = apply(coercedata, 2, function(x) ...
salary<- c(40000,50000,60000) names(salary)<-c('Mazed','Mizan','Mamun') salary salary['Mazed'] salary<-NULL salary x<- c(1,2,3,4,5) y<- c(FALSE,TRUE,TRUE,FALSE,TRUE) x[y] a<-c(10,20,30,40,50,60,70,80,90) a[a>40] a[a<40] a[a==50] a[a>40&a<70] a[a>40|a<70] a[a!=50] which(a==90) which(a>50) 40 %in% a 86 %in% a all(a>0...
/Day03/Session03.R
no_license
isrt09/Statistical_Analysis_with_R
R
false
false
447
r
salary<- c(40000,50000,60000) names(salary)<-c('Mazed','Mizan','Mamun') salary salary['Mazed'] salary<-NULL salary x<- c(1,2,3,4,5) y<- c(FALSE,TRUE,TRUE,FALSE,TRUE) x[y] a<-c(10,20,30,40,50,60,70,80,90) a[a>40] a[a<40] a[a==50] a[a>40&a<70] a[a>40|a<70] a[a!=50] which(a==90) which(a>50) 40 %in% a 86 %in% a all(a>0...
require(sde) # ex3.13.R set.seed(123) d <- expression(10 - x) s <- expression(sqrt(x)) x0 <- 10 sde.sim(X0=x0,drift=d, sigma=s,N=1500,delta=0.1) -> X d <- expression(alpha + theta*x) s <- expression(x^gamma) h <- list(expression(x), expression(x^2), expression(x^2)) simple.ef2(X, d, s, h, lower=c(0,-Inf,0), upper=c...
/SIofSDE/r/ex3.13.R
no_license
KatsuyaITO/NSofSDE
R
false
false
539
r
require(sde) # ex3.13.R set.seed(123) d <- expression(10 - x) s <- expression(sqrt(x)) x0 <- 10 sde.sim(X0=x0,drift=d, sigma=s,N=1500,delta=0.1) -> X d <- expression(alpha + theta*x) s <- expression(x^gamma) h <- list(expression(x), expression(x^2), expression(x^2)) simple.ef2(X, d, s, h, lower=c(0,-Inf,0), upper=c...
## The two functions below combine to produce and cache the inverse of a matrix ## (i.e. the corresponding matrix that, when multiplied by the original matrix, ## will produce a reduced row echelon form matrix). ## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function...
/cachematrix.R
no_license
timgator/ProgrammingAssignment2
R
false
false
1,175
r
## The two functions below combine to produce and cache the inverse of a matrix ## (i.e. the corresponding matrix that, when multiplied by the original matrix, ## will produce a reduced row echelon form matrix). ## This function creates a special "matrix" object that can cache its inverse. makeCacheMatrix <- function...
\name{weightsIMD} \alias{weightsIMD} \title{ Estimation of observation-specific weights with intermittent missing data } \description{ This function provides stabilized weights for incomplete longitudinal data selected by death. The procedure allows intermittent missing data and assumes a missing at random (MAR) mechan...
/man/weightsIMD.Rd
no_license
VivianePhilipps/weightQuant
R
false
false
3,439
rd
\name{weightsIMD} \alias{weightsIMD} \title{ Estimation of observation-specific weights with intermittent missing data } \description{ This function provides stabilized weights for incomplete longitudinal data selected by death. The procedure allows intermittent missing data and assumes a missing at random (MAR) mechan...
modelInfo <- list(label = "CART", library = "rpart", type = c("Regression", "Classification"), parameters = data.frame(parameter = c('cp'), class = c("numeric"), label = c("Complexit...
/models/files/rpart.R
no_license
bleutner/caret
R
false
false
7,888
r
modelInfo <- list(label = "CART", library = "rpart", type = c("Regression", "Classification"), parameters = data.frame(parameter = c('cp'), class = c("numeric"), label = c("Complexit...
#This page # 1. calls the different R files needed # 2. calls java script for the information icons # 3. calls functions for plotting and data tables #source reactive expressions and other code source("external/explorer/explorerSourceFiles/ex.reactives.R", local = TRUE) source("external/explorer/explorerSourceFil...
/NetRevExplorer/external/explorer/explorer.R
no_license
nwfsc-fram/FishEyeApp
R
false
false
16,541
r
#This page # 1. calls the different R files needed # 2. calls java script for the information icons # 3. calls functions for plotting and data tables #source reactive expressions and other code source("external/explorer/explorerSourceFiles/ex.reactives.R", local = TRUE) source("external/explorer/explorerSourceFil...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gafs.R \name{gafs.default} \alias{gafs} \alias{gafs.default} \title{Genetic algorithm feature selection} \usage{ \method{gafs}{default}(x, y, iters = 10, popSize = 50, pcrossover = 0.8, pmutation = 0.1, elite = 0, suggestions = NULL, differ...
/pkg/caret/man/gafs.default.Rd
no_license
mutual-ai/caret
R
false
true
6,536
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gafs.R \name{gafs.default} \alias{gafs} \alias{gafs.default} \title{Genetic algorithm feature selection} \usage{ \method{gafs}{default}(x, y, iters = 10, popSize = 50, pcrossover = 0.8, pmutation = 0.1, elite = 0, suggestions = NULL, differ...
# CCG ARRs are booked into NSARR1 # CNE ARRs are booked into CNPISOAN, usually with a comment: ARR # # See PM:::libMarkARRs.R for all the details # # ########################################################################## # .decay_fwdARR <- function(fwdARR, ratio=0.90, baseYear=2012) { fwd0 <- subset(fwdARR, year...
/R Extension/RMG/Energy/Trading/Congestion/NEPOOL/Marks/ARR/update_ARR_marks.R
no_license
uhasan1/QLExtension-backup
R
false
false
11,655
r
# CCG ARRs are booked into NSARR1 # CNE ARRs are booked into CNPISOAN, usually with a comment: ARR # # See PM:::libMarkARRs.R for all the details # # ########################################################################## # .decay_fwdARR <- function(fwdARR, ratio=0.90, baseYear=2012) { fwd0 <- subset(fwdARR, year...
### R Script create_sqlite_db.R must be run prior to running app.R library(dplyr) library(tidyr) library(ggplot2) library(lubridate) library(ggthemes) library(ggmap) library(RSQLite) source("helper.R") options(scipen = 2000) server <- function(input, output) { map_react <- reactive(#input$button_map, ...
/shiny_app/app.R
no_license
houstondatavis/data-jam-april-2016
R
false
false
4,889
r
### R Script create_sqlite_db.R must be run prior to running app.R library(dplyr) library(tidyr) library(ggplot2) library(lubridate) library(ggthemes) library(ggmap) library(RSQLite) source("helper.R") options(scipen = 2000) server <- function(input, output) { map_react <- reactive(#input$button_map, ...
\name{pBurrXII} \alias{pBurrXII} \alias{dBurrXII} \alias{qBurrXII} %- Also NEED an '\alias' for EACH other topic documented here. \title{ The Extended Burr type XII distribution } \description{ Density, distribution function and quantile function for the Extended (three-parameter) Burr type XII with scale parameter \c...
/man/BurrXII.Rd
no_license
cran/hydroApps
R
false
false
2,311
rd
\name{pBurrXII} \alias{pBurrXII} \alias{dBurrXII} \alias{qBurrXII} %- Also NEED an '\alias' for EACH other topic documented here. \title{ The Extended Burr type XII distribution } \description{ Density, distribution function and quantile function for the Extended (three-parameter) Burr type XII with scale parameter \c...
library(keras) library(readr) library(purrr) library(dplyr) library(reticulate) library(cloudml) library(tfruns) library(embed) library(ROCR) library(OutlierDetection) source("src/TF_BugFix.R") use_condaenv('r-tensorflow') tensorflow::use_session_with_seed(100) train <- read_csv("train.csv") Y <- data.frame(SWEETORSOU...
/src/Stuff_that_isnt_working/NN2.R
no_license
ClemenceKiehl/Prediction-of-odour-based-on-molecular-property
R
false
false
3,014
r
library(keras) library(readr) library(purrr) library(dplyr) library(reticulate) library(cloudml) library(tfruns) library(embed) library(ROCR) library(OutlierDetection) source("src/TF_BugFix.R") use_condaenv('r-tensorflow') tensorflow::use_session_with_seed(100) train <- read_csv("train.csv") Y <- data.frame(SWEETORSOU...
testlist <- list(A = structure(c(2.17117933447126e+205, 9.53818252179844e+295 ), .Dim = 1:2), B = structure(c(2.19477802979261e+294, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 7L))) result <- do.call(multivariance:::match_rows,testlist) str(resu...
/multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613125584-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
323
r
testlist <- list(A = structure(c(2.17117933447126e+205, 9.53818252179844e+295 ), .Dim = 1:2), B = structure(c(2.19477802979261e+294, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(5L, 7L))) result <- do.call(multivariance:::match_rows,testlist) str(resu...
\name{model.matrix.etregrob} \alias{model.matrix.etregrob} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Design Matrix of Endogenous Treatment Model } \description{ Create design matrix of endogenous treatment model } \usage{ \method{model.matrix}{etregrob}(object, part = "outcome", ....
/man/model.matrix.etregrob.Rd
no_license
cran/ssmrob
R
false
false
2,015
rd
\name{model.matrix.etregrob} \alias{model.matrix.etregrob} %- Also NEED an '\alias' for EACH other topic documented here. \title{ Design Matrix of Endogenous Treatment Model } \description{ Create design matrix of endogenous treatment model } \usage{ \method{model.matrix}{etregrob}(object, part = "outcome", ....
# ECON 211 Final Project library(dplyr) # HPRP Data: df <- read.csv("HPRP_Data.csv", header = TRUE, stringsAsFactors = FALSE) df = df %>% mutate(total_beds = emergency_shelter_beds + supportive_housing_beds + transitional_housing_beds) df = df %>% mutate(frac_unsheltered = unsheltered_ct/total_homeless, f...
/econ211_final_project.R
no_license
jmw1040/econ21130-w18
R
false
false
933
r
# ECON 211 Final Project library(dplyr) # HPRP Data: df <- read.csv("HPRP_Data.csv", header = TRUE, stringsAsFactors = FALSE) df = df %>% mutate(total_beds = emergency_shelter_beds + supportive_housing_beds + transitional_housing_beds) df = df %>% mutate(frac_unsheltered = unsheltered_ct/total_homeless, f...
# This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ library(ggplot2) library(mpb) library(kobe) library(plyr) library(reshape) bd=mpb:::sim(harvest=FLQuant(seq(0,1.5,len...
/advice_framework/R/backUp/fwd/hcr-app.R
no_license
laurieKell/tutorials
R
false
false
3,637
r
# This is a Shiny web application. You can run the application by clicking # the 'Run App' button above. # # Find out more about building applications with Shiny here: # # http://shiny.rstudio.com/ library(ggplot2) library(mpb) library(kobe) library(plyr) library(reshape) bd=mpb:::sim(harvest=FLQuant(seq(0,1.5,len...
#' @slot LPPrimalSolution status of primal basic solution.
/CoopGame/man-roxygen/slot/LPPrimalSolution.R
no_license
anwanjohannes/CoopGame
R
false
false
60
r
#' @slot LPPrimalSolution status of primal basic solution.
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{TDMaize} \alias{TDMaize} \title{Field data for a maize experiment in Tlaltizapan, Mexico} \format{ A TD object, a list containing 8 data.frames, each with the following columns: \describe{ \item{trial}{trial, a com...
/man/TDMaize.Rd
no_license
ntduc11/statgenSTA
R
false
true
2,152
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{TDMaize} \alias{TDMaize} \title{Field data for a maize experiment in Tlaltizapan, Mexico} \format{ A TD object, a list containing 8 data.frames, each with the following columns: \describe{ \item{trial}{trial, a com...
source( "masternegloglikereduced1.R" ) source("eudicottree.R" ) library( "expm" ) source( "Qmatrixwoodherb3.R" ) source("Pruning2.R") bichrom.dataset<-read.table( "eudicotvals.txt",header=FALSE,sep=",",stringsAsFactors=FALSE) last.state=50 uniform.samples<-read.csv("sample389.csv",header=FALSE) a<- as.numeric(t(unif...
/Reduced model optimizations/explorelikereduced389.R
no_license
roszenil/Bichromdryad
R
false
false
750
r
source( "masternegloglikereduced1.R" ) source("eudicottree.R" ) library( "expm" ) source( "Qmatrixwoodherb3.R" ) source("Pruning2.R") bichrom.dataset<-read.table( "eudicotvals.txt",header=FALSE,sep=",",stringsAsFactors=FALSE) last.state=50 uniform.samples<-read.csv("sample389.csv",header=FALSE) a<- as.numeric(t(unif...
\name{cem} \alias{cem} \title{Coarsened Exact Matching} \description{ Implementation of Coarsened Exact Matching } \usage{ cem(treatment=NULL, data = NULL, datalist=NULL, cutpoints = NULL, grouping = NULL, drop=NULL, eval.imbalance = FALSE, k2k=FALSE, method=NULL, mpower=2, L1.breaks = NULL, L1.grouping = NULL...
/man/cem.Rd
no_license
jjchern/cem
R
false
false
9,211
rd
\name{cem} \alias{cem} \title{Coarsened Exact Matching} \description{ Implementation of Coarsened Exact Matching } \usage{ cem(treatment=NULL, data = NULL, datalist=NULL, cutpoints = NULL, grouping = NULL, drop=NULL, eval.imbalance = FALSE, k2k=FALSE, method=NULL, mpower=2, L1.breaks = NULL, L1.grouping = NULL...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/spatial_visuals.R \name{dimCellPlot2D} \alias{dimCellPlot2D} \title{dimCellPlot2D} \usage{ dimCellPlot2D( gobject, dim_reduction_to_use = "umap", dim_reduction_name = "umap", dim1_to_use = 1, dim2_to_use = 2, spat_enr_names = NULL...
/doc/dimCellPlot2D.Rd
no_license
bernard2012/spatialgiotto_web
R
false
true
3,935
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/spatial_visuals.R \name{dimCellPlot2D} \alias{dimCellPlot2D} \title{dimCellPlot2D} \usage{ dimCellPlot2D( gobject, dim_reduction_to_use = "umap", dim_reduction_name = "umap", dim1_to_use = 1, dim2_to_use = 2, spat_enr_names = NULL...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bnwidget.R \name{bnwidget} \alias{bnwidget} \title{Bayesian Network visuallization.} \usage{ bnwidget(nodes, links, cpds, linkDistance = 150, opacity = 0.75, charge = -50, width = NULL, height = NULL) } \description{ bnwidget is an htmlwidg...
/man/bnwidget.Rd
permissive
inigobermejo/bnwidget
R
false
true
360
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/bnwidget.R \name{bnwidget} \alias{bnwidget} \title{Bayesian Network visuallization.} \usage{ bnwidget(nodes, links, cpds, linkDistance = 150, opacity = 0.75, charge = -50, width = NULL, height = NULL) } \description{ bnwidget is an htmlwidg...
#read all data allPCData <- read.csv("./household_power_consumption.txt",header = TRUE,sep=";", stringsAsFactors = FALSE,na.strings = "?") #convert Date column to Date object allPCData$Date <- as.Date(allPCData$Date,"%d/%m/%Y") #select only a subset of rows from the big data set subPCData <- subset(allPCData, Date >= "...
/plot4.R
no_license
jolna/ExData_Plotting1
R
false
false
1,358
r
#read all data allPCData <- read.csv("./household_power_consumption.txt",header = TRUE,sep=";", stringsAsFactors = FALSE,na.strings = "?") #convert Date column to Date object allPCData$Date <- as.Date(allPCData$Date,"%d/%m/%Y") #select only a subset of rows from the big data set subPCData <- subset(allPCData, Date >= "...
#' Parse R Expressions #' @param x A character string. The text to parse. parse0 <- function(x) parse(text = x)[[1]] #' Deparse R Expressions #' @param expr any R expression. deparse_r <- function(expr) deparse(expr, width.cutoff = 500L) #' Expression Deparsing for JS #' @param ast A language object. deparse_js <- fu...
/R/deparse.R
permissive
nischalshrestha/sketch
R
false
false
9,596
r
#' Parse R Expressions #' @param x A character string. The text to parse. parse0 <- function(x) parse(text = x)[[1]] #' Deparse R Expressions #' @param expr any R expression. deparse_r <- function(expr) deparse(expr, width.cutoff = 500L) #' Expression Deparsing for JS #' @param ast A language object. deparse_js <- fu...
# Winners vs. Losers Script ## Activate required Libraries library(tensorflow) library(keras) library(readxl) library(keras) library(stringr) library(DescTools) library(purrr) library(dplyr) library(tidyr) ########. Winners ####### load("winnerDat.Rdata") winAct <- as.numeric(winnerDat$act) # get actions column a...
/winLosePrepTrain.R
no_license
grahamdavies15/Stats-Rugby-Project
R
false
false
7,558
r
# Winners vs. Losers Script ## Activate required Libraries library(tensorflow) library(keras) library(readxl) library(keras) library(stringr) library(DescTools) library(purrr) library(dplyr) library(tidyr) ########. Winners ####### load("winnerDat.Rdata") winAct <- as.numeric(winnerDat$act) # get actions column a...
## These two functions can be used to create a special object that stores a matrix and caches its inverse. ## This function creates a list that contains a function that set the values of a matrix, get the values, set the inverse of ## the matrix and get the inverse of the matrix makeCacheMatrix <- function(x = matrix...
/cachematrix.R
no_license
paderifabio/R-cache-matrix
R
false
false
1,130
r
## These two functions can be used to create a special object that stores a matrix and caches its inverse. ## This function creates a list that contains a function that set the values of a matrix, get the values, set the inverse of ## the matrix and get the inverse of the matrix makeCacheMatrix <- function(x = matrix...
context("genome_join") library(dplyr) x1 <- tibble(id = 1:4, chromosome = c("chr1", "chr1", "chr2", "chr2"), start = c(100, 200, 300, 400), end = c(150, 250, 350, 450)) x2 <- tibble(id = 1:4, chromosome = c("chr1", "chr2", "chr2", "chr1"), start = c(14...
/tests/testthat/test_genome_join.R
no_license
xmorgan/fuzzyjoin
R
false
false
1,828
r
context("genome_join") library(dplyr) x1 <- tibble(id = 1:4, chromosome = c("chr1", "chr1", "chr2", "chr2"), start = c(100, 200, 300, 400), end = c(150, 250, 350, 450)) x2 <- tibble(id = 1:4, chromosome = c("chr1", "chr2", "chr2", "chr1"), start = c(14...
\name{h2o.ensemble} \alias{h2o.ensemble} \title{ H2O Ensemble } \description{ This function creates a "Super Learner" (stacking) ensemble using the H2O base learning algorithms specified by the user. } \usage{ h2o.ensemble(x, y, training_frame, model_id = NULL, validation_frame = NULL, family = c("AUTO", "binomia...
/h2o-r/ensemble/h2oEnsemble-package/man/h2o.ensemble.Rd
permissive
wesavetheworld/h2o-3
R
false
false
9,213
rd
\name{h2o.ensemble} \alias{h2o.ensemble} \title{ H2O Ensemble } \description{ This function creates a "Super Learner" (stacking) ensemble using the H2O base learning algorithms specified by the user. } \usage{ h2o.ensemble(x, y, training_frame, model_id = NULL, validation_frame = NULL, family = c("AUTO", "binomia...
Kernel <- setRefClass("Kernel", fields = c("connection_info", "zmqctx", "sockets", "executor"), methods= list( hb_reply = function() { data <- receive.socket(sockets$hb, unserialize = FALSE) send.socket(sockets$hb, data, serialize = FALSE) }, #'<brief desc> #' #'<full descripti...
/R/kernel.r
permissive
hihihippp/IR_kernel
R
false
false
5,549
r
Kernel <- setRefClass("Kernel", fields = c("connection_info", "zmqctx", "sockets", "executor"), methods= list( hb_reply = function() { data <- receive.socket(sockets$hb, unserialize = FALSE) send.socket(sockets$hb, data, serialize = FALSE) }, #'<brief desc> #' #'<full descripti...
# Example usage: # > x <- matrix(rnorm(16), nrow = 4) // Create a matrix x # > cx <- makeCacheMatrix(x) // Create our special matrix # > cx$get() // Return the matrix # > cacheSolve(cx) // Return the inve...
/cachematrix.R
no_license
jrichards3/ProgrammingAssignment2
R
false
false
1,731
r
# Example usage: # > x <- matrix(rnorm(16), nrow = 4) // Create a matrix x # > cx <- makeCacheMatrix(x) // Create our special matrix # > cx$get() // Return the matrix # > cacheSolve(cx) // Return the inve...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/AllGenerics.R \name{eval.stats.samples} \alias{eval.stats.samples} \alias{eval.stats.samples<-} \title{Get and set \code{eval.stats.samples} slot in a \code{DigitalDLSorterDNN} object.} \usage{ eval.stats.samples(object, metrics = "All") eva...
/man/eval.stats.samples.Rd
no_license
diegommcc/digitalDLSorteR_old
R
false
true
729
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/AllGenerics.R \name{eval.stats.samples} \alias{eval.stats.samples} \alias{eval.stats.samples<-} \title{Get and set \code{eval.stats.samples} slot in a \code{DigitalDLSorterDNN} object.} \usage{ eval.stats.samples(object, metrics = "All") eva...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/psytools_task_derivations.R \name{deriveSDQ} \alias{deriveSDQ} \title{Generate summary for SDQ questionnaire} \usage{ deriveSDQ(df) } \arguments{ \item{df}{data frame containing long form SDQ data} } \value{ wide form of SDQ data with summary...
/man/deriveSDQ.Rd
no_license
delosis/psytools
R
false
true
618
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/psytools_task_derivations.R \name{deriveSDQ} \alias{deriveSDQ} \title{Generate summary for SDQ questionnaire} \usage{ deriveSDQ(df) } \arguments{ \item{df}{data frame containing long form SDQ data} } \value{ wide form of SDQ data with summary...
#Exploratory Data Analysis: week 1, plot 1: global active power, histogram # examine how household energy usage varies # using data over two dates 2007-02-01 and 2007-02-02 #loads data from the working directory #create a data frame data = read.table('household_power_consumption.txt', sep=";", header = TRUE) #conver...
/plot1.R
no_license
do-jo/ExData_Plotting1
R
false
false
872
r
#Exploratory Data Analysis: week 1, plot 1: global active power, histogram # examine how household energy usage varies # using data over two dates 2007-02-01 and 2007-02-02 #loads data from the working directory #create a data frame data = read.table('household_power_consumption.txt', sep=";", header = TRUE) #conver...
### ### Claire Kelling ### Plotting ACS and Crime data by BG ### ### Created 11/03/17 for plotting of some acs and crime variables ### library(acs) library(tigris) library(dplyr) library(sp) library(ggplot2) #load crime data and acs data, and block group shape files load(file = "C:/Users/ckell/OneDrive/Penn State/Re...
/src/05_plotting_acs_and_crime.R
no_license
ckelling/bdss_igert_project
R
false
false
3,436
r
### ### Claire Kelling ### Plotting ACS and Crime data by BG ### ### Created 11/03/17 for plotting of some acs and crime variables ### library(acs) library(tigris) library(dplyr) library(sp) library(ggplot2) #load crime data and acs data, and block group shape files load(file = "C:/Users/ckell/OneDrive/Penn State/Re...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Airline.R \name{Airline} \alias{Airline} \title{Airline} \usage{ Airline(id = NULL, iataCode = NULL, boardingPolicy = NULL, vatID = NULL, telephone = NULL, taxID = NULL, subOrganization = NULL, sponsor = NULL, serviceArea = NULL, seeks = ...
/man/Airline.Rd
no_license
cboettig/schemar
R
false
true
11,465
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Airline.R \name{Airline} \alias{Airline} \title{Airline} \usage{ Airline(id = NULL, iataCode = NULL, boardingPolicy = NULL, vatID = NULL, telephone = NULL, taxID = NULL, subOrganization = NULL, sponsor = NULL, serviceArea = NULL, seeks = ...
# Download data file #**************************************************** #fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" #download.file(fileurl, dest="./data/household_power_consumption.zip") hpc_data <- read.table(text = grep("^[1,2]/2/2007", readLines("./data/hou...
/plot2.R
no_license
nareshdh/ExData_Plotting1
R
false
false
825
r
# Download data file #**************************************************** #fileUrl <- "https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" #download.file(fileurl, dest="./data/household_power_consumption.zip") hpc_data <- read.table(text = grep("^[1,2]/2/2007", readLines("./data/hou...
# difference is largely orthogonal from effect however measured # the majority of diff FP are expressed at low levels # this takes about 2 hours on a mobile i9 with 32 G of RAM # data saved as data/output.summary.ty.Rda # change this to run the simulation if wanted # depends on TP-FP-ty-setup.r for datasets run.this =...
/peerj/code/TP-FP-summary-parallel-ty.r
permissive
ggloor/effect
R
false
false
2,960
r
# difference is largely orthogonal from effect however measured # the majority of diff FP are expressed at low levels # this takes about 2 hours on a mobile i9 with 32 G of RAM # data saved as data/output.summary.ty.Rda # change this to run the simulation if wanted # depends on TP-FP-ty-setup.r for datasets run.this =...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tempnetwork-getter.R \name{tGvN.tempnetwork} \alias{tGvN.tempnetwork} \title{Using the tVertex name and the point name this function computes the name of the corresponding vertex in the tempGraph representation of the given 'tempnetwork'-obje...
/man/tGvN.tempnetwork.Rd
no_license
KonstantinRK/tempnetwork
R
false
true
1,150
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tempnetwork-getter.R \name{tGvN.tempnetwork} \alias{tGvN.tempnetwork} \title{Using the tVertex name and the point name this function computes the name of the corresponding vertex in the tempGraph representation of the given 'tempnetwork'-obje...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/extdata.R \name{tanner_ht_vel} \alias{tanner_ht_vel} \title{Tanner Growth Velocity Table} \description{ Part of default CDC-derived tables } \details{ Contains velocities for growth pre-calculated by CDC } \section{tanner_ht_vel.csv.gz}{ Us...
/man/tanner_ht_vel.Rd
permissive
carriedaymont/growthcleanr
R
false
true
359
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/extdata.R \name{tanner_ht_vel} \alias{tanner_ht_vel} \title{Tanner Growth Velocity Table} \description{ Part of default CDC-derived tables } \details{ Contains velocities for growth pre-calculated by CDC } \section{tanner_ht_vel.csv.gz}{ Us...
#' Calculate the normalized rich club coefficient #' #' This function will (optionally) generate a number of random graphs, calculate #' their rich club coefficients (\eqn{\phi}), and return \eqn{\phi} of the graph #' of interest divided by the mean across random graphs, i.e. \eqn{\phi_{norm}}. #' If random graphs have...
/R/rich_club_norm.R
no_license
nagyistge/brainGraph
R
false
false
2,550
r
#' Calculate the normalized rich club coefficient #' #' This function will (optionally) generate a number of random graphs, calculate #' their rich club coefficients (\eqn{\phi}), and return \eqn{\phi} of the graph #' of interest divided by the mean across random graphs, i.e. \eqn{\phi_{norm}}. #' If random graphs have...
#' @title Individual.backtest #' @description It computes the percentile of the observed data vs the distribution generated for every AY/DY combination #' @param TrianglesBackup Triangles sampled by the model. #' @param Validation.T Upper and lower triangle. Needed to validate the model. #' @return Percentile of the ob...
/R/Individual.backtest.R
no_license
EduardoRamosP/MackNet
R
false
false
867
r
#' @title Individual.backtest #' @description It computes the percentile of the observed data vs the distribution generated for every AY/DY combination #' @param TrianglesBackup Triangles sampled by the model. #' @param Validation.T Upper and lower triangle. Needed to validate the model. #' @return Percentile of the ob...
testlist <- list(id = 0L, x = numeric(0), y = c(0, 0, NaN, 5.41112585532387e-312, 5.4323092248711e-312, 6.953355807835e-310, 0, 8.88938820922412e-310, 2.25613758088749e-305, 8.28900603914078e-317, 1.38523891094954e-309, 4.94065645841247e-324, -5.4874582315418e+303, 1.80107066510499e-255, 1.23234258452433e-303, 9.60...
/ggforce/inst/testfiles/enclose_points/libFuzzer_enclose_points/enclose_points_valgrind_files/1610030726-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
1,360
r
testlist <- list(id = 0L, x = numeric(0), y = c(0, 0, NaN, 5.41112585532387e-312, 5.4323092248711e-312, 6.953355807835e-310, 0, 8.88938820922412e-310, 2.25613758088749e-305, 8.28900603914078e-317, 1.38523891094954e-309, 4.94065645841247e-324, -5.4874582315418e+303, 1.80107066510499e-255, 1.23234258452433e-303, 9.60...
source("incl/start.R") supportedStrategies <- future:::supportedStrategies message("*** Futures - labels ...") strategies <- supportedStrategies() strategies <- setdiff(strategies, "multiprocess") strategies <- c("batchjobs_local") ## CRAN processing times: ## On Windows 32-bit, don't run these tests if (!fullTest &...
/data/genthat_extracted_code/future.BatchJobs/tests/future,labels.R
no_license
surayaaramli/typeRrh
R
false
false
1,163
r
source("incl/start.R") supportedStrategies <- future:::supportedStrategies message("*** Futures - labels ...") strategies <- supportedStrategies() strategies <- setdiff(strategies, "multiprocess") strategies <- c("batchjobs_local") ## CRAN processing times: ## On Windows 32-bit, don't run these tests if (!fullTest &...
/run_oryza.R
no_license
CIAT-DAPA/usaid_forecast_rice
R
false
false
2,378
r
\name{popMisfitMACS} \alias{popMisfitMACS} \title{ Find population misfit by sufficient statistics } \description{ Find the value quantifying the amount of population misfit: \eqn{F_0}, RMSEA, and SRMR. See the definition of each index at \code{\link{summaryMisspec}}. } \usage{ popMisfitMACS(paramM, paramCM,...
/simsem/man/popMisfitMACS.Rd
no_license
sveinbjornyngvi/simsem
R
false
false
1,671
rd
\name{popMisfitMACS} \alias{popMisfitMACS} \title{ Find population misfit by sufficient statistics } \description{ Find the value quantifying the amount of population misfit: \eqn{F_0}, RMSEA, and SRMR. See the definition of each index at \code{\link{summaryMisspec}}. } \usage{ popMisfitMACS(paramM, paramCM,...
## Summarise number of years of data per species, colony, breeding stage, device-type ## pacman::p_load(lubridate, tidyverse) meta <- read.csv("C:\\Users\\Martim Bill\\Documents\\phd\\data\\STD_data.summary\\Metadata_inc_original_track_id_2018-10-25.csv") paste(year(seq(as.POSIXct(meta$date_min[1]), as.POSIXct(meta$...
/scripts/exploration/summarize_STDB_datasets.R
no_license
MartinBeal/annual_consistency
R
false
false
1,322
r
## Summarise number of years of data per species, colony, breeding stage, device-type ## pacman::p_load(lubridate, tidyverse) meta <- read.csv("C:\\Users\\Martim Bill\\Documents\\phd\\data\\STD_data.summary\\Metadata_inc_original_track_id_2018-10-25.csv") paste(year(seq(as.POSIXct(meta$date_min[1]), as.POSIXct(meta$...
###################### ### Main Function ### ###################### ############################# #### Preprocessing data #### ############################# # Read data and mark 999.0 as 0s dfTrain <- read.csv('~/NYCDSA/Bootcamp/Kaggle_Project4/data/training.csv', header=T) dfTest <- read.csv('~/NYCDSA/Bootcamp/K...
/Project4-MachineLearning/Centaurs/gbm.R
no_license
jeperez/bootcamp005_project
R
false
false
3,727
r
###################### ### Main Function ### ###################### ############################# #### Preprocessing data #### ############################# # Read data and mark 999.0 as 0s dfTrain <- read.csv('~/NYCDSA/Bootcamp/Kaggle_Project4/data/training.csv', header=T) dfTest <- read.csv('~/NYCDSA/Bootcamp/K...
### Q1 ### filter_chisq <- function(dstrain, ypos = "pos", min_count = 5, chi_threshold = 10^(-5)){ # Store the first column and convert to binary s.product <- dstrain[,1,drop = FALSE] #s.product_binary <- as.numeric(s.product == ypos) # Set all values larger than 0 to 1 for every column after the ...
/Homework/hw4/script/hw4q1.R
no_license
willy2721/Statistical-Learning
R
false
false
1,347
r
### Q1 ### filter_chisq <- function(dstrain, ypos = "pos", min_count = 5, chi_threshold = 10^(-5)){ # Store the first column and convert to binary s.product <- dstrain[,1,drop = FALSE] #s.product_binary <- as.numeric(s.product == ypos) # Set all values larger than 0 to 1 for every column after the ...
# To import and subset data for graphic cosntruction library(data.table) options(warn=-1) fread( "household_power_consumption.txt", na.strings=c("NA","N/A","","?","\\?"), #colClasses(c("character","character","numeric","numeric","numeric","numeric","numeric","numeric","numeric")), stringsAsFactor...
/plot3.R
no_license
aplage/ExData_Plotting1
R
false
false
1,760
r
# To import and subset data for graphic cosntruction library(data.table) options(warn=-1) fread( "household_power_consumption.txt", na.strings=c("NA","N/A","","?","\\?"), #colClasses(c("character","character","numeric","numeric","numeric","numeric","numeric","numeric","numeric")), stringsAsFactor...
# UNSTRATIFIED, EQUAL PROBABILITY GRTS DESIGN ## WHEN MODIFIYING FOR ANOTHER LAKE MAKE THE FOLLOWING CHANGES: ## MODIFY THE GRTS DESIGN LIST FOR THE NUMBER OF MAIN AND OVERSAMPLE SITES WANTED ## NOMINAL MAINSITES = 15 ## NOMINAL OVER SAMPLE = 20 ## CHANGE THE ZOOM FACTOR ON LINE 179 ## FIND AND REPLACE ALL INSTANCES ...
/ohio2016/grts/wingfoot.R
no_license
USEPA/mulitResSurvey
R
false
false
11,850
r
# UNSTRATIFIED, EQUAL PROBABILITY GRTS DESIGN ## WHEN MODIFIYING FOR ANOTHER LAKE MAKE THE FOLLOWING CHANGES: ## MODIFY THE GRTS DESIGN LIST FOR THE NUMBER OF MAIN AND OVERSAMPLE SITES WANTED ## NOMINAL MAINSITES = 15 ## NOMINAL OVER SAMPLE = 20 ## CHANGE THE ZOOM FACTOR ON LINE 179 ## FIND AND REPLACE ALL INSTANCES ...
data_file <- "./Exploratory_Data_week1/household_power_consumption.txt" data_full <- read.table(data_file,sep=";",header=TRUE) data <- data_full[data_full$Date == "1/2/2007" | data_full$Date == "2/2/2007", ] data$DateTime <- strptime(paste(as.character(data$Date),as.character(data$Time)),format = "%d/%m/%Y %H:%M:%S") ...
/plot2.R
no_license
ClintNous/ExData_Plotting1
R
false
false
529
r
data_file <- "./Exploratory_Data_week1/household_power_consumption.txt" data_full <- read.table(data_file,sep=";",header=TRUE) data <- data_full[data_full$Date == "1/2/2007" | data_full$Date == "2/2/2007", ] data$DateTime <- strptime(paste(as.character(data$Date),as.character(data$Time)),format = "%d/%m/%Y %H:%M:%S") ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gen_20_basic_variants.R \name{gen_20_basic_variants_including_cost_error} \alias{gen_20_basic_variants_including_cost_error} \title{Generate 20 basic variants of a problem} \usage{ gen_20_basic_variants_including_cost_error( parameters, s...
/man/gen_20_basic_variants_including_cost_error.Rd
no_license
langfob/bdpg
R
false
true
1,246
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/gen_20_basic_variants.R \name{gen_20_basic_variants_including_cost_error} \alias{gen_20_basic_variants_including_cost_error} \title{Generate 20 basic variants of a problem} \usage{ gen_20_basic_variants_including_cost_error( parameters, s...
##Rule5 ##The player has reviewed one or more of the ##opponents cards but did not object or pass ##correctly one or more times in the last case played
/servers/lib/aeng/engines/r/games/AW/aw_job7_rule5.r
no_license
GlasslabGames/Assessment
R
false
false
155
r
##Rule5 ##The player has reviewed one or more of the ##opponents cards but did not object or pass ##correctly one or more times in the last case played
#!/usr/bin/r -t # # Copyright (C) 2012 Dirk Eddelbuettel and Romain Francois # Copyright (C) 2013 Romain Francois # # This file is part of Rcpp11. # # Rcpp11 is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, ei...
/inst/unitTests/runit.String.R
no_license
abelxie/Rcpp11
R
false
false
1,819
r
#!/usr/bin/r -t # # Copyright (C) 2012 Dirk Eddelbuettel and Romain Francois # Copyright (C) 2013 Romain Francois # # This file is part of Rcpp11. # # Rcpp11 is free software: you can redistribute it and/or modify it # under the terms of the GNU General Public License as published by # the Free Software Foundation, ei...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stsm_harmonics.R \name{stsm_harmonics} \alias{stsm_harmonics} \title{Get harmonics for the seasons} \usage{ stsm_harmonics(freq, decomp = "", seasons = NULL, wavelet = FALSE) } \arguments{ \item{freq}{Frequency of the data} \item{decomp}{Dec...
/autostsm/man/stsm_harmonics.Rd
no_license
akhikolla/updatedatatype-list4
R
false
true
746
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stsm_harmonics.R \name{stsm_harmonics} \alias{stsm_harmonics} \title{Get harmonics for the seasons} \usage{ stsm_harmonics(freq, decomp = "", seasons = NULL, wavelet = FALSE) } \arguments{ \item{freq}{Frequency of the data} \item{decomp}{Dec...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chromR_functions.R \name{chromR functions} \alias{chromR functions} \alias{masker} \alias{variant.table} \alias{win.table} \title{chromR_functions} \usage{ masker( x, min_QUAL = 1, min_DP = 1, max_DP = 10000, min_MQ = 20, max_MQ =...
/man/chromR_functions.Rd
no_license
knausb/vcfR
R
false
true
1,815
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/chromR_functions.R \name{chromR functions} \alias{chromR functions} \alias{masker} \alias{variant.table} \alias{win.table} \title{chromR_functions} \usage{ masker( x, min_QUAL = 1, min_DP = 1, max_DP = 10000, min_MQ = 20, max_MQ =...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tax_rank.R \name{tax_rank} \alias{tax_rank} \title{Get rank for a given taxonomic name.} \usage{ tax_rank(x, db = NULL, rows = NA, ...) } \arguments{ \item{x}{(character) Vector of one or more taxon names (character) or IDs (character or nume...
/man/tax_rank.Rd
permissive
gejielin/taxize
R
false
true
2,141
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/tax_rank.R \name{tax_rank} \alias{tax_rank} \title{Get rank for a given taxonomic name.} \usage{ tax_rank(x, db = NULL, rows = NA, ...) } \arguments{ \item{x}{(character) Vector of one or more taxon names (character) or IDs (character or nume...
## Assignment 2 makeCacheMatrix <- function(x = matrix()) { ## assigning null to the value m which will cache the inverse of the matrix m <- NULL set <- function(y){ x <<- y ## is used to replace the x in this environment m <<- NULL ## m is reassigned to Null, so that the inverse is recalculated with the new x }...
/cachematrix.R
no_license
nilakshidas/ProgrammingAssignment2
R
false
false
911
r
## Assignment 2 makeCacheMatrix <- function(x = matrix()) { ## assigning null to the value m which will cache the inverse of the matrix m <- NULL set <- function(y){ x <<- y ## is used to replace the x in this environment m <<- NULL ## m is reassigned to Null, so that the inverse is recalculated with the new x }...
#setwd("/Users/ben_cosgo/Working_directory/STAT_6021_Project_1") #setwd("C:/Users/joony/Documents/myGit/STAT_6021_Project_1") #Benjamin Cosgro (bcc5d) #Hannah Frederick (hbf3k) #Maureen O'Shea (mo2cr) #Joon Yuhl Soh (js8hh) library("tidyverse") library(plyr) library(dplyr) library(faraway) library(multcomp) library...
/DiamondRfile.R
no_license
bencosgro/STAT_6021_Project_1
R
false
false
15,245
r
#setwd("/Users/ben_cosgo/Working_directory/STAT_6021_Project_1") #setwd("C:/Users/joony/Documents/myGit/STAT_6021_Project_1") #Benjamin Cosgro (bcc5d) #Hannah Frederick (hbf3k) #Maureen O'Shea (mo2cr) #Joon Yuhl Soh (js8hh) library("tidyverse") library(plyr) library(dplyr) library(faraway) library(multcomp) library...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/PC.renommage.R \name{PC.renommage} \alias{PC.renommage} \title{Renommage des champs de données physico-chimiques issues de Hub'eau} \usage{ PC.renommage(data) } \arguments{ \item{data}{Jeu de données issu de Hub'eau} } \description{ Renommage...
/man/PC.renommage.Rd
no_license
jbfagotfede39/aquatools
R
false
true
480
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/PC.renommage.R \name{PC.renommage} \alias{PC.renommage} \title{Renommage des champs de données physico-chimiques issues de Hub'eau} \usage{ PC.renommage(data) } \arguments{ \item{data}{Jeu de données issu de Hub'eau} } \description{ Renommage...
tabItem(tabName = "help", fluidRow( box(title = "User Guide", width = 11, solidHeader = T, status = "primary", column(12, includeMarkdown("HELP.md") ) ) ) )
/shiny/ui-tab-help.R
permissive
mvarbanova2/scrnaseq_app
R
false
false
243
r
tabItem(tabName = "help", fluidRow( box(title = "User Guide", width = 11, solidHeader = T, status = "primary", column(12, includeMarkdown("HELP.md") ) ) ) )
# ## vim:set ff=unix expandtab ts=2 sw=2: require(R6Unit) test<-function(){ print("############# here I am ##########") #stop('to fail') } MMTest<-R6Class("MMTest", #inherit=InDirTest, inherit=TestCase, public=list( targetPkgName="" , #---------------- cp_package_files=fu...
/tests/deprecated/MMTest.R
no_license
mamueller/linkeddocs
R
false
false
483
r
# ## vim:set ff=unix expandtab ts=2 sw=2: require(R6Unit) test<-function(){ print("############# here I am ##########") #stop('to fail') } MMTest<-R6Class("MMTest", #inherit=InDirTest, inherit=TestCase, public=list( targetPkgName="" , #---------------- cp_package_files=fu...
\alias{gNetworkServiceGetDomain} \name{gNetworkServiceGetDomain} \title{gNetworkServiceGetDomain} \description{Gets the domain that \code{srv} serves. This might be either UTF-8 or ASCII-encoded, depending on what \code{srv} was created with.} \usage{gNetworkServiceGetDomain(object)} \arguments{\item{\verb{object}}{a \...
/RGtk2/man/gNetworkServiceGetDomain.Rd
no_license
lawremi/RGtk2
R
false
false
488
rd
\alias{gNetworkServiceGetDomain} \name{gNetworkServiceGetDomain} \title{gNetworkServiceGetDomain} \description{Gets the domain that \code{srv} serves. This might be either UTF-8 or ASCII-encoded, depending on what \code{srv} was created with.} \usage{gNetworkServiceGetDomain(object)} \arguments{\item{\verb{object}}{a \...