[R] about data problem

lily li chocold12 at gmail.com
Tue Sep 20 23:46:16 CEST 2016


Hi R users,

I have a problem in reading data.
For example, part of my dataframe is like this:

df
month day year          Discharge
   3        1   2010                6.4
   3        2   2010               7.58
   3        3   2010               6.82
   3        4   2010               8.63
   3        5   2010               8.16
   3        6   2010               7.58

Then if I type summary(df), why it converts the discharge data to levels? I
also met the same problem when reading some other csv files. How to solve
this problem? Thanks.

Discharge
7.58     :2
6.4       :1
6.82     :1
8.63     :1
8.16     :1

	[[alternative HTML version deleted]]



More information about the R-help mailing list