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.
如何在绘图表达式中使用百分比符号作为下标?
我正在使用以下脚本:
text(4.2,0.45, expression(paste(P[Con_30%Fat], "=0.611")), cex = 1.3)
我收到以下错误:
Error: unexpected input in "text(4.2,0.45, expression(paste(P[Con_30%Fat], "=0.611")), cex = 1.3)"
plot.new() text(0.5, 0.5, expression(paste(P[Con_30*"%"*Fat], "=0.611")), cex = 1.3)