View source: R/get_reference.R
get_reference | R Documentation |
Obtain the growth reference behind the chart
Obtain the call to a reference used on a chart
get_reference(chartcode, yname, chartgrp = get_chartgrp(chartcode))
get_reference_call(chartcode, yname, chartgrp = get_chartgrp(chartcode))
chartcode |
The chart code, returned by |
yname |
Name of the response variable |
chartgrp |
The chart group. If not specified, it is calculated automatically. |
get_reference()
returns an object of class reference
.
get_reference_call()
returns a string with the call. Your
library must contain the clopus
package to execute the call by
eval(parse(text = call))
.
reference-class
## Not run:
ref <- get_reference("NJAA", "hgt")
## End(Not run)
get_reference_call("NJAA", "hgt")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.