print.simulation: Display basic information about a quantiNemo simulation

Description Usage Arguments Examples

Description

Display basic information about a quantiNemo simulation

This function allows to plot the main statistic from a simulation. By default, it plot all available statistics on several plot in a single page , but can alternatively plot the different statistics on different plot or the same statistics for various replicate

Usage

1
2
3
4
5
## S3 method for class 'simulation'
print(object, ...)

## S3 method for class 'simulation'
print(object, ...)

Arguments

object

The simulation to be plotted

file.name

The name of the file that you want to add, as defined by QuantiNemo

file.content

A variable of dataframe type containing the needed information

statistics

A character or vector of character countaining the names of the statistics to be plotted

dispatch

decide if the plot are plotted all on the same page or on various page

Examples

1
2
3
4
5
6
7
my_sim <- new("simulation", sim.name = "test72")
my_sim <- setParameter(my_sim,"quanti_all",5)
print(my_sim)
my_sim <- new("simulation", sim.name = "test_plot")
my_sim <- setParameter(my_sim,"stat","adlt.nb_individual")
run(my_sim)
plot(my_sim)

frederic-michaud/RQuantiNemo documentation built on May 15, 2019, 2:51 a.m.