Davis, Jacob B. wrote: > I have recently fit a binomial link = logit model and I want to visually > see the estimated response across a specific covariate. > > > > I can accomplish this by creating a function that extracts the betas > from the model then forms a linear combination with the classes I'm > interested in next pass the value through the inverse logit function, do > this for each class in a covariate, then plot the results. > > > > My question is: Is there a built in function that will do all of this > for me, where all I have to do is supply the classes for each covariate > I'm interested in and it plots for me? >
Have a look at the following: ?predict ?all.effects in library(effects) ?effect in library(effects) > On a similar note is there a quick way to plot the study size across a > covariate from model results, without creating my own functions? > > > > Thanks in advance, > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Jacob Davis > > Actuarial Analyst > > > > > > > [[alternative HTML version deleted]] > > ______________________________________________ > [email protected] mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html > -- Chuck Cleland, Ph.D. NDRI, Inc. 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 512-0171 (M, W, F) fax: (917) 438-0894 ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
