Man pages for bobverity/bobfunctions2
Bob's utility functions

bin_2dBin values in two dimensions
box_blurApply box blur to a matrix
buffer_rangeExpand range to include buffer
check_data_entryCheck numerical series for basic data entry mistakes
col_hotcoldRed to blue colours
col_plotSimple plot to explore colour palettes
col_timtim.colors from fields package
col_toySix colours taken from a wooden toy
cubic_splineGet cubic spline between coordinates
dist_gcCalculate pairwise great circle distance between points
dna_complementReturn complementary DNA or RNA sequence
dna_to_aaConvert DNA sequence to amino-acid
fractal_noiseGenerate fractal noise
func_headerProduce function header text
gamma_incompleteThe Incomplete Gamma Function
get_projectionGet projection matrix
gg3d_add_grid_linesAdd grid lines to ggplot perspective plot
gg3d_scatterplotProduce a 3D scatterplot in ggplot format
gg_insetAdd inset plot to faceted ggplot
headerProduce script header text
invgammaThe Inverse-Gamma Distribution
layout_matCreate layout matrix automatically from plot number
list_to_matrixrbind a list of matrices into a single matrix
lonlat_to_bearingCalculate great circle distance and bearing between...
more_coloursExpand series of colours by interpolation
moving_averageCalculate moving average over a window
object.size_autoReturn object size in auto units
perlin_noiseGenerate Perlin noise
pipePipe operator
plot_densityQuick plot of density distribution
project_2dProject 3D coordinates to 2D
project_2d_lineProject 3D line coordinates to 2D
rbetabinomDraw from Beta-binomial distribution
rCRPDraw from Chinese restaurant process
rdirichletDraw from Dirichlet distribution
rDPMDraw from Dirichlet process mixture model
set_comparePrint summary of differences and intersections of two sets
setdiff_symmetricFind which elements are not shared between two sets
sim_lattice_biallelicSimulate allele frequencies from lattice model assuming two...
sim_wrightfisherSimulate allele frequencies from Wright-Fisher model
smooth_colsProduce smooth colours from values
vec2matConvert vector to matrix
bobverity/bobfunctions2 documentation built on July 4, 2023, 8:55 p.m.