[R-sig-eco] mapply and use of formula (y~x)

jO bjork.johannes at gmail.com
Mon Mar 17 14:24:20 CET 2014


Im trying to use mapply on two lists and using the {vegan} function adonis. I
run this

mapply(adonis, dist_list~group_list, SIMPLIFY=FALSE)

The above gives the "Error: object of type 'symbol' is not subsettable"

This works on single dist and group objects. Also this works

mapply(betadisper, d = dist_list, group = group_list, SIMPLIFY=FALSE)

Any suggestions on how to implement a formula when using mapply would be
much appreciated, thanks!




--
View this message in context: http://r-sig-ecology.471788.n2.nabble.com/mapply-and-use-of-formula-y-x-tp7578734.html
Sent from the r-sig-ecology mailing list archive at Nabble.com.



More information about the R-sig-ecology mailing list