I tried running PCR and the results came out like this
> pcr.mod <- pcr(price~date+age+distance+stores+latitude+longitude, data = Estate.train, scale = TRUE, validation = "CV") Error in cvsegments(nobj, k = segments, type = segment.type) : More segments than observations requested
can someone explain to me what this means?
2.1m questions
2.1m answers
60 comments
57.0k users