-
遇到“+”时式子没写完,如果无法继续完成,可在console中输入
;
以结束,Ctrl+L清屏无法结束。 -
barplot(height = , names = , col = )
-
$无法对矩阵进行提取,只能用于数据框。
-
base R plot:
lty : line type;
pch : marker shape;
lwd : line width;
type : line between dots type;
cex : shape size;
col : control colors.
margin
mar()
for margin,oma()
for outer margin erea.
eg.par(oma=c(3,3,3,3)) par(mar=c(5,4,4,2) + 0.1) plot(0:10, 0:10, xlab= "X", ylab= "Y", type= "n") # type="n"hide the points text(5, 5, "plot", cex=2, col="red") box(col="red") ... box("figure", col="forestgreen") ... box("outer", col="blue")
`las`allows to change the orientation of axis labels. (0, 1, 2, 3)
2020.4.24am R学习笔记
猜你喜欢
转载自blog.csdn.net/m0_46641191/article/details/105722941
今日推荐
周排行