Karl Broman's R Code


[Up] [Top]

Documentation for package ‘broman’ version 0.55-2

Help Pages

arrowlocator Use the locator function to plot an arrow
attachfile Attach a workspace
attrnames Get names of attributes
brocolors Vectors of colors for figures
bromanversion Installed version of R/broman
cf Compare objects, including missing data pattern
cf.default Compare objects, including missing data pattern
cf.list Compare objects, including missing data pattern
chisq Chi-square test by simuation for a two-way table
colwalpha Convert a color to use alpha transparency
convert2hex Convert decimal to hex
dec2hex Convert decimal to hex
done Send a short message via RPushbullet.
errors2pushbullet Send further errors to pushbullet
exit exit R without saving
fisher Fisher's exact test for a two-way table
grayplot Plot with a gray background
h View html version of help file
hex2dec Convert from hex to decimal
histlines Utility to create line-based histogram
karl_theme Karl's ggplot2 theme
kbdate My only little date facility
lenuniq Number of unique values
loadfile Load a workspace
make Run make within a package directory
manyboxplot Boxplot-like figure for many groups
mypairs My scatterplot matrix
myround Round a number, preserving extra 0's
normalize Quantile normalization
note Send a note to pushbullet
objectsizes Calculate sizes of all objects in workspace
paired.perm.test Paired permutation t-test
paste. paste with dot separator
paste.. paste with null or dot as separator and with collapse
paste.0 paste with null or dot as separator and with collapse
paste0. paste with null or dot as separator and with collapse
paste00 paste with null or dot as separator and with collapse
perm.test Permutation t-test
plot_crayons Illustration of crayon colors
qqline2 qqline for qqplot
qr2 The QR decomposition of a matrix
quantileSE Sample quantiles and their standard errors
revrainbow Create vector of colors from blue to red
rmvn Simulate multivariate normal
runningmean Running mean, sum, or median
runningratio Running ratio
simp Numerical integration
strwidth2lines Calculate width of a character string in number of lines
strwidth2xlim Calculate horizontal limit in user coordinates for adding labels
theme_karl Karl's ggplot2 theme
trap Numerical integration
triarrow Plot an arrow within a Holmans triangle
trilines Plot lines within a Holmans triangle
triplot Plot Holmans triangle
tripoints Plot points within a Holmans triangle
venn Plot to-scale Venn diagram
winsorize Winsorize a vector
xlimlabel Calulate horizontal limit in user coordinates for adding labels