`get_em_vec()` get the vector form of a column of a hyperframe that summarizes the effect modifier data in heterogeneity analysis
get_em_vec(em, time_after = TRUE, lag, entire_window = NULL, ngrid = NULL)
column of a hyperframe that summarizes effect modifier data. In the form of `hyperframe$column`.
whether to include one unit time difference between treatment and outcome. By default = TRUE
integer that specifies lags to calculate causal estimates
owin object (the entire region of interest). If given, then the values outside the region will be set to `NA`.
a number or a vector of two numbers that specify the dimension of pixels. If NULL, the pixel dimension of the original images will not be changed
The function `get_em_vec()` get the vector form of the effect modifier in the heterogeneity analysis. It is useful if you want to construct the variance matrix `E_mat` that is passed to the function `get_cate()`