diffStims: Calculate probability of difference between stimuli

View source: R/asmcjr.r

diffStimsR Documentation

Calculate probability of difference between stimuli

Description

Calculates the probability that one stimulus location from a BAM or boot.aldmck model is bigger than another.

Usage

diffStims(x, stims, digits=3, ...)

Arguments

x

A data.frame or matrix containing either MCMC simulations or bootstrap replicates of stimulus placements from an Aldrich-McKelvey model.

stims

A vector of either column numbers or column names of x for which comparisons are be done. All pairwise comparisons of stimuli will be presented.

digits

Digits to print result.

...

Other arguments to be passed down, currently unimplemented.

Value

A data frame with two variables:

Comparison

The comparison being evaluated.

Probability

The probability that the comparison evaluates to TRUE.


davidaarmstrong/asmcjr documentation built on June 29, 2024, 12:07 p.m.