Man pages for johngodlee/JLGMisc
Various convenience functions

abMatGenerate a species by site abundance matrix
allEqualTest whether all elements of multiple vectors are equal
basalAreaCalculate basal area from DBH
binwFDEstimate optimal binwidth for histogram according to...
bitChangeDetect when the values in an ordered vector change
calcAUCCalculate Area Under Curve (AUC) using trapesium...
chunkSplitSplit a vector into chunks of given size
closestMatchFind closest match in a vector
coeffVarCalculate the coefficient of variation
compIntCalculate compound interest by percentage
corrPlotCreate a correlation plot (correlogram)
decDMSConvert decimal degrees to degrees, minutes, seconds
divisorsFind divisors of an integer
dmsDegConvert degrees, minutes, seconds to decimal degrees
effLayersEffective number of layers in a point cloud distribution
endPointsCalculate end points of line given start point, slope, and...
EPSG2CRSGet a valid CRS object from an EPSG code.
fastRbindFast rbind for dataframes
fillGenusIn a vector of species genera, expand sequential...
findHullFind the convex hull of a 2D set of points
findPeaksFind local peaks in a distribution
ggplotLimsGet axis limits from a ggplot2 plot object
hexNameFind the closest named colour to a given six character hex...
hexTripFind the closest hex triplet to a given six character hex...
koboDataGetGet KoboToolbox form data as a dataframe for a given form
koboFormIDGet KoboToolbox form IDs for a user
latLong2UTMGet valid UTM zone from latitude and longitude in WGS84...
lmAnovaRun an ANOVA on a list of linear models
lmFormatFormat beta coefficient of lm() model object for LaTeX text
lmPvalGet the model P-value for a linear model
lookupTableUse a lookup table to match values
maxChordFind the longest chord within a polygon
maxPerpChordFind the longest perpendicular chord within a polygon
minBoxReturn the minimum bounding rectangle around a polygon
NMDSScreeCreate scree plot for NMDS
numFormatFormat a number for LaTeX
numWordConvert numbers to English words
objExistCheck if an object exists using the object itself, rather...
objSizeGet object sizes
outersectFind values not shared between two vectors
palShowShow a colour palette as a plot
palVisAllVisualise all colours in 'qualPal()'
pasteValsPaste values together, replace NAs with blank, optional...
pFormatFormat p-values for use in LaTeX
playfairCreate a playfair-style cipher from a character string
pmFormatFormat a plus-minus number combo
polyVertGenerate regular 2D shapes by defining the number of sides...
quadMeanCalculate the quadratic mean
qualPalQualitative colour palettes
rastFortConvert a raster to a dataframe for plotting with ggplot2
rectangleBufferCreate a rectangular buffer around an sfc point object
remDupSringRemove duplicated characters within strings
rleNA'rle()' with NA values treated as real values
rmAllRemove all objects from working environment
rotateRotate a matrix 90 degrees clockwise or anti-clockwise
roundAnyRound a number to nearest multiple of a given number
scale01Scale a vector to between zero and one
soilQueryQuery SoilGrids via the REST API
stdErrBinomCalculate standard error on binomial data
stdErrMeanCalculate the standard error of the mean of a vector
symMatTransform a 3 column pairwise dataframe to a symmetric matrix
texCmdGenerate a LaTeX command from R object
themePubA sensible theme for basic ggplot output for use in LaTeX...
usingPkgDynamically install packages as needed and load them
UTMProj4Generate a valid UTM WGS84 proj4string given a UTM zone
warnFormatFormat warnings, messages and errors
xtableHlineCalculate vector of hline positions for xtable's hline.after...
johngodlee/JLGMisc documentation built on June 29, 2024, 9:15 p.m.