[R] How do I "teach" R that columns 1, 2, and 3 are the Year-Month-Day
    Gregory Coats 
    gregco@t@ @end|ng |rom me@com
       
    Wed Jun 15 03:08:17 CEST 2022
    
    
  
# Column 1 is the Year
# Column 2 is the Month
# Column 3 is the Day
# Column 4 is the Fuel
Fuel <- c(50.45, 61.48, 59.07, 55.40, 30.63, 41.35, 32.81, 49.86, 62.99, 89.37)
plot (Fuel)
2021  7 25   50.45  
2021  8 27   61.48  
2021  9 26   59.07 
2021 11  4   55.40  
2021 11 22   30.63 
2021 11 26   41.35  
2021 12  6   32.81  
2022  1 14   49.86  
2022  4 29   62.99  
2022  6 11   89.37  
How do I "teach" R that columns 1, 2, and 3 are the Year-Month-Day?
Greg Coats
	[[alternative HTML version deleted]]
    
    
More information about the R-help
mailing list