Description Usage Arguments Value Author(s)

Computes the mean squared cross validation error using leave-one-out cross validaton for each of the three models "e+g", "e" and "g". Prediction is performed using linear projection based on the normal assumption.

1 | ```
TangleInferenceGauss(data, e, g, ...)
``` |

`data` |
An array with dimensions (n,l,a) n: number of geographical locations, l: number of loci, a: max number of alleles |

`e` |
A vector of environmental variables with n entries (n: number of geographical locations) |

`g` |
A matrix of geographical coordinates with n rows and 2 columns (n: number of geographical locations) |

`...` |

A vector contianing Mean Square Errors in predicting validation set genotypes for the three models

Casper Eriksen

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.