Try doing
rownames(x) <- x["Species"]
before running dbFD. The function is probably using the row and column
names of its inputs as species names, not a certain row or column of the
data.
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Wed, Jul 15, 2015 at 6:47 AM, lauraRIG wrote:
> Dear R
Thank you for making an effort, but your example is still not reproducible.
Study something like [1] for more clarity on how to communicate online.
Problems that you encounter in getting your data into R are different than
problems with the functions in base R or contributed packages, and a
rep
Dear R community,
I have some trouble with the dbFD function in the FD package.
> str(a)
'data.frame':150 obs. of 48 variables:
> str(x)
'data.frame':48 obs. of 9 variables:
ex1 <- dbFD(x,a)
Error in dbFD(x, a) :
Species labels in 'x' and 'a' need to be identical and ordered
alphab
3 matches
Mail list logo