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
# Load Dataset accomodation <- read.csv("Data/HousingStatsProcessed.csv") #Hypothesis: # NULL - affordability does not increase household density # Person per house in areas with low rental/income measure == person per house in areas with high rental / income measure # ALTERNATIVE - affordability increases househol...
/Statistical_Tests.R
permissive
Joon/LYIT_DataScience_Housing
R
false
false
1,620
r
# Load Dataset accomodation <- read.csv("Data/HousingStatsProcessed.csv") #Hypothesis: # NULL - affordability does not increase household density # Person per house in areas with low rental/income measure == person per house in areas with high rental / income measure # ALTERNATIVE - affordability increases househol...
# Montgomery County Traffic Stops Data stops.full<-read.csv("http://data.montgomerycountymd.gov/api/views/4mse-ku6q/rows.csv?accessType=DOWNLOAD", header=TRUE,as.is=TRUE) # subset to last year last.year<-2017 stops.full$AutoYear<-as.numeric(stops.full$Year) stops.full$Year<-as.numeric(substr(stop...
/Stats 330 - storage/TreesCP1.R
no_license
ayoung68/SchoolStory2
R
false
false
5,447
r
# Montgomery County Traffic Stops Data stops.full<-read.csv("http://data.montgomerycountymd.gov/api/views/4mse-ku6q/rows.csv?accessType=DOWNLOAD", header=TRUE,as.is=TRUE) # subset to last year last.year<-2017 stops.full$AutoYear<-as.numeric(stops.full$Year) stops.full$Year<-as.numeric(substr(stop...
/*! * MineRender 1.2.6 * (c) 2018, Haylee Schäfer (inventivetalent) / MIT License * https://minerender.org * Build #1591727895070 / Tue Jun 09 2020 20:38:15 GMT+0200 (Central European Summer Time) */!function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n....
/dist/skin.min.js
permissive
JuanFHaretche/MineRender
R
true
true
924,772
js
/*! * MineRender 1.2.6 * (c) 2018, Haylee Schäfer (inventivetalent) / MIT License * https://minerender.org * Build #1591727895070 / Tue Jun 09 2020 20:38:15 GMT+0200 (Central European Summer Time) */!function(e){var t={};function r(a){if(t[a])return t[a].exports;var n=t[a]={i:a,l:!1,exports:{}};return e[a].call(n....
# Ejercicios: Distribucion Exponencial(0.25) library(ggplot2) #------------------------------------------------- # Ejercicio 1: Realizar un gráfico de n vs mean(x_n) promedios_muestrales_1a <- numeric(3000) promedios_muestrales_1b <- numeric(3000) # CASO SEED ADENTRO DEL FOR for (i in 1:3000){ set.seed(0) muest...
/src/exponencial.R
no_license
emmgali/Proba-TP1
R
false
false
3,286
r
# Ejercicios: Distribucion Exponencial(0.25) library(ggplot2) #------------------------------------------------- # Ejercicio 1: Realizar un gráfico de n vs mean(x_n) promedios_muestrales_1a <- numeric(3000) promedios_muestrales_1b <- numeric(3000) # CASO SEED ADENTRO DEL FOR for (i in 1:3000){ set.seed(0) muest...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/selac.R \name{GetFunctionality} \alias{GetFunctionality} \title{Calculate functionality} \usage{ GetFunctionality(gene.length, aa.data, optimal.aa, alpha, beta, gamma, gp = NULL, aa.properties = NULL) } \arguments{ \item{gene.length}{Indica...
/man/GetFunctionality.Rd
no_license
acope3/selac
R
false
true
1,112
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/selac.R \name{GetFunctionality} \alias{GetFunctionality} \title{Calculate functionality} \usage{ GetFunctionality(gene.length, aa.data, optimal.aa, alpha, beta, gamma, gp = NULL, aa.properties = NULL) } \arguments{ \item{gene.length}{Indica...
shinyServer( function(input, output) { dataset <- mtcars y <- dataset$mpg - mean(dataset$mpg) x <- dataset$wt - mean(dataset$wt) output$plot <- renderPlot({ mu = input$mu plot(x,y,pch = 21, col = "black", bg = "lightblue",cex = 2,xlab = "Weight(1000 lbs)",ylab = "Miles per Gall...
/server.R
no_license
zarmeen92/Developing-Data-Products
R
false
false
558
r
shinyServer( function(input, output) { dataset <- mtcars y <- dataset$mpg - mean(dataset$mpg) x <- dataset$wt - mean(dataset$wt) output$plot <- renderPlot({ mu = input$mu plot(x,y,pch = 21, col = "black", bg = "lightblue",cex = 2,xlab = "Weight(1000 lbs)",ylab = "Miles per Gall...
library(testthat) library(ggcorrplot) test_check("ggcorrplot")
/tests/testthat.R
no_license
mdedonno1337/ggcorrplot
R
false
false
64
r
library(testthat) library(ggcorrplot) test_check("ggcorrplot")
#' @title glmTest #' @description significant test #' @param counts counts file generated from previous step #' @param condition The input bam file. #' @param cutoff The gtf format gene annotation file #' @param rep This option is the same in featureCounts, if your data is strandSpecfic, this value should be 1(stranded...
/R/glmTest.R
no_license
tengxufei/m6Ascan
R
false
false
2,196
r
#' @title glmTest #' @description significant test #' @param counts counts file generated from previous step #' @param condition The input bam file. #' @param cutoff The gtf format gene annotation file #' @param rep This option is the same in featureCounts, if your data is strandSpecfic, this value should be 1(stranded...
\name{tsLib-class} \docType{class} \alias{tsLib-class} \alias{[,tsLib-method} \alias{$,tsLib-method} \alias{libId,tsLib-method} \alias{libId} \alias{length,tsLib-method} \alias{c,tsLib-method} \alias{libData,tsLib-method} \alias{libData} \alias{libData<-,tsLib-method} \alias{libData<-} \alias{libName,tsLib-method} \ali...
/man/tsLib-class.Rd
no_license
acinostroza/TargetSearch
R
false
false
7,574
rd
\name{tsLib-class} \docType{class} \alias{tsLib-class} \alias{[,tsLib-method} \alias{$,tsLib-method} \alias{libId,tsLib-method} \alias{libId} \alias{length,tsLib-method} \alias{c,tsLib-method} \alias{libData,tsLib-method} \alias{libData} \alias{libData<-,tsLib-method} \alias{libData<-} \alias{libName,tsLib-method} \ali...
#' Export analysis for mvmapper visualisation #' #' \code{mvmapper} is an interactive tool for visualising outputs of a #' multivariate analysis on a map from a web browser. The function #' \code{export_to_mvmapper} is a generic with methods for several standard #' classes of analyses in \code{adegenet} and \code{ade4}...
/R/export_to_mvmapper.R
no_license
jrdupuis/adegenet
R
false
false
7,354
r
#' Export analysis for mvmapper visualisation #' #' \code{mvmapper} is an interactive tool for visualising outputs of a #' multivariate analysis on a map from a web browser. The function #' \code{export_to_mvmapper} is a generic with methods for several standard #' classes of analyses in \code{adegenet} and \code{ade4}...
# define extra covariates regarding parent's health problems ### where the exposure is smoking and the outcome is asthma/wheeze, additional adjustment for exposed parent's asthma (to control for genetic inheritance of asthma) ### where the outcome is psychosocial, additional adjustment for exposed parent's mental healt...
/making_key/define_parents_disease_covariates.R
no_license
ammegandchips/EPoCH
R
false
false
1,939
r
# define extra covariates regarding parent's health problems ### where the exposure is smoking and the outcome is asthma/wheeze, additional adjustment for exposed parent's asthma (to control for genetic inheritance of asthma) ### where the outcome is psychosocial, additional adjustment for exposed parent's mental healt...
datos <- read.table("household_power_consumption.txt",sep=";",dec=".", header=TRUE,na.strings = "?",colClasses=c(rep("character",2),rep("numeric",7))) datos$Date <- as.Date(datos$Date,"%d/%m/%Y") filterDate1 <- as.Date("2007-02-01") filtro1 <- datos$Date == filterDate1 datosFiltrados1 <- datos[filtro1,] filterDate2 <-...
/plot3.r
no_license
manuelruizcalvo/ExData_Plotting1
R
false
false
1,139
r
datos <- read.table("household_power_consumption.txt",sep=";",dec=".", header=TRUE,na.strings = "?",colClasses=c(rep("character",2),rep("numeric",7))) datos$Date <- as.Date(datos$Date,"%d/%m/%Y") filterDate1 <- as.Date("2007-02-01") filtro1 <- datos$Date == filterDate1 datosFiltrados1 <- datos[filtro1,] filterDate2 <-...
#이건 Git에 연결안된 프로젝트를 다시 Git에 연결하는 방법 #Git bash를 연다. #cd /F/hjikim/R_data_basic/unlinking 입력해서 경로생성 #git init 입력하고 기다리면 master라고 나온다. #이제 Github로 이동해서 repository에 새로만드는데 R 프로젝트랑 이름 똑같이 만들기 #git bash에서 push가 error 나와서 그냥 git hub에 프로젝트 파일 업로드 했더니 바로 git이랑 연결됐는데.. #아니! commit 작성했는데 psuh 안된다 #아, 새프로젝트를 Git에 연결해서 만들어야 완전 연결되...
/read2.R
no_license
KIM-HYUN-JI/unlinking
R
false
false
596
r
#이건 Git에 연결안된 프로젝트를 다시 Git에 연결하는 방법 #Git bash를 연다. #cd /F/hjikim/R_data_basic/unlinking 입력해서 경로생성 #git init 입력하고 기다리면 master라고 나온다. #이제 Github로 이동해서 repository에 새로만드는데 R 프로젝트랑 이름 똑같이 만들기 #git bash에서 push가 error 나와서 그냥 git hub에 프로젝트 파일 업로드 했더니 바로 git이랑 연결됐는데.. #아니! commit 작성했는데 psuh 안된다 #아, 새프로젝트를 Git에 연결해서 만들어야 완전 연결되...
#' Produce Plots from Library Hits #' #' This function works to generate plots which summarize the 4 different types of tags, including the GNPS Tags, NCBI taxonomy tags, UBERON tags, and lifestyle tags contribtued by users. #' @param path Path to the downloaded table of "View all Library Hits" from molecular networ...
/R/plots_libraryhits.R
no_license
cmaceves/GNPStags
R
false
false
757
r
#' Produce Plots from Library Hits #' #' This function works to generate plots which summarize the 4 different types of tags, including the GNPS Tags, NCBI taxonomy tags, UBERON tags, and lifestyle tags contribtued by users. #' @param path Path to the downloaded table of "View all Library Hits" from molecular networ...
testlist <- list(x = structure(c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(4L, 4L))) result <- do.call(bravo:::colSumSq_matrix,testlist) str(result)
/bravo/inst/testfiles/colSumSq_matrix/libFuzzer_colSumSq_matrix/colSumSq_matrix_valgrind_files/1609959659-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
165
r
testlist <- list(x = structure(c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0), .Dim = c(4L, 4L))) result <- do.call(bravo:::colSumSq_matrix,testlist) str(result)
require("ggplot2"); stock <- read.csv("../data/stock.tsv", sep = '\t', stringsAsFactors = FALSE); stock$Date <- as.Date(stock$Date, format = "%d-%b-%y"); line_plot <- ggplot(stock, aes(Date, Close)) + geom_line(color = "steelblue");
/basic/lineplot.r
no_license
jnjcc/visualization
R
false
false
236
r
require("ggplot2"); stock <- read.csv("../data/stock.tsv", sep = '\t', stringsAsFactors = FALSE); stock$Date <- as.Date(stock$Date, format = "%d-%b-%y"); line_plot <- ggplot(stock, aes(Date, Close)) + geom_line(color = "steelblue");
plot.functional_ANOVA_fit <- function(res, colors_n_treatments = NULL, legend_position = NULL, ylim = NULL, ylab = NULL, xlab...
/plot.functional_ANOVA_fit.R
no_license
JorgeDelro/FIT_OX
R
false
false
2,488
r
plot.functional_ANOVA_fit <- function(res, colors_n_treatments = NULL, legend_position = NULL, ylim = NULL, ylab = NULL, xlab...
\name{modereg} \alias{modereg} \title{Nonparametric Estimators for Nonparametric Mode Regression} \description{ This function provides the nonparametric estimators (Zhou and Huang, 2016; Zhou and Huang, 2018) for nonparametric modal regression. The corresponding estimators in the absence of measurement error are also ...
/fuzzedpackages/lpme/man/modereg.Rd
no_license
akhikolla/testpackages
R
false
false
3,749
rd
\name{modereg} \alias{modereg} \title{Nonparametric Estimators for Nonparametric Mode Regression} \description{ This function provides the nonparametric estimators (Zhou and Huang, 2016; Zhou and Huang, 2018) for nonparametric modal regression. The corresponding estimators in the absence of measurement error are also ...
# https://github.com/arq5x/bedtools2/blob/master/test/closest/test-closest.sh test_that("1bp closer, check for off-by-one errors", { x <- tibble::tribble( ~chrom, ~start, ~end, "chr1", 10, 20 ) y <- tibble::tribble( ~chrom, ~start, ~end, "chr1", 9, 10, "chr1", 19, 20, "chr1", 20, 21 ) ...
/tests/testthat/test_closest.r
permissive
rnabioco/valr
R
false
false
17,845
r
# https://github.com/arq5x/bedtools2/blob/master/test/closest/test-closest.sh test_that("1bp closer, check for off-by-one errors", { x <- tibble::tribble( ~chrom, ~start, ~end, "chr1", 10, 20 ) y <- tibble::tribble( ~chrom, ~start, ~end, "chr1", 9, 10, "chr1", 19, 20, "chr1", 20, 21 ) ...
## ----------------------------------------------------------------------------------------------------- pacman::p_load(gt) ## ----------------------------------------------------------------------------------------------------- northern_africa_cases_country_table <- northern_africa_cases_country %>% gt() %>% ...
/scripts/04-visualisation.R
no_license
anelda/AfricaCDCRTraining
R
false
false
6,455
r
## ----------------------------------------------------------------------------------------------------- pacman::p_load(gt) ## ----------------------------------------------------------------------------------------------------- northern_africa_cases_country_table <- northern_africa_cases_country %>% gt() %>% ...
#' @title ASCA Result Methods #' @name asca_plots #' @aliases asca_plots scoreplot.asca loadingplot.asca #' #' @description Various plotting procedures for \code{\link{asca}} objects. #' #' @details Usage of the functions are shown using generics in the examples below. #' Plot routines are available as #' \code{sco...
/R/asca_plots.R
no_license
minghao2016/multiblock
R
false
false
7,348
r
#' @title ASCA Result Methods #' @name asca_plots #' @aliases asca_plots scoreplot.asca loadingplot.asca #' #' @description Various plotting procedures for \code{\link{asca}} objects. #' #' @details Usage of the functions are shown using generics in the examples below. #' Plot routines are available as #' \code{sco...
#' Generate palettes from the ggseg atlases #' #' \code{brain_pal} return HEX colours for the different ggseg atlases. #' #' @param name String name of atlas #' @param n Number of colours to return (or "all" [default]) #' @param direction Direction of HEX, -1 reverses order #' @param unname logical, if colours are to ...
/R/brain_palettes.R
permissive
richardbeare/ggseg
R
false
false
3,096
r
#' Generate palettes from the ggseg atlases #' #' \code{brain_pal} return HEX colours for the different ggseg atlases. #' #' @param name String name of atlas #' @param n Number of colours to return (or "all" [default]) #' @param direction Direction of HEX, -1 reverses order #' @param unname logical, if colours are to ...
predict.function <- function(x){ input <- removePunctuation(x) input <- stripWhitespace(removeNumbers(tolower(input))) input <- strsplit(input, " ")[[1]] input.len <- length(input) if(input.len >= 3) { get.index <- which(input[input.len-2] == df.quad$w1 & input[input.len-1...
/predict.R
no_license
teja876/SwiftKey-Word-Prediction
R
false
false
2,744
r
predict.function <- function(x){ input <- removePunctuation(x) input <- stripWhitespace(removeNumbers(tolower(input))) input <- strsplit(input, " ")[[1]] input.len <- length(input) if(input.len >= 3) { get.index <- which(input[input.len-2] == df.quad$w1 & input[input.len-1...
#' Function to prepare a gene_info RDS file #' #' \code{xMakeGenes} is supposed to prepare a gene_info RDS file. #' #' @param gene_info.file an input file for gene_info #' @param output.prefix a prefix for the output file #' @param output.dir the output directory #' @param stamp the stamp associated with this RDS file....
/R/xMakeGenes.r
no_license
hfang-bristol/XGR
R
false
false
1,299
r
#' Function to prepare a gene_info RDS file #' #' \code{xMakeGenes} is supposed to prepare a gene_info RDS file. #' #' @param gene_info.file an input file for gene_info #' @param output.prefix a prefix for the output file #' @param output.dir the output directory #' @param stamp the stamp associated with this RDS file....
# Which variable has more effect on Daily Time spent on website. # Evoke the library library(dplyr) # Set the Path for data setwd("____") dataset<- read.csv("Alexa Top Sites.csv") View(dataset) # Checking the data for missing values colSums(is.na(dataset)) # Converting into Factors dataset$Sites<- factor(dataset$Si...
/Linear Model.R
no_license
vgyaan91/Alexa
R
false
false
3,416
r
# Which variable has more effect on Daily Time spent on website. # Evoke the library library(dplyr) # Set the Path for data setwd("____") dataset<- read.csv("Alexa Top Sites.csv") View(dataset) # Checking the data for missing values colSums(is.na(dataset)) # Converting into Factors dataset$Sites<- factor(dataset$Si...
library(shiny) library(shinyjs) jscode <- "shinyjs.refresh = function() { location.reload(); }" shinyApp( ui = tagList( useShinyjs(), extendShinyjs(text = jscode, functions = "refresh"), navbarPage( "test", id = "navbar", tabPanel(title = "tab1", "tab 1"), tabPanel(title = "tab2"...
/QA/Refresh.R
no_license
rli012/ShinyApps
R
false
false
538
r
library(shiny) library(shinyjs) jscode <- "shinyjs.refresh = function() { location.reload(); }" shinyApp( ui = tagList( useShinyjs(), extendShinyjs(text = jscode, functions = "refresh"), navbarPage( "test", id = "navbar", tabPanel(title = "tab1", "tab 1"), tabPanel(title = "tab2"...
testlist <- list(b = c(33623808L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L)) result <- do.call(mcga:::ByteVectorToDoub...
/mcga/inst/testfiles/ByteVectorToDoubles/AFL_ByteVectorToDoubles/ByteVectorToDoubles_valgrind_files/1613102070-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
345
r
testlist <- list(b = c(33623808L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L)) result <- do.call(mcga:::ByteVectorToDoub...
## makeVector creates a special "vector," a list containing a function to # 1. set the value of the vector # 2. get the value of the vector # 3. set the value of the mean # 4. get the value of the mean # makeCacheMatrix function creates a special "matrix" object that can cache its inverse. # Follow the same format pro...
/cachematrix.R
no_license
mwhite3/ProgrammingAssignment2
R
false
false
2,434
r
## makeVector creates a special "vector," a list containing a function to # 1. set the value of the vector # 2. get the value of the vector # 3. set the value of the mean # 4. get the value of the mean # makeCacheMatrix function creates a special "matrix" object that can cache its inverse. # Follow the same format pro...
rm(list = ls()) library(MASS) library(plyr) library(VGAM) library(plyr) library(Rcpp) library(numDeriv) library(RColorBrewer) source("~/ownCloud/coronavirus/variant_France/clean_code/functions_v3.R") source("~/ownCloud/coronavirus/variant_France/clean_code/get_clean_data.R") # INFERENCE FUNCTIONS source("~/ownCloud...
/inference_UK_v3.R
no_license
FrancoisBlanquart/selection_variant
R
false
false
33,106
r
rm(list = ls()) library(MASS) library(plyr) library(VGAM) library(plyr) library(Rcpp) library(numDeriv) library(RColorBrewer) source("~/ownCloud/coronavirus/variant_France/clean_code/functions_v3.R") source("~/ownCloud/coronavirus/variant_France/clean_code/get_clean_data.R") # INFERENCE FUNCTIONS source("~/ownCloud...
#' Title #' #' @export #' make_report4 <- function(tab){ num_rounds <- length(tab) alternatives <- c(tab$round1$cvr_tabulation$StatusCode, "Exhausted by candidate") num_alternatives <- length(alternatives) mat <- matrix(nrow = num_alternatives, ncol = num_rounds) for(idx in 1:num_rounds...
/R/make_report.R
no_license
DocKenLane/rcvr
R
false
false
980
r
#' Title #' #' @export #' make_report4 <- function(tab){ num_rounds <- length(tab) alternatives <- c(tab$round1$cvr_tabulation$StatusCode, "Exhausted by candidate") num_alternatives <- length(alternatives) mat <- matrix(nrow = num_alternatives, ncol = num_rounds) for(idx in 1:num_rounds...
testlist <- list(Rs = c(-3.39965260602817e+112, 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), atmp = numeric(0), relh = c(7.64681398433536e-304, -4.29227809743625e-307, 1.81037701089217e+87, -2.93112217825115e-158, 9.03412394302482e-46, 7.31195213563656e+256, -1.93925524...
/meteor/inst/testfiles/ET0_Makkink/AFL_ET0_Makkink/ET0_Makkink_valgrind_files/1615863624-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
474
r
testlist <- list(Rs = c(-3.39965260602817e+112, 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), atmp = numeric(0), relh = c(7.64681398433536e-304, -4.29227809743625e-307, 1.81037701089217e+87, -2.93112217825115e-158, 9.03412394302482e-46, 7.31195213563656e+256, -1.93925524...
extractTags <- function ( object, objectNameX, ... ) UseMethod("extractTags") extractTags.default <- function( object, objectNameX, ... ) { name <- paste0( "name:", objectNameX ) class <- paste0( "class:", class( object ) ) date <- paste0( "date:", now() ) return( c( name, class, date ) ) } extractTags.da...
/R/extractTags.R
no_license
gitter-badger/archivist
R
false
false
6,944
r
extractTags <- function ( object, objectNameX, ... ) UseMethod("extractTags") extractTags.default <- function( object, objectNameX, ... ) { name <- paste0( "name:", objectNameX ) class <- paste0( "class:", class( object ) ) date <- paste0( "date:", now() ) return( c( name, class, date ) ) } extractTags.da...
naiveBayesFunction <- function(tweetVocabs,K=25,removeInds=c(1,2)){ source("termFreqTab.R") load("testData.Rda") source("classifyTweet.R") # setup our parameters donaldDictionary <- tweetVocabs$donaldVocab hillaryDictionary <- tweetVocabs$hillaryVocab donaldTermTable <- termFreqTab(donaldDictionary,K,removeInds) hi...
/reference/naiveBayesFunction.R
no_license
edwardwangxy/imdb_score_guess
R
false
false
767
r
naiveBayesFunction <- function(tweetVocabs,K=25,removeInds=c(1,2)){ source("termFreqTab.R") load("testData.Rda") source("classifyTweet.R") # setup our parameters donaldDictionary <- tweetVocabs$donaldVocab hillaryDictionary <- tweetVocabs$hillaryVocab donaldTermTable <- termFreqTab(donaldDictionary,K,removeInds) hi...
############################ ## The Monty Hall Problem ## ############################ monty_hall_sim <- function(num_samp, num_sim){ # Simulate the probability of winning based on tracking the number of times # the contestant wins if they were to switch and the number of times the # contestant wins if they didn...
/Examples with R/Monty Hall and Backward Elim.R
no_license
jmidiri/Coding-Samples
R
false
false
2,808
r
############################ ## The Monty Hall Problem ## ############################ monty_hall_sim <- function(num_samp, num_sim){ # Simulate the probability of winning based on tracking the number of times # the contestant wins if they were to switch and the number of times the # contestant wins if they didn...
library(dplyr) library(ggplot2) setwd("/users/aesin/desktop/Geo_analysis/Geo_omes") x <- read.delim("Geobac_num_proteins.tsv") x_sorted <- arrange(x, Number.of.genes) x_sorted$Name <- reorder(x_sorted$Name, x_sorted$Number.of.genes) p1 <- ggplot(x_sorted, aes(x = Name, y = Number.of.genes)) + geom_point(stat = "iden...
/Geobac_stats/Geobac_proteome_size_distrib.R
no_license
AlexanderEsin/Scripts
R
false
false
664
r
library(dplyr) library(ggplot2) setwd("/users/aesin/desktop/Geo_analysis/Geo_omes") x <- read.delim("Geobac_num_proteins.tsv") x_sorted <- arrange(x, Number.of.genes) x_sorted$Name <- reorder(x_sorted$Name, x_sorted$Number.of.genes) p1 <- ggplot(x_sorted, aes(x = Name, y = Number.of.genes)) + geom_point(stat = "iden...
require(dplyr) require(gdata) require(ggplot2) require(rjags) require(ggmcmc) require(string) require(BEST) require(foreign) require(arm) require(shinystan) require(lme4) #c1 <- as.data.frame(load("C:\\Users\\Emily Burchfield\\Box Sync\\WF\\Survey\\c1_data_full.Rda")) dc.names <- as.vector(c1$HI4) uq <- unique(dc.name...
/model_testing.R
no_license
eburchfield/bethma_analysis
R
false
false
6,072
r
require(dplyr) require(gdata) require(ggplot2) require(rjags) require(ggmcmc) require(string) require(BEST) require(foreign) require(arm) require(shinystan) require(lme4) #c1 <- as.data.frame(load("C:\\Users\\Emily Burchfield\\Box Sync\\WF\\Survey\\c1_data_full.Rda")) dc.names <- as.vector(c1$HI4) uq <- unique(dc.name...
# xt configuration file, including callbacks xt_pre_dt <- function(tbl, xt, .context) { tibble::add_column(tbl, a2_num = tbl$a0_num, .after = "a0_num") } xt_row <- function(tbl, xt, .context) { # another way to handle mode (to have only one xt_row callback) if (.context$mode == "edit") { ...
/inst/examples/onetable/onetable_xt.R
permissive
numeract/shinyXT
R
false
false
6,414
r
# xt configuration file, including callbacks xt_pre_dt <- function(tbl, xt, .context) { tibble::add_column(tbl, a2_num = tbl$a0_num, .after = "a0_num") } xt_row <- function(tbl, xt, .context) { # another way to handle mode (to have only one xt_row callback) if (.context$mode == "edit") { ...
x <- 3 * 32 y <- x / 7
/script01.r
no_license
IanGlencross/test001
R
false
false
23
r
x <- 3 * 32 y <- x / 7
model{ for(r in 1:nRivers){ #performance parameters ctMax[r]~dnorm(ctMaxMean,ctMaxPrecision)T(tOpt[r],ctUltimate) tOpt[r]~dnorm(tOptMean,tOptPrecision)T(0,ctUltimate) sigma[r]~dunif(0,10) #derivative of the von Bert is linear, intercept and slope(with length) of hourly growth rate beta1[r]~dnorm(0,100)#T(0...
/modelLengthFieldAllRivers.R
no_license
evanchildress/perform
R
false
false
1,780
r
model{ for(r in 1:nRivers){ #performance parameters ctMax[r]~dnorm(ctMaxMean,ctMaxPrecision)T(tOpt[r],ctUltimate) tOpt[r]~dnorm(tOptMean,tOptPrecision)T(0,ctUltimate) sigma[r]~dunif(0,10) #derivative of the von Bert is linear, intercept and slope(with length) of hourly growth rate beta1[r]~dnorm(0,100)#T(0...
#stringr experimentation library("stringr") #See: http://stringr.tidyverse.org/articles/regular-expressions.html #stringr::fruit is there... str_detect(fruit, "berry") str_subset(fruit, "berry") str_subset(fruit, ".+ berry") #space is the limiter pattern <- "(.+) (berry)" str_subset(fruit, pattern) ...
/R/stringr_experimentation.R
no_license
jalsalam/diycpi
R
false
false
2,786
r
#stringr experimentation library("stringr") #See: http://stringr.tidyverse.org/articles/regular-expressions.html #stringr::fruit is there... str_detect(fruit, "berry") str_subset(fruit, "berry") str_subset(fruit, ".+ berry") #space is the limiter pattern <- "(.+) (berry)" str_subset(fruit, pattern) ...
library(eesim) ### Name: create_baseline ### Title: Create a series of baseline outcomes ### Aliases: create_baseline ### ** Examples create_baseline(n = 5, average_baseline = 22, trend = "linear")
/data/genthat_extracted_code/eesim/examples/create_baseline.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
206
r
library(eesim) ### Name: create_baseline ### Title: Create a series of baseline outcomes ### Aliases: create_baseline ### ** Examples create_baseline(n = 5, average_baseline = 22, trend = "linear")
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{melbourne} \alias{melbourne} \title{Melbourne} \format{ A data frame with 397 observations and 7 variables \describe{ \item{polygonId}{a unique identifier for each polygon} \item{pathId}{an identifier for each ...
/man/melbourne.Rd
permissive
SymbolixAU/googleway
R
false
true
1,052
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.R \docType{data} \name{melbourne} \alias{melbourne} \title{Melbourne} \format{ A data frame with 397 observations and 7 variables \describe{ \item{polygonId}{a unique identifier for each polygon} \item{pathId}{an identifier for each ...
#' @import shiny #' @importFrom shinyTree shinyTree #' #' @noRd docUI <- function(id) { ns <- NS(id) # UI output tagList( tags$head( tags$link( rel = "stylesheet", type = "text/css", href = "www/styles.css" ) ), fluidRow( # original documentation tags$h...
/R/documentation_module.R
permissive
earnaud/MetaShARK-v2
R
false
false
2,831
r
#' @import shiny #' @importFrom shinyTree shinyTree #' #' @noRd docUI <- function(id) { ns <- NS(id) # UI output tagList( tags$head( tags$link( rel = "stylesheet", type = "text/css", href = "www/styles.css" ) ), fluidRow( # original documentation tags$h...
#' Calculate and plot median activity across flies. #' #' \code{plot_activity_all_median_1to7} calculates the mean activity within flies and calculates and plots the median activity time-courses across flies around odor encounter. #' Rows containing missing values in the interval between 1s before and 7s after odor enc...
/R/plot_activity_all_median_1to7_R.R
permissive
michathoma/flywalkr
R
false
false
3,247
r
#' Calculate and plot median activity across flies. #' #' \code{plot_activity_all_median_1to7} calculates the mean activity within flies and calculates and plots the median activity time-courses across flies around odor encounter. #' Rows containing missing values in the interval between 1s before and 7s after odor enc...
library(readxl) library(tidyverse) library(fOptions) library(xts) vol <- read_excel("~/Desktop/NTU/PROGRAMMING WEB APPLICATIONS IN FINANCE/FE8828-Qu Mengyuan/group project/Q3/VXAZNCLS.xlsx", col_types = c("date", "numeric")) close <- read_excel("~/Desktop/NTU/PROGRAMMING WEB APPLICATIONS IN FINANCE/F...
/2019/Assignment/Group/Group 2/Q3/Question3/2nd_round.R
no_license
leafyoung/fe8828
R
false
false
4,340
r
library(readxl) library(tidyverse) library(fOptions) library(xts) vol <- read_excel("~/Desktop/NTU/PROGRAMMING WEB APPLICATIONS IN FINANCE/FE8828-Qu Mengyuan/group project/Q3/VXAZNCLS.xlsx", col_types = c("date", "numeric")) close <- read_excel("~/Desktop/NTU/PROGRAMMING WEB APPLICATIONS IN FINANCE/F...
library(nat) ### Name: prune_vertices ### Title: Prune selected vertices or edges from a neuron ### Aliases: prune_vertices prune_edges ### ** Examples n=prune_vertices(Cell07PNs[[1]], 1:25) # original neuron plot(Cell07PNs[[1]]) # with pruned neuron superimposed plot(n, col='green', lwd=3, add=TRUE) # use the Poi...
/data/genthat_extracted_code/nat/examples/prune_vertices.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
778
r
library(nat) ### Name: prune_vertices ### Title: Prune selected vertices or edges from a neuron ### Aliases: prune_vertices prune_edges ### ** Examples n=prune_vertices(Cell07PNs[[1]], 1:25) # original neuron plot(Cell07PNs[[1]]) # with pruned neuron superimposed plot(n, col='green', lwd=3, add=TRUE) # use the Poi...
## ----style, echo = FALSE, results = 'asis'------------------------------- options(width=120) knitr::opts_chunk$set(cache=TRUE, fig.align = TRUE, warning = FALSE, message = FALSE, comment = "") ## ----ucsc_genes---------------------------------------------------------- li...
/R/Session_2.R
permissive
isglobal-brge/post_omic
R
false
false
12,505
r
## ----style, echo = FALSE, results = 'asis'------------------------------- options(width=120) knitr::opts_chunk$set(cache=TRUE, fig.align = TRUE, warning = FALSE, message = FALSE, comment = "") ## ----ucsc_genes---------------------------------------------------------- li...
### Getting and Cleaning Data - John Hopkins University ### Quiz 1 ### Parsing different raw data formats ### Written by Billy.Ljm ### 05 August 2014 ### MIT License require(data.table) require(xlsx) require(XML) ### Q1. csv Files # Read the csv file in dataURL # The code book, describing the variable names is https:...
/Course03_Getting & Cleaning Data/Quiz1.R
no_license
BillyLjm/Data_Science_Coursera
R
false
false
1,887
r
### Getting and Cleaning Data - John Hopkins University ### Quiz 1 ### Parsing different raw data formats ### Written by Billy.Ljm ### 05 August 2014 ### MIT License require(data.table) require(xlsx) require(XML) ### Q1. csv Files # Read the csv file in dataURL # The code book, describing the variable names is https:...
## Calculating mean growht series for each site individually # calculating mean growth per site my.obj.list <- list(Den03F, Den03A, Den10A) str(my.obj.list) mol <- my.obj.list head(mol[[1]]) attr(mol[[1]], 'Site') <- "03F" attr(mol[[2]], 'Site') <- "03A" attr(mol[[3]], 'Site') <- "10A" # Tidying up the three datafra...
/src/calc.site.mean.onebyone.R
no_license
jackwm/NSW_Eucs
R
false
false
2,947
r
## Calculating mean growht series for each site individually # calculating mean growth per site my.obj.list <- list(Den03F, Den03A, Den10A) str(my.obj.list) mol <- my.obj.list head(mol[[1]]) attr(mol[[1]], 'Site') <- "03F" attr(mol[[2]], 'Site') <- "03A" attr(mol[[3]], 'Site') <- "10A" # Tidying up the three datafra...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/LerArqXlsx.R \name{ReadExcell} \alias{ReadExcell} \title{Read XLSX files related to the OPPA project} \usage{ ReadExcell(path) } \arguments{ \item{path}{The file's path to the XSLX file.} } \value{ A data frame. } \description{ Read XLSX file...
/man/ReadExcell.Rd
no_license
r-ifpe/OPPA
R
false
true
560
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/LerArqXlsx.R \name{ReadExcell} \alias{ReadExcell} \title{Read XLSX files related to the OPPA project} \usage{ ReadExcell(path) } \arguments{ \item{path}{The file's path to the XSLX file.} } \value{ A data frame. } \description{ Read XLSX file...
# Activity monitoring devices: Peer Assessment 1 # ======================================================== # Introduction # # It is now possible to collect a large amount of data about personal movement using activity monitoring devices such as a Fitbit, Nike Fuelband, or Jawbone Up. These type of devices...
/PA1.R
no_license
florianzbinden/ReprRes_Ass1
R
false
false
7,157
r
# Activity monitoring devices: Peer Assessment 1 # ======================================================== # Introduction # # It is now possible to collect a large amount of data about personal movement using activity monitoring devices such as a Fitbit, Nike Fuelband, or Jawbone Up. These type of devices...
#' Suda2: Detecting Special Uniques #' #' SUDA risk measure for data from (stratified) simple random sampling. #' #' Suda 2 is a recursive algorithm for finding Minimal Sample Uniques. The #' algorithm generates all possible variable subsets of defined categorical key #' variables and scans them for unique patterns in ...
/R/suda2.R
no_license
AlfonsoRReyes/sdcMicro
R
false
false
7,480
r
#' Suda2: Detecting Special Uniques #' #' SUDA risk measure for data from (stratified) simple random sampling. #' #' Suda 2 is a recursive algorithm for finding Minimal Sample Uniques. The #' algorithm generates all possible variable subsets of defined categorical key #' variables and scans them for unique patterns in ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sun.R \name{apparent_longitude_sun} \alias{apparent_longitude_sun} \title{Apparent geometric longitude referred to the mean equinox of the date} \usage{ apparent_longitude_sun(jd) } \arguments{ \item{jd}{Julian day} } \value{ Sun's Apparent g...
/man/apparent_longitude_sun.Rd
no_license
Susarro/arqastwb
R
false
true
509
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/sun.R \name{apparent_longitude_sun} \alias{apparent_longitude_sun} \title{Apparent geometric longitude referred to the mean equinox of the date} \usage{ apparent_longitude_sun(jd) } \arguments{ \item{jd}{Julian day} } \value{ Sun's Apparent g...
#' Calculates Dry-Weather Flow (DWF) #' #' @param date vector of date for flow and rain data #' @param flow vector of flow data, in GPD #' @param rain vector of rain, in inches #' @param max.rain.short maximum allowable rain during the short-term #' @param dry.days.short number of days considered in the short-term #' @...
/R/SSOAP.R
no_license
dCraigJones/rSSOAP
R
false
false
5,725
r
#' Calculates Dry-Weather Flow (DWF) #' #' @param date vector of date for flow and rain data #' @param flow vector of flow data, in GPD #' @param rain vector of rain, in inches #' @param max.rain.short maximum allowable rain during the short-term #' @param dry.days.short number of days considered in the short-term #' @...
install.packages("dplyr") install.packages("plyr") library(plyr) library(dplyr) data_1 = readLines("Heart_disease_results_i_0_X_0.csv", skipNul=TRUE) data_2 = readLines("Heart_disease_results_i_10_X_2.csv", skipNul=TRUE) data_3 = readLines("Heart_disease_results_i_10_X_5.csv", skipNul=TRUE) data_5 = readLines("Heart_d...
/R source code/boxplot.R
no_license
aprippington/C4.5-Algorithm-Optimisation-Framework-and-Visualiser
R
false
false
2,777
r
install.packages("dplyr") install.packages("plyr") library(plyr) library(dplyr) data_1 = readLines("Heart_disease_results_i_0_X_0.csv", skipNul=TRUE) data_2 = readLines("Heart_disease_results_i_10_X_2.csv", skipNul=TRUE) data_3 = readLines("Heart_disease_results_i_10_X_5.csv", skipNul=TRUE) data_5 = readLines("Heart_d...
# Takes a nested list of arrays. # Returns a flattened list. flatten <- function(nestedArray) { do.call("c", nestedArray) } # Takes an array. # Returns an unsorted histogram of array values. # (This also works with string arrays.) histogram <- function(values) { tapply(values, values, length) } # Takes a list ...
/R/tools.R
no_license
danmcquillan/cosm
R
false
false
2,485
r
# Takes a nested list of arrays. # Returns a flattened list. flatten <- function(nestedArray) { do.call("c", nestedArray) } # Takes an array. # Returns an unsorted histogram of array values. # (This also works with string arrays.) histogram <- function(values) { tapply(values, values, length) } # Takes a list ...
#' Compares different scores in different regression objects. #' #' Creates a composite from different regression objects into #' one forestplot where you can choose the variables of interest #' to get an overview and easier comparison. #' #' @param regr.obj A list with all the fits that have variables that are to #' ...
/R/forestplotCombineRegrObj.R
no_license
yadevi/Greg
R
false
false
5,674
r
#' Compares different scores in different regression objects. #' #' Creates a composite from different regression objects into #' one forestplot where you can choose the variables of interest #' to get an overview and easier comparison. #' #' @param regr.obj A list with all the fits that have variables that are to #' ...
# Multiple independent graphs over 2/1/2007-2/2/2007 source("DataLoader.R") plotdata <- loadData() png("Plot4.png") par(mfrow=c(2,2)) par(mar=c(4,4,4,4)) plot(plotdata$datetime, plotdata$Global_active_power , type = "l" , xlab = "" , ylab = "Global Active Power (kilowatts)" ) plot(plotdata$date...
/Plot4.R
no_license
sherifffruitfly/ExData_Plotting1
R
false
false
1,097
r
# Multiple independent graphs over 2/1/2007-2/2/2007 source("DataLoader.R") plotdata <- loadData() png("Plot4.png") par(mfrow=c(2,2)) par(mar=c(4,4,4,4)) plot(plotdata$datetime, plotdata$Global_active_power , type = "l" , xlab = "" , ylab = "Global Active Power (kilowatts)" ) plot(plotdata$date...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/iotanalytics_operations.R \name{iotanalytics_create_datastore} \alias{iotanalytics_create_datastore} \title{Creates a data store, which is a repository for messages} \usage{ iotanalytics_create_datastore(datastoreName, datastoreStorage, ret...
/cran/paws.internet.of.things/man/iotanalytics_create_datastore.Rd
permissive
TWarczak/paws
R
false
true
2,222
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/iotanalytics_operations.R \name{iotanalytics_create_datastore} \alias{iotanalytics_create_datastore} \title{Creates a data store, which is a repository for messages} \usage{ iotanalytics_create_datastore(datastoreName, datastoreStorage, ret...
### R code from vignette source 'introduction.Rnw' ################################################### ### code chunk number 1: startup ################################################### #system ("mkdir fig") options(SweaveHooks=list(fig=function() { par(mar = c (4.1, 4.1, 1, .6)) trellis.pars <- trellis.par.get...
/hyperSpec/inst/doc/introduction.R
no_license
ingted/R-Examples
R
false
false
39,319
r
### R code from vignette source 'introduction.Rnw' ################################################### ### code chunk number 1: startup ################################################### #system ("mkdir fig") options(SweaveHooks=list(fig=function() { par(mar = c (4.1, 4.1, 1, .6)) trellis.pars <- trellis.par.get...
# MeSH descriptors - all # Load packages library(igraph) library(poweRlaw) # Read and describe unreduced network # Weights in the 3rd field df <- read.table('uid2uid_all.txt', header = FALSE) df <- df[, 1:2] g <- graph.data.frame(df) g <- as.undirected(g) g <- simplify(g) vcount(g) ecount(g) graph.density(g) # Read ...
/network_analysis/analysis_all.R
no_license
akastrin/kastrin2014large
R
false
false
2,568
r
# MeSH descriptors - all # Load packages library(igraph) library(poweRlaw) # Read and describe unreduced network # Weights in the 3rd field df <- read.table('uid2uid_all.txt', header = FALSE) df <- df[, 1:2] g <- graph.data.frame(df) g <- as.undirected(g) g <- simplify(g) vcount(g) ecount(g) graph.density(g) # Read ...
setwd(dirname(parent.frame(2)$ofile)) pkgs <- c("dplyr","HTSet", "ggplot2", "ggpubr") for (pkg in pkgs) { suppressPackageStartupMessages(library(pkg, character.only = T)) } # Plotting logcpm <- readRDS("../data/mayo_normalized_adj.rds") DE <- readRDS("../data/DE_mayo_adj.rds") rownames(DE$TCX$AD) <- DE$...
/eda/Plots.R
no_license
XYCynthiaT/Alzheimer
R
false
false
4,153
r
setwd(dirname(parent.frame(2)$ofile)) pkgs <- c("dplyr","HTSet", "ggplot2", "ggpubr") for (pkg in pkgs) { suppressPackageStartupMessages(library(pkg, character.only = T)) } # Plotting logcpm <- readRDS("../data/mayo_normalized_adj.rds") DE <- readRDS("../data/DE_mayo_adj.rds") rownames(DE$TCX$AD) <- DE$...
#' A class that contains multiple calculation groups. #' #' The PivotCalculationGroups class stores all of the calculation groups for a #' pivot table. #' #' @docType class #' @importFrom R6 R6Class #' @import jsonlite #' @return Object of \code{\link{R6Class}}. #' @format \code{\link{R6Class}} object. #' @examples #' ...
/R/PivotCalculationGroups.R
no_license
umeshach/pivottabler
R
false
false
6,091
r
#' A class that contains multiple calculation groups. #' #' The PivotCalculationGroups class stores all of the calculation groups for a #' pivot table. #' #' @docType class #' @importFrom R6 R6Class #' @import jsonlite #' @return Object of \code{\link{R6Class}}. #' @format \code{\link{R6Class}} object. #' @examples #' ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plotMethProfile.R \name{plotMethProfile} \alias{plotMethProfile} \title{Plots methylation profiles over a specific region} \usage{ plotMethProfile(rrbs, CpGs, group1, group2, CpGindex) } \arguments{ \item{rrbs}{An rrbs object containing methy...
/man/plotMethProfile.Rd
no_license
TomMayo/M3Ddevel
R
false
true
1,082
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/plotMethProfile.R \name{plotMethProfile} \alias{plotMethProfile} \title{Plots methylation profiles over a specific region} \usage{ plotMethProfile(rrbs, CpGs, group1, group2, CpGindex) } \arguments{ \item{rrbs}{An rrbs object containing methy...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/twoLocusPlot.R \name{twoLocusPlot} \alias{twoLocusPlot} \title{Two-locus coefficient plot} \usage{ twoLocusPlot( peds, coeff = "k11", xlab = "Recombination rate", ylab = NA, col = seq_along(peds), lty = 1, ... ) } \arguments{ \i...
/man/twoLocusPlot.Rd
no_license
DPCscience/ribd
R
false
true
3,303
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/twoLocusPlot.R \name{twoLocusPlot} \alias{twoLocusPlot} \title{Two-locus coefficient plot} \usage{ twoLocusPlot( peds, coeff = "k11", xlab = "Recombination rate", ylab = NA, col = seq_along(peds), lty = 1, ... ) } \arguments{ \i...
#' @title Set width(s) of variable(s) #' #' @description \code{setWidths} assigns an integer value (width) to the variable(s) specified in #' the input parameters. #' #' @param schema Object of class \linkS4class{StfwfSchema}. #' #' @param widths integer vector with the new widths of the variables. #' #' @param variabl...
/R/setWidths.R
no_license
david-salgado/fastReadfwf
R
false
false
2,156
r
#' @title Set width(s) of variable(s) #' #' @description \code{setWidths} assigns an integer value (width) to the variable(s) specified in #' the input parameters. #' #' @param schema Object of class \linkS4class{StfwfSchema}. #' #' @param widths integer vector with the new widths of the variables. #' #' @param variabl...
# install.packages("mapproj") # install.packages("ggmap") # install.packages("DeducerSpatial") library(mapproj) library(ggmap) library(DeducerSpatial) require(maps) require(ggmap) par(mfrow = c(2, 1)) map("usa") map("county") map("world", "China") map.cities(country = "China", capitals = 2) map...
/Data 608 Final Project/Data 608 Final Project/Testing_Mapping_Crime_Data_11_24_19.R
no_license
crarnouts/Data-608-Final-Project
R
false
false
3,135
r
# install.packages("mapproj") # install.packages("ggmap") # install.packages("DeducerSpatial") library(mapproj) library(ggmap) library(DeducerSpatial) require(maps) require(ggmap) par(mfrow = c(2, 1)) map("usa") map("county") map("world", "China") map.cities(country = "China", capitals = 2) map...
## Making two functions to calculate and store the inverse of a matrix. ## Makes a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { i <- NULL set <- function(y) { x <<- y i <<- NULL } get <- function() x setinverse <- function(solv...
/cachematrix.R
no_license
alpaca-jack/ProgrammingAssignment2
R
false
false
904
r
## Making two functions to calculate and store the inverse of a matrix. ## Makes a special "matrix" object that can cache its inverse. makeCacheMatrix <- function(x = matrix()) { i <- NULL set <- function(y) { x <<- y i <<- NULL } get <- function() x setinverse <- function(solv...
## library(lattice) ## library(latticeExtra) Base <- function(dfunction, xlim, ylim, ylab=deparse(substitute(dfunction)), xlab="x", main=NULL, sub=NULL, number.vars=1, key.axis.paddin...
/R/normal.and.t.support.R
no_license
cran/HH
R
false
false
7,166
r
## library(lattice) ## library(latticeExtra) Base <- function(dfunction, xlim, ylim, ylab=deparse(substitute(dfunction)), xlab="x", main=NULL, sub=NULL, number.vars=1, key.axis.paddin...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/runtime_comparison.r \name{tca.gmm} \alias{tca.gmm} \title{Run fast TCA method} \usage{ tca.gmm(X, W, Y) } \description{ methods vector should have these exact function names. Input should always be X, W, Y as produced by the simulation frame...
/man/tca.gmm.Rd
no_license
GenomicsNX/CellTypeSpecificMethylationAnalysis
R
false
true
327
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/runtime_comparison.r \name{tca.gmm} \alias{tca.gmm} \title{Run fast TCA method} \usage{ tca.gmm(X, W, Y) } \description{ methods vector should have these exact function names. Input should always be X, W, Y as produced by the simulation frame...
all_data <- read.csv("sampleData1.csv") # Quick exploration of the dataset print(paste("Number of rows", nrow(all_data))) head(all_data) # First, lets split the set, 70% is for traing, 30% for testing train_data <- all_data[0:70, ] test_data <- all_data[71:100, ] # Train a simple model model <- lm(price ~ x + y, trai...
/linearRegression/linearRegression.R
no_license
moriano/machineLearningExamples
R
false
false
1,605
r
all_data <- read.csv("sampleData1.csv") # Quick exploration of the dataset print(paste("Number of rows", nrow(all_data))) head(all_data) # First, lets split the set, 70% is for traing, 30% for testing train_data <- all_data[0:70, ] test_data <- all_data[71:100, ] # Train a simple model model <- lm(price ~ x + y, trai...
library(sf) ## Simple Features library(tidyverse) library(magrittr) library(ggplot2) library(tidycensus) ## Consider: path.package("sf") install.packages("sf", lib="Resources/library/sf0_7_3") library(sf, lib.loc="Resources/library/sf0_7_3") ## Quick theme for removing extraneous chart parts with theme_get: ## http...
/SNAP Project/dc_tracts_sf_ggplot2/sf_ggplot2.R
no_license
yyd007/DataVis-SNAP
R
false
false
4,127
r
library(sf) ## Simple Features library(tidyverse) library(magrittr) library(ggplot2) library(tidycensus) ## Consider: path.package("sf") install.packages("sf", lib="Resources/library/sf0_7_3") library(sf, lib.loc="Resources/library/sf0_7_3") ## Quick theme for removing extraneous chart parts with theme_get: ## http...
\name{experimentD} \alias{experimentD} \title{Running a computer experiment} \usage{ experimentD(n, h, d, s, x, b, sgnf, piv_draws) } \arguments{ \item{n}{number of draws.} \item{h}{heterogeneity.} \item{d}{heteroscedasticity.} \item{s}{vector study sizes.} \item{x}{design matrix.} \item{b}{regressio...
/man/experimentD.Rd
no_license
cran/metagen
R
false
false
1,227
rd
\name{experimentD} \alias{experimentD} \title{Running a computer experiment} \usage{ experimentD(n, h, d, s, x, b, sgnf, piv_draws) } \arguments{ \item{n}{number of draws.} \item{h}{heterogeneity.} \item{d}{heteroscedasticity.} \item{s}{vector study sizes.} \item{x}{design matrix.} \item{b}{regressio...
#get data d_safe = read.csv("data/model_fit_safe-Table 1.csv") d_imp = read.csv("data/model_fit_important-Table 1.csv") d_eff = read.csv("data/model_fit_effective-Table 1.csv") all_regions = unique(d_safe$who_region)
/get_data.R
no_license
gretacv/vcp_shiny
R
false
false
220
r
#get data d_safe = read.csv("data/model_fit_safe-Table 1.csv") d_imp = read.csv("data/model_fit_important-Table 1.csv") d_eff = read.csv("data/model_fit_effective-Table 1.csv") all_regions = unique(d_safe$who_region)
setwd('C:/Users/eugene_lamb/Projects/Data Science/Reproducible Research/Course Project 1/') # Loading and preprocessing the data activity <- read.csv('activity.csv') activity$date <- as.Date(activity$date) activity_non_null <- subset(activity, !is.na(activity$steps)) library(sqldf) step_days <- sqldf('SEL...
/05 - Reproducible Research/Course Project 1/course_project_1.R
no_license
eablamb/datasciencecoursera
R
false
false
1,090
r
setwd('C:/Users/eugene_lamb/Projects/Data Science/Reproducible Research/Course Project 1/') # Loading and preprocessing the data activity <- read.csv('activity.csv') activity$date <- as.Date(activity$date) activity_non_null <- subset(activity, !is.na(activity$steps)) library(sqldf) step_days <- sqldf('SEL...
library(tidyverse) library(ggalt) library(janitor) library(stringr) my_colors <- function(palette = "cb") { cb.palette <- c("#000000", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00", "#CC79A7") rcb.palette <- rev(cb.palette) bly.palette <- c("#E69F00", "#0072B2", "#000000", "#56B...
/nces.r
no_license
lx0413/nces-degrees
R
false
false
4,670
r
library(tidyverse) library(ggalt) library(janitor) library(stringr) my_colors <- function(palette = "cb") { cb.palette <- c("#000000", "#E69F00", "#56B4E9", "#009E73", "#F0E442", "#0072B2", "#D55E00", "#CC79A7") rcb.palette <- rev(cb.palette) bly.palette <- c("#E69F00", "#0072B2", "#000000", "#56B...
cces16 <- cces16 %>% mutate(age = 2016 - birthyr) %>% mutate(age2 = car::recode(age, "18:24 = '18-24'; 25:29 = '25-29'; 30:34 = '30-34'; 35:39 = '35-39'; 40:44 = '40-44'; 45:49 = '45-49'; 50:54 = '50-54'; 55:59 = '55-59'; 60:64 = '60-64'; 65:69 = '65-69'; 70:74 = '70-74'; 75:100 = '75+'")) %>% mutate(male = c...
/old stuff/first_interact.R
no_license
ryanburge/abortion40
R
false
false
15,252
r
cces16 <- cces16 %>% mutate(age = 2016 - birthyr) %>% mutate(age2 = car::recode(age, "18:24 = '18-24'; 25:29 = '25-29'; 30:34 = '30-34'; 35:39 = '35-39'; 40:44 = '40-44'; 45:49 = '45-49'; 50:54 = '50-54'; 55:59 = '55-59'; 60:64 = '60-64'; 65:69 = '65-69'; 70:74 = '70-74'; 75:100 = '75+'")) %>% mutate(male = c...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dispersion_scan.R \name{dispersion_scan} \alias{dispersion_scan} \title{Calculate optical response as a function of both angle and wavelength} \usage{ dispersion_scan( layers, angles = seq(0, 90, length.out = 100), wavelengths = seq(3.5...
/man/dispersion_scan.Rd
no_license
Chen00Ye/mlfilms
R
false
true
2,807
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/dispersion_scan.R \name{dispersion_scan} \alias{dispersion_scan} \title{Calculate optical response as a function of both angle and wavelength} \usage{ dispersion_scan( layers, angles = seq(0, 90, length.out = 100), wavelengths = seq(3.5...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/post-requests.R \name{post-requests} \alias{post-requests} \title{HTTP POST/PUT/PATCH requests} \description{ HTTP POST/PUT/PATCH requests } \examples{ (x <- HttpClient$new(url = "https://httpbin.org")) # POST requests ## a list (res_post <-...
/man/post-requests.Rd
permissive
graceli8/crul
R
false
true
2,086
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/post-requests.R \name{post-requests} \alias{post-requests} \title{HTTP POST/PUT/PATCH requests} \description{ HTTP POST/PUT/PATCH requests } \examples{ (x <- HttpClient$new(url = "https://httpbin.org")) # POST requests ## a list (res_post <-...
### Other day samples - fit gamma dd <- read.csv("~/Documents/snp_cutoff/data/mrsa_pros.csv") u<-sort(unique(dd$liDayGap)) coef_store<-c(); data_store<-c() library(fitdistrplus) # trial i = 14 w<-which(dd$liDayGap == u[i]) h <- hist(dd[w,]$liSNPdis,breaks=seq(0,max(dd[w,"liSNPdis"]),1),plot = FALSE) data <- data.fram...
/analysis/other_day_gamma.R
no_license
gwenknight/snp_cutoff
R
false
false
3,520
r
### Other day samples - fit gamma dd <- read.csv("~/Documents/snp_cutoff/data/mrsa_pros.csv") u<-sort(unique(dd$liDayGap)) coef_store<-c(); data_store<-c() library(fitdistrplus) # trial i = 14 w<-which(dd$liDayGap == u[i]) h <- hist(dd[w,]$liSNPdis,breaks=seq(0,max(dd[w,"liSNPdis"]),1),plot = FALSE) data <- data.fram...
# FAIL TEST ci.plot if simrange is not supplied -------------------------------- test_that('FAIL TEST ci.plot if simrange is not supplied', { z <- zls$new() z$zelig(Fertility ~ Education, data = swiss) expect_error(ci.plot(z), 'Simulations for a range of fitted values are not present.') }...
/tests/testthat/test-plots.R
no_license
IQSS/Zelig
R
false
false
1,439
r
# FAIL TEST ci.plot if simrange is not supplied -------------------------------- test_that('FAIL TEST ci.plot if simrange is not supplied', { z <- zls$new() z$zelig(Fertility ~ Education, data = swiss) expect_error(ci.plot(z), 'Simulations for a range of fitted values are not present.') }...
context("predict") source("test-main.R") # source("tests/testthat/test-main.R") # ============================================================================== # Tests # ============================================================================== ### Default test_that("predict() fails for non-linear and 2ndorder ...
/tests/testthat/test-predict.R
no_license
RicoDiel/cSEM
R
false
false
2,173
r
context("predict") source("test-main.R") # source("tests/testthat/test-main.R") # ============================================================================== # Tests # ============================================================================== ### Default test_that("predict() fails for non-linear and 2ndorder ...
#This r script creates Chinook temperature-dependent growth curves for a given combination of #consumer weight, consumer energy density (J/g), feeding rate (P-value or %Cmax), and prey energy #density (J/g). #Define Chinook-specific parameters: #Consumption related parameters (user defined): CA <- 0.303 CB <- -0.275...
/Analysis/Growth Curves/Temp Dependent Growth Curves.R
no_license
aspanjer/Chap1-2
R
false
false
7,321
r
#This r script creates Chinook temperature-dependent growth curves for a given combination of #consumer weight, consumer energy density (J/g), feeding rate (P-value or %Cmax), and prey energy #density (J/g). #Define Chinook-specific parameters: #Consumption related parameters (user defined): CA <- 0.303 CB <- -0.275...
rm(list=ls()) library(tidyverse) library(curl) library(readxl) library(paletteer) library(gt) library(sf) #Read in vaccination data #https://www.england.nhs.uk/statistics/statistical-work-areas/covid-19-vaccinations/ vax <- tempfile() url <- "https://www.england.nhs.uk/statistics/wp-content/uploads/sites/...
/Heatmaps/YorkshireVaxCartogram.R
no_license
zawmtun/COVID-20
R
false
false
17,206
r
rm(list=ls()) library(tidyverse) library(curl) library(readxl) library(paletteer) library(gt) library(sf) #Read in vaccination data #https://www.england.nhs.uk/statistics/statistical-work-areas/covid-19-vaccinations/ vax <- tempfile() url <- "https://www.england.nhs.uk/statistics/wp-content/uploads/sites/...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/outcome_models.R \name{fit_prog_cits} \alias{fit_prog_cits} \title{Fit a Comparitive interupted time series to fit E[Y(0)|X]} \usage{ fit_prog_cits(X, y, trt, poly_order = 1, weights = NULL, ...) } \arguments{ \item{X}{Matrix of covariates/la...
/man/fit_prog_cits.Rd
permissive
clarkest/augsynth
R
false
true
803
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/outcome_models.R \name{fit_prog_cits} \alias{fit_prog_cits} \title{Fit a Comparitive interupted time series to fit E[Y(0)|X]} \usage{ fit_prog_cits(X, y, trt, poly_order = 1, weights = NULL, ...) } \arguments{ \item{X}{Matrix of covariates/la...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/geoflow_utils.R \name{sanitize_str} \alias{sanitize_str} \title{sanitize_str} \usage{ sanitize_str(str) } \description{ sanitize_str }
/man/sanitize_str.Rd
no_license
gitter-badger/geoflow
R
false
true
213
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/geoflow_utils.R \name{sanitize_str} \alias{sanitize_str} \title{sanitize_str} \usage{ sanitize_str(str) } \description{ sanitize_str }
% Generated by roxygen2 (4.1.0.9001): do not edit by hand % Please edit documentation in R/fslhd.R \name{get.fsloutput} \alias{get.fsloutput} \title{Determine FSL output type} \usage{ get.fsloutput() } \value{ FSLOUTPUTTYPE, such as NIFTI_GZ. If none found, uses NIFTI_GZ as default } \description{ Finds the FSLOUTPUTT...
/man/get.fsloutput.Rd
no_license
parthasen/fslr
R
false
false
432
rd
% Generated by roxygen2 (4.1.0.9001): do not edit by hand % Please edit documentation in R/fslhd.R \name{get.fsloutput} \alias{get.fsloutput} \title{Determine FSL output type} \usage{ get.fsloutput() } \value{ FSLOUTPUTTYPE, such as NIFTI_GZ. If none found, uses NIFTI_GZ as default } \description{ Finds the FSLOUTPUTT...
data <- data.table::fread("Data/bitstamp/bitstampusd_outliers.csv") data <- data[Year != 2020 & Year != 2011] freqtab <- data[, .N, by = Year]
/figures_tables/tab_outliers.R
no_license
nidprez/ta_on_bitcoin
R
false
false
143
r
data <- data.table::fread("Data/bitstamp/bitstampusd_outliers.csv") data <- data[Year != 2020 & Year != 2011] freqtab <- data[, .N, by = Year]
#Random Forest Classifier library(caret) library(randomForest) ##Retreving the dataset from the location setwd("C:/Users/DINESH GUDIVADA/Downloads/ML") data<- read.csv("AB_NYC_2019.csv",header = TRUE, sep = ",") data nrow(data) #Identify NA values is.na(data) #Remove NA data1<-na.omit(data) #row c...
/Random_Forest.R
no_license
18191851/An-approach-with-Data-Mining-and-Machine-Learning-Methodologies-and-Evaluation-Methods
R
false
false
2,342
r
#Random Forest Classifier library(caret) library(randomForest) ##Retreving the dataset from the location setwd("C:/Users/DINESH GUDIVADA/Downloads/ML") data<- read.csv("AB_NYC_2019.csv",header = TRUE, sep = ",") data nrow(data) #Identify NA values is.na(data) #Remove NA data1<-na.omit(data) #row c...
/Funciones_R.R
no_license
javito23/Time_Series_Analysis_in_R
R
false
false
8,860
r
autolib<-function(Package,mirror="http://stat.ethz.ch/CRAN",...){ if(!suppressWarnings(require(as.character(substitute(Package)), character.only=TRUE,quietly=TRUE,...))){ Package<-as.character(substitute(Package)) install.packages(Package,repos=mirror,...) library(Package,ch...
/scripts/make-smith-multipathogen-db.R
no_license
GustafRydevik/EID-and-EVT
R
false
false
1,347
r
autolib<-function(Package,mirror="http://stat.ethz.ch/CRAN",...){ if(!suppressWarnings(require(as.character(substitute(Package)), character.only=TRUE,quietly=TRUE,...))){ Package<-as.character(substitute(Package)) install.packages(Package,repos=mirror,...) library(Package,ch...
ecomdata = read.csv("EcommerceData.csv") str(ecomdata) nrow(ecomdata) length(unique(ecomdata$InvoiceNo)) length(unique(grepl('c',ecomdata$InvoiceNo))) ?grepl nrow(ecomdata[grepl('C',ecomdata$InvoiceNo),]) # Customer details are unavailable. sum(is.na(ecomdata$CustomerID)) ecomdata = ecomdata[!is.na(ecomdata$Custome...
/Other Sources/EcommerceData.R
no_license
SaiSingamsetty/DataScience
R
false
false
497
r
ecomdata = read.csv("EcommerceData.csv") str(ecomdata) nrow(ecomdata) length(unique(ecomdata$InvoiceNo)) length(unique(grepl('c',ecomdata$InvoiceNo))) ?grepl nrow(ecomdata[grepl('C',ecomdata$InvoiceNo),]) # Customer details are unavailable. sum(is.na(ecomdata$CustomerID)) ecomdata = ecomdata[!is.na(ecomdata$Custome...
PCAFuturo<-function(Env, Dir, DirP, Save=''){ #1.Realizar a PCA das variaveis no presente DF<-rasterToPoints(Env) DF<-na.omit(DF) PcaR<-DF[,-c(1:2)] means<-colMeans(PcaR) stds<-apply(PcaR,2,sd) #Scale transform DScale <- data.frame(appl...
/Scripts_for_ENM_TheMetaLand/PcaFuturo_TMLA.R
no_license
mglima/ENM_TheMetaLand
R
false
false
2,113
r
PCAFuturo<-function(Env, Dir, DirP, Save=''){ #1.Realizar a PCA das variaveis no presente DF<-rasterToPoints(Env) DF<-na.omit(DF) PcaR<-DF[,-c(1:2)] means<-colMeans(PcaR) stds<-apply(PcaR,2,sd) #Scale transform DScale <- data.frame(appl...
context("test-backend-oracle.R") test_that("custom scalar functions translated correctly", { trans <- function(x) { translate_sql(!!enquo(x), con = simulate_oracle()) } expect_equal(trans(as.character(x)), sql("CAST(`x` AS VARCHAR2(255))")) expect_equal(trans(as.integer64(x)), sql("CAST(`x` AS NUMBER(19)...
/tests/testthat/test-backend-oracle.R
permissive
klmedeiros/dbplyr
R
false
false
934
r
context("test-backend-oracle.R") test_that("custom scalar functions translated correctly", { trans <- function(x) { translate_sql(!!enquo(x), con = simulate_oracle()) } expect_equal(trans(as.character(x)), sql("CAST(`x` AS VARCHAR2(255))")) expect_equal(trans(as.integer64(x)), sql("CAST(`x` AS NUMBER(19)...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Console_Add-Ins.R \name{run_chunk} \alias{run_chunk} \title{Run Code in the Console} \usage{ run_chunk() } \value{ The code in the console, invisibly (character scalar). } \description{ Run the code currently in the console, without clearing ...
/man/run_chunk.Rd
permissive
KO112/KO
R
false
true
423
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Console_Add-Ins.R \name{run_chunk} \alias{run_chunk} \title{Run Code in the Console} \usage{ run_chunk() } \value{ The code in the console, invisibly (character scalar). } \description{ Run the code currently in the console, without clearing ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lgcpStructures.R \name{GPdrv2_Multitype} \alias{GPdrv2_Multitype} \title{GPdrv2_Multitype function} \usage{ GPdrv2_Multitype(GPlist, priorlist, Zlist, Ztlist, etalist, betalist, nis, cellarea, spatial, gradtrunc, fftgrid, covfunction, d, ep...
/man/GPdrv2_Multitype.Rd
no_license
jmarshallnz/lgcp
R
false
true
1,478
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/lgcpStructures.R \name{GPdrv2_Multitype} \alias{GPdrv2_Multitype} \title{GPdrv2_Multitype function} \usage{ GPdrv2_Multitype(GPlist, priorlist, Zlist, Ztlist, etalist, betalist, nis, cellarea, spatial, gradtrunc, fftgrid, covfunction, d, ep...
dput(airquality, file="airquality.R")
/airquality arturo.R
no_license
LordRickard/Programacion_Actuarial_III_OT16
R
false
false
38
r
dput(airquality, file="airquality.R")
function(req) { list( htmltools::htmlDependency( "font-awesome", "5.3.1", "www/shared/fontawesome", package = "shiny", stylesheet = c("css/all.min.css", "css/v4-shims.min.css") ), # DT:::DTDependency("default"), # DT:::extDependency("Buttons", "default", list()), tags$head( ...
/ui.R
no_license
jmuhlich/shinyDepMap
R
false
false
6,549
r
function(req) { list( htmltools::htmlDependency( "font-awesome", "5.3.1", "www/shared/fontawesome", package = "shiny", stylesheet = c("css/all.min.css", "css/v4-shims.min.css") ), # DT:::DTDependency("default"), # DT:::extDependency("Buttons", "default", list()), tags$head( ...
pkn.findNextWord <- function(string, ncandidates, min_cand_freq = 3, dictlist){ #Determine candidates that have a min. count of min_cand_freq source("predictive-text-analysis/pkn/pkn.candidateList.R") print(c("[EC1] Original string:", string)) library(qdap) string <- gsub(pattern = "'", replacement ...
/predictive-text-analysis/pkn/pkn.pkn.findNextWord.R
no_license
AzharMithani/Text-Predictor
R
false
false
1,307
r
pkn.findNextWord <- function(string, ncandidates, min_cand_freq = 3, dictlist){ #Determine candidates that have a min. count of min_cand_freq source("predictive-text-analysis/pkn/pkn.candidateList.R") print(c("[EC1] Original string:", string)) library(qdap) string <- gsub(pattern = "'", replacement ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mobforest.output.R \name{mobforest.output} \alias{mobforest.output} \title{Model-based random forest object} \usage{ mobforest.output(oob_predictions, general_predictions, new_data_predictions, varimp_object, model_used, family, train_respo...
/man/mobforest.output.Rd
no_license
RTIInternational/mobForest
R
false
true
1,136
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/mobforest.output.R \name{mobforest.output} \alias{mobforest.output} \title{Model-based random forest object} \usage{ mobforest.output(oob_predictions, general_predictions, new_data_predictions, varimp_object, model_used, family, train_respo...