Usage
jmol3D(df, classvec=NULL, title=NULL, jmoldir="../jmol/Jmol.js", filename="output.html", point.size=40, xyz.axes =c(1:3), scaled=TRUE, ...)
Arguments
df
A matrix
or data.frame
containing the x,y,z coordinates.
Typically the output from bga
such as the \$ls or \$co files, or other xyz coordinates
(\$li or \$co) produced by PCA, COA or other dudi
. classvec
Factor or vector which describes classes in the df. Default is NULL. If specified each group
will be coloured in contrasting colours.
title
Character, the title (header) of the web page saved if writehtml is TRUE. The default is NULL
.
filename
Character. The filename of the html to be saved. The default is output.html".
xyz.axes
Vector indicating which axes to use for x, y and z axes. By default, the first 3 columns of df.
jmoldir
Character indicating the local directory containing jmol.
point.size
Numeric, size of the points in plot. Default is 40.
...
Further arguments passed to or from other methods.