Open rpruim opened 9 years ago
This example warns about the implicit use of age as an input to dgdeduc:
dgdeduc
> dgdeduc <- D(g(age=age, educ=educ) ~ educ) Warning message: In .local(object, ...) : Implicit variables without default values (dangerous!): age
It can be avoided if we set a default value for age:
age
> dgdeduc <- D(g(age=age, educ=educ) ~ educ, age=20)
Do we want to avoid the warning here or leave it as is?
@dtkaplan
Take a look at this example and see what you think.
This example warns about the implicit use of age as an input to
dgdeduc
:It can be avoided if we set a default value for
age
:Do we want to avoid the warning here or leave it as is?