chart_names {struct} | R Documentation |
Returns a list of valid charts for a struct object
chart_names(obj, ret = "char") ## S4 method for signature 'struct_class' chart_names(obj, ret = "char")
obj |
An object derived from the struct_class object |
ret |
A string indicating whether a list of objects ('obj') or a list of chart names ('char') is returned. 'char' is default. |
The chart_names method searches chart objects that specify the input object type as an input.
list of chart names, or a list of chart objects
struct_class
:
M = example_model() chart_names(M) # 'example_chart' chart_names(M,'char') # as above chart_names(M,'obj') # returns a list of chart objects