Learn R Programming

⚠️There's a newer version (0.84) of this package.Take me there.

broman (version 0.48-2)

Karl Broman's R code

Description

Miscellaneous R functions

Copy Link

Version

Install

install.packages('broman')

Monthly Downloads

2,456

Version

0.48-2

License

GPL-3

Maintainer

Karl W Broman

Last Published

May 7th, 2014

Functions in broman (0.48-2)

strwidth2xlim

Calculate horizontal limit in user coordinates for adding labels
cf

Compare objects, including missing data pattern
runningmean

Running mean, sum, or median
hex2dec

Convert from hex to decimal
quantileSE

Sample quantiles and their standard errors
histlines

Utility to create line-based histogram
myround

Round a number, preserving extra 0's
triarrow

Plot an arrow within a Holmans triangle
convert2hex

Convert decimal to hex
mypairs

My scatterplot matrix
qqline2

qqline for qqplot
plot_crayons

Illustraion of crayon colors
kbdate

My only little date facility
loadwork

Load a workspace
attachfile

Attach a workspace
loadfile

Load a workspace
winsorize

Winsorize a vector
strwidth2lines

Calculate width of a character string in number of lines
perm.test

Permutation t-test
paste00

paste with null or dot as separator and with collapse
triplot

Plot Holmans triangle
make

Run make within a package directory
manyboxplot

Boxplot-like figure for many groups
tripoints

Plot points within a Holmans triangle
attachwork

Attach a workspace
paired.perm.test

Paired permutation t-test
brocolors

Vectors of colors for figures
grayplot

Plot with a gray background
paste.

paste with dot separator
revrainbow

Create vector of colors from blue to red
arrowlocator

Use the locator function to plot an arrow
qr2

The QR decomposition of a matrix
normalize

Quantile normalization
objectsizes

Calculate sizes of all objects in workspace
runningratio

Running ratio
bromanversion

Installed version of R/broman
chisq

Chi-square test by simuation for a two-way table
xlimlabel

Calulate horizontal limit in user coordinates for adding labels
get0

get with paste
simp

Numerical integration
trilines

Plot lines within a Holmans triangle
venn

Plot to-scale Venn diagram
h

View html version of help file
rmvn

Simulate multivariate normal
fisher

Fisher's exact test for a two-way table