Description Usage Arguments Value Methods (by class) Examples
Extract the equation(s) name(s) from bags of equations (objects of
class eqs
)
1 2 3 4 | get_eq_names(x)
## S3 method for class 'eqs'
get_eq_names(x)
|
x |
the object |
(chr) set of names for the equations in x
eqs
: Extract the equations' names of the given
eqs
object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | library(equationer)
eq_test <- eq(age = 0.1, bmi = -0.3,
name = "eq_test",
outcome = "kcal/day",
strata = list(sex = "female")
)
eq2_test <- eq(age = 0.1, bmi = -0.3,
name = "eq2_test",
outcome = "kcal/day",
strata = list(sex = "male")
)
eqs_test <- eqs(eq_test, eq2_test, name = "eqs-test")
get_eq_names(eqs_test)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.