Displaying 1 result from an estimated 1 matches for "sets_opt".
Did you mean:
set_opt
2011 Oct 06
1
The "Sets" package and element equality test
Hi,
I tried to use the sets package yesterday, which seems to be a very powerful
package: thanks to the developers. I wanted to define sets of lists where 2
lists are considered equal if they have the same length.
So, I implemented:
match.2.list <- function(l1,l2){
length(l1)==length(l2)
}
and then defined my cset as:
s <- set(list(1,2),list(3,4))
lset <-