estimator_AS_tidy: Tidy helper function for estimator_AS function

View source: R/helpers-experiments-over-networks.R

estimator_AS_tidyR Documentation

Tidy helper function for estimator_AS function

Description

Runs estimates estimation function from interference package and returns tidy data frame output

Usage

estimator_AS_tidy(data, permutatation_matrix, adj_matrix)

Arguments

data

a data.frame

permutatation_matrix

a permutation matrix of random assignments

adj_matrix

an adjacency matrix

Details

The estimator_AS_tidy function requires the 'interference' package, which is not yet available on CRAN.

To use this function:

  1. install the developer version of interference via remotes::install_github('szonszein/interference') and

  2. install the developer version of rdddr via remotes::install_github('DeclareDesign/rdddr@remotes')

See https://book.declaredesign.org/experimental-causal.html#experiments-over-networks

Value

a data.frame of estimates


rdddr documentation built on July 3, 2022, 5:06 p.m.