PrintStateNotes | R Documentation |
Print State Notes
PrintStateNotes(notes, taxaNames = NULL, taxaItalic = taxaNames,
charId = character(0), Format = I)
notes |
Named character vector, with names corresponding to terminal taxa, and values corresponding to character coding notes for each taxon in turn. This matches the format given by 'ReadNotes(filename)[[character_number]][[2]]'.' |
taxaNames |
Character vector specifying names of taxa. |
taxaItalic |
Character vector corresponding to taxaNames, but using '_'underscores'_' to denote italic text where required. |
charId |
Character or integer identifying the character, for use in the resultant div's ID attribute. |
Format |
Function that is passed a character string, and should return the string with appropriate formatting (e.g. italicization of genus names). |
Text listing the character coding notes for each taxon, ready for inclusion in a markdown source document
Martin R. Smith
{
## Not run:
notes <- ReadNotes(filename)
character_1_notes <- notes[[1]]
cat("Character 1")
PrintStateNotes(character_1_notes[[2]])
## End(Not run)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.