Description Usage Arguments Value References Examples

This function returns the design matrix used for computation of the Bayes factor
for the numerator of a `BFBayesFactor`

object. There must not be more
than one numerator in the `BFBayesFactor`

object.

1 2 3 4 5 | ```
## S4 method for signature 'BFBayesFactor'
model.matrix(object, ...)
## S4 method for signature 'BFBayesFactorTop'
model.matrix(object, ...)
``` |

`object` |
a BayesFactor object with a single numerator |

`...` |
arguments passed to and from related methods |

Returns the design matrix for the corresponding model. The 'gMap' attribute of the returned matrix contains the mapping from columns of the design matrix to g parameters

Rouder, J. N., Morey, R. D., Speckman, P. L., Province, J. M., (2012) Default Bayes Factors for ANOVA Designs. Journal of Mathematical Psychology. 56. p. 356-374.

1 2 3 4 5 6 7 8 |

BayesFactor documentation built on May 29, 2017, 3:51 p.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.