Description Usage Arguments Details Value Author(s) Examples

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 |

nnlasso documentation built on May 29, 2017, 9:53 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.