Re: [R] Syntax for fit.contrast (from package gmodels)

2017-10-23 Thread Martin Maechler
> Sorkin, John > on Sun, 22 Oct 2017 22:56:16 + writes: > David, > Thank you for responding to my post. > Please consider the following output (typeregional is a factor having two levels, "regional" vs. "general"): > Call: > glm(formula = events ~ type, fam

Re: [R] Syntax for fit.contrast (from package gmodels)

2017-10-22 Thread David Winsemius
0 North Greene Street > GRECC (BT/18/GR) > Baltimore, MD 21201-1524 > (Phone) 410-605-7119 > (Fax) 410-605-7913 (Please call phone number above prior to faxing) > > > > From: David Winsemius > Sent: Sunday, October 22, 2017 8:15 PM > To: Sorkin, John > Cc: r-help@r-proj

Re: [R] Syntax for fit.contrast (from package gmodels)

2017-10-22 Thread Sorkin, John
Subject: Re: [R] Syntax for fit.contrast (from package gmodels) > On Oct 22, 2017, at 5:01 PM, Sorkin, John wrote: > > David, > Again you have my thanks!. > You are correct. What I want is not technically a contrast. What I want is > the estimate for "regional" and

Re: [R] Syntax for fit.contrast (from package gmodels)

2017-10-22 Thread David Winsemius
t; GRECC (BT/18/GR) > Baltimore, MD 21201-1524 > (Phone) 410-605-7119 > (Fax) 410-605-7913 (Please call phone number above prior to faxing) > > > > From: David Winsemius > Sent: Sunday, October 22, 2017 7:56 PM > To: Sorkin, John > Cc: r-help@r-project.o

Re: [R] Syntax for fit.contrast (from package gmodels)

2017-10-22 Thread Sorkin, John
Sorkin, John Cc: r-help@r-project.org Subject: Re: [R] Syntax for fit.contrast (from package gmodels) > On Oct 22, 2017, at 3:56 PM, Sorkin, John wrote: > > David, > Thank you for responding to my post. > > Please consider the following output (typeregional is a factor ha

Re: [R] Syntax for fit.contrast (from package gmodels)

2017-10-22 Thread David Winsemius
edicine > Baltimore VA Medical Center > 10 North Greene Street > GRECC (BT/18/GR) > Baltimore, MD 21201-1524 > (Phone) 410-605-7119 > (Fax) 410-605-7913 (Please call phone number above prior to faxing) > > > > From: David Winsemius > Sent: Sunday, October 22,

Re: [R] Syntax for fit.contrast (from package gmodels)

2017-10-22 Thread Sorkin, John
faxing) From: David Winsemius Sent: Sunday, October 22, 2017 1:20 PM To: Sorkin, John Cc: r-help@r-project.org Subject: Re: [R] Syntax for fit.contrast > On Oct 22, 2017, at 6:04 AM, Sorkin, John wrote: > > I have a model (run with glm) that has a

Re: [R] Syntax for fit.contrast

2017-10-22 Thread David Winsemius
> On Oct 22, 2017, at 6:04 AM, Sorkin, John wrote: > > I have a model (run with glm) that has a factor, type. Type has two levels, > "general" and "regional". I am trying to get estimates (and SEs) for the > model with type="general" and type ="regional" using fit.contrast ?fit.contrast No d

[R] Syntax for fit.contrast

2017-10-22 Thread Sorkin, John
I have a model (run with glm) that has a factor, type. Type has two levels, "general" and "regional". I am trying to get estimates (and SEs) for the model with type="general" and type ="regional" using fit.contrast but I can't get the syntax of the coefficients to use in fit.contrast correct. I