parameter2wiki: Convert Parameter Labels to Wikimath

Description Usage Arguments Details Value Author(s) References See Also Examples

Description

Convert parameter labels for thetas, omegas, sigmas, and etas to wikimath. See wikimath.

Usage

1
parameter2wiki(x,lowercase='is.fixed',...)

Arguments

x

character, or coercible to character

lowercase

functions of x identifying elements to coerce to lower case

...

ignored

Details

This function expects a vector of labels such as "THETA1" or "OMEGA2.1". It converts them to their wikimath equivalents. Thetas are coerced to the lower case representation by default, whereas omegas, sigmas, and etas will be upper case (set lowercase to NULL for no coercion). The result can be passed conveniently to wiki2latex for table development.

Value

character

Author(s)

Tim Bergsma

References

http://metrumrg.googlecode.com

See Also

Examples

1
2
3
4
x <- parameter2wiki(c("THETA1","OMEGA1.2","SIGMA1.1"))
x
wiki2latex(x)
## Not run: as.pdf(wiki2latex(x))

metrumrg documentation built on May 2, 2019, 5:55 p.m.