Last chance! 50% off unlimited learning
Sale ends in
ellipsoid
objects.## S3 method for class 'ellipsoid':
volume(object)
ellipsoid
method, an object of that class (see
ellipsoidhull
or the example below).object
.ellipsoidhull
for spanning ellipsoid computation.## example(ellipsoidhull) # which defines `ellipsoid' object <namefoo>
myEl <- structure(list(cov = rbind(c(3,1),1:2), loc = c(0,0), d2 = 10),
class = "ellipsoid")
volume(myEl)# i.e. "area" here (d = 2)
myEl # also mentions the "volume"
Run the code above in your browser using DataLab