Description Usage Arguments Value See Also Examples

This function takes a phenotype vector and generates `folds * reps`

masked
vectors for cross validation. Every vector has as many additional missing values as `length(y) / folds`

.

1 |

`y` |
vector of phenotypes - may already contain missing values |

`folds` |
integer, number of folds |

`reps` |
integer, number of replications |

`matrix` |
boolean, if TRUE function returns a matrix rather than a list |

`seed` |
numeric scalar, seed for |

List (matrix) with as many items (columns) as `folds * reps`

1 2 3 4 5 6 7 |

```
Loading required package: Matrix
Loading required package: pedigreemm
Loading required package: lme4
```

cpgen documentation built on May 29, 2017, 9:40 p.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.