| is.mm | R Documentation |
mmis.mm returns TRUE if x is an object of
class mm.
is.mm(x)
x |
An arbitrary R object. |
is.mm returns TRUE or FALSE depending on whether x is an
object of class mm or not.
x <- mm(states = c("a", "b"), init = c(0.5, 0.5), k = 1,
ptrans = matrix(c(0.9, 0.1, 0.3, 0.7), nrow = 2, byrow = TRUE))
is.mm(x)
is.mm("a")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.