Johnston
Cc: R-help@r-project.org
Subject: Re: [R] Help with fmodel in statisticalModeling package
I have no clue about the internals of fmodel() (and no real intention of
getting one...), but pragmatically and to avoid getting sidetracked, how about
converting the bogus variable to zero-one
I have no clue about the internals of fmodel() (and no real intention of
getting one...), but pragmatically and to avoid getting sidetracked, how about
converting the bogus variable to zero-one:
CPS85$bogus <- as.numeric(rnorm(nrow(CPS85)) > 0)
-pd
> On 6 Sep 2019, at 11:57 , Paul Johnston
>
Hi
Anyone able to help me with this.
I'm doing a datacamp course and the effect of adding a "bogus variable" to a
linear model.
I make a model and initially fmodel works fine.
When I have a second model which uses this "bogus variable" it complains about
the type of this variable.
The code belo
3 matches
Mail list logo