Hi,

Am wanting to save the summary of a PCA to file.

Have tried:

> write.table(summary(PCA), file="PCAvar.txt", sep="\t")

but receive:

Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors =
stringsAsFactors) : 
  cannot coerce class "summary.princomp" into a data.frame

What am I doing wrong?

Thanks


-- 
View this message in context: 
http://www.nabble.com/Save-object-summary-to-file-tp19447000p19447000.html
Sent from the R help mailing list archive at Nabble.com.

______________________________________________
R-help@r-project.org 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.

Reply via email to