plot_beta_sim {hdpGLM}R 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


[Package hdpGLM version 1.0.3 Index]