From 7aec1b78122dc13cb1a86aed13f83523a703d4fb Mon Sep 17 00:00:00 2001 From: Paul Regular Date: Tue, 5 Apr 2022 16:25:48 -0230 Subject: [PATCH] Fix a couple spelling errors --- NEWS.md | 2 +- R/run_strat.R | 2 +- man/strat_means.Rd | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/NEWS.md b/NEWS.md index 3b6ca69..d15b6b5 100644 --- a/NEWS.md +++ b/NEWS.md @@ -14,7 +14,7 @@ # SimSurvey 0.1.4 * Add a "bezier" method to make_grid -* Allow a vector of age-specific parameters to be supplied to sim_parabola plus add some options for defining a more asymetric parabola +* Allow a vector of age-specific parameters to be supplied to sim_parabola plus add some options for defining a more asymmetric parabola * Speed up sim_sets and ensure sample call passes new error traps * Fix bug in plotting scripts; plotly returns an error if supplied xtabs class data * Improve vis_fit function diff --git a/R/run_strat.R b/R/run_strat.R index bbdc156..2109ec3 100644 --- a/R/run_strat.R +++ b/R/run_strat.R @@ -117,7 +117,7 @@ strat_data <- function(sim, length_group = 3, alk_scale = "division") { #' #' @param data Expects data.table with all grouping variables in stacked format (must include #' strat_area and tow_area for scaling values) -#' @param metric Variable in specificed data.table. e.g. "number", "mass" +#' @param metric Variable in specified data.table. e.g. "number", "mass" #' @param strat_groups Grouping variables for calculations of the fine-scale strat-level #' means (strat and strat_area are required). e.g. c("year", "species", #' "shiptrip", "NAFOdiv", "strat", "strat_area","age") diff --git a/man/strat_means.Rd b/man/strat_means.Rd index 9aa6311..9f33c68 100644 --- a/man/strat_means.Rd +++ b/man/strat_means.Rd @@ -16,7 +16,7 @@ strat_means( \item{data}{Expects data.table with all grouping variables in stacked format (must include strat_area and tow_area for scaling values)} -\item{metric}{Variable in specificed data.table. e.g. "number", "mass"} +\item{metric}{Variable in specified data.table. e.g. "number", "mass"} \item{strat_groups}{Grouping variables for calculations of the fine-scale strat-level means (strat and strat_area are required). e.g. c("year", "species",