The protocol type corresponds to the first 3 letters of the protocol code
Arguments
- protocol_code
Character vector giving the protocol code(s)
- labels
Logical. If
TRUEreturn full labels, else return just the three letter abbreviation.- auto_identifier
Logical. If
TRUEreturns labels followingPandoc'sauto-identifier rules.
Value
A factor with 5 levels corresponding to sfp, sip, sap, sop
and spp. The labels depend on auto_identifier setting.