subjplot: Plot individually estimated parameters

Description Usage Arguments Author(s) Examples

View source: R/subjplot.R

Description

A plotting function for displaying the individuals trajectories and their modelled functional form. Useful for detecting aberrant individual trajectories.

Usage

1
2
3
4
5
  subjplot(object, ...)

  ## S3 method for class 'OLScurve'
 subjplot(object, layout = NULL,
    prompt = TRUE, ...)

Arguments

object

an object of class OLScurve

layout

a variable to be passed to xyplot to adjust the graphical layout

prompt

a logical variable indicating whether devAskNewPage(ask=TRUE) should be called

...

additional arguments to be passed

Author(s)

Phil Chalmers rphilip.chalmers@gmail.com

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
## Not run: 
data <- t(t(matrix(rnorm(1000),200)) + 1:5)
mod <- OLScurve(~ time, data = data)
subjplot(mod)

##quadratic
data <- t(t(matrix(rnorm(1000),200)) + (0:4)^2)
mod2 <- OLScurve(~ time + I(time^2), data = data)
subjplot(mod2)



## End(Not run)

OLScurve documentation built on May 2, 2019, 9:19 a.m.