Description Usage Arguments Value Examples

View source: R/samplingFunctions.R

n-1 points are drawn from a normal distribution with mean=0, sd=1, the points in the final direction are calculated as the sine of the values of direction n-1 with additional jittering controled by the jitter factor f.

1 | ```
sinData(n, p, f = 1)
``` |

`n` |
sample dimensionality |

`p` |
number of sample points to generate |

`f` |
jitter factor, default=1 |

sample points in tibble format

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.