Description Usage Arguments Details See Also Examples

Set up weight matrix for subsampling with sample proportion *1/2*
to be used with `stabsel`

.

1 |

`weights` |
a numeric vector of weights for the model to be cross-validated. |

`B` |
number of folds, per default 25 for |

`strata` |
a factor of the same length as |

The function `subsample`

can be used to build an appropriate
weight matrix to be used with `stabsel`

. See there for
more details.

If `strata`

is defined sampling is performed in each stratum
separately thus preserving the distribution of the `strata`

variable in each fold.

1 2 |

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.