Learn R Programming

Bayesthresh (version 2.0.1)

predict.Bayesthresh: Extract the predict values

Description

Predict values based on the Bayesthres model object

Usage

"predict"(object, ...)

Arguments

object
Object of class "Bayesthresh"
...
No usage

Examples

Run this code

# Not run
data(sensory)

Consumer <- factor(sensory$consumer)
Sacarose <- factor(sensory$sacarose)

#### Model 
# Not run
dex1 <- Bayesthresh(flavor ~ (1|Consumer) + Sacarose, burn = 0, 
																			jump = 1, ef.iter = 10, data=sensory) 

predict(dex1)

Run the code above in your browser using DataLab