Man pages for sgutreuter/SGmisc
Miscellaneous R Convenience Functions

anti_tCompute the anti-transpose of a square matrix or table
BBS_mortalityEstimate Probability of Mortality Among Key Population...
binom_coefCompute the binomial coefficient \binom{n}{k}
binom_expansionCompute the binomial expansion (x + y)^n
computeBetaMomentsCompute the mean and variance of the Beta distribution from...
computeBetaParmsCompute the shape parameters of the Beta distribution from...
computeGammaMomentsCompute the mean and variance of the Gamma distribution from...
computeGammaParmsCompute the mean and variance of the Gamma distribution from...
count_NACount the numbers of NA, NaN and Inf in each column of a...
empCDFCompute the discrete empirical cumulative distribution of a...
fp_tableOne and two-way summaries of frequencies, percentages and...
icc2deffCompute the conventional design effect (Deff) from the...
ilogitInverse logit (expit) tranformation of a numeric vector
logitCompute an extended logit transformation of a real vector
mid_dateCompute the midpoint between two dates
nuke_packagesDetach all packages other than those attached by base R
Oz_incidencerEstimate HIV incidence rate using "Osmond's" method
rand_dateCompute uniformly distributed random dates within intervals...
recode_ifRecode a variable conditional on one or more other variables
sampsize_DHSCompute the stratum-specific cluster/household sample size...
sampsize_multinomialCompute the approximate worst-case sample size for a vector...
SGmiscSGmisc
smooth_extremumCompute a smooth differentiable approximation to the minimum...
sgutreuter/SGmisc documentation built on Aug. 25, 2024, 7:21 p.m.