Learn R Programming

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

broman (version 0.59-5)

Karl Broman's R Code

Description

Miscellaneous R functions.

Copy Link

Version

Install

install.packages('broman')

Monthly Downloads

2,456

Version

0.59-5

License

GPL-3

Issues

Pull Requests

Stars

Forks

Maintainer

Karl W Broman

Last Published

August 5th, 2015

Functions in broman (0.59-5)

brocolors

Vectors of colors for figures
grayplot

Plot with a gray background
pushbullet_devices

Grab info on Pushbullet devices.
attachfile

Attach a workspace
trilines

Plot lines within a Holmans triangle
perm.test

Permutation t-test
colwalpha

Convert a color to use alpha transparency
chisq

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

My scatterplot matrix
fisher

Fisher's exact test for a two-way table
lenuniq

Number of unique values
cf

Compare objects, including missing data pattern
normalize

Quantile normalization
strwidth2lines

Calculate width of a character string in number of lines
rmvn

Simulate multivariate normal
bromanversion

Installed version of R/broman
add_commas

Add commas to a large number
note

Send a note to pushbullet
histlines

Utility to create line-based histogram
attrnames

Get names of attributes
h

View html version of help file
make

Run make within a package directory
myround

Round a number, preserving extra 0's
qr2

The QR decomposition of a matrix
triarrow

Plot an arrow within a Holmans triangle
arrowlocator

Use the locator function to plot an arrow
compare_rows

Compare rows in a matrix
convert2hex

Convert decimal to hex
objectsizes

Calculate sizes of all objects in workspace
paired.perm.test

Paired permutation t-test
loadfile

Load a workspace
openfile

Open a file
quantileSE

Sample quantiles and their standard errors
revrainbow

Create vector of colors from blue to red
paste.

paste with dot separator
excel_fig

Excel-style figure displaying contents of a matrix
xlimlabel

Calulate horizontal limit in user coordinates for adding labels
runningratio

Running ratio
strwidth2xlim

Calculate horizontal limit in user coordinates for adding labels
qqline2

qqline for qqplot
venn

Plot to-scale Venn diagram
exit

exit R without saving
kbdate

My only little date facility
switchv

Vectorized version of switch
theme_karl

Karl's ggplot2 theme
tripoints

Plot points within a Holmans triangle
manyboxplot

Boxplot-like figure for many groups
simp

Numerical integration
errors2pushbullet

Send further errors to pushbullet
stop_sending_errors

Stop sending errors to pushbullet
winsorize

Winsorize a vector
runningmean

Running mean, sum, or median
hex2dec

Convert from hex to decimal
plot_crayons

Illustration of crayon colors
done

Send a short message via RPushbullet.
paste00

paste with null or dot as separator and with collapse
triplot

Plot Holmans triangle