Hello Gentlemen,
All of your answers were helpfull. Indeed, 'as.is=TRUE' or
'stringsAsFactors=FALSE' avoid importing as factors, as it did when I
imported the table without specifying anything. However, data frames will
not allow different datatypes within a single column, so, for time series, I
On Nov 11, 2009, at 1:06 PM, separent wrote:
#Hello,
#I loaded data using read.table - I needed to convert a row in the
data
frame to date class:
You _should_ have given the actual code (as the Posting Guide
requests), but I would guess that you should have added either
as.is=TRUE or
On Nov 11, 2009, at 12:06 PM, separent wrote:
#Hello,
#I loaded data using read.table - I needed to convert a row in the
data
frame to date class:
data
V1 V2 V3 V4
1 2008-05-19 2008-04-19 2008-03-21 2008-02-22
2 38.16999817 30.7008 36.8661 35.18999
Hi,
On Nov 11, 2009, at 1:06 PM, separent wrote:
#Hello,
#I loaded data using read.table - I needed to convert a row in the
data
frame to date class:
data
V1 V2 V3 V4
1 2008-05-19 2008-04-19 2008-03-21 2008-02-22
2 38.16999817 30.7008 36.8661 35.1
#Hello,
#I loaded data using read.table - I needed to convert a row in the data
frame to date class:
> data
V1 V2 V3 V4
1 2008-05-19 2008-04-19 2008-03-21 2008-02-22
2 38.16999817 30.7008 36.8661 35.18999863
3 37.4754 29.9576 36.4508 35.366
5 matches
Mail list logo