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.
See also
Other utility:
add_label(),
get_path_to_protocol(),
get_protocolnumbers(),
get_short_titles(),
get_version_number(),
increment_version_number()