tunapredict | R Documentation |
Compute proportion by species fishing mode and ocean
tunapredict(
sample_data,
allset_data,
Ntree = 1000,
Nmtry = 2,
Nseed = 7,
min_node = 5,
target_period
)
sample_data |
(data frame) Data used for the modelling. Output table from process 3.1. |
allset_data |
(data frame) Data used for prediction.Output table from process 3.4. |
Ntree |
(integer) Number of trees to grow. This should not be set to too small a number, to ensure that every input row gets predicted at least a few times. The default value is 1000. |
Nmtry |
(integer) Number of variables randomly sampled as candidates at each split. The default value is 2. |
Nseed |
(integer) Set the initial seed for the modelling. The default value is 7. |
min_node |
(integer) Minimum size of terminal nodes. Setting this number larger causes smaller trees to be grown (and thus take less time).The default value is 5. |
target_period |
(integer) Time period for the predictions in year. Default is the year of the data to predict |
TODO
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.