Off topic:the meanig of R script "%*%"
0
0
Entering edit mode
9.1 years ago
cfarmeri ▴ 210

When working with R, i dont understant "%*%" code. For example,

-------------

data <- read.table(input_f, header=TRUE, row.names=1, sep="\t", quote="")

data.pca <- prcomp(t(data))

data.pca.sample <- t(data) %*% data.pca$rotation[,1:2]

-------------

I want to get PCA by R script including the coding above.

Please advice me.

R • 1.2k views
ADD COMMENT
This thread is not open. No new answers may be added
Traffic: 2683 users visited in the last hour
Help About
FAQ
Access RSS
API
Stats

Use of this site constitutes acceptance of our User Agreement and Privacy Policy.

Powered by the version 2.3.6