powered by
Return the dimension of the finite set.
# S3 method for finite_set dim(x)
Integer; the dimension of the set.
A finite set.
fs <- finite_set$new(c(1, 3, 5, 7)) dim(fs) # 1
Run the code above in your browser using DataLab