plot_beta_sim: Plot simulated data

plot_beta_simR Documentation

Plot simulated data

Description

Create a plot with the beta sampled from its distribution, as a function of context-level feature $W$. Only works for the hierarchical model (hdpGLM), not the dpGLM

Usage

plot_beta_sim(data, w.idx, ncol = NULL)

Arguments

data

the output of the function hdpGLM_simulateData

w.idx

integer, the index of the context level covariate the plot

ncol

integer, the number of columns in the grid of the plot


hdpGLM documentation built on Oct. 13, 2023, 1:17 a.m.