chron_map: Chronological maps

Description Usage Arguments Examples

Description

Returns a list of map objects, showing estimated locations for all living pedigree members for a given individual ggmap provided plot of a map showing the estimated locations of living pedigree members for a given ID at a given date. The size, shape and color of symbols represent for a specific individual's age, sex, and relatedness to an indiviudal x.

Usage

1
2
chron_map(id = NULL, list_kin = NULL, list_geo = NULL, my_map = NULL,
  spit_results = FALSE, throw_plots = TRUE)

Arguments

id

The individual ID of interests

list_kin

A nested list of dataframes providing the variables 'id', 'sex', 'relmom', 'reldad', 'age', and 'kinloc'

list_geo

A list of geo stuff.. with geopositional data for locations

my_map

A ggmap object

spit_results

Spit it? (default is FALSE)

throw_plots

Print'em? (default is TRUE)

Examples

1
2
3
4
## Not run: 
plot_kinmap(40, "1860-01-01", df_ind, relate, evmat, geo$gmap, geo$df)

## End(Not run)

johow/kinlab documentation built on July 5, 2019, 4:23 p.m.