synthetic: synthetic

Description Usage Arguments Value

View source: R/synthetic_baro.R

Description

This function is used for testing purposes

Usage

1
2
3
synthetic(sd_noise = 2e-04, sd_noise_trend = 3e-05,
  linear_trend = 1e-07, n = 14 * 86400, seed = NULL, scale = 0.5,
  baro_kernel = NULL)

Arguments

sd_noise

standard deviation of random noise to add (numeric)

sd_noise_trend

standard deviation of noise to add to generate a trend (numeric)

linear_trend

magnitude of linear trend in time (numeric)

n

length of time series in seconds (integer)

seed

random number seed for reproducibility (numeric)

scale

multiplier for barometric pressure (numeric)

baro_kernel

vector values to convolve with barometric pressure

Value

data.table of synthetic water levels and barometric pressure


jkennel/waterlevel documentation built on Dec. 1, 2019, 6:24 p.m.