I have two subsets I want to analyze,
subset(ClevelandHD1, presenceHD == "0", select=c(maxheartrate))
subset(ClevelandHD1, presenceHD == "1", select=c(maxheartrate))
but run into errors whenever I try and place them both into a function. What should I do?