Description Usage Arguments Details Value
Creates a RSA simulation with log-normal feret diameters
1 2 3 |
feretDiam |
A numeric vector. Sample feret diameters |
realSample |
A dataframe. Spatial coordinates (X,Y,Z) of the synapses |
plot |
A boolean value. If true, simulation is plotted before return |
singleSample |
A boolean value. If true, "Feret" colum from real sample is used insted of feretDiam |
replicated |
A boolean value. If true, number of points is computed as the |
lambdaRPP |
A numeric value. Simulation Intesity (synaptic density) parameter |
volume |
A numeric value. Simulation (cubic) volume. |
color |
Synapses plot color. Only applies if |
mu |
A numeric value. Log mean parameter for the Feret's diameter log-normal distribution |
maxIter |
An integer. Maximum number of trials before failure. |
sdl |
A numeric value. Log std parameter for the Feret's diameter log-normal distribution |
Create a RSA simulation replicating the given sample or using the parameters given.
Domain is always cubic. If volume
is not provided, sample volume is used. Same applies to parameters.
If replicated
is true, number of points is calculated as the product of volume and lambdaRPP, if not,
the simulation will have the same number of points as the sample.
A named list: spp <- 3D spatial process, diam <- ferets diameters, ml,sdl <- feret's diams params
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.