% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/analyze-diversity.R
\name{analyze_diversity,bsocial-method}
\alias{analyze_diversity,bsocial-method}
\title{Analyze Diversity Effect on Fitness}
\usage{
\S4method{analyze_diversity}{bsocial}(.Object)
}
\arguments{
\item{.Object}{A \linkS4class{bsocial} object after \code{analyze_social_behavior()} has been called.}
}
\value{
The modified \linkS4class{bsocial} object with diversity analysis in \code{graficos} and \code{resultados_analisis}.
}
\description{
Analyzes the relationship between consortium diversity (number of strains)
and fitness. Computes relative fitness by comparing each consortium's metric
against the best monoculture reference.
}
