Package: broman 0.93-2

broman: Karl Broman's R Code

Miscellaneous R functions, including functions related to graphics (mostly for base graphics), permutation tests, running mean/median, and general utilities.

Authors:Karl W Broman [aut, cre], Aimee Teo Broman [ctb]

broman_0.93-2.tar.gz
broman_0.93-2.zip(r-4.7)broman_0.93-2.zip(r-4.6)broman_0.93-2.zip(r-4.5)
broman_0.93-2.tgz(r-4.6-x86_64)broman_0.93-2.tgz(r-4.6-arm64)broman_0.93-2.tgz(r-4.5-x86_64)broman_0.93-2.tgz(r-4.5-arm64)
broman_0.93-2.tar.gz(r-4.7-arm64)broman_0.93-2.tar.gz(r-4.7-x86_64)broman_0.93-2.tar.gz(r-4.6-arm64)broman_0.93-2.tar.gz(r-4.6-x86_64)
broman_0.93-2.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
broman/json (API)
NEWS

# Install 'broman' in R:
install.packages('broman', repos = c('https://kbroman.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/kbroman/broman/issues

Datasets:
  • numbers - Numbers spelled out in English
  • Numbers - Numbers spelled out in English

On CRAN:

Conda:

10.03 score 183 stars 4 packages 572 scripts 5.3k downloads 2 mentions 80 exports 17 dependencies

Last updated from:94e12a1e80. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK143
linux-devel-x86_64OK137
source / vignettesOK183
linux-release-arm64OK148
linux-release-x86_64OK140
macos-release-arm64OK143
macos-release-x86_64OK187
macos-oldrel-arm64OK89
macos-oldrel-x86_64OK189
windows-develOK88
windows-releaseOK93
windows-oldrelOK95
wasm-releaseOK121

Exports:%nin%%win%%wnin%add_commasalign_vectorsarrowlocatorattrnamesbrocolorsbromanversioncfchisqciplotcolwalphacompare_rowsconvert2hexcrayonsdec2hexdotplotexcel_figexitfac2numfisherget_precisiongrayplotgrayplot_nahhex2dechistlinesjigglekarl_themekbdatelenuniqmakemanyboxplotmaxabsmypairsmyroundnormalizeobjectsizesopenfilepaired.perm.testpaste.paste..paste.0paste0.paste00perm.testpick_more_preciseplot_crayonsqqline2qr2quantileSErevgrayrevrainbowrmvnrunningmeanrunningratiorunningratio2setRNGparallelsimpspell_outstrwidth2linesstrwidth2xlimswitchvtheme_karltime_axistimeplottraptriarrowtrigridtrilinestriplottripointstritexttwocolorpalunsetRNGparallelvec2stringvennwinsorizexlimlabel

Dependencies:clicpp11farverggplot2gluegtableisobandlabelinglifecycleR6RColorBrewerrlangS7scalesvctrsviridisLitewithr

Readme and manuals

Help Manual

Help pageTopics
Value matching%nin% %win% %wnin%
Add commas to a large numberadd_commas
Align two vectorsalign_vectors
Use the locator function to plot an arrowarrowlocator
Get names of attributesattrnames
Vectors of colors for figuresbrocolors
Installed version of R/bromanbromanversion
Compare objects, including missing data patterncf cf.default cf.list
Chi-square test by simulation for a two-way tablechisq
Effect plot with multiple CIs for different groupsciplot
Convert a color to use alpha transparencycolwalpha
Compare rows in a matrixcompare_rows
Convert decimal to hexconvert2hex dec2hex
Crayon colorscrayons
Dot chart with a gray backgrounddotplot
Excel-style figure displaying contents of a matrixexcel_fig
exit R without savingexit
Convert a factor to numericfac2num
Fisher's exact test for a two-way tablefisher
Determine the precision of a numberget_precision
Scatterplot with a gray backgroundgrayplot
Scatterplot with missing values indicatedgrayplot_na
View html version of help fileh
Convert from hex to decimalhex2dec
Utility to create line-based histogramhistlines
Jiggle points horizontallyjiggle
My little date facilitykbdate
Number of unique valueslenuniq
Run make within a package directorymake
Boxplot-like figure for many groupsmanyboxplot
maximum of absolute valuemaxabs
My scatterplot matrixmypairs
Round a number, preserving extra 0'smyround
Quantile normalizationnormalize
Numbers spelled out in EnglishNumbers numbers
Calculate sizes of all objects in workspaceobjectsizes
Open a fileopenfile
Paired permutation t-testpaired.perm.test
paste with dot separatorpaste.
paste with null or dot as separator and with collapsepaste.. paste.0 paste0. paste00
Permutation t-testperm.test
Pick the more precise value for each element in two related vectorspick_more_precise
Illustration of crayon colorsplot_crayons
qqline for qqplotqqline2
The QR decomposition of a matrixqr2
Sample quantiles and their standard errorsquantileSE
Create vector of colors from white to blackrevgray
Create vector of colors from blue to redrevrainbow
Simulate multivariate normalrmvn
Running mean, sum, or medianrunningmean
Running ratiorunningratio
Running ratio with adaptive windowrunningratio2
Set up random number generation for parallel calculationssetRNGparallel unsetRNGparallel
Numerical integrationsimp trap
Spell out an integerspell_out
Calculate width of a character string in number of linesstrwidth2lines
Calculate horizontal limit in user coordinates for adding labelsstrwidth2xlim
Vectorized version of switchswitchv
Karl's ggplot2 themekarl_theme theme_karl
Set up a time-based axistime_axis
Scatterplot with date/times on the x-axistimeplot
Plot an arrow within a Holmans triangletriarrow
Add grid lines to triplottrigrid
Plot lines within a Holmans triangletrilines
Plot Holmans triangletriplot
Plot points within a Holmans triangletripoints
Plot text within a Holmans triangletritext
Create vector of colors from blue to white to redtwocolorpal
Turn a vector into a single character stringvec2string
Plot to-scale Venn diagramvenn
Winsorize a vectorwinsorize
Calulate horizontal limit in user coordinates for adding labelsxlimlabel