Description Usage Arguments Details Value Author(s) Examples

This function performs an algorithm for morphometric characters selection and statistical validation in morphological taxonomy among many taxonomic groups.

1 2 3 |

`data` |
Data file. |

`variables` |
Variables to be selected. |

`group` |
Variable with the groups to be discriminated. |

`method` |
Three different methods for prioritizing the variables according to their capacity for discrimination can be used. If the method is "overlap", a density curve is obtained for each variable and the overlap of the area under the curve between the two groups of the variable |

`stepwise` |
If TRUE, the logistic regression is applied by steps, in order to eliminate those variables that are not significant. The Akaike information criterion ( |

`VARSEDIG` |
If it is TRUE, the variables are added for the estimation of polar coordinates in the priority order according to the method "overlap", "Monte-Carlo", or "logistic regression" and the variable is selected if it significantly contributes to discriminate between both groups. See details section for further information. |

`minimum` |
If it is TRUE, the algorithm is designed to find a significant discrimination between both groups with the minimum possible number of significant variables. Therefore, only the variables with higher discrimination capacity are selected. If it is FALSE, the algorithm selects all significant variables,and not only those with higher discrimination capacity. This argument is only valid with the methods "Monte-Carlo" and "overlap" and it is useful in those cases that discrimination between the groups is difficult and requires to include as many as variables as possible. |

`kernel` |
A character string giving the smoothing kernel to be used for estimating the overlap of the area under the curve between groups. This must be one of "gaussian", "rectangular", "triangular", "epanechnikov", "biweight", "cosine" or "optcosine". For further details about the estimation of the density curve see the details section of the function density of base stats package. |

`cor` |
If it is TRUE the variables are ordered according to the correlation between them when estimating the polar coordinates. Therefore, the next variable to another variable is the one that has a greater positive correlation. |

`ellipse` |
If it is TRUE the ellipses with the levels of significance to the 0.5 (inner ellipse) and 0.95 (outer ellipse) of each category of the variable |

`convex` |
If it is TRUE the convex hull is depicted for each category. |

`file` |
PDF FILE. Filename with the plots of the function VARSEDIG. |

`na` |
CSV FILE. Text that is used in the cells without data. |

`dec` |
CSV FILE. It defines if the comma "," is used as decimal separator or the dot ".". |

`row.names` |
CSV FILE. Logical value that defines if identifiers are put in rows or a vector with a text for each of the rows. |

The difference with the function VARSEDIG is that all the different taxa of the variable group are compared with each other, instead of just comparing two taxa. It uses the same algorithm described in the function VARSEDIG.

It is obtained a PDF file with the plots of the function VARSEDIG.

Cástor Guisande González, Universidad de Vigo, Spain.

1 2 3 4 5 6 7 8 | ```
## Not run:
data(characiformes)
VARSEDIM(data=characiformes, variables= c("M2", "M3", "M4", "M5", "M6",
"M7", "M8", "M9", "M10", "M11", "M12", "M13", "M14", "M15", "M16", "M17",
"M18", "M19", "M20", "M21", "M22", "M23", "M24", "M25", "M26", "M27", "M28"),
group="Genus")
## End(Not run)
``` |

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.