How can one plot a sphere in R by providing a center point and a radius?
For example, something like this:
sphere_3d(center=c(1,1,1), r=2))
The plot would appear on a three dimensional coordinate system.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Try
spheres3din therglpackage for an interactive plot:There are many other ways, so what’s going to be useful needs more input.