[R] Least-squares means

John Fox jfox at mcmaster.ca
Mon Mar 10 18:46:19 CET 2003


Dear Philippe,

Take a look at effect, all.effects, and related functions (such as plot 
methods) in the car package. It will probably do what you want, and works 
for linear and generalized linear models. A slightly more general version 
is planned for the next release of car.

John

At 04:39 PM 3/10/2003 +0100, Philippe Hupé wrote:
>Is there any function to compute Least-squares means from a linear model 
>as lsmeans does in SAS.

____________________________
John Fox
Department of Sociology
McMaster University
email: jfox at mcmaster.ca
web: http://www.socsci.mcmaster.ca/jfox



More information about the R-help mailing list