plot.flimboot: Plot function for '"flimboot"' objects.

Description Usage Arguments Details Value Author(s)

View source: R/plot.flimboot.R

Description

Plots hypothetical mean responses for a longitudinal dataset reconstructed with flim, together with point wise bootstrapped confidence bands.

Usage

1
2
3
## S3 method for class 'flimboot'
plot(x, response, grouping=NULL, col=1:20, ylab="Response",
                          xlab="Times", ylim=NULL, main=NULL, ...)

Arguments

x

"flimboot" object from using flimboot.

response

a response variable in the model formula.

grouping

optional group/factor variable in the model formula.

col

optional colors for each level of the group variable.

ylab

title for the y axis.

xlab

title for the x axis.

ylim

range limit for the y axis; if nothing is specified it will auto adjust.

main

an overall title for the plot

...

additional arguments passed to plot, except lty which should be left unspecified.

Details

Note that here the hypothetical mean responses are plotted with full-drawn lines, and confidence bands are in the same color but stipulated. The observed mean responses are not plotted. The confidence bands are calculated as hypothetical mean response +- two times the bootstrap standard deviation at each time point. The standard error estimates are available with flimSD, see flim for example on usage.

Value

Mean response plot with point wise bootstrap confidence bands.

Author(s)

Rune Hoff


FLIM documentation built on May 29, 2017, 11:30 p.m.