Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
Rにプロットがあり、軸の1つに次のラベルが付いていますz^2
z^2
plot(log(b)~a, data=dat, pch=15, xlab="time", ylab="log(z^2)")
記号「^」なしでRにべき乗を書くことは可能ですか?
はい、参照してください?plotmath。
?plotmath
plot(log(b)~a, data=dat, pch=15, xlab="time", ylab=expression(log(z^2)))
使ってみてylab=expression(log(z^2))
ylab=expression(log(z^2))