Hello All,
I wanted to do many plots (in my case, wanted to get 6 histograms) on the
same figure. Is there a method in R that analogous to 'subplot' in MATLAB?
Any help will be very much appreciated.
thanks,
Suman
[[alternative HTML version deleted]]
Hello,
This might be a very basic question but I was not sure how to go about it. I
just wanted to calcluate the time it takes to run my program. Basically I
was to put a timer at the start and the end of the program in order to see
how much time it takes to give the output (similar to tic-tac in
Hi,
I wanted to know how to compute the correlation ratio (eta) between two
variables using R. Is there any function to compute the correlation ratio.
Any help will be very much appreciated.
Thanks,
Suman
[[alternative HTML version deleted]]
Hi Bruce,
correlation ratio (eta) is different from correlation coefficient (rho).
While correlation coefficient captures only a linear relationship btw
variables, correlation ratio captures both linear and non-linear
relationships. It is the defined as the ratio of the variance between
arrays to
Hello,
I have a big matrix of size (20,5) -bmat . I have to loop though the rows in
the matrix and create DIFFERENT matrices each time I go through the loop.
counts=c(4,6,10);
p=1;
for (i in 1:length(counts))
{
smat=bmat[p:p+i-1,];
p=p+i;
}
The problem is smat overwrites itself each
Hello,
I wanted to know how to plot a histogram using a vector of frequencies
rather than the data vector as a whole. So I have two vectors: a vector of
labels V1= c(A,B,C,D) and vector B which is a vector of frequencies
of A, B, C and D respectively V2=c(20,50,60,30). I wanted to plot a