Re: [R] FD package_dbFD error

2021-04-01 Thread Vesna Gulin
Hi Sara, Thank you for your advice and apologies for spamming. I will try to reorganise the arguments and if it doesn't work, will try r-sig-ecology. Kind regards, Vesna On 2021-04-01 0:58, Sarah Goslee wrote: Hi, While Bert is right that this would be a good question for r-sig-ecology, I

Re: [R] FD package_dbFD error

2021-03-31 Thread Sarah Goslee
Hi, While Bert is right that this would be a good question for r-sig-ecology, I think you might have made a very simple-to-fix mistake: According to https://www.rdocumentation.org/packages/FD/versions/1.0-12/topics/dbFD if you don't name the arguments, traits should come BEFORE sites. If that d

Re: [R] FD package_dbFD error

2021-03-31 Thread Bert Gunter
I think you would more likely find the help you seek on the r-sig-ecology list rather than here. Also, do note per the posting guide linked below: "For questions about functions in standard packages distributed with R (see the FAQ Add-on packages in R

[R] FD package_dbFD error

2021-03-31 Thread Vesna Gulin
Hi everyone, I am trying to conduct dbFD from the FD package, but it keeps giving me the same error: ex1 <- dbFD(sites, traits) Error in dbFD(sites, traits) : Different number of species in 'x' and 'a'. Ab, bb, Ci are species names. I have tried rewriting the species names so many times