Re: [R] cbind formula definition

2009-09-09 Thread Biedermann, Jürgen
Super! It works. :-) Thanks a lot, you both. Greetings Jürgen Petr PIKAL schrieb: > Hi > r-help-boun...@r-project.org napsal dne 09.09.2009 10:07:49: > > >> Hi Henrique, >> >> Thanks for your reply. >> I tried you suggestion but it didn't work with the poLCA package. >> >> Maybe i didn't exp

Re: [R] cbind formula definition

2009-09-09 Thread Petr PIKAL
Hi r-help-boun...@r-project.org napsal dne 09.09.2009 10:07:49: > Hi Henrique, > > Thanks for your reply. > I tried you suggestion but it didn't work with the poLCA package. > > Maybe i didn't express myself good. > > The normal syntax is: > > f <- cbind(V1,V2,V3)~1 > poLCA(f,data) You compl

Re: [R] cbind formula definition

2009-09-09 Thread Biedermann, Jürgen
Hi Henrique, Thanks for your reply. I tried you suggestion but it didn't work with the poLCA package. Maybe i didn't express myself good. The normal syntax is: f <- cbind(V1,V2,V3)~1 poLCA(f,data) and what I wanna do is kind of use an expression to automatically generate the "V1,V2,V3" argume

Re: [R] cbind formula definition

2009-09-08 Thread Henrique Dallazuanna
I don't understand the cbind(bi) sintax, but you can do this with the folowing: (Using iris data from R) form <- formula(paste(paste(names(iris), collapse = " + "), "~ 1")) 2009/9/8 "Biedermann, Jürgen" > Hi there, > > I have the following problem: > > I have a package called "polLCA" which has

[R] cbind formula definition

2009-09-08 Thread Biedermann, Jürgen
Hi there, I have the following problem: I have a package called "polLCA" which has the following syntax: poLCA(formula, data) and needs the following formula definition: formula <- cbind(V1,V2,V3,...) So far so good. What I tried now was the following: #Get "data" with the "read.table" fuct