Re: [R] cut & histogram

From: David Winsemius <dwinsemius_at_comcast.net>
Date: Tue, 19 Apr 2011 10:50:22 -0400

On Apr 19, 2011, at 10:32 AM, Santosh wrote:

> Dear Rxperts,
>
> Below is a small sample of values (cut short due to space
> considerations
> while posting).. I was wondering if it is possible to construct
> boundaries
> (or intervals) based on the distribution of points. Is it anything
> similar
> to boundary detection of distributions?
> x1 <-
> c
> (0.00,0.25,0.50,1.00,2.00,3.00,4.00,5.00,7.03,10.00,14.01,21.00,28.02,14.00,28.00,7.00,29.00,7.01,10.02,6.97,10.06,21.03,28.01,14.10,28.14
> ,
> 10.03,7.05,35.00,21.01,10.05,14.02,21.07,7.02,14.12,10.04,0.02,0.06,0.10,0.27,0.52,1.02,2.02,3.02,4.02,5.02,21.02,21.10,0.11,28.04,28.12
> ,
> 27.98,14.04,21.06,14.05,28.03,8.00,13.99,27.99,21.04,5.28,28.11,28.05,13.98,2.01,5.99,15.02,28.06,3.07,1.01,6.04,6.01,7.99,13.96,0.99,3.01
> ,
> 20.98,34.99,13.97,6.14,7.07,28.10,2.99,6.00,6.99,14.03,34.98,4.01,4.99,20.99,27.97,0.98,6.07,28.09,20.97,0.93,1.93,5.01,6.96,20.94,0.92
> ,
> 20.95,8.07,14.07,27.95,34.95,2.97,4.96,20.96,27.96,34.96,2.96,33.99,34.00,6.72,27.71,6.91,25.91,26.02,7.14,26.16,26.19,6.94,28.95,28.98,6.82
> ,
> 27.85,6.85,27.88,6.86,28.88,6.93,27.91,11.92,20.92,7.94,28.92,9.76,32.81,10.94,31.92,6.95,29.94,29.96,8.94,28.94,6.89,28.96,9.69,30.79,30.80
> ,
> 6.90,29.91,9.93,30.95,6.88,7.89,31.97,31.98,3.92,7.91,31.72,6.83,29.88,29.80,29.81,27.90,32.94,28.93,28.97,7.83,28.76,28.77,6.98,34.01,10.97
> )
>
> hist(x1,brea=200), # arbitrarily chosen high number of breakpoints
>
> Would highly appreciate your thoughts/suggestions...

http://finzi.psych.upenn.edu/views/Cluster.html

(Not the CRAN link because I used RSiteSearch.) http://search.r-project.org/cgi-bin/namazu.cgi?query=clustering&max=100&result=normal&sort=score&idxname=views

>
> Thanks so much
>
> Santosh
>
> [[alternative HTML version deleted]]

Isn't it time that you learned how to post in plain text?

-- 

David Winsemius, MD
West Hartford, CT

______________________________________________
R-help_at_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.
Received on Tue 19 Apr 2011 - 14:52:34 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 19 Apr 2011 - 15:15:31 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive