Skip to content
Prev 8163 / 20628 Next

Help! What are the typical diagnosis that one can do when facing "fail to converge"?

On Thu, May 10, 2012 at 9:10 AM, Ben Bolker <bbolker at gmail.com> wrote:
if so FYI is.numeric tests the mode and the mode of both integer and
numeric classes is numeric so you can simplify slightly to:
if (is.numeric(x)) {
  scale(x)
} else x