README.md

lazerhawk

Build
Status codecov

Package description

This package has a few miscellaneous functions useful to me, and which might be useful to others. Nothing extraordinarily unique is here, more or less tweaks/variations of available R functions that do almost what I want, but not quite. Also, I wanted to learn more about building packages, and this was my first foray into that world. The package itself is not on CRAN but would pass CRAN checks. Feel free to note issues if you use it.

This tended to serve as a staging ground for functions that eventually move to their own package. Many have been moved to tidyext and visibly, and others. This package will be more of a grab-bag of odds and ends that don’t seem to fit elsewhere.

I was listening to Lazerhawk at one point while creating it, hence the name, and which I can suggest is decent to listen to for programming, but to each their own in that regard.

Installation

The usual GitHub installation. devtools package required.

devtools::install_github('m-clark/lazerhawk')

Functions

brmsSummaryTable

A function I use when creating reports for other people that involve models using the brms package.

create_adjacency, create_edges

Create an adjacency matrix, or use one to create an edge list.

create_corr

A function to create a correlation matrix. Useful, for example, in setting up simulations.

lower_tri, upper_tri

Return a triangular matrix, with some options on what specifically is returned.

pairwise

Apply an arbitrary function to pairwise combinations of rows or columns.

update_github_pkgs

Guess.

Addins

insertImgCenterAddin

For R Markdown files, inserts <img ...> with centered options filled in.

insertSpanAddin

For R Markdown files, inserts <span class=''>.

Release Notes



m-clark/lazerhawk documentation built on Sept. 8, 2020, 3:57 p.m.