Learn R Programming

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

berryFunctions (version 1.3)

function collection related to hydrology, zooming and shapefiles

Description

collection of functions to: zoom in X11 graphics and ESRI shapefile plots, use the unit hydrograph in a linear storage cascade, compare several extreme-value-distributions at return periods, 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.

Copy Link

Version

Install

install.packages('berryFunctions')

Monthly Downloads

1,957

Version

1.3

License

GPL-2

Maintainer

Berry Boessenkool

Last Published

June 8th, 2014

Functions in berryFunctions (1.3)

climateGraph

climate graph after Walter and Lieth
berryFunctions-package

Berry's helper functions
cie

extended confidence interval
circle

draw circles with a given radius
changeAttribute

Change attribute of ESRI-Shapefile line segment selected by mouseclick
colPointsLegend

legend for colPoints
monthLabs

create labels with certain days of the month
addRows

add n rows to a data.frame
tableColVal

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

linear regression with plotting
movAv

moving average
lim0

axis limits with one end at zero
createDoc

Create Documentation file from .r-source
l2df

list to data.frame
cls

clear console by function - does not work!
nameSample

Nonrandom character sequence with sample
shapeZoom

zoom into ESRI shapefiles
addAlpha

Make existing colors transparent
nse

Nash-Sutcliffe efficiency
lsMem

Show memory size of objects in MB
funnelPlot

Funnel plots for proportional data
randomPoints

distanced random points
googleLink2pdf

extract pdf link from google search result
pointZoom

zoom in originally static x11 graphics
logVals

Create log-axis values and labels
extremeStat

Extreme value statistics for flood risk estimation
smoothLines

draw smoothed lines
superPos

superposition of discharge, unit hydrograph
combineTextfiles

combine several Textfiles into one
mReg

multiple regression
extremeStatLmom

Extreme value statistics for flood risk estimation
lsc

linear storage cascade, unit hydrograph
showAttribute

Show attribute of ESRI-Shapefile line segment selected by mouseclick
textField

write text to plot with halo underneath
owa

overwrite argument lists passed to functions
colPoints

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

install.package and require
compareDoc

compare Documentation file with source file
yearSample

Nonrandom year with sample
rsquare

R squared
horizHist

draw horizontal histograms
seqR

Add a range argument to seq
triangleArea

calculate Area of a triangle
distance

calculate distance between points
rmse

Root Mean Squared Error
unitHydrograph

Unit Hydrograph
ci

calculate confidence interval around mean