• Jännät@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    3
    ·
    5 hours ago

    You have to surround the 2 with ^s:

    R^2^ = 0.11

    R2 = 0.11

    Note that this’ll bork if you put spaces between the carets: ^2 2^ gives you ^2 2^

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      33 minutes ago

      I know I’m late, but you can also use:
      R² = 0.11

      Someone said it messes with screen-readers, but when I tried, everything messed with screen-readers, so I don’t see much of a difference.