Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions R/FLArray.R
Original file line number Diff line number Diff line change
Expand Up @@ -133,9 +133,9 @@ setquant <- function(x, value) {
#' @rdname Extract
#' @aliases [,FLArray,ANY,ANY,ANY-method
#' @docType methods
#' @section Generic function: \describe{ \item{}{[x,i,j,drop]}
#' \item{}{[<-(x,i,j,value)} \item{}{[[<-(x,i,j,value)}
#' \item{}{\$<-(x,name,value)} }
#' @section Generic function: \describe{ \item{\code{[}}{\code{[x,i,j,drop]}}
#' \item{\code{[<-}}{\code{[<-(x,i,j,value)}} \item{\code{[[<-}}{\code{[[<-(x,i,j,value)}}
#' \item{\code{\$<-}}{\code{\$<-(x,name,value)}} }
#' @param x object from which to extract or replace element(s)
#' @param i,j,k,l,m,n indices specifying elements to extract or replace on any of the six dimensions.
#' @param ... indices specifying elements to extract or replace by dimension name.
Expand Down
2 changes: 1 addition & 1 deletion R/data.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#'
#' Example datasets for the classes defined in FLCore.
#'
#' \itemize{
#' \describe{
#' \item{\code{ple4}, \code{\link{FLStock}}}{A dataset for North Sea (ICES Area IV)
#' plaice. Catch, landings, discards, natural mortality, weight-at-age and maturity,
#' together with the VPA estimated abundances and fishing mortalities.}
Expand Down
2 changes: 1 addition & 1 deletion R/genericMethods.R
Original file line number Diff line number Diff line change
Expand Up @@ -1669,7 +1669,7 @@ setGeneric("fwd", function(object, fishery, control, ...)
#' @aliases metrics metrics-methods
#'
#' @author The FLR Team
#' @seealso \link{FLComp}, link{FLStock}, \link{FLBiol}
#' @seealso \link{FLComp}, \link{FLStock}, \link{FLBiol}
#' @keywords methods
#' @md
setGeneric("metrics", function(object, metrics, ...)
Expand Down
11 changes: 7 additions & 4 deletions R/oem.R
Original file line number Diff line number Diff line change
Expand Up @@ -733,11 +733,14 @@ ar1rlnorm <- function(rho, years, iters=1, meanlog=0, sdlog=1,
#' the simulated log-normal AR(1) series.
#'
#' @details The simulation proceeds as follows:
#' 1. Draw independent normal innovations: eps_{t,i} ~ N(meanlog_i, sdlog_i^2).
#' 2. Build the AR(1) process: x_{t,i} = rho_i * x_{t-1,i} + sqrt(1 - rho_i^2) * eps_{t,i},
#' with x_{1,i} = eps_{1,i}.
#' 1. Draw independent normal innovations:
#' \eqn{\epsilon_{t,i} \sim N(meanlog_i, sdlog_i^2)}.
#' 2. Build the AR(1) process:
#' \eqn{x_{t,i} = \rho_i x_{t-1,i} + \sqrt{1 - \rho_i^2} \epsilon_{t,i}},
#' with \eqn{x_{1,i} = \epsilon_{1,i}}.
#' 3. Optionally apply bias correction on the log scale, then exponentiate:
#' y_{t,i} = exp(x_{t,i} - 0.5 * sdlog_i^2) (if bias.correct = TRUE).
#' \eqn{y_{t,i} = \exp(x_{t,i} - 0.5 sdlog_i^2)}
#' (if bias.correct = TRUE).
#'
#' @author The FLR Team
#'
Expand Down
6 changes: 3 additions & 3 deletions man/Extract.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/datasets.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion man/metrics.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

23 changes: 18 additions & 5 deletions man/rlnormar1.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading