Extract a MRF penalty matrix
Usage
get_penalty(penalty, ...)
# S3 method for class 'mrf_penalty'
get_penalty(penalty, ...)
Arguments
- penalty
an R object from which to extract the MRF penalty matrix.
- ...
arguments passed to other methods.
Value
A penalty matrix of class "matrix".