R language Access Menu

Title Text Both  

Creating a 3-D scatterplot

Three dimensional scatterplots can also be created easily in R: 

code:

    > library(scatterplot3d)
    > with(birthwt, scatterplot3d(age, lwt, bwt))

output (graph): 

 

                   

Height of points can also be added: 

code:

    > library(scatterplot3d)
    > with(birthwt, scatterplot3d(age, bwt, lwt, type='h'))

 

                  


    Comments & Feedback