[R] R: log and Log Histogram

Alessandro alessandro.montaghi at unifi.it
Tue Aug 5 02:01:55 CEST 2008


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 a auckland.ac.nz] 
Inviato: lunedì 4 agosto 2008 16.30
A: Alessandro
Cc: r-help a 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 a auckland.ac.nz

Graduate Officer, Department of Statistics
Director of Consulting, Department of Statistics



More information about the R-help mailing list