Closed droglenc closed 6 years ago
See example from Chris Michaud for a possible solution. However, see if the problem can be dealt with with table()
s.
This was not a problem in the original if the species variable is not a factor. Thus, did not change anything.
Some samples will contain no fish and thus may have an
NA
for the species variable (as would generally happen if the sample data isleft_join()
ed with the fish data. The currentaddZeroCatch()
cannot deal with this problem (theNA
s cause an error).