Skip to contents

Tests whether the given argument is a numeric value from the interval \([0,1]\)

Usage

is_degree(x, na_rm = FALSE)

Arguments

x

the value to be tested

na_rm

whether to ignore NA values

Value

TRUE if x is a numeric vector or matrix with values between 0 and 1

Author

Michal Burda