[R] transformTukey

Ivan Krylov kry|ov@r00t @end|ng |rom gm@||@com
Wed Dec 15 14:20:43 CET 2021


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