add_metavars | R Documentation |
From a given dataset including the 11 visual traits exposed by Bruzek (2002), this function adds three corresponding main characters (PrSu, GrSN and InfP) based on the majority rule exposed in the original article.
add_metavars(dat)
dat |
A dataframe including the 11 visual traits described by Bruzek. |
A dataframe including also the main characters derived from those visual traits.
This is mainly an internal function for the R-Shiny application implemented in PELVIS.
Frédéric Santos, <frederic.santos@u-bordeaux.fr>
Bruzek, J. (2002) A method for visual determination of sex, using the human hip bone. American Journal of Physical Anthropology 117, 157–168. doi: 10.1002/ajpa.10012
# Load a dataset:
data(CTscanDataBruzek)
# Visualize the traits:
head(CTscanDataBruzek)
# Add all the main Bruzek's characters:
complete <- add_metavars(CTscanDataBruzek)
head(complete)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.