Quick question. I read my csv file into the variable data
. It has a column label var
, which has numerical values.
When I run the command
sd(data$var)
I get
[1] NA
instead of my standard deviation.
Could you please help me figure out what I am doing wrong?
str()
to your answer as I find it helpful for these sorts of debugging tasks, but didn't feel it warranted it's own answer. Hope you don't mind, feel free to roll back. – Barbed