Description Usage Arguments Value
The column name can be "sex" or "Sex" and nothing else. If coded with integer, the number 1 is recognized as male and numbers, 0, 2, or 6 are assumed to be female. Any other integer will throw an error. If character, if the first letter is "f", then we assume female, and if the first letter is "m" we assume male. Case does not matter. Anything else will throw an error. This function allows for just a little flexibility.
1 | detectSex(Dat, sexColumn = "Sex")
|
Dat |
a |
sexColumn |
character string giving the name of the Sex column |
either "f" or "m"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.