Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions RDDtools/R/RDDdata.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#'
#' @param x Forcing variable
#' @param y Output
#' @param covar Exogeneous variables
#' @param covar Exogeneous variables as a subset of the data-frame used in \code{data} with each column for the \code{covar} to be included.
#' @param cutpoint Cutpoint
#' @param labels Additional labels to provide as list (with entries \code{x}, \code{y}, and eventually vector \code{covar}). Unused currently.
#' @param data A data-frame for the \code{x} and \code{y} variables. If this is provided,
Expand Down Expand Up @@ -225,4 +225,4 @@ colnames(dat_sub)
colnames(dat_ind)
colnames(dat_ind_1)
colnames(dat_ind_2)
}
}
2 changes: 1 addition & 1 deletion RDDtools/man/RDDdata.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ RDDdata(y, x, covar, cutpoint, z, labels, data)

\item{y}{Output}

\item{covar}{Exogeneous variables}
\item{covar}{Exogeneous variables as a subset of the data-frame used in \code{data} with each column for the \code{covar} to be included.}

\item{cutpoint}{Cutpoint}

Expand Down