% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/assign_guild_ants.R
\name{assign_guild_ants}
\alias{assign_guild_ants}
\title{Assign Functional Guilds for Ants}
\usage{
assign_guild_ants(
  comm,
  verbose = TRUE,
  plot = TRUE,
  validate = TRUE,
  delay = 0.5
)
}
\arguments{
\item{comm}{A community matrix where species are columns and samples are rows.}

\item{verbose}{Logical; if \code{TRUE}, displays progress messages.}

\item{plot}{Logical; if \code{TRUE}, displays guild proportion plots.}

\item{validate}{Logical; if \code{TRUE}, validates species names using GBIF before analysis.}

\item{delay}{Numeric; seconds to wait between GBIF API calls when \code{validate = TRUE}.}
}
\value{
Invisibly returns a list with two elements:
\item{table}{A data frame containing species, abundance, percentage, and guild assignments from each system.}
\item{plots}{A list of four ggplot2 objects, one for each guild classification system.}
}
\description{
Classifies ants into functional guilds using four different ecological databases.
}
