Skip to content
Snippets Groups Projects
build_Leslie.Rd 626 B
Newer Older
thierrychambert's avatar
thierrychambert committed
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/build_Leslie.R
\name{build_Leslie}
\alias{build_Leslie}
\title{Build a Leslie matrix
Function to build the Leslie matrix from survival and fecundity values}
\usage{
build_Leslie(s, f)
}
\arguments{
\item{s}{a vector of survival probabilities for each age class}

\item{f}{a vector of fecundity values for each age class}
}
\value{
a Leslie matrix
}
\description{
Build a Leslie matrix
Function to build the Leslie matrix from survival and fecundity values
}
\examples{
s <- c(0.5, 0.7, 0.8, 0.95)
f <- c(0, 0, 0.05, 0.55)
build_Leslie(s=s, f=f)

}