plot_stimuli {hbamr}R Documentation

Plot estimated stimulus positions

Description

Plot marginal posterior distributions of stimulus positions from an HBAM model

Usage

plot_stimuli(object, rev_color = FALSE, alpha = 0.55)

Arguments

object

An instance of class stanfit produced by hbam().

rev_color

Logical: Display low positions as red and high positions as blue.

alpha

Number in [0,1]: Inverse level of transparency for fill color.

Value

A ggplot object.


[Package hbamr version 2.3.1 Index]