Learn R Programming

pomp (version 0.24-7)

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

W. H. Press, S. A. Teukolsky, W. T. Vetterling, & B. P. Flannery, Numerical Recipes in C, Cambridge University Press, 1992

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