Learn R Programming

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

berryFunctions (version 1.9.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.9.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Berry Boessenkool

Last Published

October 10th, 2015

Functions in berryFunctions (1.9.0)

groupHist

Histogramm for classes
logVals

Create log-axis values and labels
nameSample

Nonrandom character sequence with sample
cie

extended confidence interval
combineFiles

combine several Textfiles into one
logAxis

label logarithmic axes
addRows

add n rows to a data.frame
l2df

list to data.frame
pastec

Paste with collapse = ", "
removeSpace

Remove white spaces from strings
quantileMean

Average of R's quantile methods
movAvLines

moving average with different window widths
exp4p

4-parametric exponential function
lim0

axis limits with one end at zero
linReg

linear regression with plotting
ciBand

polygon confidence bands
googleLink2pdf

extract pdf link from google search result
linLogHist

lin-log transition histogram
berryFunctions-package

Berry's functions
colPointsLegend

Legend for colPoints
addAlpha

Make existing colors transparent
movAv

moving average
rsquare

R squared
pretty2

truncated pretty breakpoints
yearSample

Nonrandom year with sample
approx2

smart linear NA interpolation
seqR

seq with a range argument
cls

clear console by function - does not work!
dupes

Duplicate lines in file
distance

calculate distance between points
funTinn

open function in TinnR
colPointsHist

Histogram for colPoints
betaPlot

beta density plot
expReg

exponential regression with plotting
funnelPlot

Funnel plots for proportional data
lsc

linear storage cascade, unit hydrograph
pointZoom

zoom in originally static x11 graphics
classify

classification into groups
unitHydrograph

Unit Hydrograph
createDoc

Create Documentation file from .r-source
superPos

superposition of discharge, unit hydrograph
climateGraph

climate graph after Walter and Lieth
owa

overwrite argument default lists
colPoints

Points colored relative to third dimension
ci

calculate confidence interval around mean
circle

draw circle with a given radius
compareFiles

compare two textfiles for equality
mReg

multiple regression
rainbow2

rainbow from blue to red
horizHist

draw horizontal histograms
normPlot

normal density plot
tableColVal

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

Root Mean Squared Error
timer

timer alarm
monthLabs

create labels with certain days of the month
lsMem

Show memory size of objects in MB
randomPoints

distanced random points
logSpaced

Logarithmically spaced points
linLogTrans

Animation for transition from linear to logarithmic axis
sortDF

sort dataframes by column
panelDim

arrange panels in a multipanel plot (par mfrow)
nse

Nash-Sutcliffe efficiency
smallPlot

inset small plot within figure
triangleArea

calculate Area of a triangle
require2

install.package and require
monthAxis

Label date axis
quantileBands

quantile bands
textField

write text to plot with halo underneath
smoothLines

draw smoothed lines