Add customdata to plotly data points in R?

I am working in R 3d scatter. plotly so now i want to add custom extra data to datapoints .In plotly js there is customdata references for this requirement but i want to add in plotly R not plotly js.

Several years later, this points towards the direction of a solution: Showing extra data in a heatmap with hovertemplate and customdata

1 Like