You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It can be that the fish you are trying to look at has no /Ecology/FishEcologySummary.php page associated. Can you copy/paste the output of fish.data[1:10] ?
Hi,
I would like to extrapolate trophic levels for a subset of fish.data:
getTrophicLevel(fish.data[1:10]) # works
reef <- which_fish("reef", "habitat", fish.data)
reef_troph<-getTrophicLevel(fish.data[reef]) # does not work
Error in xpathApply(summaryPage, "//*[contains(@href, '/Ecology/FishEcologySummary.php')][1]", :
subscript out of bounds
What am I doing wrong?
Cheers,
Cami
The text was updated successfully, but these errors were encountered: