| xml_discretetraitdata | R Documentation | 
Generate the data block in a BEAST XML file.
xml_discretetraitdata( states_dat, taxon_name, discrete_trait_name, date_name = NULL, lheat = 1, under_prior = F )
| states_dat | a data-frame object containing at least two columns: one for the name of each tip (column name specified by  | 
| taxon_name | name of the column containing tip names | 
| discrete_trait_name | name of the column containing tip states | 
| date_name | name of the column containing tip sampled dates | 
| lheat | Number of data clones | 
| under_prior | Whether to infer the joint prior distribution (default false) or the joint posterior distribution | 
XML code specifying data usage
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.