Learn R Programming

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

berryFunctions (version 1.12.3)

Function Collection Related to Plotting and Hydrology

Description

Draw horizontal histograms, color scattered points 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.12.3

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Berry Boessenkool

Last Published

September 27th, 2016

Functions in berryFunctions (1.12.3)

approx2

Smart linear NA interpolation
checkFile

check file existance
ci

calculate confidence interval around mean
addAlpha

Color transparency
addFade

Color fade out
berryFunctions-package

Berry's functions
betaPlot

Beta density plot
anhang

open the Appendix of Rclick
betaPlotComp

Compare beta distributions
addRows

Add n rows to a data.frame
ciBand

polygon confidence bands
circle

Draw circle with a given radius
cie

Extended confidence interval
classify

Classification into groups
colPoints

Points colored relative to third dimension
climateGraph

climate graph after Walter and Lieth
cls

clear console by function - does not work!
colPointsLegend

Legend for colPoints
colPointsHist

Histogram for colPoints
combineFiles

Combine Textfiles into one
createFun

create function framework
createDoc

Create Documentation file from r-source
distance

Distance between points
divPal

Diverging color palette
dataDWD

download data from DWD
expReg

Exponential regression with plotting
exp4p

4-parametric exponential function
compareFiles

Compare textfiles for equality
dataStr

str of datasets
dupes

Duplicate lines in file
funSource

Source code of a function
getName

get the name of an input in nested function calls
groupHist

Histogramm for classes
headtail

head and tail
funTinn

Open function in TinnR
exTime

Time to run examples
funnelPlot

Funnel plots for proportional data
googleLink2pdf

extract pdf link from google search result
gof

GOF measures
getColumn

get column from data.frame
is.error

Check if an expression returns an error
linReg

linear regression with plotting
horizHist

Horizontal histogram
linLogHist

lin-log transition histogram
lim0

axis limits with one end at zero
library2

install.package and require
linLogTrans

Animation for transition from linear to logarithmic axis
insertRows

insert rows to data.frame
l2df

List to data.frame
instGit

install github package
monthAxis

Label date axis
lsc

Linear storage cascade, unit hydrograph
monthLabs

Nicely spaced labels along a month
lsMem

Show memory size of objects in MB
mReg

Multiple regression
na9

Prepend spaces before na.strings
readDWD

process data from DWD
TFtest

Test logical expressions
removeSpace

Remove white spaces from strings
timer

Timer alarm
locArrow

arrow at locator point in graph
locLine

abline at locator point in graph
owa

Overwrite argument default lists
panelDim

Arrange panels in a multipanel plot (par mfrow)
sortDF

sort dataframes by column
spiralDate

Spiral graph of time series
yearSample

Nonrandom year with sample
logAxis

Label logarithmic axes
unitHydrograph

Unit Hydrograph
logHist

Histogram of logarithmic values
pastec

Paste with collapse = ", "
seasonality

Seasonality analysis
pointZoom

zoom in originally static x11 graphics
seqPal

Sequential color palette
smallPlot

Inset small plot within figure
smoothLines

draw smoothed lines
normPlot

Normal density plot
nameSample

Nonrandom character sequence with sample
rescale

shift and scale a vector
runAxis

Label axis with typical running times
seqR

seq with a range argument
showPal

show color palettes
logVals

Create log-axis values and labels
logSpaced

Logarithmically spaced points
pretty2

Truncated pretty breakpoints
quantileBands

Quantile bands
spiralDateAnim

Animated spiral graph
toupper1

capitalize words
superPos

superposition of discharge, unit hydrograph
traceCall

call stack of a function
movAv

Moving average
movAvLines

Moving average with different window widths
quantileMean

Average of R's quantile methods
rainbow2

Rainbow from blue to red
tableColVal

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

Write text to plot with halo underneath