, "P3", "P4"}}
Note the double parentheses ... this is still a set of sets with one member,
not a set of character strings with four members.
Hope that helps ...
S Ellison
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Neha
Hello All,
I am facing a problem and am unable to find much help online as sets
package in R is relatively new.
My problem is as follows:
Set R is made of 2 sets x and y
x<-{"P1", "P2", "P3", "P4"}
y<-{}
R<-set(x,y)
#R={{}, {"P1", "P2", "P3", "P4"}}
i need to use R in a recursive loop where i n
2 matches
Mail list logo