msl.forecast: Projected sea level rise integrated with historical record.

Description Usage Arguments Details Value See Also Examples

View source: R/msltrend.R

Description

Projected sea level rise integrated with historical record.

Usage

1
msl.forecast(object, slr = 800, plot = TRUE)

Arguments

object

of class “msl.trend” (see msl.trend and s).

slr

numeric, enables a user defined amount of projected sea level rise in millimetres. The user range is [200 to 1500] where 800 is the default setting.

plot

logical, if ‘TRUE’ then the original time series is plotted to the screen along with the trend component, the result of gap filling (where necessary) and the added quantum of sea level rise selected. 95% confidence intervals have also been applied. Default = TRUE.

Details

This routine adds a user specified quantum of sea level rise from the end of the deconstructed historical record to the year 2100. All internal parameters captured in the msl.trend object are passed directly to msl.forecast.

Value

An object of class “msl.forecast” is returned with the following elements:

$Station.Name:

the name of the data record.

$Summary:

a summary data frame of relevant attributes relating to the trend and the inputted annual average data set extended to 2100 with projected sea level rise, including:

$Velocity:

outputs the peak velocity and the year in which it occurs.

$Acceleration:

outputs the peak acceleration and the year in which it occurs.

$Historical.Record:

outputs details of the start, end and length of the input data set.

$Historical.Fillgaps:

outputs the extent of missing data (years) in the original record and the gap filling method used (where necessary).

$Projected.SLR:

details the amount of sea level rise applied between the end of the historical record and the year 2100.

$Bootstrapping.Iterations:

outputs the number of iterations used to generate the respective standard deviations for error margins.

See Also

msl.trend, msl.plot, msl.pdf, summary, Balt, s, t.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
# -------------------------------------------------------------------------
# Isolate trend from Baltimore record, filling gaps with spline interpolation,
# 500 iterations and adding 1000 mm of slr to 2100. Use raw 'Balt.csv' data file.
# Note: ordinarily user would call 'File.csv' direct from working directory
# using the following sample code:
# s <- msl.trend('Balt.csv', fillgaps = 3, iter = 500, 'BALTIMORE, USA')
# t <- msl.forecast(s, slr = 1000)
# -------------------------------------------------------------------------

data(s) # msl.trend object from above-mentioned example
data(t) # msl.forecast object from above-mentioned example
str(t) # check structure of msl.forecast object
msl.plot(s, type=2) # check screen output of gapfilling and trend estimate
msl.plot(t, type=2) # check screen output of adding 1000 mm of sea level rise

msltrend documentation built on May 2, 2019, 5:41 a.m.