plot.PAMM: Graphic output of the PAMM function

Description Usage Arguments Details Author(s) See Also Examples

Description

provide graphic interpretation of the simulation results

Usage

1
2
## S3 method for class 'PAMM'
plot(x, graphtype = "both", nbgroup, nbrepl, fun3D="wireframe",...)

Arguments

x

a PAMM object

graphtype

"group", "repl" or "both" "group" give graphs with varying number of ID and with a fixed number of replicates specified in nbrepl "repl" give graphs with varying number of replicates and with a fixed number of ID specified in nbgroup "both" 3-D plot. see also fun3D argument. Note: useful only with multiple group size and multiple number of replicates.

nbgroup

number of group for which plots the output. Necessary for "repl" type of graph

nbrepl

number of replicates for which plots the output. Necessary for "group" 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

Details

Parameters phi, theta, ticktype ("simple" or "detailed"), nticks, nbcol from persp function could also be specified for 3D plots. In addition, color schemes ("grey", "cm.colors" and "rainbow") and coltype ("restricted" or "0-1") parameters could also be specified for 3D plots.

Author(s)

Julien Martin

See Also

PAMM, plot.EAMM, plot.SSF

Examples

1
2
3
4
5
6
7
8
## Not run: 
  ours <- PAMM(numsim=10,group=c(seq(10,50,10),100),repl=c(3,4,6),
           randompart=c(0.4,0.1,0.5,0.1),fixed=c(0,1,0.7))  
  plot(ours, "both")
  plot(ours, "group",nbrepl=4)
  plot(ours,"repl",nbgroup=20)
   
## End(Not run)

pamm documentation built on May 29, 2017, 8:43 p.m.