This routine is a method of the plotpersp routine in the cgam package.
plotpersp.csy returns a 3D plot of an object of the csvy class. The x lab and y lab represent a set of non-parametrically modelled predictors used in a csvy formula, and the z lab represents the estimated domain mean surface.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.