netfacs_bootstrap {NetFACS} | R Documentation |
Calculate expected probability from single bootstrap
Description
Calculate expected probability from single bootstrap
Usage
netfacs_bootstrap(
subject,
subject.weight,
null.subjects,
null.elements,
test.combinations,
max.combination.size,
max.event.size
)
Arguments
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 |
Value
A list of bootstrapped probabilities for combinations and event sizes
[Package NetFACS version 0.5.0 Index]