my_posteriorplot: my_posteriorplot

View source: R/my_posteriorplot.R

my_posteriorplotR Documentation

my_posteriorplot

Description

This function plots a posterior

Usage

my_posteriorplot(model, variable_name, xlabel, mycolor)

Arguments

model

a model you want to create a posterior from.

variable_name

the variable you want to model

xlabel

the label for the variable

mycolor

color of the density function

Details

This function plots a posterior from your bayesian outputs.

Value

Returns a posterior plot

Examples

## Not run: 
my_posteriorplot=(
model=model,
variable_name="reward_oneback",
xlabel = "Reward Oneback"
mycolor = "gray"
)

## End(Not run)

shahar-lab/RLR documentation built on March 2, 2024, 4:40 a.m.