find_posterior: Appends dataframes with posteriors and returns it

find_posteriorR Documentation

Appends dataframes with posteriors and returns it

Description

Appends dataframes with posteriors and returns it

Usage

find_posterior(
  t_dat,
  min_posterior_all_evidence = MIN_POSTERIOR_ALL_EVIDENCE,
  min_posterior_positive_evidence_only = MIN_POSTERIOR_POSITIVE_EVIDENCE_ONLY,
  ...
)

Arguments

t_dat

tdat object

min_posterior_all_evidence

passed to find_posterior_all_evidence as min_posterior. Default MIN_POSTERIOR_ALL_EVIDENCE

min_posterior_positive_evidence_only

passed to find_posterior_positive_evidence_only as min_posterior. Default MIN_POSTERIOR_POSITIVE_EVIDENCE_ONLY

...

passed wholsale to both find_posterior_positive_evidence_only, and find_posterior_all_evidence

Examples

t_dat <-
  token_links(
     dat_x = readr::read_csv('https://tinyurl.com/2p8etjr6'),
     dat_y = readr::read_csv('https://tinyurl.com/2p8ap4ad'),
     args_x = list(col_nms = 'coname'),
     args_y = list(col_nms = 'companyName'),
     token_types = 'company_name',
     token_index = '',
     suffix = c('ceo', 'alb')
  )

  t_dat <- t_dat |> find_posterior()



csps-efpc/TokenLink documentation built on Feb. 10, 2023, 3:30 a.m.