Last data update: 2014.03.03

Data Source

R Release (3.2.3)
CranContrib
BioConductor
All

Data Type

Packages
Functions
Images
Data set

Classification

Results 1 - 10 of 44 found.
[1] < 1 2 3 4 5 > [5]  Sort:

var (Package: rapportools) : Variance

Calculates variance of given variable. See univar for details.
● Data Source: CranContrib
● Keywords:
● Alias: rp.var, var
● 0 images

rp.desc (Package: rapportools) : Descriptive Statistics

Aggregate table of descriptives according to functions provided in fn argument. This function follows melt/cast approach used in reshape package. Variable names specified in measure.vars argument are treated as measure.vars, while the ones in id.vars are treated as id.vars (see melt.data.frame for details). Other its formal arguments match with corresponding arguments for cast function. Some post-processing is done after reshaping, in order to get pretty row and column labels.
● Data Source: CranContrib
● Keywords:
● Alias: rp.desc
● 0 images

tocamel (Package: rapportools) : CamelCase

Convert character vector to camelcase - capitalise first letter of each word.
● Data Source: CranContrib
● Keywords:
● Alias: tocamel
● 0 images

vgsub (Package: rapportools) : Vectorised String Replacement

A simple wrapper for gsub that replaces all patterns from pattern argument with ones in replacement over vector provided in argument x.
● Data Source: CranContrib
● Keywords:
● Alias: vgsub
● 0 images

percent (Package: rapportools) : Percent

Calculates percentage of cases for provided variable and criteria specified in subset argument. Function accepts numeric, factor and logical variables for x parameter. If numeric and/or factor is provided, subsetting can be achieved via subset argument. Depending on value of na.rm argument, either valid (na.rm = TRUE) or all cases (na.rm = FALSE) are taken into account. By passing logical variable to x, a sum of (TRUE) elements is calculated instead, and valid percents are used (NA are excluded).
● Data Source: CranContrib
● Keywords:
● Alias: percent, rp.percent
● 0 images

messagef (Package: rapportools) : Send Message with String Interpolated Messages

Combines warning with sprintf thus allowing string interpolated diagnostic messages.
● Data Source: CranContrib
● Keywords:
● Alias: messagef
● 0 images

n (Package: rapportools) : Number of Cases

Returns the number of valid (non-NA) values in a variable. This is a wrapper around univar function with length function passed in fn argument, but with missing values previously removed. However, it's not possible to cancel NA omission with this function (doing so will yield error).
● Data Source: CranContrib
● Keywords:
● Alias: n, rp.n
● 0 images

pct (Package: rapportools) : Percent

Appends a percent sign to provided numerical value. Rounding is carried out according to value passed in decimals formal argument (defaults to value specified in panderOptions('digits')).
● Data Source: CranContrib
● Keywords:
● Alias: pct
● 0 images

mean (Package: rapportools) : Mean

Calculates mean of given variable by passing sum as fn argument to univar function.
● Data Source: CranContrib
● Keywords:
● Alias: mean, rp.mean
● 0 images

max (Package: rapportools) : Maximum

Returns the maximum of all values in a vector by passing {codemax as fn argument to univar function.
● Data Source: CranContrib
● Keywords:
● Alias: max, rp.max
● 0 images