View source: R/as.expression.R
lotriAsExpression | R Documentation |
Change a matrix or lotri matrix to a lotri expression
lotriAsExpression(
x,
useIni = FALSE,
plusNames = getOption("lotri.plusNames", FALSE),
nameEst = getOption("lotri.nameEst", 5L)
)
x |
matrix |
useIni |
use the ini block |
plusNames |
logical, when 'TRUE' use the 'a + b ~ c(1, 0.1, 1)' naming convention. Otherwise use the lotri single line convention 'a ~ 1; b ~ c(0.1, 1)' |
nameEst |
logical or integerish. When logical 'TRUE' will add names to all matrix estimates and 'TRUE' when using the lotri single line convention i.e. 'a~c(a=1); b~c(a=0.1, b=1)'. When an integer, the dimension of the matrix being displayed needs to have a dimension above this number before names are displayed. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.