.check_shape | R Documentation |
This function checks the dimensional compatibility of 'gammahats' and 'contextual_probs'. It validates the dimensions and types based on whether the probability objects are contextual or non-contextual.
.check_shape(gammahats, contextual_probs)
gammahats |
A matrix representing estimates. |
contextual_probs |
An object representing probabilities, either a matrix (non-contextual) or an array (contextual). |
Returns NULL if the shapes and types are valid; otherwise, throws an error.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.