A frmtmb_priorlist holds parsed specifications, and brms's prior
object is a data frame of strings. $ reads the columns brms's
object has, from the table as.data.frame() builds, so
set_prior("normal(0, 2)", class = c("b", "sd"))$class is
c("b", "sd") in both packages. The name must match a column
exactly; anything else is NULL, as it is on a data frame.
Assigning a column rebuilds every specification from the edited
table with set_prior(), so an edit is checked as a new call would
be.
Usage
# S3 method for class 'frmtmb_priorlist'
x$name
# S3 method for class 'frmtmb_priorlist'
x$name <- value