powered by
subset()
ps
subset(x, ...) ## S3 method for class 'ps': subset(x, subset, ...)
space
intersect
setdiff
union
isin
L <- tosscoin(2) M <- urnsamples(L, 3) N <- probspace(M) subset(N, all(toss1=="H")) subset(N, any(toss2=="T"))
Run the code above in your browser using DataLab