On 11.10.2011 10:25, taby gathoni wrote:
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)
What is cut2? I get R> cut2 Error: object 'cut2' not found What is cross_val? I get R> cross_val Error: object 'cross_val' not found
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)
What is CrossTable? What is cluster?
Please assist me to get my 7 bins. How can i plot an output of the cross table as a historgram of factor rate vs bins?
Help us to reproduce at first! Uwe Ligges
Any help will be highly appreciated. Kind regards, Taby An idea not coupled with action will never get any bigger than the brain cell it occupied. Arnold Glasgow ...... "Attempt something large enough that failure is guaranteed…unless God steps in!" ______________________________________________ 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.
______________________________________________ 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.