Re-cast Simulated Statistical Output as Array

Share:

Description

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

Usage

1
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

1
2
3
4
5
6
## 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)