Package: berryFunctions 1.22.6

berryFunctions: Function Collection Related to Plotting and Hydrology

Draw horizontal histograms, color scattered points by 3rd dimension, enhance date- and log-axis plots, zoom in X11 graphics, trace errors and warnings, use the unit hydrograph in a linear storage cascade, convert lists to data.frames and arrays, fit multiple functions.

Authors:Berry Boessenkool

berryFunctions_1.22.6.tar.gz
berryFunctions_1.22.6.zip(r-4.5)berryFunctions_1.22.6.zip(r-4.4)berryFunctions_1.22.6.zip(r-4.3)
berryFunctions_1.22.6.tgz(r-4.4-any)berryFunctions_1.22.6.tgz(r-4.3-any)
berryFunctions_1.22.6.tar.gz(r-4.5-noble)berryFunctions_1.22.6.tar.gz(r-4.4-noble)
berryFunctions_1.22.6.tgz(r-4.4-emscripten)berryFunctions_1.22.6.tgz(r-4.3-emscripten)
berryFunctions.pdf |berryFunctions.html
berryFunctions/json (API)
NEWS

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

Peer review:

Bug tracker:https://github.com/brry/berryfunctions/issues

On CRAN:

124 exports 13 stars 3.67 score 1 dependencies 18 dependents 292 scripts 2.2k downloads

Last updated 4 months agofrom:5df5251570. Checks:OK: 5 NOTE: 2. Indexed: yes.

TargetResultDate
Doc / VignettesOKAug 30 2024
R-4.5-winNOTEAug 30 2024
R-4.5-linuxNOTEAug 30 2024
R-4.4-winOKAug 30 2024
R-4.4-macOKAug 30 2024
R-4.3-winOKAug 30 2024
R-4.3-macOKAug 30 2024

Exports:addAlphaaddFadeaddRowsalmost.equalanhangapprox2aroundbetaPlotbetaPlotCompbetweenbmapcatPalcheckFileciBandcircleclassifyclimateGraphcolPointscolPointsHistcolPointsLegendcombineFilescompareDistcompareFilesconvertUmlautcreateFuncreatePresdataStrdistancedivPaldupesexp4pexpRegfunnelPlotfunSourcegetColumngetNamegoogleLink2pdfgroupHistheadtailhorizHistif.errorinsertRowsis.errorkgel2arrayl2dflearnVocablegendmtlibrary2lim0linLogHistlinLogTranslinReglocArrowlocatorRSlocLinelogAxislogHistlogSpacedlogValslsclsMemmonthAxismonthLabsmovAvmovAvLinesmRegna9nameSamplenewFilenamenormalizePathCPnormPlotnormTestnseopenFileopenPDFowapackagePathpanelDimpar_sapplyparallelCodepdfpngpopleafpretty2quantileBandsquantileMeanrainbow2removeSpacerequire2rescalermseround0roundedRectrsquarerunAxisrunRversionsrunTimeseasonalityseqPalseqRshowPalsmallPlotsmoothLinessortDFspiralDatespiralDateAnimsumatraInitializesuperPostableColValtestExamplestextFieldTFtesttimeAxistimertmessagetraceCalltruncMessagetryStacktstoptwarningunitHydrographwrite.tabyearPlotyearSample

Dependencies:abind

berryFunctions

Rendered fromberryFunctions.Rmdusingknitr::rmarkdownon Aug 30 2024.

Last update: 2022-05-04
Started: 2016-04-29

Readme and manuals

Help Manual

Help pageTopics
Berry's functionsberryFunctions-package berryFunctions
Color transparencyaddAlpha
Color fade outaddFade
Add n rows to a data.frameaddRows
Vectorized testing for near-equalityalmost.equal
open the Appendix of Rclickanhang
Smart linear NA interpolationapprox2
View values around an indexaround
Beta density plotbetaPlot
Compare beta distributionsbetaPlotComp
Are values between a and b?between
titlebmap
Categorical color palettecatPal
check file existencecheckFile
polygon confidence bandsciBand
Draw circle with a given radiuscircle
Classification into groupsclassify
climate graph after Walter and LiethclimateGraph
Points colored relative to third dimensioncolPoints
Histogram for colPointscolPointsHist
Legend for colPointscolPointsLegend
Combine Textfiles into onecombineFiles
compare distributionscompareDist
Compare textfiles for equalitycompareFiles
Convert German Umlaute to ASCIIconvertUmlaut
create function frameworkcreateFun
Create .Rnw presentation templatecreatePres
str of datasetsdataStr
Distance between pointsdistance
Diverging color palettedivPal
Duplicate lines in filedupes
4-parametric exponential functionexp4p
Exponential regression with plottingexpReg
Funnel plots for proportional datafunnelPlot
Source code of a functionfunSource
get column from data.framegetColumn
get the name of an input in nested function callsgetName
GOF measuresgof gofNA kge nse rmse rsquare
extract pdf link from google search resultgoogleLink2pdf
Histogram for classesgroupHist
head and tailheadtail
Horizontal histogramhorizHist
expressions/values conditional on whether tested expression returns an error.if.error
insert rows to data.frameinsertRows
Check if an expression returns an erroris.error
Convert list of arrays to arrayl2array
List to data.framel2df
spaced learninglearnVocab
legend with multiline titlelegendmt
install.package and librarylibrary2 require2
axis limits with one end at zerolim0
lin-log transition histogramlinLogHist
Animation for transition from linear to logarithmic axislinLogTrans
linear regression with plottinglinReg
arrow at locator point in graphlocArrow
locator with immediate points in RstudiolocatorRS
abline at locator point in graphlocLine
Label logarithmic axeslogAxis
Histogram of logarithmic valueslogHist
Logarithmically spaced pointslogSpaced
Create log-axis values and labelslogVals
Linear storage cascade, unit hydrographlsc
Show memory size of objects in MBlsMem
Label date axismonthAxis
Nicely spaced labels along a monthmonthLabs
Moving averagemovAv
Moving average with different window widthsmovAvLines
Multiple regressionmReg
Prepend spaces before na.stringsna9
Nonrandom character sequence with samplenameSample
Create new filename if file already existsnewFilename
normalizePath Cross PlatformnormalizePathCP
Normal density plotnormPlot
Test values for normality of distributionnormTest
open file in default applicationopenFile
open PDF file with sumatra vieweropenPDF
Overwrite argument default listsowa
Base path of packagepackagePath
Arrange panels in a multipanel plot (par mfrow)panelDim
cross-platform parallel processing with progbarpar_sapply
code chunk for parallelizationparallelCode
Create pdf and png graphpdfpng
create leaflet popup box infopopleaf
Truncated pretty breakpointspretty2
Quantile bandsquantileBands
Average of R's quantile methodsquantileMean
Rainbow from blue to redrainbow2
Remove white spaces from stringsremoveSpace
shift and scale a vectorrescale
Round numbers with leading and trailing zerosround0
Rectangles with rounded cornersroundedRect
Label axis with typical running timesrunAxis
Run code in several R versionsrunRversions
runnning time conversionrunTime
Seasonality analysisseasonality
Sequential color paletteseqPal
seq with a range argumentseqR
show color palettesshowPal
Inset small plot within figuresmallPlot
draw smoothed linessmoothLines
sort dataframes by columnsortDF
Spiral graph of time seriesspiralDate
Animated spiral graphspiralDateAnim
Set useful Sumatra PDF Viewer default settingssumatraInitialize
superposition of discharge, unit hydrographsuperPos
Table with values with value-dependent colored backgrounds in pdftableColVal
Test examples in a packagetestExamples
Write text to plot with halo underneathtextField
Test logical expressionsTFtest
Label date axistimeAxis
Timer alarmtimer
messages with call tracetmessage tstop twarning
call stack of a functiontraceCall
truncate message partstruncMessage
try an expression, returning the error stacktryStack
Unit HydrographunitHydrograph
write table with different defaultswrite.tab
annual plotyearPlot
Nonrandom year with sampleyearSample