Skip to contents

The $max_confirm(..., solve_for = "behavior") method identify the behavior that would maximally confirm the identities of actor in an actor-object pairing.

does this and that..

Usage

max_confirm(events, solve_for = c("behavior", "actor", "object"))

Arguments

events

A data frame with only only a pair of A, B, or O.

solve_for

"behavior", "actor", or "object"

Value

A data frame with the maximally confirming EPA profiles

Examples

act <- interact()
#>  dictionary = list(dataset = "usfullsurveyor2015", group = "all")
#>  equations = list(key = "us2010", group = "all")

act$max_confirm(
  events = dplyr::tibble(A = "god", O = "deadbeat"),
  solve_for = "behavior"
)
#> # A tibble: 1 × 3
#>      Be    Bp     Ba
#>   <dbl> <dbl>  <dbl>
#> 1 0.545  1.54 -0.634

act$max_confirm(
  events = list(A = "god", B = "kill"),
  solve_for = "object"
)
#> # A tibble: 1 × 3
#>      Oe    Op    Oa
#>   <dbl> <dbl> <dbl>
#> 1 -1.26 -4.85 -11.1

act$max_confirm(
  events = data.frame(B = "kill", O = "deadbeat"),
  solve_for = "actor"
)
#> # A tibble: 1 × 3
#>       Ae    Ap    Aa
#>    <dbl> <dbl> <dbl>
#> 1 -0.999  2.35 0.848