is_frequency_weights {hardhat} | R Documentation |
x
a frequency weights vector?is_frequency_weights()
checks if x
inherits from
"hardhat_frequency_weights"
.
is_frequency_weights(x)
x |
An object. |
A single TRUE
or FALSE
.
is_frequency_weights(1) is_frequency_weights(frequency_weights(1)) is_frequency_weights(importance_weights(1))