tags_types | R Documentation |
This function returns a named list providing the acceptable data types for the default tags. If no argument is provided, it returns default values. Otherwise, provided values will be used to define the defaults.
tags_types(..., allow_extra = FALSE)
... |
< |
allow_extra |
a |
A named list
.
tags_defaults()
for the default tags
validate_types()
uses tags_types()
for validating tags
validate_linelist()
uses tags_types()
for validating tags
# list default values
tags_types()
# change existing values
tags_types(date_onset = "Date") # impose a Date class
# add new types e.g. to allow genetic sequences using ape's format
tags_types(sequence = "DNAbin", allow_extra = TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.