-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
VMI - incvars - missing data visualization #22
Comments
all that message means is that you don't have a column called age_groups -- btw, would comment the stuff you don't use all the time, like the On Fri, Jun 29, 2012 at 7:35 AM, mworni <
|
Don't understand - when I use the CrossTable(age_groups, missing.include=TRUE)
Total Observations in Table: 100829
years | |-------------|-------------|-------------|-------------|-------------| |-------------|-------------|-------------|-------------|-------------|
I get a result - but when I use it in the incvars command - it doesn't On Sun, Jul 1, 2012 at 6:36 AM, Ricardo Pietrobon <
|
just realized that when I was creating the subset even after recoding my Is it possible that age_group is not really attached to the nsqip.data On Sun, Jul 1, 2012 at 10:09 AM, Mathias Worni mathiasworni@gmail.comwrote:
|
so, i found that the variable wasn't there through names(nsqip.data) and On Sun, Jul 1, 2012 at 4:23 AM, mworni <
|
I created this variable in the "variable recoding" section of the script. On Sun, Jul 1, 2012 at 1:35 PM, Ricardo Pietrobon <
|
this is getting hard -- i can't organize the file because we are working at
On Sun, Jul 1, 2012 at 7:39 AM, mworni <
|
thought a bit more about this. if i change the file structure now, with you On Sun, Jul 1, 2012 at 9:34 AM, Ricardo Pietrobon pietr007@gmail.comwrote:
|
Ricardo - I started to play with VMI. I got some code to insert for the script. See page 3 of the "VIM imputation GUI" document I saved on the shared gdrive folder for the code in orginal.
I know that the mistake comes up because of "age_groups" because when I take this variable out, I don't get the error message anymore - but I don't know why this happens. I tried to reclass age_groups to missing - but this didn't help.
Any idea?
Btw. same happens here when I add preopsepsisclass to the incvars command beldow.
CrossTable(preopsepsisclass, missing.include=TRUE)
incvars <- c(paste(c("bmiclass", "bmi", "highasa", "residentpresent", "preophospitallos")))
nsqip.data[, incvars] <- log10(nsqip.data[, incvars] + 1)
aggr(nsqip.data[, incvars], numbers=TRUE, prop=c(TRUE, FALSE))
The text was updated successfully, but these errors were encountered: