Problem with plotting using semPaths
Posted on

Forums
Dear professor Cheung,
I am running into a problem with plotting my model. I have included the replicated data, and my script. My error is that:
Error in if (Layout[x[1], 2] != Layout[x[2], 2]) return(0) else return(sum(Layout[Layout[, :
missing value where TRUE/FALSE needed
I’ve tried to search this error online, but I did not prevail. I hope you can take a quick peek and help me with this problem. I’d really appreciate your time.
Sincerely,
Mike
Hi Mike
Hi Mike
I believe that the error is related to variable names. c("Brand Equity", "Performance", "Value Equity", "Relationship Equity") does not work well as it contains spaces.
It works fine if you change it to c( "Brand_Equity", "Performance", "Value_Equity", "Relationship_Equity").
Best,
Mike
Log in or register to post comments
In reply to Hi Mike by Mike Cheung
Thank you professor for your
Thank you professor for your reply. I really appreciate it.
Log in or register to post comments