Learn R Programming

pamm (version 0.5)

plot.PAMM: Graphic output of the PAMM function

Description

provide graphic interpretation of the simulation results

Usage

## S3 method for class 'PAMM':
plot(x, graphtype = "both", nbgroup, nbrepl,\dots)

Arguments

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
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

Value

    See Also

    PAMM, plot.EAMM, plot.SSF

    Examples

    Run this code
    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)

    Run the code above in your browser using DataLab