Added option in select_weight
This commit is contained in:
@ -9,7 +9,8 @@ select_weight(
|
||||
grp = NULL,
|
||||
X = NULL,
|
||||
instr = NULL,
|
||||
type.res = "deviance"
|
||||
type.res = "deviance",
|
||||
std = T
|
||||
)
|
||||
}
|
||||
\arguments{
|
||||
@ -22,6 +23,8 @@ select_weight(
|
||||
\item{instr}{vector of strings containing the name of instrumental variables to be included in the model}
|
||||
|
||||
\item{type.res}{string containing the type of glm residuals to be used. Default is "deviance"}
|
||||
|
||||
\item{std}{boolean indicating whether residuals should be standardized. Default is TRUE}
|
||||
}
|
||||
\value{
|
||||
A vector of weights to be included in a PCBSM
|
||||
|
Reference in New Issue
Block a user