Relative Content

Tag Archive for rpackagerstudio

I want to compute the CWM but unfortunately the same error appears: First argoment not valid

I’m using two datasets imported on R using the comand “read.csv()”.The first one (spxt) includes the traits of an insect community and the second one (spxpl) contains relative abboundances of insects per plot (invaded or not). After cleaning the datasets from values NA which I converted to 0 and assuring that the datasets have the same number of row (which they have), I proceded to compute the CWM which concluded with the error showed in the image: “First argument not valid”.
Could anyone help me?
Many thanks in advance