brm_pval | R Documentation |
Generate empirical P-Value from MCMC generated by brm function
brm_pval(fit)
brmfit |
Model fit by brm function |
tibble with 2 columns containing Fixed Effects names and pvalues
require(brms)
x = 1:100
y = x^2 + rnorm(length(x))
g = rep(1:4,each = 25)
df = tibble(x = x,y = y,g = g)
brmfit = brm(y ~ x^2 + (1|g), data = df)
brm_pval(brmfit)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.