How to make 3D parallel coordinates plot in r - r

I´m looking for a R package to plot 3d parallel coordinates plot.
It looks like so:
Do you known any package?

There are quite a few. Via google searches "3d parallel coordinates plot in r" and "parcoord r"
1
2

Related

Creating a 3D "ribbon" style plot in R

I want to plot the recorded path of an object such as a plane or drone in 3d space using R. The plotted path should be represented by a flat “ribbon” whose orientation perpendicular to the direction of travel changes to reflect the roll of the object. In other words, I want to be able to visualize the path and orientation of the object in one "ribbon" as it banks in turns.
As far as as I can tell, a traditional ribbon plot in R won't allow you to change the orientation in a third dimension.
Matlab and Python have functionality for creating quiver plots where arrows may be placed to indicate the xyz orientation of the object at a given point in time along the path. I cannot find any R packages with similar functionality.
I have played with Plot3D, Plotrgl, Plot3Drgl and cannot find a package that has this capability.
Q1: Are there any packages in R that would support this type of plot?
Q2: If there isn't, how can I go about creating this type of plot R?
Below are examples in Python and Matlab for the 3D quiver type plots, as well as an image demonstrating the ribbon concept I am imagining.
https://medium.com/analytics-vidhya/exploring-data-acquisition-and-trajectory-tracking-with-android-devices-and-python-9fdef38f25ee
Example of 3D quiver plot in python
https://github.com/xioTechnologies/Gait-Tracking-With-x-IMU
Example of 3D quiver plot in matlab
This is an example of what the "ribbon" would look like
Thanks for any help!

3D RGL Plot not showing in R

I am plotting a 3 dimensional PCA plot with R package "pca3d". However, the plot is not popping up as it usually does with conventional 2d plots (e. g. plotted with ggplot, ggbiplot or also with the 2d function of pca3d, i. e. pca2d).
> library(pca3d)
> pca3d(prncomp.pca)
[1] 0.4933764 0.3238404 0.3194022
The above is all I get. I guess pca3d relies on RGL. I saw this other thread Why is my 3D plot not showing up in R Studio plot viewer? bu was not able to solve my problem yet. Any suggestions?
EDIT: I am working on ubuntu 18.04

R equivalent of Matlab trisurf()

I have three vectors x, y, U that I would like to plot as a surface. I can do this in Matlab using functions delaunay() and trisurf(). However, I would like to do the same in R but can't find something similar.
Any help appreciated.
See the geometry package for delaunayn and surf.tri, and these can be plotted with rgl.triangles from rgl.
http://www.inside-r.org/packages/cran/geometry/docs/surf.tri
I used this recently here https://gis.stackexchange.com/questions/90635/what-programs-would-allow-for-the-mapping-of-a-geoid-in-3d/90763#90763
You can do trisurf with Plotly's open-source R client. R code here:
http://moderndata.plot.ly/trisurf-plots-in-r-using-plotly/

3d Vector plotting and visualization in R

Anyone know of any packages in R that can plot 3D vectors? I would like to plot some vectors over a 3 dimensional data set. I know scatterplot3d looks like it should be able to do the job, but I didn't see any documentation for vectors specifically (I would like to be able to change the origin of vectors as well).
rgl is a great package for 3d plotting. It is very like 2d plotting except that you use plot3d instead of plot. This answer on SO suggests a way to draw arrows in rgl.

R: levelplot vs. contourplot

I want to plot a contour of my data in R.
What is the difference between levelplot vs. contoutplot in package lattice and latticeExtra in R?
The 'latticeExtra' package contains none of the functions you mention.
Briefly, 'levelplot' fills in colored squares, while 'contourplot' makes curved lines like a topographic map.
But the best way for you to see is to simply look at and run the code for the examples for the two functions in the lattice package.

Resources