powered by
unit
Makes sure the unit argument has one of the many available values.
checkUnit(unit)
[character] The string to check.
[character] Either "o" or "w".
"o"
"w"
# NOT RUN { soundcorrs:::checkUnit ("occ") soundcorrs:::checkUnit ("occurrence") # }
Run the code above in your browser using DataLab