Dear John, et al.:
What happens if lme4 is loaded before the effect package?
Is this an issue of a user wanting to use two different packages
with potentially conflicting names? What are the standard
recommendations for handling issues like this? Just to test my
comprehension, I assume that the key is that users should routinely
watch for warnings of name conflicts and follow the advice of sect.
"1.6.1 Specifying imports and exports" of "Writing R Extensions" when
that occurs? (This is another reason for writing R packages and using
namespaces, so users can record appropriately what they want in
situations like this and not have to worry about name conflicts later?)
Thanks,
Spencer
On 3/8/2012 4:19 AM, Michael Kubovy wrote:
Dear John,
Thanks for the quick response. It works perfectly.
Michael
On Mar 7, 2012, at 9:19 PM, John Fox wrote:
Dear Michael,
effect() works with lmer(). Just load lme4 after the effect package. See the
penultimate example in ?effect.
I hope this helps,
John
------------------------------------------------
John Fox
Sen. William McMaster Prof. of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/
On Wed, 7 Mar 2012 20:53:20 -0500
Michael Kubovy<kub...@virginia.edu> wrote:
Hi,
I would like to use the effect() function (actually a slightly modified version
of it) on the output of the lmer() function in the lme4 package. But the
effects package requires the nlme pacvkage, which is incompatible with lme4.
Workaround?
______________________________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
for mail add: for FedEx or UPS add:
P.O.Box 400400 Gilmer Hall, Room 102
Charlottesville, VA 22904-4400 485 McCormick Road
USA Charlottesville, VA
22903
room phone
Office: B011 +1-434-982-4729
Lab: B019 +1-434-982-4751
WWW: http://www.people.virginia.edu/~mk9y/
[[alternative HTML version deleted]]
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
--
Spencer Graves, PE, PhD
President and Chief Technology Officer
Structure Inspection and Monitoring, Inc.
751 Emerson Ct.
San José, CA 95126
ph: 408-655-4567
web: www.structuremonitoring.com
______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.