how_many_times: A function to determine how many times a pressure occurs in a...

Description Usage Arguments Examples

View source: R/functions.R

Description

This function counts the number of instances of a pressure (word match) in a column where each row can contain multiple pressures

Usage

1
how_many_times(pressures, parameter_columns)

Arguments

pressures

The name of the pressure to be counted

parameter_columns

The column(s) where the occurences of the pressure will be counted

Examples

1
how_many_times("salinity",data[,22:35])

rooperc4/ForageFishLitReview documentation built on Feb. 21, 2022, 9:54 a.m.