plot.cause_post: Plot posteriors for one CAUSE fit

Description Usage Arguments Details

View source: R/plot.R

Description

Plot posteriors for one CAUSE fit

Usage

1
2
## S3 method for class 'cause_post'
plot(fit, type = c("posteriors", "data"), data = NULL, pval_thresh = 5e-08)

Arguments

fit

object of class cause_post '

type

Either "posteriors" or "data". See details.

data

If type=="data" then an object of type cause_data_fit must be supplied

pval_thresh

p-value threshold used when type=="data".

Details

If type == "posteriors", the function plots the marginal posterior distribution of each parameter. If type=="data", the function plots data colored by the probability that Z = 1.


jean997/cause documentation built on Dec. 25, 2021, 10 p.m.