Librerías necesarias para el ejemplo

Primeramente instalar las librerías necesarias para trabajar:

install.packages(“rsm”)

Cuando estes lito puedes llamar a las librerías que necesitarás en el ejemplo:

library(rsm)

library(scatterplot3d)

Including Plots

You can also embed plots, for example:

Note that the echo = FALSE parameter was added to the code chunk to prevent printing of the R code that generated the plot.