Description Usage Arguments Value Author(s)

Helper function to sample a combination of training and testing rows, which does not risk getting the same observation twice. Need to improve this help file.

1 | ```
sample_combinations(ntrain, ntest, nsamples, joint_sampling = TRUE)
``` |

`ntrain` |
Positive integer. Number of training observations to sample from. |

`ntest` |
Positive integer. Number of test observations to sample from. |

`nsamples` |
Positive integer. Number of samples. |

`joint_sampling` |
Logical. Indicates whether train- and test data should be sampled
separately or in a joint sampling space. If they are sampled separately (which typically
would be used when optimizing more than one distribution at once) we sample with replacement
if |

data.frame

Martin Jullum

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.