Error in model.frame.default(formula = raw$flow ~ raw$level, drop.unused.levels = TRUE) :
invalid type (NULL) for variable 'raw$level'
and don't know why. Searching online, it seems that this error usually indicates a non-numeric variable/value. Using is.numeric(raw$level), is.character, is.matrix, is.integer, is.vector they are all false. I tried converting the column to numbers using as.numeric(raw$level) but it still doesn't work. I think it has something to do with importation of data but not sure. I import excel based .csv files with two columns and single word headers for simplicity. There are no letters or non-period punctuation in the values. Bruno,
Could you provide the output of str(raw)? It will give the names and types of each of the variables in your data.
Noam
--
Check out our R resources at http://www.noamross.net/davis-r-users-group.html
---
You received this message because you are subscribed to the Google Groups "Davis R Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to davis-rug+...@googlegroups.com.
Visit this group at http://groups.google.com/group/davis-rug.
For more options, visit https://groups.google.com/d/optout.
--
Check out our R resources at http://www.noamross.net/davis-r-users-group.html
---
You received this message because you are subscribed to the Google Groups "Davis R Users' Group" group.
To unsubscribe from this group and stop receiving emails from it, send an email to davis-rug+...@googlegroups.com.
Visit this group at http://groups.google.com/group/davis-rug.
For more options, visit https://groups.google.com/d/optout.