[R] as.formula doesn't want to take a phrase
David Winsemius
dwinsemius at comcast.net
Mon Apr 18 21:48:11 CEST 2011
On Apr 18, 2011, at 3:44 PM, Dimitri Liakhovitski wrote:
> Hello!
>
> I am trying to create a formula object using as.formula. But it's
> not working:
>
> examplephraze<-"for.my.example"
> myformula<-as.formula(paste(examplephraze,"~group, sum,
> data=mydata",sep=""))
>
Too much stuff inside as.formula.
> What's the problem?
> Thanks a lot!
>
> --
> Dimitri Liakhovitski
> Ninah Consulting
> www.ninah.com
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
David Winsemius, MD
West Hartford, CT
More information about the R-help
mailing list