Description Usage Arguments Details See Also Examples
Creates an evolving gaussian cluster for a DSD_MG
who's behavior is random.
1 2 | MGC_Random(start,variance,density,randomness)
|
start |
the starting center of the randomly moving gaussian cluster |
variance |
the static variance of the cluster |
density |
the static density of the cluster |
randomness |
The maximum amount the cluster will move during one time step |
This allows for the creation of a Moving Generator Cluster that moves randomly.
MGC_Function
, MGC_Noise
, MGC_Linear
for details on other MGC
objects.
DSD_MG
for details on how to use it within a DSD
1 2 3 4 5 6 7 8 9 10 11 12 13 | dsd <- DSD_MG()
c1 <- MGC_Random(c(50,50),1,1,1)
c2 <- MGC_Random(c(50,50),1,1,1)
add_cluster(dsd,c1)
add_cluster(dsd,c2)
## Not run:
animate_data(dsd,2500,xlim=c(0,100),ylim=c(0,100))
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.