[R] Error running LDA

Yun-Fang Juan
Sat, 20 Dec 2003 02:58:40 -0000

oh sorry
here is the error.
Please advice.

thanks,

Yun-Fang

> lda1 <- lda(retention ~ . , data=RetentionDF40[1:10000,]);
Error in lda.default(x, grouping, ...) : variable(s)  11  14  24  29  30  31
32  33  34  35  41  43  44  47  48  49  50  51  54  55  56  57  58  59  60
61  65  66  67  68  70  71  72  74  78  82  85  87  88  89  91  92  93 101
102 103 107 108 109 111 112 117 122 124 125 127 148 151 153 155 156 162 170
173 176 181 182 183 184 186 189 190 192 193 194 196 200 209 212 213 214 215
216 218 220 222 223 224 228 230 231 234 235 236 237 appear to be constant
within groups

----- Original Message -----
From: "Marc R. Feldesman" <feldesmanm at pdx.edu>
To: "Yun-Fang Juan" <yunfang at yahoo-inc.com>; <r-help at
stat.math.ethz.ch>
Sent: Friday, December 19, 2003 6:38 PM
Subject: Re: [R] Error running LDA


> At 06:13 PM 12/19/2003, Yun-Fang Juan wrote:
>  >Hi,
>  >I try to run the linear discriminant analysis using the following
command
>  >but got an error like the following.
>  >lda1 <- lda(retention ~ . , data=RetentionDF40[1:10000,]);
>  >
>
> What error did you get?  Did you read the help file for lda?  What version
> of R and what version of VR are you using?  What platform?
>
>