R 更改xlab";在bayesboot函数的绘图中
方法R 更改xlab";在bayesboot函数的绘图中,r,R,方法bayesboot:::plot.bayesboot在内部使用attr(bp,“statistic.label”)asxlab并覆盖您的命令。改变它 plot(bp, ylab = "testY", xlab = "testX") bp plot(bp, ylab = "testY", xlab = "testX") bp <- bayesboot::bayesboot(dat$too, mean)
bayesboot:::plot.bayesboot
在内部使用attr(bp,“statistic.label”)
asxlab
并覆盖您的命令。改变它
plot(bp, ylab = "testY", xlab = "testX")
bp
plot(bp, ylab = "testY", xlab = "testX")
bp <- bayesboot::bayesboot(dat$too, mean)
attr(bp, "statistic.label") <- "testX"
plot(bp, ylab="testY")