# plot3d Method for Class 'gqc'

### Description

plot the fitted 3D data set and quadratic decision boundaries.

### Usage

1 2 3 4 |

### Arguments

`x` |
object of class |

`fitdb` |
logical. If |

`initdb` |
logical. If |

`lims` |
column matrix of the x, y, and z limits of the plot. If |

`npoints` |
number of points per dimension (i.e., x, y, and z) used to plot the decision bound surface. Default is 100. |

`alpha` |
alpha value for the decision bound surface(s) ranging from 0 (fully transparent) to 1 (opaque). Default is .5 |

`fill` |
logical. If |

`smooth` |
logical. If |

`...` |
further arguments. |

### Details

This function produces a 3D scatter plot of data matrix of `x`

and (optionally) quadratic decision boundaries specified within (i.e., `x$par`

and/or `x$initpar`

), using `points3d`

function in the `rgl`

package and `contour3d`

function in the `misc3d`

package respectively.

### References

Daniel Adler, Oleg Nenadic and Walter Zucchini (2003) RGL: A R-library for 3D visualization with OpenGL

### See Also

`plot.gqc`

, `{plot3d.gqc}`

### Examples

1 2 3 4 | ```
data(subjdemo_3d)
fit.3dq <- gqc(response ~ x + y + z, data=subjdemo_3d,
category=subjdemo_3d$category, zlimit=7)
plot3d(fit.3dq)
``` |