I am struggling to do this simple multiplication, I want to multiply matrix element with constant :
mydata <- read.csv("c:/mydata.csv",header=F,dec=",")
5*mydata[1,3]
I am getting following error :
Warning message:
In Ops.factor(mydata[1, 3], 0.1) : ‘*’ not meaningful for factors
Whats wrong with the code?