Learn R Programming

TBFmultinomial (version 0.1.3)

as.data.frame.PMP: Convert a PMP object into a data frame

Description

This function takes a PMP object an returns a data.frame summarising the information.

Usage

# S3 method for PMP
as.data.frame(x, ...)

Arguments

x

valid PMP object

...

arguments to be passed to data.frame

Value

a data.frame with the posterior and prior probabilities as well as the definition of the models