Learn R Programming

sampSurf (version 0.7-6)

montePop-methods: Methods for "'>montePop" Object Construction in Package sampSurf

Description

The following methods will construct valid objects of class "'>montePop". Please see the ‘“monte”: When is n Sufficiently Large?’ vignette for more details and examples.

Arguments

Methods

signature(popVals = "numeric")

This method is meant to be used with any population that can be represented as a numeric vector.

usage…

montePop(popVals,
         zeroTruncate = FALSE,
         n = NA,
         description = 'Monte Carlo Population Object',
         ... )

  • popVals: A numeric vector containing the population values.

  • zeroTruncate: TRUE: truncate the zero values from the population; FALSE: leave it as is.

  • n: A vector of sample sizes that will be used in conjunction with drawing samples from the population; or, NA if not desired.

  • description: A description of the object as a character string.

  • ... : Other arguments to be passed along--not used at present.

%item

signature(popVals = "sampSurf")

This method is meant to be used with objects of class "'>sampSurf". All arguments other than the signature argument are as defined for the previous method.

usage…

montePop(popVals,
         zeroTruncate = FALSE,
         n = NA,
         description = 'Monte Carlo Population Object: sampSurf',
         ... )

  • popVals: An object of class "'>sampSurf" from which the population (sampling surface grid) values will be extracted.

%item