search for: plotd3d

Displaying 1 result from an estimated 1 matches for "plotd3d".

Did you mean: plot3d
2013 Aug 24
2
Correct NAMESPACE approach when writing an S3 method for a generic in another package
...one of my packages I have an S3 method for the plot3d generic function from package rgl. I am trying to streamline my Depends entries but don't know how to have plot3d(foo) in the examples section for the plot3d method in my package, without rgl being in Depends. Note that I importFrom(rgl, plotd3d) and register my S3 method via S3Method() in the NAMESPACE. If rgl is not in Depends but in Imports, I see this when checking the package > ## 3D plot of data with curve superimposed > plot3d(aber.pc, abernethy2) Error: could not find function "plot3d" I presume this is because r...