# NOT RUN {
n <- 1000
dat <- data.frame(
x = rnorm(n),
f1 = factor(sample(1:50, n, replace=TRUE)),
f2 = factor(sample(1:10, n, replace=TRUE))
)
mats <- compute_GMRF_matrices(~ f1 * RW1(f2), dat)
str(mats)
# }
Run the code above in your browser using DataLab