Skip to content
Prev 33793 / 63424 Next

Unexpected behaviour initializing S4 class

Hi Kruno --
Krunoslav Sever wrote:
This is R argument matching at work
g(kl = 3, x = 2, .Object)

specifically partial matching of named arguments taking precedence of
positional matching of unnamed arguments.
yes, this avoids mixing matching by name and by position.

Martin Morgan