plot_many_country_years {imprinting}R Documentation

Plot imprinting probabilities for up to five country-years

Description

For each country and year, generate two plots:

Usage

plot_many_country_years(imprinting_df)

Arguments

imprinting_df

A long data frame of imprinted probabilities output by get_imprinting_probabilities(). Up to five countries and an arbitrary span of years can be plotted.

Value

No return value. Opens a plot of the data frame.

Examples

imprinting_df <- get_imprinting_probabilities(
  observation_years = c(1920, 1921),
  countries = c("Oman", "Indonesia")
)
plot_many_country_years(imprinting_df)

[Package imprinting version 0.1.1 Index]