Do you really want to use '==' ? How about '%in%', as in
findings1<-subset(findings,SUBJECTSID %in% ==SUBJECTS1$SUBJECTSID,
select=c(SUBJECTSID,ORGNUMRES))
David Freedman
dvkirankumar wrote:
>
> Hi all,
> I got one problem with"subset()"function
>
> hear i executed:
>
> findings1<
Hi all,
I got one problem with"subset()"function
hear i executed:
findings1<-subset(findings,SUBJECTSID==SUBJECTS1$SUBJECTSID,select=c(SUBJECTSID,ORGNUMRES))
hear "SUBJECTS1$SUBJECTSID" vector contains nearly "65" values
the problem is after comparing and subsetting its not givi
2 matches
Mail list logo