matplot | R Documentation |
This is a wrapper for R's matplot function. See R's documentation for graphics::matplot for further details.
matplot(x, y, Rcss = "default", Rcssclass = NULL, ...)
x , y |
vectors or matrices of data for plotting. The number of rows should match. If one of them are missing, the other is taken as y and an x vector of 1:n is used. Missing values (NAs) are allowed. |
Rcss |
style sheet object. Leave "default" to use a style defined via RcssSetDefaultStyle() |
Rcssclass |
character, style class |
... |
Further parameters, see documentation of graphics::lines |
# draw scatter based on column in a matrix
dataset = cbind(A=rnorm(20), B=rnorm(20))
matplot(dataset)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.