[R-marketing-bugs] R-marketing-bugs post from andrew.reynolds at illuminas.com requires approval

Chris Chapman cnchapman at gmail.com
Mon Mar 23 16:50:39 CET 2015


It looks like you may need to specify the SEM model on 3 lines instead of a
single line. Just hit ENTER after "iSalesSAT" on the first line and R will
create a new line with "+" for you to continue.

Here's a direct copy from the R console:

> satModel <- "SAT =~ iProdSAT + iSalesSAT
+              REC =~ iProdREC + iSalesREC
+              REC ~  SAT "

> library(lavaan)
> sat.fit <- cfa(satModel, data=satData)
> summary(sat.fit, fit.m=TRUE)
lavaan (0.5-17) converged normally after  31 iterations
...

Also, just to check, make sure that you've loaded "satData". You could
check that with summary(satData)

Best,

-- Chris

On Mon, Mar 23, 2015 at 8:34 AM, <
r-marketing-bugs-owner at lists.r-forge.r-project.org> wrote:

> As list administrator, your authorization is requested for the
> following mailing list posting:
>
>     List:    R-marketing-bugs at lists.r-forge.r-project.org
>     From:    andrew.reynolds at illuminas.com
>     Subject: Bug. p16?
>     Reason:  Post by non-member to a members-only list
>
> At your convenience, visit:
>
>
> http://lists.r-forge.r-project.org/cgi-bin/mailman/admindb/r-marketing-bugs
>
> to approve or deny the request.
>
>
> ---------- Forwarded message ----------
> From: Andrew Reynolds <Andrew.Reynolds at illuminas.com>
> To: "r-marketing-bugs at lists.r-forge.r-project.org" <
> r-marketing-bugs at lists.r-forge.r-project.org>
> Cc:
> Date: Mon, 23 Mar 2015 15:34:12 +0000
> Subject: Bug. p16?
>
> > satModel <- "SAT =~ iProdSAT + iSalesSAT REC =~ iProdREC + ISalesREC REC
> ~ SAT "
>
> > library(lavaan)
>
> > sat.fit <- cfa(satModel, data=satData)
>
> Error in ~iProdSAT + iSalesSATREC = ~iProdREC + ISalesRECREC ~ SAT :
>
>   object 'iProdSAT' not found
>
>
>
> Can’t see how I am misspecifying the model.
>
>
>
> ______________________________________________________________________
> This email has been scanned by the Symantec Email Security.cloud service.
> For more information please visit http://www.symanteccloud.com
> ______________________________________________________________________
>
>
> ---------- Forwarded message ----------
> From: r-marketing-bugs-request at lists.r-forge.r-project.org
> To:
> Cc:
> Date: Mon, 23 Mar 2015 16:34:44 +0100
> Subject: confirm 83cb6dc8c665efa2c289c4102cc72b74a6bd19cb
> If you reply to this message, keeping the Subject: header intact,
> Mailman will discard the held message.  Do this if the message is
> spam.  If you reply to this message and include an Approved: header
> with the list password in it, the message will be approved for posting
> to the list.  The Approved: header can also appear in the first line
> of the body of the reply.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/r-marketing-bugs/attachments/20150323/41e762cf/attachment.html>


More information about the R-marketing-bugs mailing list