0
I want to correlate the variable number of leaves of the plant with the variables: temperature, root size, sun incidence, relative soil humidity and others. Only I have some NA in almost all independent variables and I don’t want to exclude the lines with NA because my sample "n" will become small. Is there any way to make a GLM with n different samples?
No, I believe there is no way. See the argument
na.action
inhelp('glm')
for various ways of dealing with valuesNA
.– Rui Barradas
Thank you. I will look yes
– Bruno
Cannot run traditional Glms with ns different. There are ways to deal with this, depending on what your data looks like, but this is outside the scope of Stack Overflow (the questions here should be specific about programming). If you can read and write in English, ask Cross Validated, the Stack Exchange website aimed at statistical analysis.
– Carlos Eduardo Lagosta
thanks for the tip.
– Bruno