Learn R Programming

epiflows (version 0.2.2)

get_locations: Access flow data

Description

This accessor extract location data from an epiflows object. get_locations is a generic with a method defined for epiflows objects.

Usage

get_locations(x, ...)

# S3 method for epiflows get_locations(x, ...)

Value

A data.frame with at least 1 column called id, specifying the id of the location used in the flows data frame.

Arguments

x

An epiflows object.

...

unused

Author

Thibaut Jombart, Zhian Kamvar

See Also

get_flows(); get_id(); get_pop_size(); get_vars(); get_coordinates(); global_vars()

Examples

Run this code
data("Brazil_epiflows")
get_locations(Brazil_epiflows)

Run the code above in your browser using DataLab