Learn R Programming

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

berryFunctions (version 1.6)

Function Collection related to Hydrology, Zooming and Plotting

Description

collection of functions to: zoom in X11 graphics, use the unit hydrograph in a linear storage cascade, draw horizontal histograms and scatterplots colored by 3rd dimension, convert lists to data.frames, fit multiple functions (power, reciprocal, exponential, logarithmic, polynomial, rational) by regression. Development version: https://github.com/BerryBoessenkool

Copy Link

Version

Install

install.packages('berryFunctions')

Monthly Downloads

1,957

Version

1.6

License

GPL-2

Maintainer

Berry Boessenkool

Last Published

October 15th, 2014

Functions in berryFunctions (1.6)

climateGraph

climate graph after Walter and Lieth
betaPlot

beta density plot
ci

calculate confidence interval around mean
berryFunctions-package

Berry's functions
classify

classification into groups
circle

draw circles with a given radius
funTinn

open function in TinnR
logAxis

label logarithmic axes
nameSample

Nonrandom character sequence with sample
combineFiles

combine several Textfiles into one
colPointsLegend

Legend for colPoints
createDoc

Create Documentation file from .r-source
addRows

add n rows to a data.frame
owa

overwrite argument lists passed to functions
lsc

linear storage cascade, unit hydrograph
quantileMean

Average of R's quantile methods
funnelPlot

Funnel plots for proportional data
addAlpha

Make existing colors transparent
linReg

linear regression with plotting
compareFiles

compare two textfiles for equality
superPos

superposition of discharge, unit hydrograph
logVals

Create log-axis values and labels
smoothLines

draw smoothed lines
colPointsHist

Histogram for colPoints
horizHist

draw horizontal histograms
nse

Nash-Sutcliffe efficiency
seqR

seq with a range argument
quantileBands

quantile bands
lsMem

Show memory size of objects in MB
smallPlot

inset small plot within figure
movAv

moving average
l2df

list to data.frame
triangleArea

calculate Area of a triangle
distance

calculate distance between points
unitHydrograph

Unit Hydrograph
tableColVal

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

Animation for transition from linear to logarithmic axis
googleLink2pdf

extract pdf link from google search result
deprecatedFunctions

functions removed from berryFunctions
textField

write text to plot with halo underneath
mReg

multiple regression
normPlot

normal density plot
lim0

axis limits with one end at zero
exp4p

4-parametric exponential function
pretty2

truncated pretty breakpoints
rainbow2

rainbow from blue to red
colPoints

add points to plot with color relative to third dimension data
require2

install.package and require
monthLabs

create labels with certain days of the month
cls

clear console by function - does not work!
rmse

Root Mean Squared Error
rsquare

R squared
cie

extended confidence interval
randomPoints

distanced random points
pointZoom

zoom in originally static x11 graphics
yearSample

Nonrandom year with sample