csu_trend_legend {Rcan} | R Documentation |
csu_trend_legend
Description
csu_trend_legend
legend option use in Rcan package for trends.
Usage
csu_trend_legend(title=NULL, position="bottom",nrow=1, right_space_margin=1)
Arguments
title |
Title of the legend. (only if | |||||
position |
Position of the legend:
| |||||
nrow |
Number of row of the legend (only if | |||||
right_space_margin |
If the |
Details
This function return a list for the trend graphics of the package Rcan
Value
Return a structured list.
Author(s)
Mathieu Laversanne
See Also
Examples
data(csu_registry_data_1)
csu_ageSpecific(csu_registry_data_1,
group_by="registry_label",
legend=csu_trend_legend(title="registry", position="bottom", nrow = 2),
plot_title = "Legend: bottom")
csu_ageSpecific(csu_registry_data_1,
group_by="registry_label",
legend=csu_trend_legend(position="right", right_space_margin = 2),
plot_title = "Legend: right, cut")
csu_ageSpecific(csu_registry_data_1,
group_by="registry_label",
legend=csu_trend_legend(position="right", right_space_margin = 6.5),
plot_title = "Legend: right")
#See more examples here:
help(csu_ageSpecific)
[Package Rcan version 1.3.82 Index]