aicw | R Documentation |

This function computes Akaike Weights and ranks model based on their support from a vector of AIC scores.

```
aicw(x)
```

`x` |
a named vector of AIC scores |

An nx3 matrix, where n is the number of models being compared. The first column contains the AIC scores, the second contains the deltaAIC score and the third the Akaike Weight. Models are ranked in descending order according to weight. Rownames are the model names taken from the input vector.

Graham Slater

```
AIC.scores <- c(3,7,-5, 6)
names(AIC.scores) <- c("model1", "model2", "model3", "model4")
aicw(AIC.scores)
```

geiger documentation built on April 4, 2023, 1:07 a.m.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.