Description Objects from the Class Slots Methods Author(s) References See Also Examples

Holds a population object with its calculated parameters for use in Monte Carlo repeated sampling experiments.

Objects can be created by calls of the form ```
new("montePop",
...)
```

. However, it is probably better, and certainly easier, to use
the constructor method `montePop`

to create objects.

`mean`

:Object of class

`"numeric"`

: The population mean.`var`

:Object of class

`"numeric"`

: The population variance.`stDev`

:Object of class

`"numeric"`

: The population standard deviation`N`

:Object of class

`"numeric"`

: The size of the population.`total`

:Object of class

`"numeric"`

: The population total.`popVals`

:Object of class

`"numeric"`

: The individual population values.`zeroTruncated`

:Object of class

`"logical"`

:`TRUE`

: The population is zero-truncated;`FALSE`

otherwise. This is used specifically with "`sampSurf`

" objects.`n`

:Object of class

`"numeric"`

: The desired sample sizes for calculation of the following three slots. Note that this and the following slots can be`NA`

if this sample size-based information is not desired.`fpc`

:Object of class

`"numeric"`

: The finite population correction for each sample size, or`NA`

.`varMean`

:Object of class

`"numeric"`

: The variance of the mean for the population at each sample size, or`NA`

.`stErr`

:Object of class

`"numeric"`

: The population standard error of the mean for each sample size, or`NA`

.`description`

:Object of class

`"character"`

: a description of the population if desired.

- hist
`signature(x = "montePop")`

: population histogram- monteBSSample
`signature(population = "montePop")`

: Bootstrap sampling from the population.- monteNTSample
`signature(population = "montePop")`

: Normal threory (simple random) sampling from the population.- show
`signature(object = "montePop")`

: the population.- summary
`signature(object = "montePop")`

: of the population.

Jeffrey H. Gove

The ‘“monte”: When is *n* Sufficiently Large?’ vignette.

1 | ```
showClass("montePop")
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.