[R] Problem with 'lars' package

Vladimir Subbotin
Fri, 05 Nov 2010 20:14:30 -0000

Hello,

I have problems with 'lars' package. I found the previous post of the
person
who had the same issue, but the suggested solution in that post did not help
me.

I created the matrices:

ResponseMatrix <- data.frame (GAOdecision=GAOdecision)
PredictorsMatrix <- data.frame (WeaponvsNon = WeaponvsNon, ProductvsService
= ProductvsService, KDuration = KDuration, BusinessSize = BusinessSize,
Bidders = Bidders, Staging = Staging, Criteria = Criteria, KPricing KPricing,
Political = Political)

and then
output <- lars(PredictorsMatrix, ResponseMatrix)
*Error in one %*% x : requires numeric/complex matrix/vector arguments*
*
*
I did not create any variables x in my code. I also used rm(x) in the
beginning of my code, but it did not help.

I would really appreciate any help.

Thanks,
Vlad

	[[alternative HTML version deleted]]