[R] Subtracting test string from vectors
Rui Barradas
ruipbarradas at sapo.pt
Fri Jun 1 12:51:57 CEST 2012
Hello,
It works with me.
> one <- c("ciao","zio","caio","bello")
> two <- c("caio","zio")
> setdiff(one, two)
[1] "ciao" "bello"
Are you sure of the values in your 'one' and 'two'?
Rui Barradas
Cren wrote
>
>
> Rui Barradas wrote
>>
>> Hello,
>>
>> ?setdiff
>> setdiff(one, two)
>>
> Thank you for your help, Rui.
>
> But
>
> *> setdiff(one,two)
> [1] "ciao"*
>
> Where's "bello"?
>
--
View this message in context: http://r.789695.n4.nabble.com/Subtracting-test-string-from-vectors-tp4632049p4632062.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list