Re: [R] Odp: Error in matrix, not ordered vectors or numerical value, and SIAR.

2011-11-11 Thread Alex DJ
Hello Petr, The demo's don't run either, with the same errors. Thanks for your help. Best wishes. -- View this message in context: http://r.789695.n4.nabble.com/Error-in-matrix-not-ordered-vectors-or-numerical-value-and-SIAR-tp4024578p4033682.html Sent from the R help mailing list archive

Re: [R] Odp: Error in matrix, not ordered vectors or numerical value, and SIAR.

2011-11-11 Thread Alex DJ
Thank-you Petr. I have consulted as many manuals and help pages, and search engines, and trying various things in SIAR, but continuous errors prevail.. I have tried changing all matrices to numeric, but the first column , of the two latter matrices, returns as NA. Any other suggestions? I had

[R] Errors in SIAR

2011-11-10 Thread Alex DJ
Help! model1 <- siarmcmcdirichletv4(data, source, tef, concdep=0, 50, 5) Error in matrix(1, ncol = (numsources + numiso) * numgroups, nrow = (siardata$iterations - : invalid 'ncol' value (too large or NA) In addition: Warning message: In Ops.ordered((numsources + numiso), numgroup

[R] Error in matrix, not ordered vectors or numerical value, and SIAR.

2011-11-10 Thread Alex DJ
Help! model1 <- siarmcmcdirichletv4(data, source, tef, concdep=0, 50, 5) Error in matrix(1, ncol = (numsources + numiso) * numgroups, nrow = (siardata$iterations - : invalid 'ncol' value (too large or NA) In addition: Warning message: In Ops.ordered((numsources + numiso), numgroups) :

Re: [R] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors

2011-11-10 Thread Alex DJ
> The data set has 101 values, what can I use instead of letters? Why do you need to use letters? AFAIK this was only illustration what could be root of the error message. If the function requires ordered factor you can use your.ordered.factor <- ordered(your.unordered.factor) I do not remem

Re: [R] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors

2011-11-10 Thread Alex DJ
When you put (fo) what do you mean? With ordered variable am now getting this error message: model1 <- siarmcmcdirichletv4(data, source, tef, concdep=0, 50, 5) Error in matrix(1, ncol = (numsources + numiso) * numgroups, nrow = (siardata$iterations - : invalid 'ncol' value (too larg

Re: [R] Web based R-help not a list

2011-11-10 Thread Alex DJ
Hello, Only answer to one but: 1. I can do a search on any topic over thousands of posts on R easily and effectively = www.rseek.org -- View this message in context: http://r.789695.n4.nabble.com/Web-based-R-help-not-a-list-tp4021752p4023359.html Sent from the R help mailing list ar

Re: [R] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors

2011-11-10 Thread Alex DJ
Thanks Duncan. This is a package, SIAR. > fo <- ordered(f) > fo [1] a b c d e Levels: a < b < c < d < e > max(fo) [1] e Levels: a < b < c < d < e The data set has 101 values, what can I use instead of letters? Best wishes, Alex. -- View this message in context: http://r.789695

[R] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors

2011-11-09 Thread Alex DJ
Hello, Beginner, sorry if this is wasting anyone's time, but have been working on this for a couple of days now, think it should have take a few hours! The Problem: Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors I have tried to re-ar