new missings module and function for plotting

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-06-25 10:50:05 +02:00
commit ab99483772
No known key found for this signature in database
3 changed files with 185 additions and 19 deletions

View file

@ -8,7 +8,7 @@
\usage{
data_missings_ui(id)
data_missings_server(id, data, ...)
data_missings_server(id, data, variable, ...)
}
\arguments{
\item{id}{Module id}

26
man/missings_apex_plot.Rd Normal file
View file

@ -0,0 +1,26 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/missings-module.R
\name{missings_apex_plot}
\alias{missings_apex_plot}
\title{Plot missings and class with apexcharter}
\usage{
missings_apex_plot(data, animation = FALSE, ...)
}
\arguments{
\item{data}{data frame}
}
\value{
An \code{\link[=apexchart]{apexchart()}} \code{htmlwidget} object.
}
\description{
Plot missings and class with apexcharter
}
\examples{
data_demo <- mtcars
data_demo[2:4, "cyl"] <- NA
rbind(data_demo, data_demo, data_demo, data_demo) |> missings_apex_plot()
data_demo |> missings_apex_plot()
mtcars |> missings_apex_plot(animation = TRUE)
# dplyr::storms |> missings_apex_plot()
visdat::vis_dat(dplyr::storms)
}