[adsense:responsibe:9545213979]
Simulacion:
> E <- c(1,2,3,4,5,6,7,8,9,10); > A <- c(1,2,3); > B <- c(7,8,9,10); > C <- c(1,3,5,7,9);
> intersect(A,B) numeric(0) > intersect(A,C) [1] 1 3
> intersect(B,C) [1] 7 9
Simulacion:
> A <- c(1,2,3); > C <- c(1,3,5,7,9); > setdiff(A,C) [1] 2
Simulacion:
> E <- c(1,2,3,4,5,6,7,8,9,10); > A <- c(1,2,3); > B <- c(7,8,9,10); > setdiff(E,union(A,B)) [1] 4 5 6
[adsense:468x15:3683830247]
.
Simulacion:
> E <- c(1,2,3,4,5,6,7,8,9,10); > A <- c(1,2,3); > B <- c(7,8,9,10); > C <- c(1,3,5,7,9); > union(A,setdiff(E,intersect(B,C))) [1] 1 2 3 4 5 6 8 10
Comentarios recientes