msl.screenplot: Plotting to filescreen options.

Description Usage Arguments Details See Also Examples

View source: R/msl.screenplot.R

Description

Plotting to filescreen options.

Usage

1
msl.screenplot(x, type = 1, ci = 1)

Arguments

x

object of class “msl.trend” (see msl.trend) or “custom.trend” (see custom.trend).

type

numeric, enables a user defined input to select the type of chart to be plotted. 5 seperate options are available:

  • 1: The default setting provides a single 3 panel chart with the time series in the top panel, velocity in the middle panel and acceleration in the bottom panel;

  • 2: Single panel plot of time series;

  • 3: Single panel plot of velocity;

  • 4: Single panel plot of acceleration; and

  • 5: Alternative 2 panel chart with the time series in the top panel and velocity in the bottom panel.

ci

numeric, enables a user defined input to select the type of confidence interval to be displayed on the plots. The default setting (ci = 1) corresponds to a 95% confidence interval whilst ci = 2 provides a 99% confidence interval.

Details

This function provides summary plots direct to the screen for both “msl.trend” (see msl.trend) and “custom.trend” (see custom.trend) objects. The same range of alternative plotting to file options (in JPEG format) are available via msl.fileplot.

See Also

msl.trend, custom.trend, msl.fileplot

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
# Plot to screen from "msl.trend" object

data(s) # "msl.trend" object
str(s) # check object

msl.screenplot(s) # default screen plot output, 3 panels, 95% confidence intervals
msl.screenplot(s, type=2) # plot time series, 95% confidence intervals
msl.screenplot(s, type=3) # plot velocity, 95% confidence intervals
msl.screenplot(s, type=4, ci=2) # plot acceleration, 99% confidence intervals
msl.screenplot(s, type=5, ci=2) # 2 panels, 99% confidence intervals

TrendSLR documentation built on Aug. 7, 2019, 9:03 a.m.