{"action":"created","issue":{"url":"https://api.github.com/repos/SachaEpskamp/semPlot/issues/9","repository_url":"https://api.github.com/repos/SachaEpskamp/semPlot","labels_url":"https://api.github.com/repos/SachaEpskamp/semPlot/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/SachaEpskamp/semPlot/issues/9/comments","events_url":"https://api.github.com/repos/SachaEpskamp/semPlot/issues/9/events","html_url":"https://github.com/SachaEpskamp/semPlot/issues/9","id":199459131,"number":9,"title":"Error with semPaths","user":{"login":"jjesusfilho","id":11723505,"avatar_url":"https://avatars.githubusercontent.com/u/11723505?v=3","gravatar_id":"","url":"https://api.github.com/users/jjesusfilho","html_url":"https://github.com/jjesusfilho","followers_url":"https://api.github.com/users/jjesusfilho/followers","following_url":"https://api.github.com/users/jjesusfilho/following{/other_user}","gists_url":"https://api.github.com/users/jjesusfilho/gists{/gist_id}","starred_url":"https://api.github.com/users/jjesusfilho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjesusfilho/subscriptions","organizations_url":"https://api.github.com/users/jjesusfilho/orgs","repos_url":"https://api.github.com/users/jjesusfilho/repos","events_url":"https://api.github.com/users/jjesusfilho/events{/privacy}","received_events_url":"https://api.github.com/users/jjesusfilho/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-01-09T00:22:32Z","updated_at":"2017-01-23T10:45:25Z","closed_at":"2017-01-22T11:46:28Z","body":"I have the following model\r\n.\r\nmodel<-\"autonomo =~ v41+v19+v20+v18+v17\r\n      dialogal =~ v6+v5+v25+v4+v9\r\n      disciplinar =~ v2+v12+v15\r\n      punitivo =~ v3+v7+v10+v14+v11+v8\\nautonomo + dialogal + disciplinar + punitivo ~ v43 + v44 + v45 + v46 + v47\"\r\n\r\nIf I use semPaths(model), it works,\r\n\r\nBut If I try to plot it after fitting with ordered data, it doesnt:\r\n\r\nfit<-cfa(model,data=data,ordered=names(data[1:42))\r\n\r\nsemPaths(fit)\r\n\r\nI get the following error \r\nError in `colnames<-`(`*tmp*`, value = c(\"v41\", \"v19\", \"v20\", \"v18\", \"v17\",  : \r\n  attempt to set 'colnames' on an object with less than two dimensions\r\n\r\n\r\nBut If I try \r\n\r\nfit<-cfa(model,data=data)\r\n\r\nsemPaths(fit), it works perfectly.\r\n\r\nI can't understand why chaging the variables to ordered, it throws this error."},"comment":{"url":"https://api.github.com/repos/SachaEpskamp/semPlot/issues/comments/274454875","html_url":"https://github.com/SachaEpskamp/semPlot/issues/9#issuecomment-274454875","issue_url":"https://api.github.com/repos/SachaEpskamp/semPlot/issues/9","id":274454875,"user":{"login":"jjesusfilho","id":11723505,"avatar_url":"https://avatars.githubusercontent.com/u/11723505?v=3","gravatar_id":"","url":"https://api.github.com/users/jjesusfilho","html_url":"https://github.com/jjesusfilho","followers_url":"https://api.github.com/users/jjesusfilho/followers","following_url":"https://api.github.com/users/jjesusfilho/following{/other_user}","gists_url":"https://api.github.com/users/jjesusfilho/gists{/gist_id}","starred_url":"https://api.github.com/users/jjesusfilho/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjesusfilho/subscriptions","organizations_url":"https://api.github.com/users/jjesusfilho/orgs","repos_url":"https://api.github.com/users/jjesusfilho/repos","events_url":"https://api.github.com/users/jjesusfilho/events{/privacy}","received_events_url":"https://api.github.com/users/jjesusfilho/received_events","type":"User","site_admin":false},"created_at":"2017-01-23T10:45:24Z","updated_at":"2017-01-23T10:45:24Z","body":"Thank you very much.\n\n2017-01-23 8:18 GMT-02:00 fsdias <notifications@github.com>:\n\n> Fix confirmed in the development version, thanks a lot!\n>\n> —\n> You are receiving this because you were mentioned.\n> Reply to this email directly, view it on GitHub\n> <https://github.com/SachaEpskamp/semPlot/issues/9#issuecomment-274449000>,\n> or mute the thread\n> <https://github.com/notifications/unsubscribe-auth/ALLi8U34NXie6N8zjEUlwEGWguoKxvpcks5rVH6EgaJpZM4Ld2qb>\n> .\n>\n\n\n\n-- \nJosé de Jesus Filho\nDoutorando - Fundação Getulio Vargas (EAESP-APG)\n(11) 2372-9811 (11) 98522-0210\nhttp://www.josejesus.info\n"}}
{"actor":{"display_login":"jjesusfilho"}}