script.R
1
2
3
4
# compute R^2, round to four decimal places and save
the result to `R2`
# check whether your result is correct using the "=="
operator
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
R Console
1
>
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX