| t {TrendSLR} | R Documentation |
sample 'custom.trend' object
Description
Output of call to custom.trend used in examples throughout this
Manual.
Usage
data(t)
Format
custom.trend object
Details
This custom.trend object is used extensively in the
examples throughout this manual in order to call the object direct rather than
producing the same via original code which can be computationally expensive. This
object results from a decomposition of the Baltimore (USA) record, filling gaps
firstly with the default SSA option in the gap.fillview function.
The gap.fillview object has then been used to otimise the trend
and DOF settings via the check.decomp function. The custom.trend
function is then applied with the desired settings.
Note: The above-mentioned workflow is used to create the custom.trend
object using the general form of sample code advised in the example (see below).
See Also
custom.trend, msl.fileplot,
msl.screenplot, summary, Balt.
Examples
data(Balt) # Baltimore mean sea level record
ts1 <- ts(Balt[2], start = Balt[1, 1]) # create time series input object
g <- gap.fillview(ts1, station_name = "Baltimore", fillgaps = 1) # SSA gap fill
t <- custom.trend(g, station_name = "Baltimore (USA)", iter = 500, trend = c(1,2),
vlm = 0.6)
data(t)
str(t) # check structure of object