Learn R Programming

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

berryFunctions (version 1.11.0)

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.11.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Berry Boessenkool

Last Published

August 18th, 2016

Functions in berryFunctions (1.11.0)

anhang

open the Appendix of Rclick
checkFile

check file existance
addRows

Add n rows to a data.frame
betaPlotComp

Compare beta distributions
berryFunctions-package

Berry's functions
betaPlot

Beta density plot
addAlpha

Color transparency
ci

calculate confidence interval around mean
addFade

Color fade out
approx2

Smart linear NA interpolation
combineFiles

Combine Textfiles into one
circle

Draw circle with a given radius
classify

Classification into groups
colPoints

Points colored relative to third dimension
cie

Extended confidence interval
ciBand

polygon confidence bands
colPointsHist

Histogram for colPoints
climateGraph

climate graph after Walter and Lieth
cls

clear console by function - does not work!
colPointsLegend

Legend for colPoints
dataStr

str of datasets
exp4p

4-parametric exponential function
createFun

create function framework
dupes

Duplicate lines in file
distance

Distance between points
expReg

Exponential regression with plotting
createDoc

Create Documentation file from r-source
dataDWD

download data from DWD
groupHist

Histogramm for classes
divPal

Diverging color palette
exTime

Time to run examples
funSource

Source code of a function
funTinn

Open function in TinnR
instGit

install github package
funnelPlot

Funnel plots for proportional data
horizHist

Horizontal histogram
locLine

abline at locator point in graph
library2

install.package and require
linLogHist

lin-log transition histogram
locArrow

arrow at locator point in graph
logAxis

Label logarithmic axes
linReg

linear regression with plotting
is.error

Check if an expression returns an error
linLogTrans

Animation for transition from linear to logarithmic axis
l2df

List to data.frame
lsMem

Show memory size of objects in MB
monthAxis

Label date axis
movAvLines

Moving average with different window widths
logSpaced

Logarithmically spaced points
logHist

Histogram of logarithmic values
logVals

Create log-axis values and labels
movAv

Moving average
monthLabs

Nicely spaced labels along a month
lsc

Linear storage cascade, unit hydrograph
compareFiles

Compare textfiles for equality
quantileBands

Quantile bands
pretty2

Truncated pretty breakpoints
googleLink2pdf

extract pdf link from google search result
pointZoom

zoom in originally static x11 graphics
pastec

Paste with collapse = ", "
runAxis

Label axis with typical running times
seasonality

Seasonality analysis
yearSample

Nonrandom year with sample
sortDF

sort dataframes by column
smoothLines

draw smoothed lines
panelDim

Arrange panels in a multipanel plot (par mfrow)
owa

Overwrite argument default lists
lim0

axis limits with one end at zero
insertRows

insert rows to data.frame
headtail

head and tail
randomPoints

Distanced random points
readDWD

process data from DWD
superPos

superposition of discharge, unit hydrograph
tableColVal

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

Multiple regression
rainbow2

Rainbow from blue to red
quantileMean

Average of R's quantile methods
rmse

RMSE
rsquare

Rsquare
unitHydrograph

Unit Hydrograph
showPal

show color palettes
smallPlot

Inset small plot within figure
normPlot

Normal density plot
timer

Timer alarm
nse

Nash-Sutcliffe efficiency
toupper1

capitalize words
spiralDate

Spiral graph of time series
spiralDateAnim

Animated spiral graph
textField

Write text to plot with halo underneath
TFtest

Test logical expressions
na9

Prepend spaces before na.strings
nameSample

Nonrandom character sequence with sample
rescale

shift and scale a vector
removeSpace

Remove white spaces from strings
seqR

seq with a range argument
seqPal

Sequential color palette
triangleArea

Area of a triangle