initialize: initialize

Description Usage Arguments Value

Description

create the ARS object by calling $new()

Usage

1
initialize(funx, D = c(-Inf, Inf), ...)

Arguments

D

a vector of 2 points to represent the lower and upper bounds

funcx

represent f(x) we want to sample from

y

may represent different y values from f(x)

Value

a R6 class that contains the relevant information we need


andrea2910/ars documentation built on May 17, 2019, 3:13 a.m.