#Subscript superscript in plots in R
plot(rnorm(30), xlab = expression('4'^th*'moment'))

plot(1,1, main=expression('title'^2))  #superscript

plot(1,1, main=expression('title'[2])) #subscript

plot(1:10, xlab=expression('hi'[5]*'there'[6]^8*'you'[2]))

plot(1:10, 11:20 , main=expression(v["1,2"]))

#ref https://stackoverflow.com/questions/10156417/subscripts-in-plots-in-r/23778882