renderpf90.matrix | R Documentation |
This function provides a representation of a sparse matrix suited to progsf90.
## S3 method for class 'matrix'
renderpf90(x)
x |
object of class breedr_modelframe, effect_group or breedr_effect. |
For each row, it keeps the non-zero elements and their respective column index. The gaps are filled with zeros.
A matrix with a number of columns equal to twice the maximum number of non-zero elements in one row. The first half of the columns are the non-zero values (except for filling-in) while the second half are the column indices.
For indicator matrices (i.e. each row has at most one non-zero value of 1), it returns a one-column matrix of the corresponding column indices.
Other renderpf90:
renderpf90()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.