get_logratio: Calculate the log-ratio of the index data.

View source: R/get_logratio.R

get_logratioR Documentation

Calculate the log-ratio of the index data.

Description

Calculate the log-ratio of the index data.

Usage

get_logratio(data)

Arguments

data

A data frame or vector of index data. Data should be on the normal scale and will be transformed to the log scale.

Value

A vector of values log-index values.

Author(s)

Kelli F. Johnson

Examples

data <- data.frame("first" = rlnorm(10), "second" = rlnorm(10))
ratios <- get_logratio(data)


nwfsc-assess/VAST_WestCoast documentation built on July 4, 2023, 5:45 p.m.