transformTukey
Thanks Ivan! This makes perfect sense now! All the best, Thomas Subia Statistician -----Original Message----- From: Ivan Krylov <krylov.r00t at gmail.com> Sent: Wednesday, December 15, 2021 5:21 AM To: Thomas Subia via R-help <r-help at r-project.org> Cc: Thomas Subia <tgs77m at yahoo.com>; Thomas Subia <thomas.subia at fmindustries.com> Subject: Re: [R] transformTukey On Wed, 15 Dec 2021 05:11:47 -0800
Thomas Subia via R-help <r-help at 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