Displaying 2 results from an estimated 2 matches for "esp3".
Did you mean:
esp
2010 Aug 13
1
assign multiple variables at once
...L2) and WP Harvest would equal 0 (ECRL1), all other species code var's would
contain NA.
I hope I made this clear enough.
Thank you,
Mike
Current method: one line per species
EBTCH1.h$YP.H <- with(EBTCH1.h,ifelse(ESP1 %in% 'YP',ECRL1,ifelse(ESP2 %in% 'YP',ECRL2,
ifelse(ESP3 %in% 'YP',ECRL3,ifelse(ESP4 %in% 'YP',ECRL4,ifelse(ESP5 %in% 'YP',ECRL5,
ifelse(ESP6 %in% 'YP',ECRL6,ifelse(ESP7 %in% 'YP',ECRL7,ifelse(ESP8 %in% 'YP',ECRL8,
ifelse(ESP9 %in% 'YP',ECRL9,0))))))))))
DF <-
structure(list(MM = c(5L, 5L, 5L,...
2011 Feb 04
1
read.table error
...0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 120L, 5L,
0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L, 0L,
0L, 0L, 0L, 0L, 0L, 90L, 0L, 0L, 0L, 0L, 0L), ESP3 = c(NA,
NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA, NA,
NA, NA, NA, NA, NA, NA, "YP", NA, NA, NA, "WP", NA, "YP",
"WP", NA, NA, "YP", NA, NA, NA, NA, NA, NA, NA, NA, NA, NA,
NA, NA, NA, NA, "YP", NA, NA, NA, NA,...