plot_Bateman: Plot the relationship between mating and reproductive success

Description Usage Arguments Value See Also Examples

View source: R/bateman.R

Description

This function creates a plot of the relationship between mating and reproductive success.

Usage

1
plot_Bateman(data_agg, sex)

Arguments

data_agg

A dataframe of aggregated data to be processed.

sex

The sex of the rhinos to plot ('males' or 'females').

Value

A ggplot object.

See Also

figure_Bateman

Examples

1
2
plot_Bateman(data_agg = rhinos_agg, sex = 'males')
plot_Bateman(data_agg = rhinos_agg, sex = 'females')

courtiol/matingRhinos documentation built on Nov. 22, 2019, 11:10 p.m.