Description Usage Arguments Value See Also

This function predicts based on the estimation of the PFA
model `train_PFA`

.

1 | ```
pred_PFA(tr_fa, gp_test, test, logl = T)
``` |

`tr_fa` |
An object resulting from |

`gp_test` |
vector. Groups for each observation. |

`test` |
data frame. Test data set for evaluation. |

`logl` |
logical. Return log-likelihood? Defaults to TRUE. |

A list.

`predictions` |
A numeric vector of predictions for all observations in the test set. |

`likelihoods` |
A numeric vector of (log-)likelihoods for all observations in the test set. |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.