Description Usage Arguments Details See Also Examples
View source: R/msl.screenplot.R
Plotting to filescreen options.
1 | msl.screenplot(x, type = 1, ci = 1)
|
x |
object of class “msl.trend” (see |
type |
numeric, enables a user defined input to select the type of chart to be plotted. 5 seperate options are available:
|
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. |
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.
msl.trend, custom.trend,
msl.fileplot
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
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.