Make variables from Excel import

I'm new to R Studio but I've managed to import my excel-sheet... So how can I turn my numbers into variables so I can make calculations with them? I don't have to do that manually I guess!? (For example when I try to make a sum() I just get > sum(data.stud1$Adenoid.size)
[1] NA

Yes you absolutely can!

However, a little caution when you use function sum() and so happen to have NAs in you variables, It won't not but worry not there is just one optional argument you need to use --> sum(varname, na.rm=T) . ; na.rm- stands for REMOVE NAs and by default its FALSE

You can read more about this and much more in the help window.

Wish you the best !

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.