plot.PAMM {pamm} | R Documentation |
provide graphic interpretation of the simulation results
## S3 method for class 'PAMM': plot(x, graphtype = "both", nbgroup, nbrepl,...)
x |
a PAMM object |
graphtype |
"group", "repl", "both" or "both.dyn" "group" give graphs with varying number of ID and with a fixed number of replicates (should be specified in nbrepl) "repl" give graphs with varying number of replicates and with a fixed number of ID (should be specified in nbgroup) "both" 3-D plot using lattice package (useful only with multiple group size and multiple number of replicates) "both.dyn" 3D plot using rgl package (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) |
... |
potentially further arguments to pass to methods |
Julien Martin
## Not run: # ours=PAMM(numsim=10,group=c(10,20,30),repl=c(2,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)