s-news
[Top] [All Lists]

lme leads to error related to contrasts

To: <s-news@lists.biostat.wustl.edu>
Subject: lme leads to error related to contrasts
From: "John Sorkin" <jsorkin@grecc.umaryland.edu>
Date: Sat, 26 Feb 2005 23:27:31 -0500
I ran the following code in S-Plus 6.2 running on Win 2k.
 
options(contrasts=c(factor="contr.SAS",ordered="contr.poly"))
fm2 <- lme(WLFFUN ~ age|SUBNUM, data=""
 
I hope someone can help me understand the meaning and solution to the error message listed below.

Problem in contr.SAS("TRUE", T): Contrasts not defined for 0 degrees of freedom
Use traceback() to see the call stack

Thank you,
John
 
John Sorkin M.D., Ph.D.
Chief, Biostatistics and Informatics
Baltimore VA Medical Center GRECC and
University of Maryland School of Medicine Claude Pepper OAIC
 
University of Maryland School of Medicine
Division of Gerontology
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
 
410-605-7119
NOTE NEW EMAIL ADDRESS:
jsorkin@grecc.umaryland.edu
<Prev in Thread] Current Thread [Next in Thread>
  • lme leads to error related to contrasts, John Sorkin <=