[R] Log plus one transformation in R

Spencer Graves spencer.graves at effectivedefense.org
Mon Dec 12 17:35:26 CET 2016


       "?log" includes documentation for "log1p" in the base package


       Will that work?


       Spencer Graves


On 12/12/2016 10:23 AM, Faradj Koliev wrote:
> Hi all,
>
> How do I perform log(x+1) in R?
>
> log1p_trans() from the package ”scales" doesn’t seem to work for me.
>
> Best,
> Faradj
> ______________________________________________
> 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.



More information about the R-help mailing list