make.array {secrdesign}R Documentation

Re-cast Simulated Statistical Output as Array

Description

This function is used internally by summary.secrdesign, and may occasionally be of general use.

Usage


make.array(object)

Arguments

object

secrdesign object containing numerical values for a particular parameter (i.e. output from select.stats inheriting from ‘selectedstatistics’)

Details

make.array converts a particular simulated numerical output into an array with one dimension for each varying input.

Value

A numeric array with dimensions corresponding to the varying inputs.

See Also

run.scenarios

Examples

## collect raw counts
scen1 <- make.scenarios(D = c(5,10), sigma = 25, g0 = 0.2)
traps1 <- make.grid()
tmp1 <- run.scenarios(nrepl = 50, trapset = traps1, scenarios = scen1,
    fit = FALSE)
make.array(tmp1)

[Package secrdesign version 2.9.1 Index]