expr.make.findings {KinMixLite}R Documentation

Coding additional findings as expression

Description

Returns an expression that will be evaluated in logL.UKX whenever the likelihood of the model is calculated using the current method, and encodes the additional findings needed to implement the method; the details of the model and the extra information needed are held in the list z

Usage

expr.make.findings(z)

Arguments

z

A list specifying the additional findings; for the format, see Details

Details

Each component of the list z is a list encoding a particular type of additional finding: the first component of this (sub-)list being a character string specifying the type of finding, and the remainder of its components being named parameters giving details of the finding. The types of finding and the valid parameters of each are as follows:

Male

ind: index of relevant contributor: which ‘unknown’ contributor are we modelling by amending his CPTs?

Female

ind: index of relevant contributor

Rlikd

aca: allele count array, cgt: character string naming genotype profile data frame, evid: character string naming list with one component for each marker, whose value is the evidence

Aca

ind: index of relevant contributor, aca: allele count array

Caca

ind: index of relevant contributor, aca: allele count array

Denom

no parameters

If z is NULL, then there are no additional findings.

Value

Expression encoding the additional findings.

Author(s)

Peter Green (P.J.Green@bristol.ac.uk)


[Package KinMixLite version 2.1.0 Index]