The function returns a particular fold after k-fold partitioning by kfold function.

1 | ```
fold(data1,k,i)
``` |

`data1` |
A matrix. |

`k` |
Number of folds |

`i` |
The fold to be returned |

This function is internal and used by cross validation routines.

A matrix with desired fold specified.

Baidya Nath Mandal and Jun Ma

1 2 3 |

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.