Change the factor names of var in:
y~x | var
Tal
--
My contact information:
Tal Galili
E-mail: tal.gal...@gmail.com
Phone number: 972-52-7275845
FaceBook: Tal Galili
My Blogs:
http://www.talgalili.com (Web and general, Hebrew)
Or alternatively store as a list and export later if you want
... after some tidying ...
library(lattice)
columns - 8:153
plots - vector(list, length(columns))
j - 0
for (i in columns)
{
plots[[ j - j+1 ]] -
histogram( ~ data[,i] | data[,2],
ylab = Frequency, xlab = Score,
THANKS EVERYONE, IT WORKS NOW !!!
BY THE WAY, i want to improve my R coding skills, any suggestion for me ?
Colin Millar wrote:
Or alternatively store as a list and export later if you want
... after some tidying ...
library(lattice)
columns - 8:153
plots - vector(list,
Hi again, do you know how can I use the main function to change the title for
eac h histogram. i.e that first graph show have a title Index 1 but
because the variable name column starts the 8th the title shows up as Index
8 , i have tried use main = colnames(data)[i-1] but it result errors
4 matches
Mail list logo