[R] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors
Alex DJ
alexdj at hotmail.co.uk
Thu Nov 10 18:58:51 CET 2011
- Previous message: [R] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors
- Next message: [R] Help: sqlSave Error
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
> 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/Error-in-Summary-factor-c-1L-1L-1L-1L-1L-1L-1L-1L-1L-1L-4L-max-not-meaningful-for-factors-tp4022502p4024542.html
Sent from the R help mailing list archive at Nabble.com.
- Previous message: [R] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors
- Next message: [R] Help: sqlSave Error
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the R-help
mailing list