[R-sig-eco] return min and max with conditions

Thiago A. Pires p|re@@th|@go@ugu@to @end|ng |rom gm@||@com
Wed Feb 16 16:38:38 CET 2022


I'm trying to automate a process in R, but I still can't get to what I
need. I have two data-frames indexed from the same code in the lines, which
would be the samples, one data-frame identifies the species that occur in
the samples and the other identifies the environmental variables of these
samples. I need the minimum and maximum of environmental variables to be
returned according to two conditions, the maximum or minimum returned has
to search for samples and group by species. All available packages and
scripts that I've checked don't do what I need, does anyone have any ideas?

Thanks.

Thiago

	[[alternative HTML version deleted]]



More information about the R-sig-ecology mailing list