Skip to content
Back to formatted view

Raw Message

Message-ID: <Pine.SOL.4.20.0402261434140.16987-100000@santiam.dfci.harvard.edu>
Date: 2004-02-26T19:34:48Z
From: Jeff Gentry
Subject: my own function given to lapply
In-Reply-To: <1077817153.4292.57.camel@christophl>

> treshold <- function(pred) {
  ^^^^^^^^

> Error in match.fun(FUN) : Object "threshold" not found
                                    ^^^^^^^^^

If this is a direct cut & paste, you have a typo as you've defined the
function as "treshold".