#required library
#require(IPSUR)
data(chorizon)
lit=1
# This example needs additional libraries:
#scatter3dPETER(x=log10(chorizon[chorizon$LITO==lit,"Cr"]),
# z=log10(chorizon[chorizon$LITO==lit,"Cr_INAA"]),
# y=log10(chorizon[chorizon$LITO==lit,"Co"]),
# xlab="",ylab="",zlab="",
# neg.res.col=gray(0.6), pos.res.col=gray(0.1), point.col=1, fov=30,
# surface.col="black",grid.col="gray",sphere.size=0.8)
Run the code above in your browser using DataLab