Description Usage Arguments Value Author(s) References See Also Examples
View source: R/andrews_curve.R
This function evaluates the transformation of the original data matrix for
t from -pi to pi, and uses matplot to draw the
curves.
| 1 2 3 4 5 6 7 8 9 10 11 | andrews_curve(
  x,
  n = 101,
  type = "l",
  lty = 1,
  lwd = 1,
  pch = NA,
  xlab = "t",
  ylab = "f(t)",
  ...
)
 | 
| x | a data frame or matrix | 
| n | number of x-axis values at which f(t) is evaluated | 
| type, lty, lwd, pch, xlab, ylab, ... | passed to
 | 
a matrix of coefficients for each observation at different t values
Yihui Xie <https://yihui.org>
https://en.wikipedia.org/wiki/Andrews_plot
| 1 | andrews_curve(iris[, -5], col = as.integer(iris[, 5]))
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.