-
Notifications
You must be signed in to change notification settings - Fork 5
/
get_em_vec.Rd
27 lines (23 loc) · 1.2 KB
/
get_em_vec.Rd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_em_vec.R
\name{get_em_vec}
\alias{get_em_vec}
\title{convert a list of im objects to a vector}
\usage{
get_em_vec(em, time_after = TRUE, lag, entire_window = NULL, ngrid = NULL)
}
\arguments{
\item{em}{column of a hyperframe that summarizes effect modifier data. In the form of `hyperframe$column`.}
\item{time_after}{whether to include one unit time difference between treatment and outcome. By default = TRUE}
\item{lag}{integer that specifies lags to calculate causal estimates}
\item{entire_window}{owin object (the entire region of interest). If given, then the values outside the region will be set to `NA`.}
\item{ngrid}{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}
}
\description{
`get_em_vec()` get the vector form of a column of a hyperframe that summarizes the effect modifier data in heterogeneity analysis
}
\details{
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()`
}