Quantcast
Channel: Active questions tagged r - Stack Overflow
Viewing all articles
Browse latest Browse all 201945

converting month and day column to corresponding numbers in R and divide table into 2 matrices

$
0
0

I am reading data from UCI repository into table.

forestfire <- read.table(file = "http://archive.ics.uci.edu/ml/machine-learning-databases/forest-fires/forestfires.csv", 
                         header = TRUE, sep = ',')

How can I convert month and day column to corresponding numbers? I also want to divide this table to 2 matrices.


Viewing all articles
Browse latest Browse all 201945

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>