powered by
x
is_importance_weights() checks if x inherits from "hardhat_importance_weights".
is_importance_weights()
"hardhat_importance_weights"
is_importance_weights(x)
An object.
A single TRUE or FALSE.
TRUE
FALSE
# NOT RUN { 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