Karl Broman's R Code


[Up] [Top]

Documentation for package ‘broman’ version 0.62-1

Help Pages

add_commas Add commas to a large number
arrowlocator Use the locator function to plot an arrow
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
compare_rows Compare rows in a matrix
convert2hex Convert decimal to hex
dec2hex Convert decimal to hex
done Send a short message via RPushbullet.
dotplot Dot chart with a gray background
errors2pushbullet Send further errors to pushbullet
excel_fig Excel-style figure displaying contents of a matrix
exit exit R without saving
fac2num Convert a factor to numeric
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
jiggle Jiggle points horizontally
karl_theme Karl's ggplot2 theme
kbdate My only little date facility
lenuniq Number of unique values
make Run make within a package directory
manyboxplot Boxplot-like figure for many groups
maxabs maximum of absolute value
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
openfile Open a file
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
pushbullet_devices Grab info on Pushbullet devices.
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
stop_sending_errors Stop sending errors to pushbullet
strwidth2lines Calculate width of a character string in number of lines
strwidth2xlim Calculate horizontal limit in user coordinates for adding labels
switchv Vectorized version of switch
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