add_empty_pop: Modify a dataframe to enable plotting of populations instead...

Description Usage Arguments Value Author(s) See Also Examples

View source: R/MullerPlot.R

Description

The function adds rows at each time point recording the difference between the total population and its maximum value. Generally there is no need to use this function as Muller_pop_plot calls it automatically.

Usage

1
add_empty_pop(Muller_df)

Arguments

Muller_df

Dataframe created by get_Muller_df

Value

A dataframe that can be used as input in Muller_plot.

Author(s)

Rob Noble, robjohnnoble@gmail.com

See Also

get_Muller_df Muller_pop_plot

Examples

1
2
Muller_df <- get_Muller_df(example_edges, example_pop_df)
Muller_df2 <- add_empty_pop(Muller_df)

ggmuller documentation built on Sept. 5, 2019, 9:04 a.m.