[R] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors
David Winsemius
dwinsemius at comcast.net
Thu Nov 10 14:25:39 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] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
On Nov 10, 2011, at 6:12 AM, Alex DJ wrote:
> 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?
Why not as.numeric(fo)?
>
> --
> 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-tp4022502p4023231.html
>
--
David Winsemius, MD
West Hartford, CT
- 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] Error in Summary.factor(c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 4L, : max not meaningful for factors
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the R-help
mailing list