Can't get data to show up

here is my code:

Data$Change = Data$BPMbefore - Data$BPMafter
xyplot(Change ~ Gender, data=Data, group=CigaretteType, type=c("p","a"), auto.key=TRUE)
aggregate(Change ~ CigaretteTypeGender, data=Data, mean)
summary(aov(Change ~ CigaretteType
Gender, data=Data))

here is my error message:

Screen Shot 2020-01-21 at 11.19.57 am

here is my output, i cant get the data to show up:

Screen Shot 2020-01-21 at 10.59.01 am

thanks :slight_smile:

A post was merged into an existing topic: I can't get this plot to work