Description Usage Arguments Examples

Generator of symmetric random walk sampled only one time. It means it corresponds to a single random walk's path.

1 2 | ```
sampledSymmetricRandomWalk( steps = 3000,
prob = c('head' = 0.5, 'tail' = 0.5))
``` |

`steps` |
Number of steps of the random walk |

`prob` |
Probability of occurence of head and tail for each step |

1 2 | ```
# Generate a 150 steps symmetric random walk
sampledSymmetricRandomWalk(steps = 150)
``` |

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.