[R] R equivalent to Matlab's Bayes net toolbox

2007-07-17 Thread Jose Quesada
networks modeling; However, since I have a better background in R than in Matlab, I'd love to stay with R. Any resources (mailing lists, books, tutorials) would be greatly appreciated. Thanks a lot in advance, -Jose -- Jose Quesada, PhD. http://www.andrew.cmu.edu/~jquesada

[R] Matrix library, CHOLMOD error: problem too large

2007-06-22 Thread Jose Quesada
27; I have 2 Gb of RAM, and the current workspace is barely 300mb. Is there any workaround to this? Anyone has any experience with this error? Thanks, -Jose -- Jose Quesada, PhD. http://www.andrew.cmu.edu/~jquesada __ R-help@stat.math.ethz.ch ma

[R] Matrix library error: "should never happen; please report"

2007-06-19 Thread Jose Quesada
4 other copies of the same warning. Will play around a bit more... This is really strange. Thanks -- Jose Quesada, PhD. http://www.andrew.cmu.edu/~jquesada __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do re

[R] Error: bad value ? what is that?

2007-06-14 Thread Jose Quesada
when this happens. No idea why. I didn't change anything in the R config that I remenber. Any thoughts? Thanks. -- Jose Quesada, PhD. http://www.andrew.cmu.edu/~jquesada __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listi

[R] debugger library. Error?

2007-06-11 Thread Jose Quesada
rror in all.levs[[j]] : subscript out of bounds It happens with any function, I just posted one form the example. Thanks, -J -- Jose Quesada, PhD. http://www.andrew.cmu.edu/~jquesada __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailm

[R] Matrix package: writeMM

2007-05-15 Thread Jose Quesada
atrix" object: all row indices must be between 0 and nrow-1 Thoughts? Thanks, -Jose -- Jose Quesada, PhD. http://www.andrew.cmu.edu/~jquesada __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do re

[R] like apply(x,1,sum), but using multiplication?

2007-05-07 Thread Jose Quesada
rs must be quoted. I tried single quotes too, with the same results. Thanks, -Jose -- Jose Quesada, PhD. http://www.andrew.cmu.edu/~jquesada __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the pos

[R] colSum() in Matrix objects

2007-04-16 Thread Jose Quesada
isted in the help for Class 'CsparseMatrix' , but I wonder whether I'm using the default colSums() or the one specific to CsparseMatrix... #example (z = Matrix(c(0,1,0,0), 10,10)) zr = rowSums(z) class(zr) # numeric; I'd like it to be a CSparseMatrix object Thanks a lot in

Re: [R] %*% in Matrix objects

2007-01-27 Thread Jose Quesada
rix but numeric, and then ( * ) is applied. Last, I shouldn't consider myself the most standard user of the matrix package, since my lineal algebra is really basic. But in any case, you should know that your package is being enormously useful for me. Keep up the good work. And

[R] %*% in Matrix objects

2007-01-25 Thread Jose Quesada
s *, but in Matrix objects that is not the case. What am I missing? -- Thanks, -Jose -- Jose Quesada, PhD Research fellow, Psychology Dept. Sussex University, Brighton, UK http://www.andrew.cmu.edu/~jquesada __ R-help@stat.math.ethz.ch mailing list

Re: [R] [fixed] vectorized nested loop: apply a function that takes two rows

2007-01-24 Thread Jose Quesada
x , x ) > > gives your result up to scale factors of sqrt(res[i,i]*res[j,j]), so > something like > > diagnl <- Diagonal( ncol(x), sqrt( diag( res ) ) > OOPS! Better make that diagnl <- Diagonal( ncol(x), 1 / sqrt( diag( res ) ) > > final

[R] [fixed] vectorized nested loop: apply a function that takes two rows

2007-01-23 Thread Jose Quesada
solution seems inneficient. Is there an easy way of achieving this with a clever do.call + apply combination? -- Thanks in advance, -Jose -- Jose Quesada, PhD Research fellow, Psychology Dept. Sussex University, Brighton, UK http://www.andrew.cmu.edu/~jquesada ___

[R] vectorized nested loop: apply a function that takes two rows

2007-01-23 Thread Jose Quesada
cos[i, j] = cosine(x[, i], x[, j]) } } } This solution seems inneficient. Is there an easy way of achieving this with a clever do.call + apply combination? -- Thanks in advance, -Jose -- Jose Quesada, PhD Research fellow, Psychology Dept. Sussex University,

[R] Can one use correlations (or R^2) as data for an ANOVA?

2006-08-09 Thread Jose Quesada
Dear all, This may seem obvious for some of you, but it got me thinking. Can one use correlations (or R^2) as data for an ANOVA? The case in hand: I have several models fitting the same data (individual fits per subject). The different models fitting the same guy will produce different R^2, I was

Re: [R] gmane?

2006-04-27 Thread Jose Quesada
Thanks all, It was very surprising that I couldn't find it. I searched news.gmane.orgfor r-help, and nothing popped up. -Jose On 4/27/06, Sundar Dorai-Raj <[EMAIL PROTECTED]> wrote: > > > Jose Quesada wrote: > > Hi All, > > > > I recently found gmane &g

[R] gmane?

2006-04-27 Thread Jose Quesada
include subscription information. Mailing list archives can be imported into Gmane." What do you think? -- Cheers, -Jose -- Jose Quesada, PhD. [EMAIL PROTECTED] Dept. of Psychology http://www.andrew.cmu.edu/~jquesada Sussex University Brighton, UK [[alterna

[R] R and ViM

2006-04-20 Thread Jose Quesada
google mail (as an email reader) doesn't let you see your own messages when posting to a list you are subscribed to. -- Jose Quesada, PhD. [EMAIL PROTECTED] Dept. of Psychology http://www.andrew.cmu.edu/~jquesada Sussex University Brighton, UK

Re: [R] R and ViM

2006-04-18 Thread Jose Quesada
p. > > Thanks, > Michael Graber > > __ > R-help@stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > -- Cheers, -

[R] R-vim suite

2006-04-16 Thread Jose Quesada
autoHotKeys can be useful even if you don't use vim just to send the example R code from the help pages to the console. Best wishes, -Jose -- Jose Quesada, PhD. [EMAIL PROTECTED] Dept. of Psychology http://www.andrew.cmu.edu/~jquesada Sussex Unive

Re: [R] Easy cut & paste from Excel to R?

2005-09-29 Thread Jose Quesada
o know > > more. I'm a beginner and if I can do so can you!! > > > > ~Nick > > > > > > > > > > __ > > Do you Yahoo!? > > > > http://promotions.yahoo.com/new_mail > > > &

Re: [R] Text Mining with R

2004-12-03 Thread Jose Quesada
__ > [EMAIL PROTECTED] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > -- * I have finally put online an exhibition project with my newer paintings * http://lsa.colorado.edu/~quesa

[R] rank in descending order?

2004-12-01 Thread Jose Quesada
Hi, Is there any simple solution to get ranks in descending order? Example, a <- c(10, 98, 98, 98, 99, 100) r <- rank(a, ties.method="average") produces 1 3 3 3 5 6 I would want this instead: 6 5 3 3 3 1 Note that reversing r doesn't work but in small examples. Thanks, -Jose -- [EMAIL PRO

[R] R on AMD64 (Opteron)

2004-07-24 Thread Jose Quesada
_ > > [EMAIL PROTECTED] mailing list > > https://www.stat.math.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide! http://www.R-project.org/posting- > > guide.html > > __ > [EMA

Re: [R] X11 not available

2003-09-07 Thread Jose Quesada
On Sat, 06 Sep 2003 20:44:25 -0500, Marc Schwartz <[EMAIL PROTECTED]> wrote: On Sat, 2003-09-06 at 17:52, Jose Quesada wrote: Hi All, After compiling R-1.7.1 on a P4 running a default install of redHat 9 (which of course has X11), I get the following error: > x11() Error in x11() : X

[R] png support

2003-09-07 Thread Jose Quesada
Hi all, It's me again with compiling questions :) Even though I have libpng and zlib: rpm -q libpng libpng-1.2.2-8 and rpm -q zlib zlib-1.1.4-8.8x my newly-compiled R doesn't support png. No png support in this version of R Anyone knows why? Thanks, -Jose -- Jose Quesada, PhD. [EMAIL

[R] X11 not available

2003-09-06 Thread Jose Quesada
-gnome Any idea why this is happening? It also occurs if i install the rpm from CRAN... Thanks a lot in advance, -Jose -- Jose Quesada, PhD. [EMAIL PROTECTED] Research associate http://lsa.colorado.edu/~quesadaj Institute of Cognitive Science