Henrique,

This code below from a R-help helper worked.

> dat <-data.frame(f)
> dat2<-dat[dat$d<0,]
> dat.lm <-lm(c~d, data=dat2)


Thanks again,
Michael Just

On Sat, Oct 18, 2008 at 5:22 PM, Henrique Dallazuanna <[EMAIL PROTECTED]> wrote:
> Works for me.
>
> dat.lm <-lm(c~d, data = dat, subset=d < 0)
>
> Please see if you have dat with d and c columns names.
>
>

______________________________________________
R-help@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.

Reply via email to