Displaying 1 result from an estimated 1 matches for "transpose_task".
2012 Sep 13
1
Error during matrix multiplication
....csv files.
#load .csv files
a <- as.matrix(read.table("Whirr_127.csv", header=T, sep=",", row.names=1))
b <- as.matrix(read.table("Files_Whirr_127.csv", header=T, sep=",",
row.names=1))
a
b
I managed to do transpose to 'b' without any error.
transpose_task <- t(b)
transpose_task
But, when I tried to do multiplication (a%*%transpose_task), an error
occured.
td <- (a%*%transpose_task)
td
Here is the error:
ERROR: requires numeric/complex matrix/vector arguments
ERROR: object 'td' not found
Anybody can help me to solve this?
Thank y...