Re: [R] Svyglm Error

2017-07-05 Thread Courtney Benjamin
roject.org Subject: Re: [R] Svyglm Error hi, i am not hitting an error when i copy and paste your code into a fresh console. maybe compare your sessionInfo() to mine? > sessionInfo() R version 3.4.1 (2017-06-30) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows Serve

Re: [R] Svyglm Error

2017-07-05 Thread Anthony Damico
hi, i am not hitting an error when i copy and paste your code into a fresh console. maybe compare your sessionInfo() to mine? > sessionInfo() R version 3.4.1 (2017-06-30) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows Server 2008 R2 x64 (build 7601) Service Pack

[R] Svyglm Error

2017-07-05 Thread Courtney Benjamin
Greetings, I am revisiting code from several different files I have saved from the past and all used to run flawlessly; now when I run any of the svyglm related functions, I am coming up with an error: Error in model.frame.default(formula = F3ATTAINB ~ F1PARED, data = data, : the ... list do

Re: [R] Svyglm Error in Survey Package

2016-09-25 Thread Courtney Benjamin
set > = pcttest > 90))) > --- snip--- > > The last two commands produce the same results. > > I hope this helps, > John > > - > John Fox, Professor > McMaster University > Hamilton, Ontario > Canada

Re: [R] Svyglm Error in Survey Package

2016-09-25 Thread Fox, John
t; > The last two commands produce the same results. > > I hope this helps, > John > > - > John Fox, Professor > McMaster University > Hamilton, Ontario > Canada L8S 4M4 > Web: socserv.mcmaster.ca/jfox > > > > > -Ori

Re: [R] Svyglm Error in Survey Package

2016-09-24 Thread Fox, John
McMaster University Hamilton, Ontario Canada L8S 4M4 Web: socserv.mcmaster.ca/jfox > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Courtney > Benjamin > Sent: September 23, 2016 11:01 PM > To: r-help@r-project.org > Subj

Re: [R] Svyglm Error in Survey Package

2016-09-23 Thread Anthony Damico
hi could you make this a minimal reproducible example? On Sep 24, 2016 12:03 PM, "Courtney Benjamin" wrote: > In attempting to use the svyglm call in the R Survey Package, I am > receiving the error: Error in pwt[i] : invalid subscript type 'list' > > I have not been able to find a lot of inform

[R] Svyglm Error in Survey Package

2016-09-23 Thread Courtney Benjamin
In attempting to use the svyglm call in the R Survey Package, I am receiving the error: Error in pwt[i] : invalid subscript type 'list' I have not been able to find a lot of information on how to resolve the error; one source advised it was related to how the subsetting command was executed. Th

Re: [R] svyglm error message

2014-02-11 Thread Jeff Newmiller
This is probably a case of incorrect import format conversion... You may be looking at the visual representation of the data within R but not the structure of the data within R. Use the str function to find out more about your data as R understands it... if you actually have empty strings mixed

Re: [R] svyglm error message

2014-02-11 Thread Claire Wladis
Yes, when I say that the cells are blank in the data frames I do mean that the contents of the cells are blank characters "". I have put in a lot of time trying to understand R, but I have no formal programming background, so I do not necessarily always know the correct terminology for something, a

Re: [R] svyglm error message

2014-02-11 Thread Bert Gunter
Disclaimer: I have not followed this thread and claim no statistical expertise. I just wanted to point out a couple of misconceptions that may be relevant. Inline below. Cheers, Bert Bert Gunter Genentech Nonclinical Biostatistics (650) 467-7374 "Data is not information. Information is not know

Re: [R] svyglm error message

2014-02-11 Thread Claire Wladis
Thanks for your reply, Thomas. Yes, this is NCES data. There are no negative or missing weights. I am not a programmer and so I'm afraid I don't understand what you mean by not being able to have blank cells in a data.frame object - What I mean specifically is that in the csv file which I impor

Re: [R] svyglm error message

2014-02-11 Thread Thomas Lumley
This is some sort of NCES data, right? I can't see any way to get that particular error (which happens inside glm.fit()) for a logistic model. Are there any negative or missing weights? What do you mean 'represented by blank cells' -- you can't have blank cells in a data.frame object? What d

[R] svyglm error message

2014-02-10 Thread Claire Wladis
Hello, I am using the survey package for the first time to analyze a dataset that has both weights and 200 BRR replication weights. When I try to run svyglm on the output from svrepdesign, I get an error message that I do not know how to interpret, and an extended period of time searching for this