% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/SampleOM.R
\name{SampleStockPars}
\alias{SampleStockPars}
\title{Sample Stock parameters}
\usage{
SampleStockPars(
  Stock,
  nsim = 48,
  nyears = 80,
  proyears = 50,
  cpars = NULL,
  msg = TRUE
)
}
\arguments{
\item{Stock}{An object of class 'Stock' or class 'OM'}

\item{nsim}{Number of simulations. Ignored if 'Stock' is class 'OM'}

\item{nyears}{Number of historical years. Ignored if 'Stock' is class 'OM'}

\item{proyears}{Number of projection years. Ignored if 'Stock' is class 'OM'}

\item{cpars}{Optional named list of custom parameters. Ignored if 'Stock' is class 'OM'}

\item{msg}{logical. Warning message for M values?}
}
\value{
A named list of sampled Stock parameters
}
\description{
Sample Stock parameters
}
\keyword{internal}
