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)
Run the code above in your browser using DataLab