as.parvec.tbl_df | R Documentation |
#' Try getting conditions #' #' first from obj, then from data, then from p #' #' @param x dMod frame #' @param hypothesis 1 #' #' @export getConditions.tbl_df <- function(x, hypothesis = 1) getConditions.fn <- dMod:::getConditions.fn
if (!is.null(suppressWarnings(x$obj[[hypothesis]]))) return(dMod:::getConditions.fn(x$obj[[hypothesis]])) if (!is.null(x$data[[hypothesis]])) return(names(x$data[[hypothesis]])) if (!is.null(x$p[[hypothesis]])) return(dMod:::getConditions.fn(x$p[[hypothesis]])) as.parvec for dMod.frames
## S3 method for class 'tbl_df' as.parvec(x, hypothesis = 1, index = 1)
x |
dMod.frame |
hypothesis |
1 |
index |
going to as.parvec.parframe |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.