fstr: Returns a string of index values corresponding to each vector...

View source: R/fstr.R

fstrR Documentation

Returns a string of index values corresponding to each vector element that is FALSE

Description

This works the same as which except each index value is collapsed into a single string. Continuous indices in a range take the form start:stop and non continuous indices are separated by a comma and space. If all values are TRUE, NA is returned. NA values in x are treated the same as a TRUE.

Usage

fstr(x, n = 0)

Arguments

x

Boolean vector

n

Integer value to add to the index. Default is 0. Use n=1 to equal the row number in excel assuming the header row is the first row.

Value

string

See Also

valid_values valid_values_check


DEQrmichie/odeqcdr documentation built on Feb. 15, 2025, 10:01 a.m.