Damon Wischik's miscellaneous utilities


[Up] [Top]

Documentation for package ‘djwutils’ version 2.13.1

Help Pages

A B C E F G H I J K L M O P R S T W X misc

-- A --

addmargins.table Add totals to tables
aggregateList Compute multiple summary statistics of data subsets
ALL Compute multiple summary statistics of data subsets
as.character.outof Operations on "outof" vectors
as.data.frame.xxtabs Compute multiple summary statistics of data subsets
as.data.frame.xxtabs.list Compute multiple summary statistics of data subsets
as.numeric.outof Operations on "outof" vectors

-- B --

bwplot2 Souped up box-and-whiskers plot

-- C --

chisqtest Power calculations
cleanstrata Extract the names of the strata from a survival fit
Coefmat Pretty printing for coefficient matrices
coefTable Extract coefficient tables from a model fit
coefTable.glm Extract coefficient tables from a model fit
coefTable.lm Extract coefficient tables from a model fit
coefTable.lme Extract coefficient tables from a model fit
comp.num Approximate numerical comparison
contr.popn Population contrasts
crossproduct Set-theoretic cross product

-- E --

equal.num Approximate numerical comparison
equal.numall Approximate numerical comparison

-- F --

filldown Fill in NA values
flatten Operations on "outof" vectors
flatten.outof Operations on "outof" vectors
fold Binary operations on lists of vectors

-- G --

geq.num Approximate numerical comparison
getDoseOutcomes Power calculations
getDoseOutcomesControlled Power calculations
getDoseOutcomesUncontrolled Power calculations

-- H --

howmany The indicator function, and friends

-- I --

implies The implies logical function
indicator The indicator function, and friends

-- J --

jitterDJW Add jitter to grouped numbers

-- K --

keepna Turn NA values into a factor level

-- L --

leastN Find an integer root for a decreasing function
leq.num Approximate numerical comparison
levelsUsed Function to generate a simple key for a plot
locf Last Observation Carried Forward

-- M --

maxsafe More versatile versions of max and min
minsafe More versatile versions of max and min
minsafelist More versatile versions of max and min

-- O --

order.fastfirst Re-order a matrix so the first term varies slowest
order.slowfirst Re-order a matrix so the first term varies slowest
orderAlphaNum Split a character vector into alternating character and numerical parts, and sort it
outof A numeric class which keeps track of what the number is out of
outof<- A numeric class which keeps track of what the number is out of

-- P --

panel.bwplot2 Default panel functions for bwplot2
panel.groups.showchanges Dodgy plots for biologists
panel.showchanges Dodgy plots for biologists
panel.superpose2 Scatterplot with error bars
panel.xyeplot Default panel functions for xyeplot
pmean Componentwise operations
predictFactors Extracting factor coefficients from fitted models
predictFactors.glm Extracting factor coefficients from fitted models
predictFactors.lm Extracting factor coefficients from fitted models
predictFactors.lme Extracting factor coefficients from fitted models
predictFactorsWork Extracting factor coefficients from fitted models
prepanel.bwplot2 Default panel functions for bwplot2
prepanel.xyeplot Default panel functions for xyeplot
prettytable Pretty formatting of data frames
print.chisqtest Power calculations
print.Coefmat Pretty printing for coefficient matrices
print.outof A numeric class which keeps track of what the number is out of
print.prettytable Pretty formatting of data frames
print.short.summary.lme Print a short summary of an lme fit
print.summary.coxph.penal Summarize a coxph frailty model
print.ttest Power calculations
print.xxtabs Compute multiple summary statistics of data subsets
print.xxtabs.list Compute multiple summary statistics of data subsets
propmargins.table Add totals to tables
psum Componentwise operations

-- R --

repsafe A safe version of rep
RweaveLatex.djw An alternative driver for Sweave, which facilitates labelling

-- S --

se Standard error
short Print a short summary of an lme fit
short.summary.lme Print a short summary of an lme fit
show.pch Show standard plot symbols
showchanges Dodgy plots for biologists
sigchar Dodgy plots for biologists
sigstyle Dodgy plots for biologists
simpleKey2 Function to generate a simple key for a plot
sortAlphaNum Split a character vector into alternating character and numerical parts, and sort it
splitAlphaNum Split a character vector into alternating character and numerical parts, and sort it
squelch Aggregate a data frame by superimposing rows
squelch2 Aggregate a data frame by superimposing rows
strstrip Remove whitespace at the beginning and end of a string
summary.coxph.penal Summarize a coxph frailty model

-- T --

tapplydjw A version of tapply which keeps track of NA factor levels
ttest Power calculations
typeIIErrorProb Power calculations
typeIIErrorProb.chisqtest Power calculations
typeIIErrorProb.default Power calculations
typeIIErrorProb.ttest Power calculations

-- W --

whatfraction The indicator function, and friends

-- X --

xcumsum Cumulative sum, by groups
xxtabs Compute multiple summary statistics of data subsets
xyeplot Scatterplot with error bars

-- misc --

%+% Operations on "outof" vectors
%+%.outof Operations on "outof" vectors
%-% Operations on "outof" vectors
%-%.outof Operations on "outof" vectors
%/%.Surv Division for censored data
%begins% Select character strings by prefix or substring
%contains% Select character strings by prefix or substring
%whichbegin% Select character strings by prefix or substring
%whichcontain% Select character strings by prefix or substring
[.Coefmat Pretty printing for coefficient matrices
[.outof A numeric class which keeps track of what the number is out of
[<-.outof A numeric class which keeps track of what the number is out of