estimate_program-class: An S4 class to return the results of using the...

Description Usage Arguments Methods (by generic) Slots

Description

An S4 class to return the results of using the estimate_program function

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## S4 method for signature 'estimate_program'
print(x, ...)

## S4 method for signature 'estimate_program'
show(object)

## S4 method for signature 'estimate_program'
predict(object, newdata, parallel = FALSE,
  cores = NULL, type = c("prob", "raw"), thresh = 0.5,
  na.action = na.omit, ...)

Arguments

x

S4 estimate_program object

...

ignored @export

object

S4 estimate_program object @export

newdata

data.frame

parallel

Optional Logical vector length one. Default is parallel = FALSE; parallel = TRUE can be slower if the data set is small relative to the numner of population evolutions desired

cores

Optional Integer vector length one

type

Optional Character vector length one.

thresh

Optional numeric vector length one – the threshold value to use for converting probabilities into discrete outcomes.

na.action

Optional function.

Methods (by generic)

Slots

call

Language from the call of the function estimate_program.

timing

Numeric vector length one with the total elapsed time it took estimate_program to execute.

session

the results from calling sessionInfo() at end of estimate_program function.

full

full main results

best_func

S4 object of class model_program, which has a predict method.


JohnNay/agp documentation built on May 7, 2019, noon