plot.nm: Plot An Object of Class nm

Description Usage Arguments Details Value Author(s) References See Also

Description

This specializes the generic plot for nm objects. Standard arguments are derived and passed, together with extra arguments, to a suite of diagnostic plots nmPlots.

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## S3 method for class 'nm'
plot(
	x, 
	which = NULL, 
	dvname = 'DV', 
	ivname = 'AMT', 
	covariates = NULL, 
	categorical = NULL, 
	continuous = NULL, 
	by = NULL, 
	...
)

Arguments

x

nm

which

names or numbers for subsetting nmPlots

dvname

column name for the dependent variable

ivname

column name for the independent variable

covariates

a list of covariates, guessed by default

categorical

a list of categorical covariates, guessed by default, ignored where not in covariates

continuous

a list of continuous covariates, guessed by default, ignored where not in covariates

by

column name(s) for extra plotting hierarchy (lattice levels); currently unimplemented

...

extra arguments passed to nmPlots

Details

Time within subject is rescaled to start at zero. Covariates are guessed to be everything that is non-structural. By default, covariates with 7 or more unique values are continuous, and the rest are categorical. But you can reallocate, even assigning the same column as both categorical and continuous.

Value

a list of trellis objects

Author(s)

Tim Bergsma

References

http://metrumrg.googlecode.com

See Also


metrumrg documentation built on May 2, 2019, 5:55 p.m.