Learn R Programming

BLRPM (version 1.0)

BL.stepfun: BLRPM continous stepfunction of precipitation

Description

BL.stepfun calculates a continous stepfunction of precipitation from the data.frame cells

Usage

BL.stepfun(cells)

Arguments

cells

data.frame of all cells containing information about occurence time, end time, intensity and storm index

Value

sfn returns stepfunction of precipitation

Examples

Run this code
# NOT RUN {
lambda <- 4/240
gamma <- 1/10
beta <- 0.3
eta <- 2
mux <- 4
t.sim <- 240
simulation <- BL.sim(lambda,gamma,beta,eta,mux,t.sim)
stepfun <- BL.stepfun(simulation$cells)
# }

Run the code above in your browser using DataLab