[Sorry- somehow the first time I posted this it got attached to another thread
-Vik]
I am successfully performing a correspondence analysis using the commands:
NonLuxury <-
read.table("/Users/myUserName/Desktop/nonLuxury.data.txt")
ca(NonLuxury)
I would like to store the results to a data frame so that I can write them to
disk using write.table. I have tried several things such as:
df <- data.frame(ca(NonLuxury))
df <- data.frame(data(ca(NonLuxury)))
etc.
...but clearly this is incorrect as it generates an error message.
Is it possible to store the results of a CA to a dataframe, and if so, what is
the correct way to do this?
Thanks in advance to all for any info.
-Vik
[[alternative HTML version deleted]]
Please provide a reproducible example, like: library(ca) data(author) p <- ca(author) # now look at this: str(p) to find that this object of class 'ca' has lots of different results in it - it is up to you to decide which ones you make into a dataframe. cheers, Remko -- View this message in context: http://r.789695.n4.nabble.com/Storing-CA-Results-to-a-Data-Frame-tp2714619p2714893.html Sent from the R help mailing list archive at Nabble.com.
Maybe Matching Threads
- Newbie Correspondence Analysis Question
- How to update an old unsupported package
- Automation of public/private key generation
- Bug: Dovecot index loosing sync with FTS despite "fts_autoindex = yes"
- Yikes! FreeBSD samba-3.0.26a_2, 1 is forbidden: "Remote Code Execution...