Re: [R] R: log and Log Histogram

From: John Kane <jrkrideau_at_yahoo.ca>
Date: Tue, 05 Aug 2008 07:23:28 -0700 (PDT)


It looks like x is not a numeric. Try
str(testground)
to see what the data set looks like.

> From: Alessandro <alessandro.montaghi_at_unifi.it>
> Subject: [R] R: log and Log Histogram
> To: "'David Scott'" <d.scott@auckland.ac.nz>
> Cc: r-help_at_r-project.org
> Received: Monday, August 4, 2008, 8:01 PM
> Hi david,
>
> I tried HyperbolicDist but I have this problem (I wish
> transform Z value)
>
> Library (HyperbolicDist)
> Data (testground) # X,Y and Z value in txt file
> changetestground <-
> testground[-length(testground)]/testground[-1]
> hist(change)
> Error in hist.default(change) : 'x' deve essere
> numeric
> logHist(change)
> Error in hist.default(x, plot = FALSE) : 'x' must
> be numeric
>
> THANK
>
> Ale
>
> -----Messaggio originale-----
> Da: David Scott [mailto:d.scott_at_auckland.ac.nz]
> Inviato: luned́ 4 agosto 2008 16.30
> A: Alessandro
> Cc: r-help_at_r-project.org
> Oggetto: Re: [R] log and Log Histogram
>
> On Mon, 4 Aug 2008, Alessandro wrote:
>
> > Hi All,
> >
> >
> >
> > I have a X,Y and Z text file. I wish modify the X
> value in a logarithmic
> > value and to plot all log(Z) with Histogram. I try
> different code but I
> > have a problem to find the solution.
> >
>
> My package HyperbolicDist has a log histogram function.
>
> David Scott
>
> _________________________________________________________________
> David Scott Department of Statistics, Tamaki Campus
> The University of Auckland, PB 92019
> Auckland 1142, NEW ZEALAND
> Phone: +64 9 373 7599 ext 86830 Fax: +64 9 373 7000
> Email: d.scott_at_auckland.ac.nz
>
> Graduate Officer, Department of Statistics
> Director of Consulting, Department of Statistics
>
> ______________________________________________
> 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.



Ask a question on any topic and get answers from real people. Go to Yahoo! Answers and share what you know at http://ca.answers.yahoo.com

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 05 Aug 2008 - 14:27:24 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 05 Aug 2008 - 15:33:21 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