wilkinsond

Results 2 comments of wilkinsond

Installing mistnet v0.2.0 fixed the issue with the [# Cross Validation](https://github.com/davharris/mistnet/blob/c7865bdd1ec33c744c437059fdef8b4a93dc512f/extras/BBS-analysis/BBS_evaluation/mistnet_cross-validation.R#L100) code, so that now runs smoothly until it hits the [# Fit Final Model](https://github.com/davharris/mistnet/blob/c7865bdd1ec33c744c437059fdef8b4a93dc512f/extras/BBS-analysis/BBS_evaluation/mistnet_cross-validation.R#L148) section. It looks like its...

Think I've figured it out. The [which.max()](https://github.com/davharris/mistnet/blob/c7865bdd1ec33c744c437059fdef8b4a93dc512f/extras/BBS-analysis/BBS_evaluation/mistnet_cross-validation.R#L158) function in net seems to have an issue with logliks being a data.frame (I guess which.max has a reduced list of accepted inputs...