Displaying 1 result from an estimated 1 matches for "cross_val".
2011 Oct 11
1
warning with cut2 function
Dear r user,
please find my attached sample of the dataset i? am using to create a crosstable and eventually plot a histogram from the output.
I am using? the cut2 function to create bins, about 7 of them using the code after reading the data:
cluster <- cut2(cross_val$value, g=7)
I get the warning:
Warning message:
In min(xx[xx > upper]) : no non-missing arguments to min; returning Inf
additionally, the bins become 6 instead of 7 through the crossTable function:
cross1 <-CrossTable(cross_val$factor, cluster,prop.chisq=FALSE,prop.r=FALSE,prop.t=FALSE)...