View source: R/netfacs-helpers.R

netfacs_bootstrap | R Documentation |

Calculate expected probability from single bootstrap

netfacs_bootstrap( subject, subject.weight, null.subjects, null.elements, test.combinations, max.combination.size, max.event.size )

`subject` |
A character vector of unique subjects present in the data |

`subject.weight` |
A numeric vector of weights to be used when sampling subjects |

`null.subjects` |
A denoting the subject of null.elements |

`null.elements` |
A list of active elements in the null condition |

`test.combinations` |
A vector denoting AU combinations that are present in the test data |

`max.combination.size` |
A positive integer indicating the maximum AU combination size considered in the bootstrap |

`max.event.size` |
A positive integer indicating the maximum event size to be considered |

A list of bootstrapped probabilities for combinations and event sizes

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.