I have imported a html table into R:
require(XML)
u='http://www.ininternet.org/calorie.htm'
tables = readHTMLTable(u)
my.table=tables[[9]]
View(my.table)
But now I have problems when I want to analyze the data and apply any function, for example
> mean(PROTEINE)
Warning message:
In mean.default(PROTEINE) :
argument is not numeric or logical: returning NA
Please tell me how to import a table so that I could analyze the data properly.