plot.EAMM: Graphic output of the EAMM function

View source: R/plot.EAMM.R

plot.EAMMR Documentation

Graphic output of the EAMM function

Description

Provide graphic interpretation of the simulation results

Usage

## S3 method for class 'EAMM'
plot(x, graphtype = "both", vi, vs, fun3D = "wireframe", ...)

Arguments

x

an EAMM object

graphtype

"VI", "VS", or "both" "VI" give graphs with varying variance component of intercept and with a fixed variance component for slope specified in vs argument "VS" give graphs with varying variance component for slope and with a fixed variance component of intercept specified in vi argument "both" 3-D plot see also fun3D argument

vi

VI for which plots the output. Necessary for "VS" type of graph

vs

VS for which plots the output. Necessary for "VI" type of graph

fun3D

plot function used to plot the 3D graph. "wireframe" uses lattice, "persp" uses graphics, and "open3d" uses rgl.

...

potentially further arguments to pass to methods

Examples

## Not run: 
  ours <- EAMM(numsim=10, group=10, repl=4,
               VI=seq(0.1,0.95,0.05), VS=c(0.05,0.1) )
  plot(ours, "both")
  plot(ours, "VI",vs=0.1)
  plot(ours,"VS",vi=0.2)
   
## End(Not run)


JulienGAMartin/pamm_R documentation built on Aug. 28, 2023, 7:44 p.m.