[R] lavaan diagram
Peter Ehlers
ehlers at ucalgary.ca
Wed Mar 9 04:03:13 CET 2011
On 2011-03-08 18:09, Sebastián Daza wrote:
> Hi everyone,
> I got the following error when I tried to diagram a confirmatory factor
> analysis using lavaan:
>
> lavaan.diagram(conf)
> Error in strwidth(xvars) : plot.new has not been called yet
>
> Does anyone have any idea about what is happening?
> Thank you in advance.
>
Two problems with this request:
1. It would be customary to mention that lavaan.diagram
is in the psych package.
2. Is 'conf' of the appropriate class? Have you checked
with str(conf)?
Peter Ehlers
More information about the R-help
mailing list