Displaying 2 results from an estimated 2 matches for "glmout".
2008 Aug 13
3
issue building dataframes with matrices.
...issue if one for example builds a dataframe to fit a model,
and then subsequently wants to use predict. You have to work a bit to
avoid a type mismatch error.
> df$out = df$x+df$y+df$yy + rnorm(3)
> df
x y yy out
1 1 1 1 3.066348
2 2 2 2 5.516017
3 3 3 3 11.073452
> glmout = glm(out~x+y+yy,data=df)
> predict(glmout,newdata=data.frame(x=1:3,y=1:3,yy=1:3))
Error: variable 'yy' was fitted with type "nmatrix.1" but type "numeric"
was supplied
>
> predict(glmout,newdata=data.frame(x=1:3,y=1:3,yy=matrix(1:3)))
Error: variable 'y...
2008 Apr 11
1
make check fails if called with --without-recommended-packages
...10.3 x86
> make check
fails,
if configure was called with --without-recommended-packages
for the latest beta.
The problem I stumbled upon is located in utlis. Here comes the relevant part
of utils-Ex.Rout.fail in R-2.7.0/tests/Examples
> ### ** Examples
>
> require(stats)
> glmout <- capture.output(example(glm))
Fehler in .find.package(package, lib.loc, verbose = verbose) :
there is no package called 'MASS'
Calls: capture.output ... eval.with.vis -> eval.with.vis -> <Anonymous> -> .find.package
Ausf?hrung angehalten
Seems tests using recommended...