Plots.histogram!
— Methodhistogram!([cur_plot], d::SSM2D; kwargs...)
Adds histogram of a multi-alternative sequential sampling model to an existing plot
Arguments
cur_plot
: optional current plotd::SSM2D
: a model object for a mult-alternative sequential sampling model
Keywords
norm=true
: histogram scaled according to density if truem_args=()
: optional positional arguments passed torand
n_sim=2000
: the number of data points used in the histogramkwargs...
: optional keyword arguments for configuring plot options
Plots.histogram!
— Methodhistogram!([cur_plot], d::ContinuousMultivariateSSM; kwargs...)
Adds histogram of a multi-alternative sequential sampling model to an existing plot
Arguments
cur_plot
: optional current plotd::SSM2D
: a model object for a mult-alternative sequential sampling model
Keywords
norm=true
: histogram scaled according to density if truem_args=()
: optional positional arguments passed torand
n_sim=2000
: the number of data points used in the histogramkwargs...
: optional keyword arguments for configuring plot options
Plots.histogram!
— Methodhistogram([cur_plot], d::SSM1D; norm=true, n_sim=2000, kwargs...)
Adds histogram of a single alternative sequential sampling model to an existing plot
Arguments
cur_plot
: optional current plotd::SSM1D
: a model object for a single alternative sequential sampling model
Keywords
norm=true
: histogram scaled according to density if truem_args=()
: optional positional arguments passed torand
n_sim=2000
: the number of data points used in the histogramkwargs...
: optional keyword arguments for configuring plot options
Plots.histogram
— Methodhistogram(d::SSM2D; kwargs...)
Plots the histogram of a multi-alternative sequential sampling model.
Arguments
d::SSM2D
: a model object for a mult-alternative sequential sampling model
Keywords
norm=true
: histogram scaled according to density if truem_args=()
: optional positional arguments passed torand
n_sim=2000
: the number of data points used in the histogramkwargs...
: optional keyword arguments for configuring plot options
Plots.histogram
— Methodhistogram(d::SSM1D; norm=true, n_sim=2000, kwargs...)
Plots the histogram of a single alternative sequential sampling model.
Arguments
d::SSM1D
: a model object for a single alternative sequential sampling model
Keywords
norm=true
: histogram scaled according to density if truem_args=()
: optional positional arguments passed torand
n_sim=2000
: the number of data points used in the histogramkwargs...
: optional keyword arguments for configuring plot options
RecipesBase.plot!
— Methodplot!([cur_plot], d::SSM2D; t_range=default_range(d), kwargs...)
Adds the probability density of a mult-alternative sequential sampling model to an existing plot
Arguments
cur_plot
: optional current plotd::SSM2D
: a model object for a mult-alternative sequential sampling model
Keywords
t_range
: the range of time points over which the probability density is plottedm_args=()
: optional positional arguments passed torand
if applicablekwargs...
: optional keyword arguments for configuring plot options
RecipesBase.plot!
— Methodplot!([cur_plot], d::ContinuousMultivariateSSM; t_range=default_range(d), kwargs...)
Adds the marginal probability density of a multivariate continuous sequential sampling model to an existing plot
Arguments
cur_plot
: optional current plotd::ContinuousMultivariateSSM
: a multivariate continuous sequential sampling model
Keywords
t_range
: the range of time points over which the probability density is plottedm_args=()
: optional positional arguments passed torand
if applicablekwargs...
: optional keyword arguments for configuring plot options
RecipesBase.plot!
— Methodplot!([cur_plot], d::SSM1D; t_range=default_range(d), kwargs...)
Adds the probability density of a single alternative sequential sampling model to an existing plot
Arguments
cur_plot
: optional current plotd::SSM1D
: a model object for a single alternative sequential sampling model
Keywords
t_range
: the range of time points over which the probability density is plottedm_args=()
: optional positional arguments passed torand
if applicablekwargs...
: optional keyword arguments for configuring plot options
RecipesBase.plot
— Methodplot(d::SSM2D; t_range=default_range(d), kwargs...)
Plots the probability density of a multi-alternative sequential sampling model.
Arguments
d::SSM2D
: a model object for a mult-alternative sequential sampling model
Keywords
t_range
: the range of time points over which the probability density is plottedm_args=()
: optional positional arguments passed torand
if applicablekwargs...
: optional keyword arguments for configuring plot options
RecipesBase.plot
— Methodplot(d::ContinuousMultivariateSSM; t_range=default_range(d), kwargs...)
Plots the marginal probability density of each N dimensional continuous sequential samping model.
Arguments
d::ContinuousMultivariateSSM
: a model object for a N dimensional continuous sequential samping model.
Keywords
t_range
: the range of time points over which the probability density is plottedm_args=()
: optional positional arguments passed torand
if applicablekwargs...
: optional keyword arguments for configuring plot options
RecipesBase.plot
— Methodplot(d::SSM1D; t_range=default_range(d), kwargs...)
Plots the probability density of a single alternative sequential sampling model.
Arguments
d::SSM1D
: a model object for a single alternative sequential sampling model
Keywords
t_range
: the range of time points over which the probability density is plottedm_args=()
: optional positional arguments passed torand
if applicablekwargs...
: optional keyword arguments for configuring plot options
SSMPlots.plot_model
— Methodplot_model(model;
add_density=false, density_kwargs=(), n_sim=1, kwargs...)
Plot the evidence accumulation process of a generic SSM.
Arguments
model
: a generic object representing an SSM
Keywords
add_density=false
: add density plot above threshold line if truedensity_kwargs=()
: pass optional keyword arguments to density plotlabels = default_labels(model)
: a vector of parameter label optionsdensity_scale = compute_threshold(model)
: scale the maximum height of the densityn_sim=1
: the number of simulated decision processes per optionkwargs...
: optional keyword arguments for configuring plot options
SSMPlots.plot_model
— Methodplot_model(model;
add_density=false, density_kwargs=(), n_sim=1, kwargs...)
Plot the evidence accumulation process of a continous multivariate sequential sampling model.
Arguments
model::ContinuousMultivariateSSM
: a continous multivariate sequential sampling model
Keywords
add_density=false
: add density plot above threshold line if truedensity_kwargs=()
: pass optional keyword arguments to density plotlabels = default_labels(model)
: a vector of parameter label optionsn_sim=1
: the number of simulated decision processes per optionkwargs...
: optional keyword arguments for configuring plot options