View source: R/modelComparisons.ModelFits.ZCsByYear.Surveys.R
modelComparisons.ModelFits.ZCsByYear.Surveys | R Documentation |
Function to render a document of comparison plots for model fits to survey size composition data by year.
modelComparisons.ModelFits.ZCsByYear.Surveys(
models,
fleets = "all",
years = "all",
plot1stObs = TRUE,
nrow = 5,
ncol = 4,
useBars = TRUE,
usePins = FALSE,
usePinsAndPts = FALSE,
useLines = TRUE,
usePoints = TRUE,
pinSize = 0.2,
lineSize = 1,
pointSize = 1,
alpha = 0.5,
stripText = ggplot2::element_text(),
output_format = c("word_document", "pdf_document"),
output_dir = getwd(),
rmd = system.file("rmd/modelComparisons.ModelFits.ZCsByYear.Surveys.Rmd", package =
"rCompTCMs"),
docx_styles = system.file("rmd/StylesForRmdDocs.docx", package = "wtsUtilities"),
pdf_styles = system.file("rmd/StylesForRmdPDFs.sty", package = "wtsUtilities"),
clean = FALSE
)
models |
|
fleets |
|
years |
|
plot1stObs |
|
nrow |
|
ncol |
|
useBars |
|
usePins |
|
usePinsAndPts |
|
useLines |
|
usePoints |
|
pinSize |
|
lineSize |
|
pointSize |
|
alpha |
|
stripText |
|
output_format |
|
output_dir |
|
rmd |
|
docx_styles |
|
pdf_styles |
|
clean |
|
rmd_dir |
|
Resulting document title will be of the form "ModelComparisons.ModelFits.ZCsByYear.Surveys.mmm.ext", where "ext" is the appropriate file extension and "mmm" is a dash-separated string of model names.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.