SimTrimor | R Documentation |
Produces simulated datasets of heterostylous (trimorphic) individuals with as many rows as number of sex organs defined. One stigmas and two anthers are simulated per individual.
SimTrimor(NIDL=30,NIDM=30,NIDS=30,
LUPmeanX=0, LUPsdX=1, LBWmeanX=0, LBWsdX=1, LLWmeanX=0, LLWsdX=1,
MUPmeanX=0, MUPsdX=1, MBWmeanX=0, MBWsdX=1, MLWmeanX=0, MLWsdX=1,
SUPmeanX=0, SUPsdX=1, SBWmeanX=0, SBWsdX=1, SLWmeanX=0, SLWsdX=1,
LUPmeanY=0, LUPsdY=1, LBWmeanY=0, LBWsdY=1, LLWmeanY=0, LLWsdY=1,
MUPmeanY=0, MUPsdY=1, MBWmeanY=0, MBWsdY=1, MLWmeanY=0, MLWsdY=1,
SUPmeanY=0, SUPsdY=1, SBWmeanY=0, SBWsdY=1, SLWmeanY=0, SLWsdY=1,
LUPmeanZ=0, LUPsdZ=1, LBWmeanZ=0, LBWsdZ=1, LLWmeanZ=0, LLWsdZ=1,
MUPmeanZ=0, MUPsdZ=1, MBWmeanZ=0, MBWsdZ=1, MLWmeanZ=0, MLWsdZ=1,
SUPmeanZ=0, SUPsdZ=1, SBWmeanZ=0, SBWsdZ=1, SLWmeanZ=0, SLWsdZ=1,
pop_code="test1")
NIDL |
Number of large-morph individuals to be simulated |
NIDM |
Number of medium-morph individuals to be simulated |
NIDS |
Number of short-morph individuals to be simulated |
LUPmeanX |
Mean value of the simulated long morph for stigmas in the UP level (X axis). |
LUPsdX |
Standard deviation of the simulated long morph for stigmas in the UP level (X axis). |
LBWmeanX |
Mean value of the simulated long morph for stigmas in the BETWEEN level (X axis). |
LBWsdX |
Standard deviation of the simulated long morph for stigmas in the BETWEEN level (X axis). |
LLWmeanX |
Mean value of the simulated long morph for stigmas in the low (LW) level (X axis). |
LLWsdX |
Standard deviation of the simulated long morph for stigmas in the low (LW) level (X axis). |
MUPmeanX |
Mean value of the simulated medium morph for stigmas in the UP level (X axis). |
MUPsdX |
Standard deviation of the simulated medium morph for stigmas in the UP level (X axis). |
MBWmeanX |
Mean value of the simulated medium morph for stigmas in the BETWEEN level (X axis). |
MBWsdX |
Standard deviation of the simulated medium morph for stigmas in the BETWEEN level (X axis). |
MLWmeanX |
Mean value of the simulated medium morph for stigmas in the low (LW) level (X axis). |
MLWsdX |
Standard deviation of the simulated medium morph for stigmas in the low (LW) level (X axis). |
SUPmeanX |
Mean value of the simulated short morph for stigmas in the UP level (X axis). |
SUPsdX |
Standard deviation of the simulated short morph for stigmas in the UP level (X axis). |
SBWmeanX |
Mean value of the simulated short morph for stigmas in the BETWEEN level (X axis). |
SBWsdX |
Standard deviation of the simulated short morph for stigmas in the BETWEEN level (X axis). |
SLWmeanX |
Mean value of the simulated short morph for stigmas in the low (LOW) level (X axis). |
SLWsdX |
Standard deviation of the simulated short morph for stigmas in the low (LOW) level (X axis). |
LUPmeanY |
Mean value of the simulated long morph for stigmas in the UP level (Y axis). |
LUPsdY |
Standard deviation of the simulated long morph for stigmas in the UP level (Y axis). |
LBWmeanY |
Mean value of the simulated long morph for stigmas in the BETWEEN level (Y axis). |
LBWsdY |
Standard deviation of the simulated long morph for stigmas in the BETWEEN level (Y axis). |
LLWmeanY |
Mean value of the simulated long morph for stigmas in the low (LW) level (Y axis). |
LLWsdY |
Standard deviation of the simulated long morph for stigmas in the low (LW) level (Y axis). |
MUPmeanY |
Mean value of the simulated medium morph for stigmas in the UP level (Y axis). |
MUPsdY |
Standard deviation of the simulated medium morph for stigmas in the UP level (Y axis). |
MBWmeanY |
Mean value of the simulated medium morph for stigmas in the BETWEEN level (Y axis) |
MBWsdY |
Standard deviation of the simulated medium morph for stigmas in the BETWEEN level (Y axis). |
MLWmeanY |
Mean value of the simulated medium morph for stigmas in the low (LW) level (Y axis). |
MLWsdY |
Standard deviation of the simulated medium morph for stigmas in the low (LW) level (Y axis). |
SUPmeanY |
Mean value of the simulated short morph for stigmas in the UP level (Y axis). |
SUPsdY |
Standard deviation of the simulated short morph for stigmas in the UP level (Y axis). |
SBWmeanY |
Mean value of the simulated short morph for stigmas in the BETWEEN level (Y axis). |
SBWsdY |
Standard deviation of the simulated short morph for stigmas in the BETWEEN level (Y axis). |
SLWmeanY |
Mean value of the simulated short morph for stigmas in the low (LOW) level (Y axis). |
SLWsdY |
Standard deviation of the simulated short morph for stigmas in the low (LOW) level (Y axis). |
LUPmeanZ |
Mean value of the simulated long morph for stigmas in the UP level (Z axis). |
LUPsdZ |
Standard deviation of the simulated long morph for stigmas in the UP level (Z axis). |
LBWmeanZ |
Mean value of the simulated long morph for stigmas in the BETWEEN level (Z axis). |
LBWsdZ |
Standard deviation of the simulated long morph for stigmas in the BETWEEN level (Z axis). |
LLWmeanZ |
Mean value of the simulated long morph for stigmas in the low (LW) level (Z axis). |
LLWsdZ |
Standard deviation of the simulated long morph for stigmas in the low (LW) level (Z axis). |
MUPmeanZ |
Mean value of the simulated medium morph for stigmas in the UP level (Z axis). |
MUPsdZ |
Standard deviation of the simulated medium morph for stigmas in the UP level (Z axis). |
MBWmeanZ |
Mean value of the simulated medium morph for stigmas in the BETWEEN level (Z axis). |
MBWsdZ |
Standard deviation of the simulated medium morph for stigmas in the BETWEEN level (Z axis). |
MLWmeanZ |
Mean value of the simulated medium morph for stigmas in the low (LW) level (Z axis). |
MLWsdZ |
Standard deviation of the simulated medium morph for stigmas in the low (LW) level (Z axis). |
SUPmeanZ |
Mean value of the simulated short morph for stigmas in the UP level (Z axis). |
SUPsdZ |
Standard deviation of the simulated short morph for stigmas in the UP level (Z axis). |
SBWmeanZ |
Mean value of the simulated short morph for stigmas in the BETWEEN level (Z axis). |
SBWsdZ |
Standard deviation of the simulated short morph for stigmas in the BETWEEN level (Z axis). |
SLWmeanZ |
Mean value of the simulated short morph for stigmas in the low (LOW) level (Z axis). |
SLWsdZ |
Standard deviation of the simulated short morph for stigmas in the low (LOW) level (Z axis). |
pop_code |
A string, the population code of the simulated data |
Values for sex organs are randomly taken from normal distributions with the defined mean and standard deviation.
A data frame with NID x Nst x Nan rows (one per simulated sex organ) and 8 columns (containing population code, morph, individual ID, sex organ ID, sex organ type, and coordinates x, y and z).
A. J. Muñoz-Pajares and V. I. Simón-Porcar,
## Getting a tiny dataset
SimTrimor(2,2,2)
## Getting a largest dataset and performing the analysis
sim.data.tri<-SimTrimor(20,20,20)
inaccuracy(sim.data.tri)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.