| bru_names | R Documentation |
Extracts the names of fixed effects, random effects, and hyperparameters,
converted with bru_standardise_names()
bru_names(x)
## S3 method for class 'inla'
bru_names(x)
## S3 method for class 'bru'
bru_names(x)
x |
an |
A character vector with standardised names
if (bru_safe_inla()) {
fit <- bru(y ~ 1 + x + z(z, model = "iid"),
data = data.frame(
y = rnorm(10),
x = rnorm(10),
z = rep(seq_len(2), 5)
)
)
bru_names(fit)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.