Displaying 1 result from an estimated 1 matches for "shotdata".
Did you mean:
shopdata
2009 Jun 18
0
area of ellipses (car)
...: x (dispersion), y (distance), Club (name of
the club for grouping)
thanks, sam
## usage: Rscript nikeScatter.R infile outfile level1 level2 minX maxX
minY maxY
## load the library
library(car)
## get the args
args = commandArgs(TRUE);
## get the data format is: x, y, group
shotData <- read.table(args[1],
sep = ",",
header=T)
## setup the pdf file name
pdf(file = args[2])
## do the plot
scatterplot(y ~ x | Club, data=shotData,
ellipse = TRUE,
levels = c(as.numeric(args[3]), as....