Package: broman 0.97-1

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.97-1.tar.gz
broman_0.97-1.zip(r-4.7)broman_0.97-1.zip(r-4.6)broman_0.97-1.zip(r-4.5)
broman_0.97-1.tgz(r-4.6-x86_64)broman_0.97-1.tgz(r-4.6-arm64)broman_0.97-1.tgz(r-4.5-x86_64)broman_0.97-1.tgz(r-4.5-arm64)
broman_0.97-1.tar.gz(r-4.7-arm64)broman_0.97-1.tar.gz(r-4.7-x86_64)broman_0.97-1.tar.gz(r-4.6-arm64)broman_0.97-1.tar.gz(r-4.6-x86_64)
broman_0.97-1.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
broman/json (API)

# 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.04 score 183 stars 4 packages 600 scripts 4.7k downloads 2 mentions 80 exports 17 dependencies

Last updated from:e7e930069e. Checks:13 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK187
linux-devel-x86_64OK163
source / vignettesOK214
linux-release-arm64OK184
linux-release-x86_64OK167
macos-release-arm64OK121
macos-release-x86_64OK200
macos-oldrel-arm64OK103
macos-oldrel-x86_64OK210
windows-develOK118
windows-releaseOK98
windows-oldrelOK116
wasm-releaseOK148

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 ternary plottriarrow
Add grid lines to triplottrigrid
Plot lines within a ternary plottrilines
Plot ternary diagram (triangle plot)triplot
Plot points within a ternary plottripoints
Plot text within a ternary plottritext
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