rename_data | R Documentation |
This function renames the recovery data with default column names.
rename_data(recovery_data, xname, yname = NULL, timename, mark_area_name)
recovery_data |
data.frame with dead recoveries, containing information on the area of origin, geographical coordinates of recovery and age at death |
xname |
character, name of column containing information on longitude, specify this in one-dimensional case |
yname |
character, name of column containing information on latitude, defaults to NULL, do not specify in one-dimensional case, but use xname instead |
timename |
character, name of column containing information on age at death |
mark_area_name |
character, name of column containing information on the area of origin |
recovery_data with default column names
{
rename_data(recovery_data = robins_init$recovery_data,
xname = "recLon",
yname = "recLat",
timename = "age",
mark_area_name = "mark_area")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.