Rev Language Reference


readDelimitedCharacterData

Aliases

  • readCharacterDataDelimited

Usage

readDelimitedCharacterData(String file, String type, String stateLabels, String separator/delimiter, Bool header)

Arguments

file : String (pass by value)
The name of the file to read in.
type : String (pass by value)
The type of data.
Default : NaturalNumbers
Options : NaturalNumbers|Bitset|Standard|Continuous|Taxa
stateLabels : String (pass by value)
The state labels (for standard states) or max number for NaturalNumbers.
separator/delimiter : String (pass by value)
The field separator character. Values on each line of the file are separated by this character. If sep = "" the separator is 'white space', that is one or more spaces, tabs, newlines or carriage returns.
header : Bool (pass by value)
Does this file have a header line?
Default : TRUE

Return Type