Displaying 1 result from an estimated 1 matches for "control_201".
Did you mean:
control_200
2005 Jun 06
1
how to generate pairwise plots with data frames - tia
...try to generate a plot of the first 2 columns via:
plot(test[1], test[2)
I get an error message:
Error in pmatch(x, table, duplicates.ok) :
argument is not of mode character
but if I specify these columns by their column headers, i.e.:
attach(test)
plot(Control_200, Control_201)
it works just fine. However, with 10 columns, this will produce ~ 50
pairwise plots, so I'd really like to figure out how to automate this.
I've tried getting the names of the data frame and using those, i.e.:
myNames<-names(test)
plot(test$myNames[1], test$myNames[2])
bu...