m1 <- pcrfit(reps, 1, 2, l3())
### choose best model based on F-tests
### on the corresponding nested models
m2 <- mchoice(m1)
summary(m2) ### Converted to l5() model !
plot(m2, log = "")
### use Akaike weights on non-nested models
### compare to original model
m2 <- mchoice(m1, fctList = list(l3(), l5(), b3(), w4(), baro5()), crit = "weights")
Run the code above in your browser using DataLab