[R] Changeing logarithms

Sorkin, John jsorkin at som.umaryland.edu
Sun Nov 19 14:46:29 CET 2017


I am not certain what question you are asking. Perhaps the following will help:


log(x) give the natural logarithm of x

log10(x) gives the common (base 10) logarithm of x.

John


John David Sorkin M.D., Ph.D.
Professor of Medicine
Chief, Biostatistics and Informatics
University of Maryland School of Medicine Division of Gerontology and Geriatric Medicine
Baltimore VA Medical Center
10 North Greene Street
GRECC (BT/18/GR)
Baltimore, MD 21201-1524
(Phone) 410-605-7119
(Fax) 410-605-7913 (Please call phone number above prior to faxing)



________________________________
From: R-help <r-help-bounces at r-project.org> on behalf of Aino Rprogram <ainorprogram at gmail.com>
Sent: Saturday, November 18, 2017 7:21 PM
To: r-help at r-project.org
Subject: [R] Changeing logarithms

Hi!

I'm using a large panel data, and now I have faced some difficulties with
my analysis. The predictors are not normally distributed and there are
quite many outliers (some of them are influential though).

I have tried to change the logarythm, but i'm not sure, how to do that. I
want also draw a plot picture in which logarythms of predictors x and y are
changed. How could I do that?

Thanx before-hand!

Liz

        [[alternative HTML version deleted]]

______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

	[[alternative HTML version deleted]]



More information about the R-help mailing list