The axes of the R plot()
function have by default the titles:
xlab = "Model Quanntiles"
ylab = "Empirical Quantiles"
I need to replace the texts with their translations for Brazilian Portuguese.
How can I do this?
My code just prints a QQ plot of a fevd (fitted extreme values distribution) object.
plot(fD31,type = "qq", main = "MLE", cex.main = 2)
I have tried to simply replace the xlab and ylab values but it did not work.
plot(fD31,type = "qq", main = "MLE", cex.main = 2, xlab = "Quantis do Modelo",
ylab = "Quantis Empíricos")
EDIT
My complete code:
D31 <- read.csv("file.csv")
# Variable CYCLES, containing 10.000 different values from 27945900 to 28875760
flmD31 <- fevd(D31$CYCLES, method = "Lmoments")
plot(flmD31,type = "qq", main = "LM", cex.main=2)
The dput()
27947751L,...., 27947844L), method = "Lmoments", type = "GEV", period.basis = "year",
par.models = list(threshold = ~1, location = ~1, scale = ~1,
log.scale = FALSE, shape = ~1, term.names = list(threshold = character(0),
location = character(0), scale = character(0), shape = character(0))),
const.loc = TRUE, const.scale = TRUE, const.shape = TRUE,
n = 10000L, na.action = "na.fail", results = c(location = 27947289.4961838,
scale = 317.480635124479, shape = 0.740827367059249)), class = "fevd")