Add VR multiple spheres from dataframe
1 | add_vr_3d_points(my_html, into, df0, ...)
|
my_html |
html in a vector of strings; output from 'create_html'. |
into |
character string; unique identifier of a line in the html. Element id is highly recommended. |
df0 |
A dataframe containing x, y, z coordinates, radius r (optional) and color (optional). Note that the names of the columns are strict, i.e. must be 'x', 'y', 'z', 'r'(optional), 'color'(optional). |
... |
Extra parameter that goes into a tag, e.g. In <div type = "xxx">, 'type = "xxx"' goes to ... . |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.