To have names of months in English and not in current langage version of R

 > Sys.setlocale(category = "LC_TIME", locale="en_GB.UTF-8")

[1] "en_GB.UTF-8"

 > x <- seq(from=as.Date("2000-04-01"), length.out=100, by=1)

 > y <- rnorm(length(x), 5,2)

 > plot(x, y)

 > Sys.setlocale(category = "LC_TIME", locale="")

[1] "fr_FR.UTF-8"

Commentaires

Posts les plus consultés de ce blog

Standard error from Hessian Matrix... what can be done when problem occurs

Install treemix in ubuntu 20.04

stepAIC from package MASS with AICc