mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 04:27:30 +02:00
decumented package
This commit is contained in:
parent
2588cf2b4f
commit
49695a5f41
13 changed files with 284 additions and 3 deletions
|
|
@ -126,7 +126,7 @@ add_sparkline <- function(grid, column = "vals", color.main = "#2a8484", color.s
|
|||
#'
|
||||
#' @param data vector
|
||||
#'
|
||||
#' @returns
|
||||
#' @returns logical
|
||||
#' @export
|
||||
#'
|
||||
#' @examples
|
||||
|
|
@ -233,6 +233,10 @@ create_overview_datagrid <- function(data) {
|
|||
#' @export
|
||||
#'
|
||||
#' @examples
|
||||
#' mtcars |>
|
||||
#' overview_vars() |>
|
||||
#' toastui::datagrid() |>
|
||||
#' add_class_icon()
|
||||
add_class_icon <- function(grid, column = "class") {
|
||||
out <- toastui::grid_format(
|
||||
grid = grid,
|
||||
|
|
|
|||
|
|
@ -386,8 +386,14 @@ add_var_toset <- function(data, var_name, default = "") {
|
|||
data[, datanames]
|
||||
}
|
||||
|
||||
#' @importFrom toastui datagrid grid_columns grid_format grid_style_column
|
||||
#' grid_style_column grid_editor grid_editor_opts grid_selection_row
|
||||
#' Modified from the datamods pacakge
|
||||
#'
|
||||
#' @param data data
|
||||
#'
|
||||
#' @param height height
|
||||
#' @param selectionId selectionId
|
||||
#' @param buttonId buttonId
|
||||
#'
|
||||
#' @examples
|
||||
#' mtcars |>
|
||||
#' summary_vars() |>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue