next up previous
Next: Example 5 Up: Using read.table Previous: Example 3

Example 4

Example 4 is just like example 2 except the data are separated by commas instead of by blank spaces.
Dose,Water,Relief
.1,10,7
.2,10,15
...
This can be read with read.table, after specifying that the separation character in this file is a comma.
> ex4 <- read.table("example4", header=T, sep=",")



Brian Junker 2002-08-26