Description Usage Arguments Value Author(s) See Also Examples
Get the process object associated with a QMatrix object.
1 2 | ## S3 method for class 'QMatrix'
getProcess(this, ...)
|
this |
A QMatrix object. |
... |
Not used. |
A process object, most likely one which inherits from GeneralSubstitution.
Botond Sipos, Gregory Jordan
For more information see QMatrix
.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | # Create a GeneralSubstitution object
p<-GeneralSubstitution(alphabet=BinaryAlphabet())
p
# get the associated QMatrix object from p
m<-p$qMatrix
summary(m)
# get the associated process from m
m$process
# clone p
pp<-clone(p)
# assotiate m with pp
pp$qMatrix<-m
# assotiate pp with m
m$process<-pp
m$process
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.