[R] Combination with repetition

2008-08-15 Thread Jose Luis Aznarte M.
ll at runtime, but I think that is not very elegant and, overall, I don't know how to do that. If combn() accepted repetitions, it'd be solved also. Any help will be greatly appreciated. Bests, -- -- Jose Luis Aznarte M.

[R] Plots spanning columns

2008-08-28 Thread Jose Luis Aznarte M.
possible at all? Cheers! -- -- -- Jose Luis Aznarte M. http://decsai.ugr.es/~jlaznarte Department of Computer Science and Artificial Intelligence Universidad de Granada Tel. +34 - 958 - 24 04 67 GRANADA (Spain

[R] ordering problem

2008-09-30 Thread Jose Luis Aznarte M.
the vectors in A, i.e., not considering the case where there are ties amongst this first dimension. Does anyone have a clue about properly applying the lexicographical ordering? Thanks in advance! -- -- Jose Luis Aznarte M. http://decsai.

[R] A matrix multiplication

2007-09-27 Thread Jose Luis Aznarte M.
ficient way to express that? I'm trying to use 'apply' with no success... Thanks for your help! -- -- Jose Luis Aznarte M. http://decsai.ugr.es/~jlaznarte Department of Computer Science and Artificial Intelligence Univer

[R] Percentiles in R

2007-09-11 Thread Jose Luis Aznarte M.
X Thanks!! -- -- -- Jose Luis Aznarte M. http://decsai.ugr.es/~jlaznarte Department of Computer Science and Artificial Intelligence Universidad de Granada Tel. +34 - 958 - 24 04 67 GRANADA (Spain) Fax: +34 - 958 - 24 00 79 _

Re: [R] Percentiles in R

2007-09-11 Thread Jose Luis Aznarte M.
1] "1,09" "-0,35462" "0,37674" "1,1409""0,072098" "1,4234" [37] "1,43" "0,68532" "0,078089" "0,61944" and, if I want to see the 10th percentile, in Matlab I go >>

Re: [R] Percentiles in R

2007-09-11 Thread Jose Luis Aznarte M.
Ok, of course you were right. As Stefan pointed out, it was a problem of the type of the vector: it was a factor and hence the quantile was not what expected. Thank you all!! Jose Luis Aznarte M. escribió: > Hi there! Still struggling to translate Matlab code into R's tsDyn package