Learn R Programming

⚠️There's a newer version (1.22.5) of this package.Take me there.

berryFunctions (version 1.10.0)

Function Collection Related to Plotting and Hydrology

Description

Draw horizontal histograms, color scatterpoints by 3rd dimension, enhance date- and log-axis plots, zoom in X11 graphics, use the unit hydrograph in a linear storage cascade, convert lists to data.frames, fit multiple functions by regression (power, reciprocal, exponential, logarithmic, polynomial, rational).

Copy Link

Version

Install

install.packages('berryFunctions')

Monthly Downloads

1,957

Version

1.10.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Berry Boessenkool

Last Published

April 30th, 2016

Functions in berryFunctions (1.10.0)

combineFiles

Combine Textfiles into one
yearSample

Nonrandom year with sample
createDoc

Create Documentation file from r-source
betaPlot

Beta density plot
createFun

create function framework
cie

Extended confidence interval
randomPoints

Distanced random points
addAlpha

Color transparency
distance

Distance between points
TFtest

Test logical expressions
l2df

List to data.frame
funSource

Source code of a function
addRows

Add n rows to a data.frame
approx2

Smart linear NA interpolation
expReg

Exponential regression with plotting
panelDim

Arrange panels in a multipanel plot (par mfrow)
horizHist

Horizontal histogram
quantileMean

Average of R's quantile methods
classify

Classification into groups
linReg

linear regression with plotting
logAxis

Label logarithmic axes
quantileBands

Quantile bands
nse

Nash-Sutcliffe efficiency
climateGraph

climate graph after Walter and Lieth
unitHydrograph

Unit Hydrograph
pastec

Paste with collapse = ", "
smoothLines

draw smoothed lines
dataStr

str of datasets
triangleArea

Area of a triangle
exp4p

4-parametric exponential function
rmse

RMSE
pretty2

Truncated pretty breakpoints
linLogTrans

Animation for transition from linear to logarithmic axis
dupes

Duplicate lines in file
removeSpace

Remove white spaces from strings
showPal

show color palettes
lsMem

Show memory size of objects in MB
instGit

install github package
locLine

abline at locator point in graph
addFade

Color fade out
funTinn

Open function in TinnR
lsc

Linear storage cascade, unit hydrograph
berryFunctions-package

Berry's functions
movAvLines

Moving average with different window widths
groupHist

Histogramm for classes
cls

clear console by function - does not work!
ci

calculate confidence interval around mean
seqR

seq with a range argument
na9

Prepend spaces before na.strings
ciBand

polygon confidence bands
headtail

head and tail
normPlot

Normal density plot
colPointsLegend

Legend for colPoints
rescale

shift and scale a vector
divPal

Diverging color palette
funnelPlot

Funnel plots for proportional data
colPoints

Points colored relative to third dimension
timer

Timer alarm
textField

Write text to plot with halo underneath
insertRows

insert rows to data.frame
googleLink2pdf

extract pdf link from google search result
logHist

Histogram of logarithmic values
logSpaced

Logarithmically spaced points
nameSample

Nonrandom character sequence with sample
sortDF

sort dataframes by column
rcor

Spatially correlated random values
mReg

Multiple regression
compareFiles

Compare textfiles for equality
rainbow2

Rainbow from blue to red
require2

install.package and require
movAv

Moving average
logVals

Create log-axis values and labels
pointZoom

zoom in originally static x11 graphics
monthAxis

Label date axis
colPointsHist

Histogram for colPoints
betaPlotComp

Compare beta distributions
tableColVal

Table with values with value-dependent colored backgrounds in pdf
monthLabs

Nicely spaced labels along a month
owa

Overwrite argument default lists
smallPlot

Inset small plot within figure
lim0

axis limits with one end at zero
superPos

superposition of discharge, unit hydrograph
circle

Draw circle with a given radius
rsquare

Rsquare
linLogHist

lin-log transition histogram
seqPal

Sequential color palette