| SGmisc | R Documentation |
A collection of small wrappers and convienience functions.
Steve Gutreuter: sgutreuter@gmail.com
The exported functions in the SGmisc package are:
link{BBS_mortality}Estimate probability of mortality among key population members from bio-behavioral surveillance surveys
computeBetaMomentsCompute the mean oand variance of the Beta distribution
computeBetaParmsCompute the shape parameters of the Beta distribution
computeGammaMomentsCompute the mean oand variance of the Gamma distribution
computeGammaParmsCompute the shape, rate and scale parameters of the Gamma distribution
count_NAGet a count of the numbers of NA, NaN and Inf for each column of a dataframe
empCDFCompute the empirical cumulative distribution function for a discrete random vector
fp_tableCreate one- and two-way tables of frequencies and percentages
icc2deffCompute the conventional survey design effect from the intraclass correlation
ilogitCompute the inverse of the logit transformation ("expit" function)
logitCompute the logit transformation of a vector of elements in (0, 1)
mid_dateFind the midpoint date between two dates
Oz_incidencerCompute HIV incidence rate using "Osmond's" method
rand_dateCompute a random uniformly distributed date between two dates
recode_ifConditional recoding of elements of a vector
sampsize_DHSCompute a sample-size requirement from for a Demographic and Health Survey
sampsize_multinomialCompute the approximate worst-case sample-size for a vector of multinomially distributed proportions
smooth_extremumCompute a smooth differentiable approximation to the minimum or maximum of a numeric vector
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.