View source: R/csu_trend_legend.R
| csu_trend_legend | R Documentation | 
csu_trend_legend legend option use in Rcan package for trends.
csu_trend_legend(title=NULL, position="bottom",nrow=1, right_space_margin=1)
| 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  | 
This function return a list for the trend graphics of the package Rcan
Return a structured list.
Mathieu Laversanne
csu_ageSpecific
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)
	  		  
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.