Re: [R] help with counting how many times each value occur in eachcolumn

2007-08-10 Thread Gasper Cankar
,-50),10))) and then do apply(data,2,table)-1 to get correct results. But someone on a list can probably make much more elegant solution. Bye, Gasper Cankar, PhD Researcher National Examinations Centre Slovenia -Original Message- From: Tom Cohen [mailto:[EMAIL PROTECTED] Sent: Friday

[R] issue with plot (type=h)

2006-02-22 Thread Gasper Cankar
Hello everyone. For reasons too long to explain I wanted to do plots similar to histograms with plot(type=h). I ran into a problem - if I set line width too high, histogram isn't accurate anymore. For example: par(lend=2) plot(c(2,4,3,2),ylim=c(0,5), type=h) abline(h=3) Column 3 appears

[R] name of object from character vector

2005-03-11 Thread Gasper Cankar
create a data.frame named math by calling b[1]? I'm importing data via RODBC in one big loop for all subjects and I want them separated so I'll be able to load them one at a time later on. Thanks for your help, Gasper Gasper Cankar National Examinations Centre Slovenia +386 1 54 84 682