View source: R/as.expression.R
lotriDataFrameToLotriExpression | R Documentation |
Convert a lotri data frame to a lotri expression
lotriDataFrameToLotriExpression(data, useIni = FALSE)
data |
lotri data frame |
useIni |
Use 'ini' instead of 'lotri' in the expression |
expression of the lotri syntax equivalent to the data.frame provided
Matthew L. Fidler
x <- lotri({
tka <- 0.45; label("Log Ka")
tcl <- 1; label("Log Cl")
tv <- 3.45; label("Log V")
eta.ka ~ 0.6
eta.cl ~ 0.3
eta.v ~ 0.1
add.err <- 0.7
})
df <- as.data.frame(x)
lotriDataFrameToLotriExpression(df)
# You may also call as.expression directly from the lotri object
as.expression(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.