Displaying 1 result from an estimated 1 matches for "tdf1".
Did you mean:
df1
2005 Nov 09
2
how to convert strings back to values?
...he dataset.
When I transpose the dataset, the original values become strings
(instead of 0,1,0,0,1 I have "0","1","0","0","1"). The distance matrix
cannot be counted from the transposed dataset, I have 2 error
messages:
<Warning in vegdist(tdf1, method = "jaccard", binary = FALSE, diag =
FALSE, : results may be meaningless because input data have
negative entries>
<Error in rowSums(x, prod(dn), p, na.rm) : 'x' must be numeric>
I do not understand the first, since I have only 1 and 0 in the dataset. I
guess...