get_draws {marginaleffects} | R Documentation |
Extract Posterior Draws or Bootstrap Resamples from marginaleffects
Objects
Description
Extract Posterior Draws or Bootstrap Resamples from marginaleffects
Objects
Usage
get_draws(x, shape = "long")
Arguments
x |
An object produced by a |
shape |
string indicating the shape of the output format:
|
Details
If DxP and PxD and the names returned by coef(x)
are unique, marginaleffects
sets parameter names to those names. Otherwise, it sets them to b1
, b2
, etc.
Value
A data.frame with drawid
and draw
columns.
[Package marginaleffects version 0.28.0 Index]