Displaying 1 result from an estimated 1 matches for "ifcondition".
Did you mean:
condition
2009 May 25
0
Or operator on working on the r-objects doesn't generate a logical value
...also:--*
*predefined_text<- dataset[record_num,item_num]=="NUL" ||
dataset[record_num,item_num]=="" || dataset[record_num,item_num]=="M"
text was prepared like this:--
text<- dataset[record_num,item_num]=='3' ||
dataset[record_num,item_num]=='4'
ifCondition<-paste(**predefined_text**,**text**,sep=" || ")
**Now say **dataset[record_num,item_num] has value "NULL" so predefined_text
gets value TRUE so if -condition is this:--*
*ifCondition<-paste(**predefined_text**,**text**,sep=" || ")
** print(ifCondition)*
ERROR:--...