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
entropy=function(fea){ #計算input feature or target class label 的原始亂度 fea=as.data.frame(fea) info=abs(sum((table(fea)/nrow(fea))*log(table(fea)/nrow(fea),2))) return(info) }
/R/評估/entropy.r
no_license
DaYi-TW/Data-science
R
false
false
202
r
entropy=function(fea){ #計算input feature or target class label 的原始亂度 fea=as.data.frame(fea) info=abs(sum((table(fea)/nrow(fea))*log(table(fea)/nrow(fea),2))) return(info) }
"checkcont"<-function(cont){ if(!is.data.frame(cont)){ cont <- as.data.frame(cont) } if("data.table" %in% class(cont)){ cont <- as.data.frame(cont) setDF(cont) } if(!("age" %in% colnames(cont))){stop("Column 'age' is missing in data frame cont.\n")} if(!is.numeric(cont$age)...
/fuzzedpackages/optiSel/R/checkcont.R
no_license
akhikolla/testpackages
R
false
false
3,011
r
"checkcont"<-function(cont){ if(!is.data.frame(cont)){ cont <- as.data.frame(cont) } if("data.table" %in% class(cont)){ cont <- as.data.frame(cont) setDF(cont) } if(!("age" %in% colnames(cont))){stop("Column 'age' is missing in data frame cont.\n")} if(!is.numeric(cont$age)...
t<-read.csv("weibo_train_data.txt",header=T,sep="\t",quote="\n") p<-read.csv("weibo_predict_data.txt",header=T,sep="\t",quote="\n") colnames(t)<-c("uid","mid","time","foreward_count","comment_count","like_count","content") colnames(p)<-c("uid","mid","time","content") #load("RDataTotal") #t<-read.csv("train.txt",heade...
/mean.R
no_license
ldengjie/tianchi_weibo
R
false
false
3,347
r
t<-read.csv("weibo_train_data.txt",header=T,sep="\t",quote="\n") p<-read.csv("weibo_predict_data.txt",header=T,sep="\t",quote="\n") colnames(t)<-c("uid","mid","time","foreward_count","comment_count","like_count","content") colnames(p)<-c("uid","mid","time","content") #load("RDataTotal") #t<-read.csv("train.txt",heade...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/go_home_work.R \name{process_gtfs_local} \alias{process_gtfs_local} \title{process_gtfs_local} \usage{ process_gtfs_local(expand = 2) } \arguments{ \item{expand}{The data set is reduced to the bounding box defined by the home and work station...
/fuzzedpackages/gtfsrouter/man/process_gtfs_local.Rd
no_license
akhikolla/testpackages
R
false
true
653
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/go_home_work.R \name{process_gtfs_local} \alias{process_gtfs_local} \title{process_gtfs_local} \usage{ process_gtfs_local(expand = 2) } \arguments{ \item{expand}{The data set is reduced to the bounding box defined by the home and work station...
library(shiny) #Define a UI for an app that creates a plot between speed of cars and stopping distance in the 'cars' dataset. shinyUI(fluidPage( # Application title titlePanel("Plot Stopping Distance Against Speed"), # Sidebar with a slider input for range of speed for which stopping distance is to be p...
/ui.R
no_license
nvn02/Developing-Data-Products
R
false
false
1,072
r
library(shiny) #Define a UI for an app that creates a plot between speed of cars and stopping distance in the 'cars' dataset. shinyUI(fluidPage( # Application title titlePanel("Plot Stopping Distance Against Speed"), # Sidebar with a slider input for range of speed for which stopping distance is to be p...
/CURSO BÁSICO R 2020 3 - GEN - Copia.R
no_license
Vanderley-Borges/R-core
R
false
false
11,171
r
#' Statistical test for grade data #' #' Convert grade data to real observations and perform t test. #' #' @param ino a list contains inoculation grade data. #' @param alternative a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less". You can specify just t...
/R/test.R
no_license
wangqinhu/aid
R
false
false
4,199
r
#' Statistical test for grade data #' #' Convert grade data to real observations and perform t test. #' #' @param ino a list contains inoculation grade data. #' @param alternative a character string specifying the alternative hypothesis, must be one of "two.sided" (default), "greater" or "less". You can specify just t...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/repgrid-constructs.r \name{getConstructNames2} \alias{getConstructNames2} \title{Retrieve construct names in needed format.} \usage{ getConstructNames2(x, mode = 1, trim = 20, index = F, sep = " - ", pre = "(", post = ") ") } \arguments{ \i...
/man/getConstructNames2.Rd
no_license
artoo-git/OpenRepGrid
R
false
true
1,396
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/repgrid-constructs.r \name{getConstructNames2} \alias{getConstructNames2} \title{Retrieve construct names in needed format.} \usage{ getConstructNames2(x, mode = 1, trim = 20, index = F, sep = " - ", pre = "(", post = ") ") } \arguments{ \i...
skip_if_not_installed("modeldata") data("credit_data", package = "modeldata") x <- rep(letters[1:3], 2) x_na <- c(rep(letters[1:3], 2), NA) allowed_values <- letters[1:3] test_that("new_values_func passes when no new values", { expect_error(new_values_func(x, allowed_values), NA) }) test_that("new_values_func brea...
/tests/testthat/test-newvalues.R
permissive
tidymodels/recipes
R
false
false
5,476
r
skip_if_not_installed("modeldata") data("credit_data", package = "modeldata") x <- rep(letters[1:3], 2) x_na <- c(rep(letters[1:3], 2), NA) allowed_values <- letters[1:3] test_that("new_values_func passes when no new values", { expect_error(new_values_func(x, allowed_values), NA) }) test_that("new_values_func brea...
testlist <- list(x = c(5.41117183362623e-312, -1.17866013759774e+306, NaN, NaN, NaN, NaN, NaN, NaN, NaN, 6.51851512427035e+91, 3.64469672236317e+88, 3.64469672236317e+88, 3.64469672236317e+88, -9.01444303589792e+261, 2.14324240384498e-312, 6.83799556982266e+91, 3.0135153699541e+296, 4.07668344715436e-307, -2.498334...
/diceR/inst/testfiles/connectivity_matrix/libFuzzer_connectivity_matrix/connectivity_matrix_valgrind_files/1609958705-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
893
r
testlist <- list(x = c(5.41117183362623e-312, -1.17866013759774e+306, NaN, NaN, NaN, NaN, NaN, NaN, NaN, 6.51851512427035e+91, 3.64469672236317e+88, 3.64469672236317e+88, 3.64469672236317e+88, -9.01444303589792e+261, 2.14324240384498e-312, 6.83799556982266e+91, 3.0135153699541e+296, 4.07668344715436e-307, -2.498334...
#' Perform ridge regression using QR decomposition #' #' Use \code{.ridgeregQr} to perform ridge regression. #' #' @param formula an object of \code{\link{class}} \code{\link{formula}} (or one #' that can be coerced to that class): a symbolic description of the model to #' be fitted. #' @param data a data frame or ...
/R/ridgeregQr.R
no_license
nusrathfatima/732A94_Lab7
R
false
false
2,717
r
#' Perform ridge regression using QR decomposition #' #' Use \code{.ridgeregQr} to perform ridge regression. #' #' @param formula an object of \code{\link{class}} \code{\link{formula}} (or one #' that can be coerced to that class): a symbolic description of the model to #' be fitted. #' @param data a data frame or ...
## Set working environment install.packages("pacman") library(pacman) p_load("data.table","sp","raster","ochRe") layer_path <- "./figures_rcp85" ## specify file path to the figures folder "./folder-path" ## "./" reresents current folder. ## Do not add a "/" at the end of the file path. ## ------------------...
/scripts/v5_plotscript_for_Tash.R
permissive
payalbal/regtrade_CLUES
R
false
false
4,468
r
## Set working environment install.packages("pacman") library(pacman) p_load("data.table","sp","raster","ochRe") layer_path <- "./figures_rcp85" ## specify file path to the figures folder "./folder-path" ## "./" reresents current folder. ## Do not add a "/" at the end of the file path. ## ------------------...
lock.tf <- F if(checkcutoff.f(yy, raw_EXC.dir, raw_OTC.dir, raw_EXTRA.dir)){ if(preyy == 0){ yy <- 0 lock.tf <- T }else if(preyy %in% DONE){ print("REPEAT YEAR: stop()") lock.tf <- F }else if(preyy > max(DONE) + 1){ print("SKIP YEAR: stop()"...
/zV_Past/zb_Demo (20161112)/_MainCode_Demo_old/__ProgressYear.R
no_license
junyitt/HM2016
R
false
false
1,744
r
lock.tf <- F if(checkcutoff.f(yy, raw_EXC.dir, raw_OTC.dir, raw_EXTRA.dir)){ if(preyy == 0){ yy <- 0 lock.tf <- T }else if(preyy %in% DONE){ print("REPEAT YEAR: stop()") lock.tf <- F }else if(preyy > max(DONE) + 1){ print("SKIP YEAR: stop()"...
#' Results: Simple Mediation Model - Multivariate Normal Distribution - Data Missing at Random - Nonparametric Bootstrap Confidence Intervals using Full Information Maximum Likelihood #' #' @family results #' @keywords results #' @inherit A details #' @format A data frame with the following variables #' \describe{ #' ...
/R/results_mvn_mar_nb.fiml_ci.R
permissive
jeksterslabds/jeksterslabRmedsimple
R
false
false
8,529
r
#' Results: Simple Mediation Model - Multivariate Normal Distribution - Data Missing at Random - Nonparametric Bootstrap Confidence Intervals using Full Information Maximum Likelihood #' #' @family results #' @keywords results #' @inherit A details #' @format A data frame with the following variables #' \describe{ #' ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/date.R \name{date-and-date-time-shifting} \alias{date-and-date-time-shifting} \alias{date_shift} \title{Shifting: date and date-time} \usage{ date_shift(x, target, ..., which = "next", boundary = "keep") } \arguments{ \item{x}{\verb{[Date / P...
/man/date-and-date-time-shifting.Rd
permissive
isabella232/clock-2
R
false
true
1,831
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/date.R \name{date-and-date-time-shifting} \alias{date-and-date-time-shifting} \alias{date_shift} \title{Shifting: date and date-time} \usage{ date_shift(x, target, ..., which = "next", boundary = "keep") } \arguments{ \item{x}{\verb{[Date / P...
## microfinance network ## data from BANERJEE, CHANDRASEKHAR, DUFLO, JACKSON 2012 ## data on 8622 households hh <- read.csv("microfi_households.csv", row.names="hh") hh$village <- factor(hh$village) ## We'll kick off with a bunch of network stuff. ## This will be covered in more detail in lecture 6. ## get igraph off...
/microfi_start.R
no_license
bd-41201/hw4
R
false
false
6,160
r
## microfinance network ## data from BANERJEE, CHANDRASEKHAR, DUFLO, JACKSON 2012 ## data on 8622 households hh <- read.csv("microfi_households.csv", row.names="hh") hh$village <- factor(hh$village) ## We'll kick off with a bunch of network stuff. ## This will be covered in more detail in lecture 6. ## get igraph off...
svyttest<-function(formula, design,...) UseMethod("svyttest",design) svyttest.default<-function(formula, design, ...){ if (formula[[3]]==1 || formula[[3]]==0){ ## one-sample tt <- eval(bquote(svymean(~.(formula[[2]]),design,...))) rval<-list(statistic=coef(tt)[1]/SE(tt)[1], parameter=degf(...
/R/svyttest.R
no_license
richardli/survey
R
false
false
4,599
r
svyttest<-function(formula, design,...) UseMethod("svyttest",design) svyttest.default<-function(formula, design, ...){ if (formula[[3]]==1 || formula[[3]]==0){ ## one-sample tt <- eval(bquote(svymean(~.(formula[[2]]),design,...))) rval<-list(statistic=coef(tt)[1]/SE(tt)[1], parameter=degf(...
# Script Description -------------------- # This script creates a stacked area graph of time-series land cover data, particularly # the ESA CCI land cover data (1992-2015) using original land cover categories. # # Script By: Jose Don T De Alban # Date Created: 20 Nov 2017 # Last Modified: 20 Feb 2018 # Set Wo...
/2 regime shifts/scripts/Myanmar.StackedArea.ESACCI.SHN.Original.R
no_license
dondealban/myanmar
R
false
false
3,816
r
# Script Description -------------------- # This script creates a stacked area graph of time-series land cover data, particularly # the ESA CCI land cover data (1992-2015) using original land cover categories. # # Script By: Jose Don T De Alban # Date Created: 20 Nov 2017 # Last Modified: 20 Feb 2018 # Set Wo...
#' Run BioCro at a point #' #' @param lat latitude in decimal degrees #' @param lon longitude in decimal degrees #' @param metpath full path and name prefix of a csv file with hourly data in BioCro format, #' e.g. `/dir/met` if the files to be used are `/dir/met.2004.csv` and `dir/met.2005.csv' #' @param soil.nc full p...
/models/biocro/R/run.biocro.R
permissive
femeunier/pecan
R
false
false
10,425
r
#' Run BioCro at a point #' #' @param lat latitude in decimal degrees #' @param lon longitude in decimal degrees #' @param metpath full path and name prefix of a csv file with hourly data in BioCro format, #' e.g. `/dir/met` if the files to be used are `/dir/met.2004.csv` and `dir/met.2005.csv' #' @param soil.nc full p...
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Correlation/bone.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="mae",alpha=0.6,family="gaussian",standardize=FALSE) sink('./bone_068.txt',append=TRUE) pri...
/Model/EN/Correlation/bone/bone_068.R
no_license
esbgkannan/QSMART
R
false
false
346
r
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/Correlation/bone.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="mae",alpha=0.6,family="gaussian",standardize=FALSE) sink('./bone_068.txt',append=TRUE) pri...
## Helper functions for working with matricies and their inverse matrix ## Sample Invertable matrix: matrix(c(4,7,2,6),2,2) ## Function retuns an enhanced matrix object which can cache its inverse # Ex1: enhMatrix <- makeCacheMatrix() #create empty enhanced matrix object # enhMatrix$set(m...
/cachematrix.R
no_license
jimko/ProgrammingAssignment2
R
false
false
1,382
r
## Helper functions for working with matricies and their inverse matrix ## Sample Invertable matrix: matrix(c(4,7,2,6),2,2) ## Function retuns an enhanced matrix object which can cache its inverse # Ex1: enhMatrix <- makeCacheMatrix() #create empty enhanced matrix object # enhMatrix$set(m...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stability.R \name{jaccard} \alias{jaccard} \title{Jaccard Index} \usage{ jaccard(x, y) } \arguments{ \item{x}{vector of feature names} \item{y}{vector of feature names} } \value{ Returns the jaccard index for the two vectors. It takes values...
/man/jaccard.Rd
no_license
cdeterman/OmicsMarkeR
R
false
true
1,497
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/stability.R \name{jaccard} \alias{jaccard} \title{Jaccard Index} \usage{ jaccard(x, y) } \arguments{ \item{x}{vector of feature names} \item{y}{vector of feature names} } \value{ Returns the jaccard index for the two vectors. It takes values...
#' Generates a grouped heatmap #' #' This function takes in the grouped modeled pw data, peptides and produces a pheatmap object #' #' @param data grouped modeled pw data #' @param peptides peptide list #' @param groups (optional) group names #' @param ... arguments passed to pheatmap() #' #' @return pheatmap object #'...
/R/krsa_heatmap_grouped.R
permissive
AliSajid/KRSA
R
false
false
1,045
r
#' Generates a grouped heatmap #' #' This function takes in the grouped modeled pw data, peptides and produces a pheatmap object #' #' @param data grouped modeled pw data #' @param peptides peptide list #' @param groups (optional) group names #' @param ... arguments passed to pheatmap() #' #' @return pheatmap object #'...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/match-alleles.R \name{snp_ancestry_summary} \alias{snp_ancestry_summary} \title{Estimation of ancestry proportions} \usage{ snp_ancestry_summary(freq, info_freq_ref, projection, correction) } \arguments{ \item{freq}{Vector of frequencies from...
/man/snp_ancestry_summary.Rd
no_license
privefl/bigsnpr
R
false
true
2,601
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/match-alleles.R \name{snp_ancestry_summary} \alias{snp_ancestry_summary} \title{Estimation of ancestry proportions} \usage{ snp_ancestry_summary(freq, info_freq_ref, projection, correction) } \arguments{ \item{freq}{Vector of frequencies from...
############################################# ### replicate.R ### ############################################# setwd("/project/bioinformatics/Xiao_lab/s418336/projects/geneck.ena") suppressMessages(source("code/simulation/simulate.network.R")) suppressMessages(source("code/analysis/compare.n...
/code/replicate/auc.replicate.R
no_license
Minzhe/geneck.ena
R
false
false
4,416
r
############################################# ### replicate.R ### ############################################# setwd("/project/bioinformatics/Xiao_lab/s418336/projects/geneck.ena") suppressMessages(source("code/simulation/simulate.network.R")) suppressMessages(source("code/analysis/compare.n...
`matrices` <- function(x,...) UseMethod("matrices") ###{{{ matrices.lvm mat.lvm <- function(x,ii=index(x),...) { A <- ii$A ## Matrix with fixed parameters and ones where parameters are free J <- ii$J ## Manifest variable selection matrix M1 <- ii$M1 ## Index of free and _unique_ regression parameters ...
/lava/R/matrices.R
no_license
ingted/R-Examples
R
false
false
17,154
r
`matrices` <- function(x,...) UseMethod("matrices") ###{{{ matrices.lvm mat.lvm <- function(x,ii=index(x),...) { A <- ii$A ## Matrix with fixed parameters and ones where parameters are free J <- ii$J ## Manifest variable selection matrix M1 <- ii$M1 ## Index of free and _unique_ regression parameters ...
#' Estimate a posterior distribution of data conditional on a left groove and no right groove. #' #' This function runs a random walk metropolis within Gibbs algorithm to estimate the posterior distribution #' of the value of the changepoint as well as the parameters fit in each multivariate normal distribution #'...
/R/changepoint_gibbs_1cp_left.R
no_license
cran/bulletcp
R
false
false
22,332
r
#' Estimate a posterior distribution of data conditional on a left groove and no right groove. #' #' This function runs a random walk metropolis within Gibbs algorithm to estimate the posterior distribution #' of the value of the changepoint as well as the parameters fit in each multivariate normal distribution #'...
calculateFrequencyLevels <- function(data) { data %>%count(freq, sort = TRUE)%>%rename(count=n) } uniFreq <- calculateFrequencyLevels(frequencyBigramDF)
/freqLevels.R
no_license
hitfuture/DataScienceCapstone
R
false
false
171
r
calculateFrequencyLevels <- function(data) { data %>%count(freq, sort = TRUE)%>%rename(count=n) } uniFreq <- calculateFrequencyLevels(frequencyBigramDF)
\name{wrapped.model-class} \alias{wrapped.model-class} \alias{wrapped.model} \title{Induced model of learner.} \description{Result from \code{\link{train}}. It internally stores the underlying fitted model, the IDs of the subset used for training, variables used for training and information about second-level optim...
/yelp/wekafiles/packages/RPlugin/mlr/mlr/man/wrapped.model-class.Rd
no_license
tummykung/yelp-dataset-challenge
R
false
false
6,658
rd
\name{wrapped.model-class} \alias{wrapped.model-class} \alias{wrapped.model} \title{Induced model of learner.} \description{Result from \code{\link{train}}. It internally stores the underlying fitted model, the IDs of the subset used for training, variables used for training and information about second-level optim...
testlist <- list(A = structure(c(2.32784507357645e-308, 9.53818252063274e+295, 1.22810536108214e+146, 4.12396251261199e-221, 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)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_ro...
/multivariance/inst/testfiles/match_rows/AFL_match_rows/match_rows_valgrind_files/1613104832-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
344
r
testlist <- list(A = structure(c(2.32784507357645e-308, 9.53818252063274e+295, 1.22810536108214e+146, 4.12396251261199e-221, 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)), B = structure(0, .Dim = c(1L, 1L))) result <- do.call(multivariance:::match_ro...
prediction = function(testSample, thetaStar, K_t, N_k, n, J, M_d, maxMd, Dcon, Dcat, Dstar, hyperPar, m){ y_p = testSample$y X_p = testSample$X Dummy_p = testSample$Dummy n_p = testSample$n_pred prediction_prob = matrix(0, nrow = n_p, ncol = 2 * J + 1) X_con_p = as.matrix(X_p[,1:Dcon...
/R/prediction.R
no_license
banuatav/DPMMmlogit
R
false
false
4,499
r
prediction = function(testSample, thetaStar, K_t, N_k, n, J, M_d, maxMd, Dcon, Dcat, Dstar, hyperPar, m){ y_p = testSample$y X_p = testSample$X Dummy_p = testSample$Dummy n_p = testSample$n_pred prediction_prob = matrix(0, nrow = n_p, ncol = 2 * J + 1) X_con_p = as.matrix(X_p[,1:Dcon...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.r \docType{data} \name{df_binary} \alias{df_binary} \title{Simulated data with a binary outcome} \format{ A data frame with 750 rows: \describe{ \item{patientid}{Identification Number} \item{cancer}{Cancer Diagnosis: 0=No, 1=Yes} \item{d...
/man/df_binary.Rd
permissive
minghao2016/dcurves
R
false
true
697
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/data.r \docType{data} \name{df_binary} \alias{df_binary} \title{Simulated data with a binary outcome} \format{ A data frame with 750 rows: \describe{ \item{patientid}{Identification Number} \item{cancer}{Cancer Diagnosis: 0=No, 1=Yes} \item{d...
# ########################## Install Dependencies ############################### # SF package called Simple features if(!require(sf)){ install.packages("sf") } # ggplot2 is a system for declaratively creating graphics # The easiest way to get ggplot2 is to install the whole tidyverse: # install.packages("tidyverse"...
/deaths_stings.R
no_license
adelbke/stat_project
R
false
false
4,534
r
# ########################## Install Dependencies ############################### # SF package called Simple features if(!require(sf)){ install.packages("sf") } # ggplot2 is a system for declaratively creating graphics # The easiest way to get ggplot2 is to install the whole tidyverse: # install.packages("tidyverse"...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ML.RatePhylo.R \name{ML.RatePhylo} \alias{ML.RatePhylo} \title{Maximum likelihood rate estimation for traits and phylogenies} \usage{ ML.RatePhylo( rateData, rate = NULL, fixed = NULL, pretty = TRUE, rateMIN = 0.001, rateMAX = 50,...
/fuzzedpackages/motmot/man/ML.RatePhylo.Rd
no_license
akhikolla/testpackages
R
false
true
4,442
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/ML.RatePhylo.R \name{ML.RatePhylo} \alias{ML.RatePhylo} \title{Maximum likelihood rate estimation for traits and phylogenies} \usage{ ML.RatePhylo( rateData, rate = NULL, fixed = NULL, pretty = TRUE, rateMIN = 0.001, rateMAX = 50,...
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/AvgRank/lymphoid.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.9,family="gaussian",standardize=TRUE) sink('./lymphoid_089.txt',append=TRUE) ...
/Model/EN/AvgRank/lymphoid/lymphoid_089.R
no_license
esbgkannan/QSMART
R
false
false
349
r
library(glmnet) mydata = read.table("../../../../TrainingSet/FullSet/AvgRank/lymphoid.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.9,family="gaussian",standardize=TRUE) sink('./lymphoid_089.txt',append=TRUE) ...
metaheat<-function (x, Rowv=NA, Colv=NA, distfun = dist, hclustfun = hclust, na.rm = TRUE, do.dendro = c(TRUE, TRUE), legend = 0, legfrac = 8, col = heat.colors(12), r.cex = NULL, c.cex = NULL, ...) { if (length(di <- dim(x)) != 2 || !is.numeric(x)) stop("`x' must be a numeric matrix") nr <...
/R/metaheat.R
no_license
cran/MAMA
R
false
false
5,336
r
metaheat<-function (x, Rowv=NA, Colv=NA, distfun = dist, hclustfun = hclust, na.rm = TRUE, do.dendro = c(TRUE, TRUE), legend = 0, legfrac = 8, col = heat.colors(12), r.cex = NULL, c.cex = NULL, ...) { if (length(di <- dim(x)) != 2 || !is.numeric(x)) stop("`x' must be a numeric matrix") nr <...
#' Compute vectors measuring stochastic dominance of four orders. #' #' Stochastic dominance originated as a sophisticated comparison of two distributions of #' stock market returns. The dominating distribution is superior in terms of local #' mean, variance, skewness and kurtosis respectively, representing domin...
/R/stochdom2.R
no_license
Srisai85/generalCorr
R
false
false
2,595
r
#' Compute vectors measuring stochastic dominance of four orders. #' #' Stochastic dominance originated as a sophisticated comparison of two distributions of #' stock market returns. The dominating distribution is superior in terms of local #' mean, variance, skewness and kurtosis respectively, representing domin...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Task-class.R \name{batch} \alias{batch} \title{batch function for task batch execution} \usage{ batch(input = NULL, criteria = NULL, type = c("ITEM", "CRITERIA")) } \arguments{ \item{input}{character, ID of the input on which you wish to batc...
/man/batch.Rd
permissive
alenzhao/sevenbridges-r
R
false
true
1,376
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Task-class.R \name{batch} \alias{batch} \title{batch function for task batch execution} \usage{ batch(input = NULL, criteria = NULL, type = c("ITEM", "CRITERIA")) } \arguments{ \item{input}{character, ID of the input on which you wish to batc...
library(tidyverse) library(sf) library(readxl) library(ggpubr) library(ggfortify) library(here) library(knitr) library(kableExtra) library(DT) library(mapview) library(rgdal) library(SerbianCyrLat) library(nngeo) library(tsibble) library(lubridate) library(magrittr) library(ggforce) library(feasts) library(stringr) # d...
/1A3-Transport_preparing.R
no_license
pejovic/Spatialization
R
false
false
21,168
r
library(tidyverse) library(sf) library(readxl) library(ggpubr) library(ggfortify) library(here) library(knitr) library(kableExtra) library(DT) library(mapview) library(rgdal) library(SerbianCyrLat) library(nngeo) library(tsibble) library(lubridate) library(magrittr) library(ggforce) library(feasts) library(stringr) # d...
#' Apply preprocessing and dummy-variable coding in prep for scoring #' @param enriched_team_games_for_scoring data.frame of of nba team-game data #' @param modeling_objects_path path to object that contains modeling objects #' @return list of data for modeling #' @export preprocess_nba_team_games_for_scoring <- funct...
/R/preprocess_nba_team_games_for_scoring.R
permissive
jimtheflash/nbastatstools
R
false
false
4,221
r
#' Apply preprocessing and dummy-variable coding in prep for scoring #' @param enriched_team_games_for_scoring data.frame of of nba team-game data #' @param modeling_objects_path path to object that contains modeling objects #' @return list of data for modeling #' @export preprocess_nba_team_games_for_scoring <- funct...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/AllClasses.R \docType{class} \name{ContinuousColorbar-class} \alias{ContinuousColorbar-class} \alias{ContinuousColorbar} \title{ContinuousColorbar} \description{ Class for storing continuous colorbar information } \section{Slots}{ \describe{...
/man/ContinuousColorbar-class.Rd
permissive
ropensci/iheatmapr
R
false
true
663
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/AllClasses.R \docType{class} \name{ContinuousColorbar-class} \alias{ContinuousColorbar-class} \alias{ContinuousColorbar} \title{ContinuousColorbar} \description{ Class for storing continuous colorbar information } \section{Slots}{ \describe{...
library(BANEScarparkinglite) ### Name: get_range_crude ### Title: Download records from a specified range from the Bath: Hacked ### datastore ### Aliases: get_range_crude ### ** Examples # Records for 1st June 2016 raw_data <- get_range_crude("2016-06-01 00:00:00", "2016-06-01 23:59:59") ## No test: # All record...
/data/genthat_extracted_code/BANEScarparkinglite/examples/get_range_crude.Rd.R
no_license
surayaaramli/typeRrh
R
false
false
579
r
library(BANEScarparkinglite) ### Name: get_range_crude ### Title: Download records from a specified range from the Bath: Hacked ### datastore ### Aliases: get_range_crude ### ** Examples # Records for 1st June 2016 raw_data <- get_range_crude("2016-06-01 00:00:00", "2016-06-01 23:59:59") ## No test: # All record...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Tresorerie-update.R \docType{methods} \name{update_tresorerie} \alias{update_tresorerie} \title{Fonction \code{update_tresorerie}.} \usage{ update_tresorerie(tresorerie, montant) } \arguments{ \item{tresorerie}{est un objet de type \code{\lin...
/man/update_tresorerie.Rd
no_license
DTichit/ALModel
R
false
true
508
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/Tresorerie-update.R \docType{methods} \name{update_tresorerie} \alias{update_tresorerie} \title{Fonction \code{update_tresorerie}.} \usage{ update_tresorerie(tresorerie, montant) } \arguments{ \item{tresorerie}{est un objet de type \code{\lin...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/share.R \name{share} \alias{share} \title{UI to create a share link from filters} \usage{ share(input, output, session, filters) } \arguments{ \item{input}{shiny input object} \item{output}{shiny output object} \item{session}{shiny session}...
/man/share.Rd
no_license
zappingseb/stravachaser
R
false
true
498
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/share.R \name{share} \alias{share} \title{UI to create a share link from filters} \usage{ share(input, output, session, filters) } \arguments{ \item{input}{shiny input object} \item{output}{shiny output object} \item{session}{shiny session}...
\name{localdar} \alias{localdar} \alias{fdismap} \alias{raoDmap} \title{ Map Local Diversity Area Relationships } \description{ Estimates and maps local diversity-area relationships. } \usage{ localdar(mippp, mippp.sp = NULL, nx = NULL, ny = NULL, mimark = NULL, idar = "isar", buffer = 0, bfw = NULL, r, cr...
/man/localdar.Rd
no_license
cran/idar
R
false
false
7,624
rd
\name{localdar} \alias{localdar} \alias{fdismap} \alias{raoDmap} \title{ Map Local Diversity Area Relationships } \description{ Estimates and maps local diversity-area relationships. } \usage{ localdar(mippp, mippp.sp = NULL, nx = NULL, ny = NULL, mimark = NULL, idar = "isar", buffer = 0, bfw = NULL, r, cr...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/deriv2LagrangianFeatures.R \name{deriv2LagrangianFeatures} \alias{deriv2LagrangianFeatures} \title{The score function to estimate the latent variables} \usage{ deriv2LagrangianFeatures( x, data, distribution, offSet, latentVars, n...
/man/deriv2LagrangianFeatures.Rd
no_license
CenterForStatistics-UGent/combi
R
false
true
1,095
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/deriv2LagrangianFeatures.R \name{deriv2LagrangianFeatures} \alias{deriv2LagrangianFeatures} \title{The score function to estimate the latent variables} \usage{ deriv2LagrangianFeatures( x, data, distribution, offSet, latentVars, n...
# Random slope SD --------------------------------------------------------- test_that("slope_SD", { p <- study_parameters(n1 = 11, n2 = 30, T_end = 10, sigma_subject_intercept = 10, sigma_subject_slope = 2.2, ...
/tests/testthat/tests.cohend.R
no_license
rpsychologist/powerlmm
R
false
false
7,119
r
# Random slope SD --------------------------------------------------------- test_that("slope_SD", { p <- study_parameters(n1 = 11, n2 = 30, T_end = 10, sigma_subject_intercept = 10, sigma_subject_slope = 2.2, ...
#covid data from wikipedia url<-read.csv("book1.csv") colnames(url)<-c("id","Cases") #loading dependencies library("rgeos") library("gpclib") library("rgdal") library("maptools") library(ggplot2) library(dplyr) #reading shapes nepal.adm3.shp <- readOGR(dsn="C:/Users/New folder/NPL_adm", layer...
/covid19NepalMap.R
no_license
samyam200200/Plotting_COVID19_nepal
R
false
false
2,391
r
#covid data from wikipedia url<-read.csv("book1.csv") colnames(url)<-c("id","Cases") #loading dependencies library("rgeos") library("gpclib") library("rgdal") library("maptools") library(ggplot2) library(dplyr) #reading shapes nepal.adm3.shp <- readOGR(dsn="C:/Users/New folder/NPL_adm", layer...
testlist <- list(Beta = 0, CVLinf = 86341236051411296, FM = 1.53632495265886e-311, L50 = 0, L95 = 0, LenBins = c(2.0975686864138e+162, -2.68131210337361e-144, -1.11215735981244e+199, -4.48649879577108e+143, 1.6611802228813e+218, 900371.947279558, 1.07063092954708e+238, 2.88003257377011e-142, 1.29554...
/DLMtool/inst/testfiles/LBSPRgen/AFL_LBSPRgen/LBSPRgen_valgrind_files/1615831292-test.R
no_license
akhikolla/updatedatatype-list2
R
false
false
2,048
r
testlist <- list(Beta = 0, CVLinf = 86341236051411296, FM = 1.53632495265886e-311, L50 = 0, L95 = 0, LenBins = c(2.0975686864138e+162, -2.68131210337361e-144, -1.11215735981244e+199, -4.48649879577108e+143, 1.6611802228813e+218, 900371.947279558, 1.07063092954708e+238, 2.88003257377011e-142, 1.29554...
library(data.table) library(readr) library(ranger) library(xgboost) library(caTools) library(funModeling) library(caret) library(stringr) library(sqldf) library(stringdist) library(geosphere) library(fossil) train <- read_csv("../Data/ItemInfo_train.csv") test <- read_csv("../Data/ItemInfo_test.csv") trainItem <- read...
/R/totalCountFeature.R
no_license
ThakurRajAnand/Avito2016
R
false
false
8,755
r
library(data.table) library(readr) library(ranger) library(xgboost) library(caTools) library(funModeling) library(caret) library(stringr) library(sqldf) library(stringdist) library(geosphere) library(fossil) train <- read_csv("../Data/ItemInfo_train.csv") test <- read_csv("../Data/ItemInfo_test.csv") trainItem <- read...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utilities.R \name{ApplyMatrixByGroup} \alias{ApplyMatrixByGroup} \title{Apply function to integration sites per base per group} \usage{ ApplyMatrixByGroup(mat, groups, fun, normalize = TRUE, group.scale.factors = NULL, scale.factor = NULL) ...
/man/ApplyMatrixByGroup.Rd
permissive
zorrodong/signac
R
false
true
1,108
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/utilities.R \name{ApplyMatrixByGroup} \alias{ApplyMatrixByGroup} \title{Apply function to integration sites per base per group} \usage{ ApplyMatrixByGroup(mat, groups, fun, normalize = TRUE, group.scale.factors = NULL, scale.factor = NULL) ...
.onLoad <- function(libname, pkgname) { ## silly hack to get around a catch-22 in the namespace code ## ## loading the methods package with library(methods) (on R 2.15) ## produces the NOTE: ## ## Package startup functions should not change the search path ## ## removing the loading of methods causes ...
/copyCat/R/zzz.R
permissive
genome-vendor/copyCat
R
false
false
702
r
.onLoad <- function(libname, pkgname) { ## silly hack to get around a catch-22 in the namespace code ## ## loading the methods package with library(methods) (on R 2.15) ## produces the NOTE: ## ## Package startup functions should not change the search path ## ## removing the loading of methods causes ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/distributions.R \name{tfd_relaxed_one_hot_categorical} \alias{tfd_relaxed_one_hot_categorical} \title{RelaxedOneHotCategorical distribution with temperature and logits} \usage{ tfd_relaxed_one_hot_categorical(temperature, logits = NULL, pro...
/man/tfd_relaxed_one_hot_categorical.Rd
permissive
jeffreypullin/tfprobability
R
false
true
5,704
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/distributions.R \name{tfd_relaxed_one_hot_categorical} \alias{tfd_relaxed_one_hot_categorical} \title{RelaxedOneHotCategorical distribution with temperature and logits} \usage{ tfd_relaxed_one_hot_categorical(temperature, logits = NULL, pro...
##################### START HERE ################################ # extract org_name info #bring over organization to org d %<>% mutate(org_name = organization) # remove preface preface <- ".*ponsored by |.*ponsoring organization |.*ubmitted by |.*omments from |.*ampaign from |.*on behalf of " d %<>% mutate(org...
/code/org_name.R
no_license
Maggie-Nead/rulemaking
R
false
false
32,826
r
##################### START HERE ################################ # extract org_name info #bring over organization to org d %<>% mutate(org_name = organization) # remove preface preface <- ".*ponsored by |.*ponsoring organization |.*ubmitted by |.*omments from |.*ampaign from |.*on behalf of " d %<>% mutate(org...
--- title: "Page Visits Funnel" output: html_notebook --- # load packages library(readr) library(dplyr) # load data visits <- read_csv("visits.csv") cart <- read_csv("cart.csv") checkout <- read_csv("checkout.csv") purchase <- read_csv("purchase.csv") # inspect data frames head(visits) head(cart) head(checkout) ...
/Funnel/Funnel.R
no_license
labradorsabrina/DataR
R
false
false
2,142
r
--- title: "Page Visits Funnel" output: html_notebook --- # load packages library(readr) library(dplyr) # load data visits <- read_csv("visits.csv") cart <- read_csv("cart.csv") checkout <- read_csv("checkout.csv") purchase <- read_csv("purchase.csv") # inspect data frames head(visits) head(cart) head(checkout) ...
# No caso (4) apresentar: # a) Tabela de Frequencias por intervalo; # b) Histograma e polígono de frequencias (EXCEL e R); # c) ogiva de galton (R); # d) diagrama de caixas (boxplot) (R). #histograma e polígono de frequências com Java dados1 <- read.csv(file="/home/floss/Desenvolvimento/trab-pe/trab2/4/1240_java.csv",...
/trab2/4/trabalho.R
no_license
eiguike/trab-pe
R
false
false
1,652
r
# No caso (4) apresentar: # a) Tabela de Frequencias por intervalo; # b) Histograma e polígono de frequencias (EXCEL e R); # c) ogiva de galton (R); # d) diagrama de caixas (boxplot) (R). #histograma e polígono de frequências com Java dados1 <- read.csv(file="/home/floss/Desenvolvimento/trab-pe/trab2/4/1240_java.csv",...
#' #' context("__ Manager __") context("Getting target positions") test_that("Manager contacts Strategy for positions", { strategy <- Mock("StrategyInterface") mockMethod(strategy, "getTargets") manager <- Manager(strategy) targetPositions(manager, timestamp = "") expect_...
/MarketSimulator/inst/tests/testManager.R
no_license
markhocky/MarketSimulator
R
false
false
10,958
r
#' #' context("__ Manager __") context("Getting target positions") test_that("Manager contacts Strategy for positions", { strategy <- Mock("StrategyInterface") mockMethod(strategy, "getTargets") manager <- Manager(strategy) targetPositions(manager, timestamp = "") expect_...
# This script consists of three primary functions for each step of the # data processing, as well as one helper function that calls each of them # and constructs the tidy data set. The script can be called from inside of R # via source, or from the command line via Rscript. If called from inside of # R the function to...
/run_Analysis.R
no_license
mailb88/CleanDataProject
R
false
false
6,403
r
# This script consists of three primary functions for each step of the # data processing, as well as one helper function that calls each of them # and constructs the tidy data set. The script can be called from inside of R # via source, or from the command line via Rscript. If called from inside of # R the function to...
setwd("C:/Users/jguido/Dropbox (Personal)/Pharma_Influence/Guido_Working_file") # Installing install.packages("readr") install.packages("qdapRegex") install.packages("sqldf") install.packages("tidyverse") # Loading library("sqldf", lib.loc="~/R/win-library/3.2") library("qdapRegex", lib.loc="~/R/win-library/3.2") lib...
/Table1 R1.R
no_license
mufflyt/Pharma_influence
R
false
false
2,279
r
setwd("C:/Users/jguido/Dropbox (Personal)/Pharma_Influence/Guido_Working_file") # Installing install.packages("readr") install.packages("qdapRegex") install.packages("sqldf") install.packages("tidyverse") # Loading library("sqldf", lib.loc="~/R/win-library/3.2") library("qdapRegex", lib.loc="~/R/win-library/3.2") lib...
naiveNewtonBradleyTerry <- function(W, eps=1e-10, finalGamma=NULL) { startTime <- proc.time() p <- dim(W)[1] wins <- rowSums(W) G <- W + t(W) # symmetric matrix of games played delta <- rep(NA,1000) # Warning! This line and the next must be changed times <- matrix(NA, 1000, 5) # if more than 1000 iterations are p...
/teaching/st758-2014fall/naiveNewtonBradleyTerry.R
no_license
Hua-Zhou/Hua-Zhou.github.io
R
false
false
1,914
r
naiveNewtonBradleyTerry <- function(W, eps=1e-10, finalGamma=NULL) { startTime <- proc.time() p <- dim(W)[1] wins <- rowSums(W) G <- W + t(W) # symmetric matrix of games played delta <- rep(NA,1000) # Warning! This line and the next must be changed times <- matrix(NA, 1000, 5) # if more than 1000 iterations are p...
# # Creates the plot 4 Global Active Power for the first course project in the # Exploratory Data Analysis course # createPlot4 = function () { library(data.table) # Load the dataset householdPowerConsumptionDataset <- fread("household_power_consumption.txt", sep = ";", header = T, ...
/plot4.R
no_license
taao84/ExData_Plotting1
R
false
false
3,122
r
# # Creates the plot 4 Global Active Power for the first course project in the # Exploratory Data Analysis course # createPlot4 = function () { library(data.table) # Load the dataset householdPowerConsumptionDataset <- fread("household_power_consumption.txt", sep = ";", header = T, ...
################################################################################ ### R script to compare several conditions with the SARTools and DESeq2 packages ### Hugo Varet ### March 20th, 2018 ### designed to be executed with SARTools 1.6.7 ### run "Rscript template_script_DESeq2_CL.r --help" to get some help ####...
/template_script_DESeq2_CL.r
no_license
MatthieuRouland/SARTools
R
false
false
8,999
r
################################################################################ ### R script to compare several conditions with the SARTools and DESeq2 packages ### Hugo Varet ### March 20th, 2018 ### designed to be executed with SARTools 1.6.7 ### run "Rscript template_script_DESeq2_CL.r --help" to get some help ####...
#!/usr/bin/Rscript library(rmr2) args=commandArgs(trailingOnly = TRUE) jobname<-args[[1]] mapper_count<-args[[2]] reducer_count<-args[[3]] input.file<-args[[4]] bp = list( hadoop = list( D = paste("mapred.job.name=", jobname, sep=''), D = "mapreduce.map.memory.mb=11500", D = "m...
/HadoopR/wordcount_laksh.R
no_license
marek5050/Sparkie
R
false
false
1,762
r
#!/usr/bin/Rscript library(rmr2) args=commandArgs(trailingOnly = TRUE) jobname<-args[[1]] mapper_count<-args[[2]] reducer_count<-args[[3]] input.file<-args[[4]] bp = list( hadoop = list( D = paste("mapred.job.name=", jobname, sep=''), D = "mapreduce.map.memory.mb=11500", D = "m...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/twidth.R \name{twidth} \alias{twidth} \title{twidth} \usage{ twidth(s, sigma = sqrt(0.5)) } \arguments{ \item{s}{selection} \item{sigma}{dispersal} } \description{ \code{twidth} given selection and dispersal function returns diffusion approx...
/man/twidth.Rd
no_license
KamilSJaron/ConjunctionStats
R
false
true
413
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/twidth.R \name{twidth} \alias{twidth} \title{twidth} \usage{ twidth(s, sigma = sqrt(0.5)) } \arguments{ \item{s}{selection} \item{sigma}{dispersal} } \description{ \code{twidth} given selection and dispersal function returns diffusion approx...
get_osm_static_mapbox( id = "way/49664223", dist = 0.5, unit = "mi", overlay_style = list( stroke = "darkgreen", fill = "green", fill_opacity = 0.25 ) ) nc <- read_sf_path(system.file("shape/nc.shp", package = "sf")) get_location_static_mapbox( type = nc, name = "Ashe", name_col = "NAME", ...
/examples/get_static_mapbox.R
permissive
elipousson/overedge
R
false
false
349
r
get_osm_static_mapbox( id = "way/49664223", dist = 0.5, unit = "mi", overlay_style = list( stroke = "darkgreen", fill = "green", fill_opacity = 0.25 ) ) nc <- read_sf_path(system.file("shape/nc.shp", package = "sf")) get_location_static_mapbox( type = nc, name = "Ashe", name_col = "NAME", ...
folderpath = "" functionpath = "MechanismsUnderpinningCommunityStability/Rcode Structural Equation Model/PlottingFunctions.R" datapath = "MechanismsUnderpinningCommunityStability/Data/CommunityList.rds" stanpath = "MechanismsUnderpinningCommunityStability/Stan code DSeparation/" source(paste0(folderpath,functionpath...
/Rcode DSeparation/Dsep18.r
no_license
LukeChristopherEvans/MechanismsUnderpinningCommunityStability
R
false
false
1,088
r
folderpath = "" functionpath = "MechanismsUnderpinningCommunityStability/Rcode Structural Equation Model/PlottingFunctions.R" datapath = "MechanismsUnderpinningCommunityStability/Data/CommunityList.rds" stanpath = "MechanismsUnderpinningCommunityStability/Stan code DSeparation/" source(paste0(folderpath,functionpath...
#' @export #' @rdname setup_test setup_ezspin_test <- function() { setup_test_helper("ezspin") } #' @export #' @rdname setup_test setup_ezknit_test <- function() { setup_test_helper("ezknit") } #' Set up a test directory to experiment with \code{ezspin} or \code{ezknit} #' #' Create a few directorie...
/ezknitr/R/setup_test.R
no_license
ingted/R-Examples
R
false
false
3,303
r
#' @export #' @rdname setup_test setup_ezspin_test <- function() { setup_test_helper("ezspin") } #' @export #' @rdname setup_test setup_ezknit_test <- function() { setup_test_helper("ezknit") } #' Set up a test directory to experiment with \code{ezspin} or \code{ezknit} #' #' Create a few directorie...
dopvaplot <- function( x, ageClassNames, p0 = TRUE, stages = FALSE, cc = FALSE, emp = TRUE, index = 1, title = TRUE, subtitle = TRUE ){ if(missing(ageClassNames)){ if(x$sp[index] == "vava"){ ageClassNames <- c('Hatchling','Juvenile', "Sub-adult",'Adult') } else if(x$sp[index...
/R/functions/dopvaplot.R
no_license
geryan/rfst
R
false
false
1,555
r
dopvaplot <- function( x, ageClassNames, p0 = TRUE, stages = FALSE, cc = FALSE, emp = TRUE, index = 1, title = TRUE, subtitle = TRUE ){ if(missing(ageClassNames)){ if(x$sp[index] == "vava"){ ageClassNames <- c('Hatchling','Juvenile', "Sub-adult",'Adult') } else if(x$sp[index...
#' Generates data from `K` multivariate normal data populations, where each #' population (class) has a covariance matrix consisting of block-diagonal #' autocorrelation matrices. #' #' This function generates `K` multivariate normal data sets, where each #' class is generated with a constant mean vector and a covarian...
/R/data-block-autocorrelation.r
permissive
topepo/sparsediscrim
R
false
false
6,826
r
#' Generates data from `K` multivariate normal data populations, where each #' population (class) has a covariance matrix consisting of block-diagonal #' autocorrelation matrices. #' #' This function generates `K` multivariate normal data sets, where each #' class is generated with a constant mean vector and a covarian...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/deseason.VALUE.R \name{deseason.VALUE} \alias{deseason.VALUE} \title{Remove seasonal cycle} \usage{ deseason.VALUE(valueObj, window.width = 31, max.na.prop = 0.25, monthly = FALSE, monthly.clim.fun = "mean", ...) } \arguments{ \item{valueOb...
/man/deseason.VALUE.Rd
no_license
anacv/VALUE
R
false
true
3,778
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/deseason.VALUE.R \name{deseason.VALUE} \alias{deseason.VALUE} \title{Remove seasonal cycle} \usage{ deseason.VALUE(valueObj, window.width = 31, max.na.prop = 0.25, monthly = FALSE, monthly.clim.fun = "mean", ...) } \arguments{ \item{valueOb...
testlist <- list(doy = c(-8.89435855581943e+298, NaN, NaN, -1.06607143088583e-175, 2.86397937303159e+181, 2.77448001762435e+180, -1.08997841817883e-175, 9.82871840871573e-306, 6.83631741178536e-304, 5.77591857965479e-275, -Inf, NaN, 1.08646184497373e-311, 7.29023199001299e-304, 7.06327446992014e-304, 7.470946230780...
/meteor/inst/testfiles/ET0_ThornthwaiteWilmott/libFuzzer_ET0_ThornthwaiteWilmott/ET0_ThornthwaiteWilmott_valgrind_files/1612735957-test.R
no_license
akhikolla/updatedatatype-list3
R
false
false
1,913
r
testlist <- list(doy = c(-8.89435855581943e+298, NaN, NaN, -1.06607143088583e-175, 2.86397937303159e+181, 2.77448001762435e+180, -1.08997841817883e-175, 9.82871840871573e-306, 6.83631741178536e-304, 5.77591857965479e-275, -Inf, NaN, 1.08646184497373e-311, 7.29023199001299e-304, 7.06327446992014e-304, 7.470946230780...
#Loading the data temp <- tempfile() download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",temp) epc<-read.table(unz(temp,"household_power_consumption.txt"),sep=";",header=TRUE) unlink(temp) #Convert Date attribute to Date Data Type epc$Date<-as.Date(as.character(epc$Da...
/plot1.R
no_license
saulcruzr/ExData_Plotting1
R
false
false
1,131
r
#Loading the data temp <- tempfile() download.file("https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip",temp) epc<-read.table(unz(temp,"household_power_consumption.txt"),sep=";",header=TRUE) unlink(temp) #Convert Date attribute to Date Data Type epc$Date<-as.Date(as.character(epc$Da...
# Institutions identifiers. x = scopusQuery(query = "affil(Davis California)", url = "http://api.elsevier.com/content/search/affiliation") x2 = scopusQuery(query = "affil(Davis AND California)", url = "http://api.elsevier.com/content/search/affiliation") x3 = scopusQuery(query = "affil(Davis) AND affil( California)"...
/Scopus/explore.R
no_license
dsidavis/ResearchProfiles
R
false
false
20,272
r
# Institutions identifiers. x = scopusQuery(query = "affil(Davis California)", url = "http://api.elsevier.com/content/search/affiliation") x2 = scopusQuery(query = "affil(Davis AND California)", url = "http://api.elsevier.com/content/search/affiliation") x3 = scopusQuery(query = "affil(Davis) AND affil( California)"...
\name{SparseFactorAnalysis-package} \alias{SparseFactorAnalysis-package} \docType{package} \title{ Sparse factor analysis for mixed binary and count data. } \description{ Multi-dimensional scaling provides a means of uncovering a latent structure underlying observed data. This package presents a means for scaling bin...
/fuzzedpackages/SparseFactorAnalysis/man/sfa-package.Rd
no_license
akhikolla/testpackages
R
false
false
865
rd
\name{SparseFactorAnalysis-package} \alias{SparseFactorAnalysis-package} \docType{package} \title{ Sparse factor analysis for mixed binary and count data. } \description{ Multi-dimensional scaling provides a means of uncovering a latent structure underlying observed data. This package presents a means for scaling bin...
\name{mclogit.control} \alias{mclogit.control} \alias{mmclogit.control} \title{Control Parameters for the Fitting Process} \description{ \code{mclogit.control} returns a list of default parameters that control the fitting process of \code{mclogit}. } \usage{ mclogit.control(epsilon = 1e-08, maxit =...
/pkg/man/mclogit_control.Rd
no_license
melff/mclogit
R
false
false
3,165
rd
\name{mclogit.control} \alias{mclogit.control} \alias{mmclogit.control} \title{Control Parameters for the Fitting Process} \description{ \code{mclogit.control} returns a list of default parameters that control the fitting process of \code{mclogit}. } \usage{ mclogit.control(epsilon = 1e-08, maxit =...
####################################################### # Airline Merger Analysis ###################################################### library(here) library(tidyverse) profits = read.table(here("AirlineData", "airlineprofits.txt"), header=T) revenue = read.table(here("AirlineData", "airlinerevenues.txt"), header=T) ...
/R code/AirlineMergerAnalysis.R
no_license
rjm001/AirlineMergerAnalysis
R
false
false
13,370
r
####################################################### # Airline Merger Analysis ###################################################### library(here) library(tidyverse) profits = read.table(here("AirlineData", "airlineprofits.txt"), header=T) revenue = read.table(here("AirlineData", "airlinerevenues.txt"), header=T) ...
# Import packagaes suppressMessages(library(Hmisc)) library(ggplot2) library(RColorBrewer) library(reshape2) suppressMessages(library(cowplot)) theme_set(theme_grey()) # important, ggplot2 default overwrites cowplot defaults, which add unwanted items to plots # Read import module for testing convenience ...
/SF_Sal_OTU/OTU_plotting_module_barplots_DEV_v3.6.r
no_license
wyatthartman/Wetland_projs
R
false
false
37,121
r
# Import packagaes suppressMessages(library(Hmisc)) library(ggplot2) library(RColorBrewer) library(reshape2) suppressMessages(library(cowplot)) theme_set(theme_grey()) # important, ggplot2 default overwrites cowplot defaults, which add unwanted items to plots # Read import module for testing convenience ...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/70adhoc.001estimable.unit.R \name{specialize.random.disturbation} \alias{specialize.random.disturbation} \title{specialize a random disturbation} \usage{ specialize.random.disturbation(m, val, ind = seq_along(as.symbolic.vector(val)), simpl...
/symbolicR/man/specialize.random.disturbation.Rd
no_license
isabella232/symbolicR
R
false
true
603
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/70adhoc.001estimable.unit.R \name{specialize.random.disturbation} \alias{specialize.random.disturbation} \title{specialize a random disturbation} \usage{ specialize.random.disturbation(m, val, ind = seq_along(as.symbolic.vector(val)), simpl...
# This script specifies the following user inputs for auto_motion_fmriprep.R: # * confoundDir = path to the fmriprep confounds files; define as a string # * outputDir = path to output directory; will create a new folder called auto-motion-fmriprep here; define as a string # * version = fMRIPrep version (e.g., 1.1.8); d...
/config.R
no_license
dcosme/auto-motion-fmriprep
R
false
false
1,884
r
# This script specifies the following user inputs for auto_motion_fmriprep.R: # * confoundDir = path to the fmriprep confounds files; define as a string # * outputDir = path to output directory; will create a new folder called auto-motion-fmriprep here; define as a string # * version = fMRIPrep version (e.g., 1.1.8); d...
# This one isn't active # Load packages library(XML) library(lubridate) if(Sys.info()["nodename"]!="MA2") { source("/home/finance/GitFin/dbFunctions.R") source("/home/finance/GitFin/SourceTimeFunction.R") } else { source("SourceTimeFunction.R") } ###########################################...
/GetRssAdd.R
no_license
MatAff/GitFin
R
false
false
4,977
r
# This one isn't active # Load packages library(XML) library(lubridate) if(Sys.info()["nodename"]!="MA2") { source("/home/finance/GitFin/dbFunctions.R") source("/home/finance/GitFin/SourceTimeFunction.R") } else { source("SourceTimeFunction.R") } ###########################################...
tableToData<-function(tname, numerictype="", orderedtype="") { stopifnot("\nfirst argument is not a table, conversion aborted"=is.data.frame(tname)) x<-dim(tname) if(colnames(tname)[x[2]]=="Total,p") stop("\nThis table contains relative frequencies.\nPlease use type=1 argument in table_f() to build\nta...
/R/tableToData.R
no_license
cran/ltable
R
false
false
2,894
r
tableToData<-function(tname, numerictype="", orderedtype="") { stopifnot("\nfirst argument is not a table, conversion aborted"=is.data.frame(tname)) x<-dim(tname) if(colnames(tname)[x[2]]=="Total,p") stop("\nThis table contains relative frequencies.\nPlease use type=1 argument in table_f() to build\nta...
testlist <- list(detail = 0L, x = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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), y = numeric(0)) result <- do.call(ggforce:::bezierPath,testlist) str(result)
/ggforce/inst/testfiles/bezierPath/libFuzzer_bezierPath/bezierPath_valgrind_files/1610042371-test.R
no_license
akhikolla/updated-only-Issues
R
false
false
284
r
testlist <- list(detail = 0L, x = c(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 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), y = numeric(0)) result <- do.call(ggforce:::bezierPath,testlist) str(result)
test_that("The chunk header parser works as expected", { cases <- list( # R Markdown ---- list( input = "```{r}", type = "md", expected = list(engine = "r") ), list( input = "```{r a-b-c}", type = "md", expected = list(engine = "r", label = "a-b-c"...
/tests/testthat/test-rmd.R
permissive
rstudio/renv
R
false
false
2,230
r
test_that("The chunk header parser works as expected", { cases <- list( # R Markdown ---- list( input = "```{r}", type = "md", expected = list(engine = "r") ), list( input = "```{r a-b-c}", type = "md", expected = list(engine = "r", label = "a-b-c"...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pmc_summary.R \name{pmc_summary} \alias{pmc_summary} \title{Get PubMed Central Summary} \usage{ pmc_summary(input, config = NULL, version = "2.0", retmode = "xml", ...) } \arguments{ \item{input}{One of the following: 1. A vector with unique ...
/man/pmc_summary.Rd
permissive
DiseaseOntology/DO.utils
R
false
true
1,294
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/pmc_summary.R \name{pmc_summary} \alias{pmc_summary} \title{Get PubMed Central Summary} \usage{ pmc_summary(input, config = NULL, version = "2.0", retmode = "xml", ...) } \arguments{ \item{input}{One of the following: 1. A vector with unique ...
# igblastTools.R -- various code for working with IgBlast `readIgBlastOutput` <- function( infile="igblastOut.txt", m=7, verbose=TRUE, min.blast.score=40) { # scan the output of Blast for the data columns we need # depending on the version of BLAST, the column mode number is different if ( m != 7) { warning( pa...
/R/igblastTools.R
no_license
ma-lab-cgidr/DuffyTools
R
false
false
21,171
r
# igblastTools.R -- various code for working with IgBlast `readIgBlastOutput` <- function( infile="igblastOut.txt", m=7, verbose=TRUE, min.blast.score=40) { # scan the output of Blast for the data columns we need # depending on the version of BLAST, the column mode number is different if ( m != 7) { warning( pa...
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/taxon_rank.R \name{rank_level_color_funcs} \alias{rank_level_color_funcs} \title{Get font color for levels} \usage{ rank_level_color_funcs(levels) } \description{ Make list of crayon style functions to print taxon rank levels in color. } \key...
/man/rank_level_color_funcs.Rd
permissive
ropensci/taxa
R
false
true
335
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/taxon_rank.R \name{rank_level_color_funcs} \alias{rank_level_color_funcs} \title{Get font color for levels} \usage{ rank_level_color_funcs(levels) } \description{ Make list of crayon style functions to print taxon rank levels in color. } \key...
CleanedForum <- read.csv("C:/Users/NABIL AHMED/Desktop/Assignment 1/cleaned/CleanedForum.csv") View(CleanedForum) Arham=ts()
/by year/3.R
no_license
nabilahmed06/Data-Analytics-
R
false
false
134
r
CleanedForum <- read.csv("C:/Users/NABIL AHMED/Desktop/Assignment 1/cleaned/CleanedForum.csv") View(CleanedForum) Arham=ts()
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/civicinfo_objects.R \name{PollingLocation} \alias{PollingLocation} \title{PollingLocation Object} \usage{ PollingLocation(address = NULL, endDate = NULL, id = NULL, name = NULL, notes = NULL, pollingHours = NULL, sources = NULL, startDate =...
/googlecivicinfov2.auto/man/PollingLocation.Rd
permissive
Phippsy/autoGoogleAPI
R
false
true
1,248
rd
% Generated by roxygen2: do not edit by hand % Please edit documentation in R/civicinfo_objects.R \name{PollingLocation} \alias{PollingLocation} \title{PollingLocation Object} \usage{ PollingLocation(address = NULL, endDate = NULL, id = NULL, name = NULL, notes = NULL, pollingHours = NULL, sources = NULL, startDate =...
set.seed(17) ######################################################################## ## Simulating 2 weeks of initial 'training' data and 100 days of 'test' ## Training data will be a rolling window of 2 weeks ## Assuming 24 obs per day, 1 obs per hour (generally an average) ## ####################################...
/Simulate_StateGrid_Observations.R
no_license
vianeylb/SpatialCoupledHMMs
R
false
false
5,486
r
set.seed(17) ######################################################################## ## Simulating 2 weeks of initial 'training' data and 100 days of 'test' ## Training data will be a rolling window of 2 weeks ## Assuming 24 obs per day, 1 obs per hour (generally an average) ## ####################################...
test_that("result of function", { #expect_null(statements_create_table("sejmrp", "sejmrp", password, "services.mini.pw.edu.pl", 8)) })
/data/genthat_extracted_code/sejmRP/tests/test_statements_create_table.R
no_license
surayaaramli/typeRrh
R
false
false
140
r
test_that("result of function", { #expect_null(statements_create_table("sejmrp", "sejmrp", password, "services.mini.pw.edu.pl", 8)) })
context("higher-order functions") f <- function(x, a){ x * a } foo <- function(x) { x %>>% f(3) %>% tag(as.character(x)) } bar <- function(x, a) { x %>>% f(a) %>% tag(as.character(x)) } mayfail <- function(x) { x %>>% log %>>% sqrt %>% tag(as.character(x)) } test_that("basic loop", { # The correct output is obtaine...
/tests/testthat/test-parallel.R
no_license
arendsee/rmonad
R
false
false
1,118
r
context("higher-order functions") f <- function(x, a){ x * a } foo <- function(x) { x %>>% f(3) %>% tag(as.character(x)) } bar <- function(x, a) { x %>>% f(a) %>% tag(as.character(x)) } mayfail <- function(x) { x %>>% log %>>% sqrt %>% tag(as.character(x)) } test_that("basic loop", { # The correct output is obtaine...
occurance <- function(occu_path, total_paper = 615268){ a <- read.csv(occu_path, sep = "\t", header=FALSE) CountTable <- as.matrix(a) n = nrow(CountTable); P_value = matrix(0, n, n); total_paper = sum(diag(CountTable)) # temp <- CountTable; # diag(temp) <- 0; # m <- sum(sum(temp)); print(total_paper) ...
/R/CalculateCoOccurrence.R
no_license
ChiehLo/PLasso_old
R
false
false
1,084
r
occurance <- function(occu_path, total_paper = 615268){ a <- read.csv(occu_path, sep = "\t", header=FALSE) CountTable <- as.matrix(a) n = nrow(CountTable); P_value = matrix(0, n, n); total_paper = sum(diag(CountTable)) # temp <- CountTable; # diag(temp) <- 0; # m <- sum(sum(temp)); print(total_paper) ...
#' Retrieve PLoS article-level metrics (ALM) events. #' #' Events are the details of the metrics that are counted related to PLoS papers. #' #' @importFrom reshape sort_df #' @importFrom plyr rbind.fill #' @export #' @param doi Digital object identifier for an article in PLoS Journals (character) #' @param pmid PubMed ...
/alm/R/alm_events.R
no_license
ingted/R-Examples
R
false
false
24,722
r
#' Retrieve PLoS article-level metrics (ALM) events. #' #' Events are the details of the metrics that are counted related to PLoS papers. #' #' @importFrom reshape sort_df #' @importFrom plyr rbind.fill #' @export #' @param doi Digital object identifier for an article in PLoS Journals (character) #' @param pmid PubMed ...
#download source data & unzip in directory urll<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" #destination zip destfile<-paste0(getwd(),"/","dataweek1.zip") #download zip file download.file(urll,destfile) #unzip file unzip("dataweek1.zip") #open file x <- read.table("house...
/plot4.R
no_license
DukeLitchfield/ExData_Plotting1
R
false
false
1,765
r
#download source data & unzip in directory urll<-"https://d396qusza40orc.cloudfront.net/exdata%2Fdata%2Fhousehold_power_consumption.zip" #destination zip destfile<-paste0(getwd(),"/","dataweek1.zip") #download zip file download.file(urll,destfile) #unzip file unzip("dataweek1.zip") #open file x <- read.table("house...
# Using size_investigation as a template, this refactored code attempts to # reduce time to run code and allow investigation of factors such as: # 1. size of validation study, # 2. amount of overlap, # 3. number of index levels, # 4. Type of draw - per person or per index etc. ## Edit: Now includes bootstrap method #...
/simulations_optimised.R
no_license
interconnectDiabetes/paee_harmonisation
R
false
false
11,514
r
# Using size_investigation as a template, this refactored code attempts to # reduce time to run code and allow investigation of factors such as: # 1. size of validation study, # 2. amount of overlap, # 3. number of index levels, # 4. Type of draw - per person or per index etc. ## Edit: Now includes bootstrap method #...
# This file is generated by make.paws. Please do not edit here. #' @importFrom paws.common new_handlers new_service set_config NULL #' AWS Budgets #' #' @description #' The AWS Budgets API enables you to use AWS Budgets to plan your service #' usage, service costs, and instance reservations. The API reference #' provi...
/paws/R/budgets_service.R
permissive
johnnytommy/paws
R
false
false
4,892
r
# This file is generated by make.paws. Please do not edit here. #' @importFrom paws.common new_handlers new_service set_config NULL #' AWS Budgets #' #' @description #' The AWS Budgets API enables you to use AWS Budgets to plan your service #' usage, service costs, and instance reservations. The API reference #' provi...
# documenting police shootings nationwide # see here: https://rud.is/b/2017/10/08/tragic-documentation/ ## INSTALL hrbrthemes roboto on macosx: see here: https://github.com/hrbrmstr/hrbrthemes/issues/18 # library(hrbrthemes) # d <- read.csv(extrafont:::fonttable_file(), stringsAsFactors = FALSE) # d[grepl("Light", d...
/code/police_shootings.R
no_license
ryanpeek/test_projects
R
false
false
3,736
r
# documenting police shootings nationwide # see here: https://rud.is/b/2017/10/08/tragic-documentation/ ## INSTALL hrbrthemes roboto on macosx: see here: https://github.com/hrbrmstr/hrbrthemes/issues/18 # library(hrbrthemes) # d <- read.csv(extrafont:::fonttable_file(), stringsAsFactors = FALSE) # d[grepl("Light", d...
#Combined plots #plot, histogram, pie, boxplot, linechart, correlation plot #plot women plot(women) plot(women, type='p', pch=05, col='red') plot(women, type='l') plot(women, type='b') plot(women, type='b', pch=18, lty=2, col=2) plot(women, xlim=c(30,100), ylim=c(min(women$weight)-10, 200), pch=10) #more features wit...
/graphs basics.R
no_license
inso2501/analytics1
R
false
false
2,466
r
#Combined plots #plot, histogram, pie, boxplot, linechart, correlation plot #plot women plot(women) plot(women, type='p', pch=05, col='red') plot(women, type='l') plot(women, type='b') plot(women, type='b', pch=18, lty=2, col=2) plot(women, xlim=c(30,100), ylim=c(min(women$weight)-10, 200), pch=10) #more features wit...
theta <- seq(0,1,length.out = 100) y <- seq(0,1,length.out = 100) z <- matrix(rep(0,100*100),nrow=100) #pdf(file="BayesOccam.pdf", width=8, height=8) par(mfrow=c(2,2)) for (tt in 1:100){ for (ty in 1:100){ z[tt,ty] <- dnorm(y[ty], mean=theta[tt], sd=0.1) } } image(z, col= gray(seq(1,0.5,length.out = 100...
/codeFromBook/Chapter11/OccamFactor.R
no_license
humanfactors/computational-modelling
R
false
false
1,459
r
theta <- seq(0,1,length.out = 100) y <- seq(0,1,length.out = 100) z <- matrix(rep(0,100*100),nrow=100) #pdf(file="BayesOccam.pdf", width=8, height=8) par(mfrow=c(2,2)) for (tt in 1:100){ for (ty in 1:100){ z[tt,ty] <- dnorm(y[ty], mean=theta[tt], sd=0.1) } } image(z, col= gray(seq(1,0.5,length.out = 100...
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/utils.R \name{pdf.stats} \alias{pdf.stats} \title{Probability Distirbution Function Statistics} \usage{ pdf.stats(distn, A, B) } \arguments{ \item{distn}{name of distribution used by R (beta, f, gamma, lnorm, norm, weibull)} \item{A}...
/utils/man/pdf.stats.Rd
permissive
davidjpmoore/pecan
R
false
false
526
rd
% Generated by roxygen2 (4.1.0): do not edit by hand % Please edit documentation in R/utils.R \name{pdf.stats} \alias{pdf.stats} \title{Probability Distirbution Function Statistics} \usage{ pdf.stats(distn, A, B) } \arguments{ \item{distn}{name of distribution used by R (beta, f, gamma, lnorm, norm, weibull)} \item{A}...