is_value: Returns a logical vector whether input

Description Usage Arguments Value

View source: R/is_value.R

Description

is_value is a helper function for model_gamm, calc_deriv, test_interaction, and scoring. It checks whether each element is a true value and not NA, NaN, NULL or Inf when filtering tibbles for specific values. If the filtering variable (e.g. p_val or edf) contains NAs, the respective rows are usually not excluded in the requested subset or (when using the function split) excluded in both TRUE/FALSE subsets.

Usage

1

Arguments

x

An R object, which should be a numeric vector.

Value

The function returns a logical vector with TRUE or FALSE for each element of x.


saskiaotto/INDperform documentation built on Oct. 27, 2021, 10:33 p.m.