[R] transformTukey

Thomas Subia thom@@@@ub|@ @end|ng |rom |m|ndu@tr|e@@com
Wed Dec 15 16:22:27 CET 2021


Thanks Ivan!

This makes perfect sense now!

All the best,

Thomas Subia
Statistician

-----Original Message-----
From: Ivan Krylov <krylov.r00t using gmail.com> 
Sent: Wednesday, December 15, 2021 5:21 AM
To: Thomas Subia via R-help <r-help using r-project.org>
Cc: Thomas Subia <tgs77m using yahoo.com>; Thomas Subia <thomas.subia using fmindustries.com>
Subject: Re: [R] transformTukey

On Wed, 15 Dec 2021 05:11:47 -0800
Thomas Subia via R-help <r-help using r-project.org> wrote:

> data = read.delim("clipboard")

What type of value does read.delim return? Use str() to find out.

> > library(rcompanion)
> > trans_data <- transformTukey(data)
> 
> Error in is.infinite(TRANS) : 
>   default method not implemented for type 'list'

What type of value does transformTukey expect in the "x" argument? See help(transformTukey).

Most likely, your "data" is a data.frame, and transformTukey() expects a vector, requiring you to extract the "Flatness" component from the data.frame using the `[` or the `$` operator.

--
Best regards,
Ivan



More information about the R-help mailing list