library(scatterplot3d)
fmri.pr <- prcomp(fmri, scale=TRUE)
all.loadings=fmri.pr$rotation
loading.pc1=abs(all.loadings[, 1]) # take absolute value
top300=sort(loading.pc1, decreasing=TRUE)[1:300]
scatterplot3d(x = all.loadings[top300], color= ("red"), pch=20, xlab="x", ylab="y", zlab="z", main="The most active voxels (Highest 300)")
这是我得到的错误
scatterplot3d 中的错误(x = all.loadings[top300],color = ("red"),pch = 20,:(x|y|z)lim 内没有数据
我该如何解决?