Re: [R] Maintaining data order in factanal with missing data

2013-07-26 Thread David Carlson
lf Of PIKAL Petr Sent: Friday, July 26, 2013 9:06 AM To: s00123...@myacu.edu.au; 'Justin Delahunty'; r-help@r-project.org Subject: Re: [R] Maintaining data order in factanal with missing data Hi There are probably better options but merge(data.frame(x=1:154),data.frame(x=names(ab.1.fa[[1]]

Re: [R] Maintaining data order in factanal with missing data

2013-07-26 Thread PIKAL Petr
> -Original Message- > From: Justin Delahunty [mailto:a...@genius.net.au] > Sent: Friday, July 26, 2013 3:34 PM > To: PIKAL Petr; 'Justin Delahunty'; 'Justin Delahunty'; r-help@r- > project.org > Subject: RE: [R] Maintaining data order in factanal with mi

Re: [R] Maintaining data order in factanal with missing data

2013-07-26 Thread Justin Delahunty
Justin Delahunty; r-help@r-project.org Subject: RE: [R] Maintaining data order in factanal with missing data Hi Well, the function init.dfs does nothing as all data frames created inside it does not propagate to global environment and there is nothing what the function returns. Tha last line

Re: [R] Maintaining data order in factanal with missing data

2013-07-26 Thread Justin Delahunty
PM To: Justin Delahunty; r-help@r-project.org Subject: RE: [R] Maintaining data order in factanal with missing data Hi You provided functions, so far so good. But without data it would be quite difficult to understand what the functions do and where could be the issue. I suspect combinati

Re: [R] Maintaining data order in factanal with missing data

2013-07-26 Thread PIKAL Petr
uot; "3" "4" ... $ factor.loadings: Named num [1:5] -0.1172 0.0128 -0.0968 0.106 0.9975 ..- attr(*, "names")= chr [1:5] "w3oab3" "w3oab4" "w3oab7" "w3oab8" ... Anyway I have no idea what you consider wrong? Regards Petr > -Or

Re: [R] Maintaining data order in factanal with missing data

2013-07-26 Thread PIKAL Petr
. Petr > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-bounces@r- > project.org] On Behalf Of s00123...@myacu.edu.au > Sent: Friday, July 26, 2013 9:35 AM > To: r-help@r-project.org > Subject: [R] Maintaining data order in factanal with mi

[R] Maintaining data order in factanal with missing data

2013-07-26 Thread s00123776
Hi, I'm new to R, so sorry if this is a simple answer. I'm currently trying to collapse some ordinal variables into a composite; the program ideally should take a data frame as input, perform a factor analysis, compute factor scores, sds, etc., and return the rescaled scores and loadings. The d