An object of type Sample contains several pieces of information about the random sample, namely: the name of the model used to generate the sample, values of the model's parameters used to generate the sample, the size of the sample (that is, the number of data points in it), and the data itself. The function getData is used to extract the sample data.
In the example below, we obtain a sample of size $5$ from the ER model with parameter values $(3,4,0.1)$
|
|
The object getData is a method function.