PCMBase (version 1.2.10)

PCMFindMethod: Find the S3 method for a given PCM object or class-name and an S3 generic

Description

Find the S3 method for a given PCM object or class-name and an S3 generic

Usage

PCMFindMethod(x, method = "PCMCond")

Arguments

x

a character string denoting a PCM S3 class name (e.g. "OU"), or a PCM object.

method

a character string denoting the name of an S3 generic function. Default: "PCMCond".

Value

a function object corresponding to the S3 method found or an error is raised if no such function is found for the specified object and method.