Description Usage Format Details See Also Examples
Output of call to custom.trend
used in examples throughout this
Manual.
1 |
custom.trend object
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).
custom.trend
, msl.fileplot
,
msl.screenplot
, summary
, Balt
.
1 2 3 4 5 6 7 8 | 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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.