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.
is_value(x)
x | An R object, which should be a numeric vector. |
---|
The function returns a logical vector with TRUE or FALSE for each element of x.