Help! model1 <- siarmcmcdirichletv4(data, source, tef, concdep=0, 500000, 50000)
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) : '*' is not meaningful for ordered factors Previous message, but more problems: > 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 remember original mail but to get rid of error message, the function probably needs as an input ordered factor or numeric values. You shall consult help page for this function which option is valid. as.numeric comes back as NA for the pond dataset (A3, A5, A7, B3, B7, C2) Cannot use ordered factor as * function does not work for this. ? And is needed to run the model (see below). ANYONE know max length for dataset in SIAR? NOW getting following error: model1 <- siarmcmcdirichletv4(data, source, tef, concdep=0, 500000, 50000) 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) : '*' is not meaningful for ordered factors Matrix 1 has only 6 vectors in column 1. Thank-you. Alex. -- View this message in context: http://r.789695.n4.nabble.com/Errors-in-SIAR-tp4029804p4029804.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.