hmsc in practice: the syntax and typical workflow of the r-package hmsc · 2020. 11. 2. · hmsc in...

9
HMSC in practice: the syntax and typical workflow of the R-package Hmsc

Upload: others

Post on 24-Aug-2021

2 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: HMSC in practice: the syntax and typical workflow of the R-package Hmsc · 2020. 11. 2. · HMSC in practice: the syntax and typical workflow of the R-package Hmsc Step 1. Setting

HMSC in practice: the syntax and typical workflow of the R-package Hmsc

Page 2: HMSC in practice: the syntax and typical workflow of the R-package Hmsc · 2020. 11. 2. · HMSC in practice: the syntax and typical workflow of the R-package Hmsc Step 1. Setting

HMSC in practice: the syntax and typical workflow of the R-package Hmsc

Step 1. Setting model structure and fitting the model

Step 2. Examining MCMC convergence

Step 3. Evaluating model fit and comparing models

Step 4. Exploring parameter estimates

Step 5. Making predictions

Page 3: HMSC in practice: the syntax and typical workflow of the R-package Hmsc · 2020. 11. 2. · HMSC in practice: the syntax and typical workflow of the R-package Hmsc Step 1. Setting

Step 1. Setting model structure and fitting the model

Page 4: HMSC in practice: the syntax and typical workflow of the R-package Hmsc · 2020. 11. 2. · HMSC in practice: the syntax and typical workflow of the R-package Hmsc Step 1. Setting

Step 2. Examining MCMC convergence

Page 5: HMSC in practice: the syntax and typical workflow of the R-package Hmsc · 2020. 11. 2. · HMSC in practice: the syntax and typical workflow of the R-package Hmsc Step 1. Setting

Step 2. Examining MCMC convergence

Page 6: HMSC in practice: the syntax and typical workflow of the R-package Hmsc · 2020. 11. 2. · HMSC in practice: the syntax and typical workflow of the R-package Hmsc Step 1. Setting

Step 3. Evaluating model fit and comparing models

Page 7: HMSC in practice: the syntax and typical workflow of the R-package Hmsc · 2020. 11. 2. · HMSC in practice: the syntax and typical workflow of the R-package Hmsc Step 1. Setting

Step 3. Evaluating model fit and comparing models

Page 8: HMSC in practice: the syntax and typical workflow of the R-package Hmsc · 2020. 11. 2. · HMSC in practice: the syntax and typical workflow of the R-package Hmsc Step 1. Setting

Step 4. Exploring parameter estimates

VP = computeVariancePartitioning(m)plotVariancePartitioning(m, VP)

post = getPostEstimate(m, parName="Beta")plotBeta(m, post, supportLevel)

OmegaCor = computeAssociations(m)corrplot(OmegaCor)

Page 9: HMSC in practice: the syntax and typical workflow of the R-package Hmsc · 2020. 11. 2. · HMSC in practice: the syntax and typical workflow of the R-package Hmsc Step 1. Setting

Step 5. Making predictions

Gradient = constructGradient(m, focalVariable)pred = predict(m, Gradient)plotGradient(m, Gradient, pred, measure, showData)