@article{JSSv028i01, title={Computing and Displaying Isosurfaces in R}, volume={28}, url={https://www.jstatsoft.org/index.php/jss/article/view/v028i01}, doi={10.18637/jss.v028.i01}, abstract={This paper presents R utilities for computing and displaying isosurfaces, or three-dimensional contour surfaces, from a three-dimensional array of function values. A version of the marching cubes algorithm that takes into account face and internal ambiguities is used to compute the isosurfaces. Vectorization is used to ensure adequate performance using only R code. Examples are presented showing contours of theoretical densities, density estimates, and medical imaging data. Rendering can use the rgl package or standard or grid graphics, and a set of tools for representing and rendering surfaces using standard or grid graphics is presented.}, number={1}, journal={Journal of Statistical Software}, author={Feng, Dai and Tierney, Luke}, year={2008}, pages={1–24} }