I am having trouble finding a correlation coefficient between three variables. I get an error message each time saying "Error in df[, c("FPS", "ST", "GR")] :
object of type 'closure' is not subsettable"
All three conditions have numerical values so i'm unsure what the issue is
Looking at your screenshot and comparing it to your error message, it looks like your data.frame is called Df but you are trying to subset a variable df. I think that's the problem.
If that doesn't help, it might help to have a sample of your code to troubleshoot further.