powered by
x
is_importance_weights() checks if x inherits from "hardhat_importance_weights".
is_importance_weights()
"hardhat_importance_weights"
is_importance_weights(x)
A single TRUE or FALSE.
TRUE
FALSE
An object.
is_importance_weights(1) is_importance_weights(frequency_weights(1)) is_importance_weights(importance_weights(1))
Run the code above in your browser using DataLab