Displaying 1 result from an estimated 1 matches for "r40813".
Did you mean:
40813
2007 Mar 07
3
possible bug in model.frame.default
...04
svn rev
40813
language
R
version.string R version 2.5.0 Under development (unstable) (2007-03-04
r40813)
Now a simple example to (hopefully) reproduce the bug (after a
rm(list=ls())):
> dat=data.frame(y=rnorm(10),x1=runif(10),x2=runif(10))
> weights=1:10/(sum(1:10))
> form <- as.formula("y~x1+x2")
# here is the error
> lm(form,data=dat,weights=weights)
Erreur dans mode...