Commit 59ae97b2 authored by Manuela's avatar Manuela

reduce package size by replacing simulations_multi_sites

parent 055b907b
# short demo
### for empirical distribution
out <- prsim.wave(data=runoff_multi_sites, number_sim=1, marginal="empirical",out_dir=NA)
out <- prsim.wave(data=runoff_multi_sites, number_sim=1, marginal="empirical")
### for kappa distribution
out <- prsim.wave(data=runoff_multi_sites, number_sim=1, marginal="kappa", GoFtest = "KS",out_dir=NA)
out <- prsim.wave(data=runoff_multi_sites, number_sim=1, marginal="kappa", GoFtest = "KS")
# out <- prsim.wave(data=runoff_multi_sites, number_sim=5, marginal="kappa",
# GoFtest = NULL,pars=NULL, p_val=NULL)
# simulations_multi_sites<-list(out[[1]]$simulation,out[[2]]$simulation,out[[3]]$simulation,out[[4]]$simulation)
# setwd("C:/Users/mbrunner/Documents/PRSim-devel/data")
# save(simulations_multi_sites,file='simulations_multi_sites.rda')
### for GEV distribution
require("evd")
......
......@@ -12,7 +12,7 @@ prsim.wave(data, station_id="Qobs", number_sim=1, win_h_length=15,
GoFtest=NULL, verbose=TRUE, suppWarn=FALSE, ...)
}
\arguments{
\item{data}{list of data frames. One list entry, i.e. data frame, corresponds to one station. Data frames contain the time indications and runoff of one station. See \sQuote{Details}.}
\item{data}{list of data frames. One list entry, i.e. data frame, corresponds to one station. Each data frame contains the time indications and runoff of one station. See \sQuote{Details}.}
\item{station_id}{identifies the station in case several time series are present in \code{data}. See \sQuote{Details}.}
\item{number_sim}{number of simulations to be carried out.}
\item{win_h_length}{(half-)length of moving window size.}
......
......@@ -6,7 +6,7 @@
Simulated runoff for four catchments
}
\description{
The dataset is generated with the package own routines and represent 10 series of 38 years of runoff for four catchments
The dataset is generated with the package own routines and represent 5 series of 38 years of runoff for four catchments
}
\usage{data("simulations_multi_sites")}
\format{
......@@ -17,7 +17,7 @@ The dataset is generated with the package own routines and represent 10 series o
\item{\code{DD}}{a numeric vector, day}
\item{\code{timestamp}}{\code{POSIXct} vector of the daily runoff}
\item{\code{Qobs}}{observed runoff}
\item{\code{r1},\dots,\code{r10}}{10 simulated runoff series}
\item{\code{r1},\dots,\code{r5}}{5 simulated runoff series}
}
}
\details{
......@@ -27,8 +27,8 @@ The data is included to illustrate the validation and visualization routines in
\source{
The data has been generated with
\code{prsim.wave(data=runoff_multi_sites, number_sim=10, marginal="kappa",
GoFtest = "KS",out_dir="~/PRSim-devel/data/simulations_multi_sites")}
\code{prsim.wave(data=runoff_multi_sites, number_sim=5, marginal="kappa",
GoFtest = NULL,pars=NULL, p_val=NULL)}
(default values for all other arguments).
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment