% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/OM_init_doc.R
\name{writeCSV}
\alias{writeCSV}
\title{Internal function to write CSVs for objects}
\usage{
writeCSV(
  inobj,
  tmpfile = NULL,
  objtype = c("Stock", "Fleet", "Obs", "Imp", "Data", "OM")
)
}
\arguments{
\item{inobj}{A object of class Stock, Fleet, Obs, Imp, Data, or OM}

\item{tmpfile}{The full file path and name for the saved CSV file}

\item{objtype}{The class corresonding to the \code{inobj}}
}
\description{
Used internally in the DLMtool package to write CSV files from an existing
DLMtool object
}
\author{
A. Hordyk
}
