Description Usage Arguments Details Value References Examples

Simulation of the Thomas model.

1 | ```
SimulateThomas(pars, seed = NULL, plot = TRUE)
``` |

`pars` |
a named vector of containing the values of the model parameters
( |

`seed` |
a positive integer, which is the seed for a sequence of uniform random numbers. The default seed is based on the current time. |

`plot` |
logical. If |

Let random variable *U* be independently and uniformly distributed in [0,1].
We put

*
U = integral_0^r q_σ(t)dt = 1 - exp(-r^2/(2σ^2)).*

Then we have

*
r = σ √{ -2log(1-U) }.*

Each of the offspring coordinates *(x_j^i, y_j^i)* is given like that of
`SimulateIP`

.

`parents` |
a list containing two components named " |

`offspring` |
a list containing two components named " |

U. Tanaka, Y. Ogata and K. Katsura,
Simulation and estimation of the Neyman-Scott type spatial cluster models,
*Computer Science Monographs* **No.34**, 2008, 1-44.
The Institute of Statistical Mathematics.

1 2 | ```
pars <- c(mu = 50.0, nu = 30.0, sigma = 0.03)
SimulateThomas(pars, seed = 117)
``` |

NScluster documentation built on March 19, 2018, 9:03 a.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.