Skip to content
Prev 316126 / 398502 Next

Help with adding 'dates' string as rownames to matrix

Hi
You can use regular expressions but if your string is like you showed us, 

dates1 <-substr(dates, 1, 10)
rownames(mat) <- dates1

Regards
Petr