Error in mean of variable

Tid and LogTid are columns of ssData they do not exist as stand alone objects so try with

mean(ssData$Tid)
mean(ssData$LogTid)

If you need more specific help, please provide a proper REPRoducible EXample (reprex) illustrating your issue.

1 Like