1. Please read an Intro to R before posting further. In your previous
post you confused "=" with "==". These and other basic matters are
discussed there, so you can save yourself -- and this list -- a lot of
time and aggravation by familiarizing yourself with it.(Unless this
was just a typo).
2. I
nevermind. all.equal() works!
--
View this message in context:
http://r.789695.n4.nabble.com/If-equal-statement-for-character-objects-tp4638359p4638361.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
I have a data frame (trans)
123 P
143 z ...ect
I want to write a statement that says:
if ((trans[i,2]="p")&(trans[1+1,2]="z")){
but I get the warning message that states:
operations are possible only for numeric, logical or complex types
Any ideas?
Thanks
--
View this message i
3 matches
Mail list logo