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]]

______________________________________________
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.

Reply via email to