Re: [R] as.formula doesn't want to take a phrase

From: David Winsemius <dwinsemius_at_comcast.net>
Date: Mon, 18 Apr 2011 15:48:11 -0400

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



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. Received on Mon 18 Apr 2011 - 19:53:00 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 18 Apr 2011 - 20:00:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive