[R] R Crash -- R Gui crashes during MCMC iteration

2011-02-15 Thread Haillie
of memory. Here is the code that I was trying to run under MCMCpack. ## installing packages install.packages("MCMCpack") install.packages("foreign") ## calling libraries library(MCMCpack) library(foreign) ## opening a data set on the desktop setwd("C:/Users/

[R] Setting Lambda constraints for MCMC ordinal model

2011-02-18 Thread Haillie
post47 <- MCMCordfactanal(~a1+a2+a3+a4+a5+a6+a7+a8+a9+a10+a11+a12+a13+a14+a15+a16+a17+a18+a19+a20+a21+a22+a23+a24+a25+a26+a27+a28+a29+a30+a31+a32+a33+a34+a35+a36+a37+a38, data=un47,lambda.constraints=list(a8=list(2,"+")), factors=1, burnin=5000, mcmc=20, thin=40, verbose=1000, L0=0.05, store

[R] Saving summary outputs in a table form

2011-03-16 Thread Haillie
Dear R help, Is there a way to extract a variable ( one column) from my summary statistics to save it in a table form? My post-factor analysis summary statistics gave me the output below. Is there anyway to just save the mean of all the phi? The filename of this summary output is postun2010sum. Al

Re: [R] Saving summary outputs in a table form

2011-03-16 Thread Haillie
Thank you very much! I will check out help page for extraction operator. Many thanks, Haillie -- View this message in context: http://r.789695.n4.nabble.com/Saving-summary-outputs-in-a-table-form-tp3381959p3383316.html Sent from the R help mailing list archive at Nabble.com

[R] converting data.frame into a numeric ( integer) form

2011-04-17 Thread Haillie
numeric. Any help or advice you could provide on this issue would be greatly appreciated. Thank you very much. I would like to thank all the R experts navigating this forum in advance. Sincerely, Haillie -- View this message in context: http://r.789695.n4.nabble.com/converting-data-frame-into

[R] error message while running IRT model

2011-04-17 Thread Haillie
I have been struggling with the same problem for the past few hours and am desperately in need of some help. The code I am running is as follows: ## opening a data set on the desktop setwd("C:/Users/haillie/Desktop") UN2010<- read.csv("UN2010.csv",header=TRUE) ##calling li

[R] Unlist command drops all my column names in the first row and adopts NAs

2011-04-20 Thread Haillie
ed. Thank you very much! Haillie -- View this message in context: http://r.789695.n4.nabble.com/Unlist-command-drops-all-my-column-names-in-the-first-row-and-adopts-NAs-tp3463294p3463294.html Sent from the R help mailing list archive at Nabble.com. __

[R] MCMCfactanal inquiries

2012-06-15 Thread Haillie Lee
functions or codes if possible. Thank you very much in advance and I look forward to any help. Sincerely, Haillie I am pasting the codes I have used below. # installing packages install.packages("MCMCpack") install.packages("foreign") install.packages("reshape") insta