#' sheet
#' This function generates creates a list of information need to be added to a sheet - will be used in conjunction with wb()
#' @param tables The input analytical dataset of type data frame.
#' @param subtitle A vector of all the dependent variable names. No need to dummify variables.
#' @param sheetname A vector of all the continuous variable names
#' @param stack If there are multiple tables need to be added to a single sheet, how they're stacked is determined by this argument. "sideways" add tables right to the previous one and "below" add tables one below the other. The default is "sideways".
#' @export sheet
#' @return A list containing the tables, subtitle and sheetname
sheet <- function(tables = list(),
subtitle = "Subtitle",
sheetname = "sheet1",
stack = "sideways") {
return(list(tables, subtitle, sheetname,stack))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.