popProt-class: Class '"popProt"'

Description Extends Fields Methods See Also

Description

Reference class representing a population protocol

Extends

All reference classes extend and inherit methods from "envRefClass".

Fields

prots:

A list of individual protocols. Each individual protocol consists of a vector of times and a Fisher information matrix

Ptr:

externalptr to the instance of the C++ class

Methods

Fim():

returns the Fisher information matrix for the protocol

LMat():

returns the Cholesky factor of the Fisher information matrix

ajout():

One additive step in the Fedorov-Wynn algorithm. Returns TRUE if the step was successful, otherwise FALSE.

freq():

returns the vector of frequencies

iFim(i, base1):

returns the Fisher information matrix for the ith protocol. base1 is a logical scalar indicating if the index, i, is 1-based, as in R. The alternative is 0-based, as in C/C++. By default 1-based indexing is used.

iTime(i, base1):

returns the time vector for the ith protocol. base1 is a logical scalar indicating if the index, i, is 1-based, as in R. The alternative is 0-based, as in C/C++. By default 1-based indexing is used.

ldet():

returns the logarithm of the determinant of the Fisher information matrix

normalize():

normalize the proportions and drop those below the threshold

nprot():

returns the number of protocols available

ptr():

returns the external pointer, regenerating if necessary

props():

return the nonzero proportions

threshold():

return the threshold for declaring a frequency to be zero.

setThreshold(thresh):

set the threshold for declaring a proportion to be zero

See Also

popProt


PFIM documentation built on May 2, 2019, 5:46 p.m.

Related to popProt-class in PFIM...