You have really tied yourself up in a knot here. Last I checked, when A==B,
then B==A. You also need to study the difference between ?if and ?ifelse, since
you are not giving the if function the scalar it expects. For example, i$ID is
a vector of three (identical, due to your use of split) value
Dear all,
I have a data.frame xy that contains numeric data and data_qual which contains
qualitative data which I want to include in a for loop with an if statement
(commented out in the code below).
The if statement should be applied if the ID in data_qual$ID is the same than
in xy$ID.
I am t
2 matches
Mail list logo