Thank you, Sarah.
This works just fine.
So simple.
I didn't know I had to change the factor to character before making the
comparison.
Regards,
Mart�n
[[alternative HTML version deleted]]
__
R-
You want to compare the values of the levels, I think?
What about:
> as.character(dat$var1) == as.character(dat$var2)
[1] TRUE FALSE TRUE FALSE FALSE
Sarah
On Tue, Jan 5, 2016 at 10:58 AM, Martín Cañón wrote:
> Hi to all useRs on the list.
>
> I want to know if there is a function in R which
2 matches
Mail list logo