Learn R Programming

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

berryFunctions (version 1.7.1)

Function Collection related to Plotting and Hydrology

Description

miscellaneous functions to: draw horizontal histograms, color scatterpoints by 3rd dimension, enhance 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). Development version: https://github.com/BerryBoessenkool

Copy Link

Version

Install

install.packages('berryFunctions')

Monthly Downloads

1,957

Version

1.7.1

License

GPL-2

Maintainer

Berry Boessenkool

Last Published

December 21st, 2014

Functions in berryFunctions (1.7.1)

createDoc

Create Documentation file from .r-source
l2df

list to data.frame
removeSpace

Remove white spaces from strings
tableColVal

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

quantile bands
colPointsLegend

Legend for colPoints
cie

extended confidence interval
classify

classification into groups
logSpaced

Logarithmically spaced points
seqR

seq with a range argument
funnelPlot

Funnel plots for proportional data
unitHydrograph

Unit Hydrograph
colPointsHist

Histogram for colPoints
colPoints

Points colored relative to third dimension
randomPoints

distanced random points
rmse

Root Mean Squared Error
movAv

moving average
compareFiles

compare two textfiles for equality
dupes

Duplicate lines in file
combineFiles

combine several Textfiles into one
berryFunctions-package

Berry's functions
rsquare

R squared
addRows

add n rows to a data.frame
linReg

linear regression with plotting
pretty2

truncated pretty breakpoints
nse

Nash-Sutcliffe efficiency
addAlpha

Make existing colors transparent
lsc

linear storage cascade, unit hydrograph
betaPlot

beta density plot
googleLink2pdf

extract pdf link from google search result
require2

install.package and require
pointZoom

zoom in originally static x11 graphics
deprecatedFunctions

functions removed from berryFunctions
lim0

axis limits with one end at zero
horizHist

draw horizontal histograms
triangleArea

calculate Area of a triangle
circle

draw circle with a given radius
distance

calculate distance between points
cls

clear console by function - does not work!
rainbow2

rainbow from blue to red
smoothLines

draw smoothed lines
owa

overwrite argument default lists
normPlot

normal density plot
lsMem

Show memory size of objects in MB
yearSample

Nonrandom year with sample
nameSample

Nonrandom character sequence with sample
funTinn

open function in TinnR
expReg

exponential regression with plotting
linLogTrans

Animation for transition from linear to logarithmic axis
logVals

Create log-axis values and labels
superPos

superposition of discharge, unit hydrograph
quantileMean

Average of R's quantile methods
climateGraph

climate graph after Walter and Lieth
textField

write text to plot with halo underneath
smallPlot

inset small plot within figure
exp4p

4-parametric exponential function
ci

calculate confidence interval around mean
logAxis

label logarithmic axes
mReg

multiple regression
monthLabs

create labels with certain days of the month