View source: R/format-common.R
read.datapoints | R Documentation |
Read data points from a file dataponts.csv
in the directory
dataset
. The CSV should contain two columns for every
dataset. Each pair of columns must contain a unique name in the
first cell of the first row and a valid colour in the second
cell of the first row. In the remaining rows, the X coordinates of
data points should be in the first column and the Y coordinates
should be in the second column.
read.datapoints(dataset)
dataset |
Path to directory containing |
List containing
Ds |
List of sets of datapoints. Each set comprises a 2-column matrix and each set is named. |
cols |
List of colours for each dataset. There is one element that corresponds to each element of |
David Sterratt
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.