Create an object of class "predictor"
Create an object of class "predictor"
new_predictor( f = function() { }, predictor_type = character(), lb, ub, support )
f |
a function that gives the probability mass/distribution function of a random variable. |
predictor_type |
a character describing the random variable. Either "discrete" or "continuous". |
lb, ub |
if |
support |
if |
an object of class "predictor"
.
new_predictor( f = function(x0) dnorm(x0, mean = 0, sd = 1), predictor_type = "continuous", lb = -Inf, ub = Inf )
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.