From bbolker at gmail.com  Thu Mar 24 01:20:40 2011
From: bbolker at gmail.com (Ben Bolker)
Date: Thu, 24 Mar 2011 00:20:40 +0000
Subject: [Rd] import question
References: <4D8A85F4.1070507@gmail.com>
Message-ID: <loom.20110324T011932-297@post.gmane.org>

Ben Bolker <bbolker <at> gmail.com> writes:

> 
> 
>   I have been struggling all day to import a particular function/method
> combination (ranef(), which extracts the random effects from a mixed
> model fit) from the nlme package into another package ... so far without
> success.
> 

  Answered my own question, finally.

  Apparently an explicit

export(ranef)

is required, even though there is also an

exportPattern("^[^\\.]")

in the NAMESPACE file, which I would have thought would
export 'ranef' along with everything else ... ?



[Rd] import question
Ben Bolker