plot_kinmap: Plot a pedigree map

Description Usage Arguments Examples

Description

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
plot_kinmap(id = NULL, evdat = NULL, list_kin = NULL, list_geo = NULL,
  my_map = NULL, spit_results = FALSE, throw_plots = TRUE)

Arguments

id

The individual ID of interests

evdat

A specific date of interest

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.