Learn R Programming

gRapfa (version 1.0)

Acyclic Probabilistic Finite Automata

Description

gRapfa is for modelling discrete longitudinal data using acyclic probabilistic finite automata (APFA). The package contains functions for constructing APFA models from a given data using penalized likelihood methods. For graphical display of APFA models, gRapfa depends on 'igraph package'. gRapfa also contains an interface function to Beagle software that implements an efficient model selection algorithm.

Copy Link

Version

Install

install.packages('gRapfa')

Monthly Downloads

16

Version

1.0

License

GPL (>= 2)

Maintainer

Smitha Ankinakatte

Last Published

April 11th, 2014

Functions in gRapfa (1.0)

apfa2NS

APFA to node symbol array
gRapfa-package

Models for discrete longitudinal data using APFA.
fit.APFA

Fitting an APFA igraph object to data
st

Sample tree
simulateAPFA

Simulation of data from an APFA model
cross.validate

K - cross validation
LogLike.APFA

Log likelihood for an APFA model
KL

Kullback-Leibler divergence for APFA models
BioFam

Biographical survey of family life states
merge2nodes

Merge two nodes
select.beagle

Select APFA using Beagle
contract.last.level

Contract last level
add.stats

Add attributes to an APFA
MergeSelect

Selection of nodes to merged at a level
MergeNodes

Merge given node set of an APFA
select.IC

Selection of APFA model using penalised likelihood criteria
mildew.raw

A cross between two isolates of the barley powdery Mildew fungus
Wheeze

Wheeze in Steubenville children
getXY

To get XY co-ordinates for the igraph plots.
dIC

Difference in information criteria