plot_eco_trait_histogram: Ecological trait histogram

View source: R/plot_eco_trait_histogram.R

plot_eco_trait_histogramR Documentation

Ecological trait histogram

Description

Plots a histogram of the ecological trait values across the population at a certain time point.

Usage

plot_eco_trait_histogram(data, time)

Arguments

data

A data frame containing individual-wise data with a column named "trait1" (see read_individuals).

time

The time point at which to plot the distribution

Value

A ggplot

See Also

read_individuals

Examples


root <- system.file("extdata", "sim-example", package = "speciomer")
data <- read_individuals(root, "traits", ncol = 3)
plot_eco_trait_histogram(data, -1000)


rscherrer/speciomer documentation built on March 11, 2023, 5:37 p.m.