Hi:
First of all, look at
str(dataframename)
It sounds as though you need to convert Month to an ordered factor,
something
like
df$Month <- ordered(df$Month, levels = month.abb)
df$Month
The second command is to check that the newly created factor orders the
months
appropriately. Here's a small
On May 11, 2010, at 10:44 PM, michael westphal wrote:
Hello:
I have a dataframe, where the first column in a month:
Month CATCHMENT_ medmin max
1Apr Alknda01 71.68080 11.9406600 196.2753
2Apr Alknda02 69.44580 12.1065600 196.2753
3Apr ArialKhan 39.89310 5.8
Hello:
I have a dataframe, where the first column in a month:
Month CATCHMENT_ medmin max
1Apr Alknda01 71.68080 11.9406600 196.2753
2Apr Alknda02 69.44580 12.1065600 196.2753
3Apr ArialKhan 39.89310 5.8598700 175.4433
4AprArjun01 4.79652 0.0093336
3 matches
Mail list logo