BFprobability-class | R Documentation |

The `BFprobability`

class is a general S4 class for representing models model comparison via prior or posterior probabilities.

```
## S4 method for signature 'BFprobability,numeric'
e1 / e2
## S4 method for signature 'BFprobability,numeric'
e1 - e2
## S4 method for signature 'BFprobability,index,missing,missing'
x[i, j, ..., drop = TRUE]
## S4 method for signature 'BFprobability,character'
filterBF(x, name, perl = FALSE, fixed = FALSE, ...)
```

`e1` |
BFprobability object |

`e2` |
new normalization constant |

`x` |
BFprobability object |

`i` |
indices indicating elements to extract |

`j` |
unused for BFprobability objects |

`...` |
further arguments passed to related methods |

`drop` |
unused |

`name` |
regular expression to search name |

`perl` |
logical. Should perl-compatible regexps be used? See ?grepl for details. |

`fixed` |
logical. If TRUE, pattern is a string to be matched as is. See ?grepl for details. |

The `BFprobability`

class has the following slots defined:

- odds
A BFodds object containing the models from which to compute the probabilities

- normalize
the sum of the probabilities of all models (will often be 1.0)

- version
character string giving the version and revision number of the package that the model was created in

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.