Re: [R] Compare similarit of two vector of not same length

2012-03-24 Thread Greg Snow
If you are trying to see if both vectors could be random samples from the same population then I would look at a qqplot (see ?qqplot) which will compare them visually (and if they are not the same length then the qqplot function will use interpolation to compare them. For a more formal test you ca

Re: [R] Compare similarit of two vector of not same length

2012-03-24 Thread Berend Hasselman
On 24-03-2012, at 12:44, Alaios wrote: > Dear all, > this is not strictly R question. I have two vectors of different length (this > is in the order of 10%). I am trying to see if still one can compare these > two for similarity. > What do you mean? - all entries in shorter vector occur in l