Hi,
I have two matrix from two different .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 you
[[alternative HTML version deleted]]
______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.