Function to predict prababilities for each sampled data set Take a model and a predicted set of training data and calculate the probabilities of fishing in each site given a set choice set.
1 | add_probs(train_dat, the_model, ncores = 6)
|
train_dat |
Training data, sampled from training_data function |
the_model |
Output from sampled_rums function |
ncores |
Number of cores to run in parallel, defaults to 6 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.