Learn R Programming

pomp (version 0.21-3)

sobol: Sobol' low-discrepancy sequence

Description

Generate a data-frame containing a Sobol' low-discrepancy sequence.

Usage

sobol(vars, n)

Arguments

vars
Named list of ranges of variables.
n
Number of vectors requested.

Value

  • sobolReturns a data frame with n `observations' of the variables in vars.

References

Press et al.

Examples

Run this code
plot(sobol(vars=list(a=c(0,1),b=c(100,200)),100))
plot(sobol(vars=list(a=c(0,1),b=c(100,200),c=c(-1,1)),100))

Run the code above in your browser using DataLab