dec.curve | R Documentation |
This function computes the order of points on a open 3D curve and finds intermediate points
dec.curve(mat_input, mag, plot = TRUE)
mat_input |
numeric: a kx3 matrix |
mag |
numeric: how many times will be divided by the number of initial points |
plot |
logical: if TRUE will be plotted the starting and final point matrices |
matt numeric: a kx3 matrix with points coordinates
Antonio Profico, Costantino Buzi, Marina Melchionna, Paolo Piras, Pasquale Raia, Alessio Veneziano
## Not run: ## Create and plot a 3D curve require(compositions) require(rgl) curve_3D<-cbind(1:10,seq(1,5,length=10),rnorm(10,sd = 0.2)) plot3D(curve_3D,bbox=FALSE) close3d() ## Create and plot the new 3D curve (with intermediate points) dec_curve_3D<-dec.curve(curve_3D, 2, plot = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.