mirror of
https://github.com/prise6/aVirtualTwins.git
synced 2024-06-01 00:22:12 +02:00
Dontrun examples added
This commit is contained in:
parent
8ef0aa1d5c
commit
b6be60f12b
|
@ -29,11 +29,12 @@
|
||||||
#' @name VT.object
|
#' @name VT.object
|
||||||
#'
|
#'
|
||||||
#' @examples
|
#' @examples
|
||||||
|
#' \dontrun{
|
||||||
#' # Default use :
|
#' # Default use :
|
||||||
#' vt.o <- VT.object$new(data = my.rct.dataset)
|
#' vt.o <- VT.object$new(data = my.rct.dataset)
|
||||||
#'
|
#'
|
||||||
#' # Getting data
|
#' # Getting data
|
||||||
#' vt.o$data
|
#' head(vt.o$data)
|
||||||
#'
|
#'
|
||||||
#' # or getting predictor with interactions
|
#' # or getting predictor with interactions
|
||||||
#' vt.o$getX(interactions = T)
|
#' vt.o$getX(interactions = T)
|
||||||
|
@ -46,7 +47,7 @@
|
||||||
#'
|
#'
|
||||||
#' # Print incidences
|
#' # Print incidences
|
||||||
#' vt.o$getIncidences()
|
#' vt.o$getIncidences()
|
||||||
#' # ...
|
#' }
|
||||||
#'
|
#'
|
||||||
#' @seealso \code{\linkS4class{VT.difft}}
|
#' @seealso \code{\linkS4class{VT.difft}}
|
||||||
#'
|
#'
|
||||||
|
|
Loading…
Reference in a new issue