search for: datamiss

Displaying 3 results from an estimated 3 matches for "datamiss".

2011 Jul 18
1
Missing values and geeglm
Dear all I am struggling with how to deal with missing values using geeglm. I know that geeglm only works with complete datasets, but I cannot seem to get the na.omit function to work. For example assuming DataMiss contains 3 columns, each of which has missing observations, and an id column with no missing info then identifies the clusters. Outcome: 2 level integer Predictor: numeric variable Confounder: 3 level integer If I "manually" remove the missing values then run the model, there is no pro...
2007 Dec 15
1
modify a data.frame within a function
...n, so I suspect the problem is the call of the single column within the function. removedata<-function(datafull,var.removed) { attach(datafull) NArandom<-rnorm(n=length(var.removed), mean=0, sd=1) for (i in 1:length(var.removed)) if(NArandom[i]>0) var.removed[i]<-"NA" datamiss<<-datafull detach(datafull) } -- Yuval Sapir, PhDResearcherInstitute of Evolution, Haifa UniversityHaifa, Israel 3190‎ [[alternative HTML version deleted]]
2012 Mar 02
1
Vector errors and missing values
...regression error: Error in pmax(eta, -thresh) : cannot mix 0-length vectors with others The dataset that I am using has some missing data. R puts NA values in place of the missing values. I am not sure if this is what is causing my vector problems or not. I have tried to use the 'data=na.omit(DataMiss)' in my glm as well as the command: 'na.action=na.exclude', but I am not sure if I am using the correct syntax because it is not working. Any help would be most appreciated. -- View this message in context: http://r.789695.n4.nabble.com/Vector-errors-and-missing-values-tp4437306p4437...