too much..

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-03-05 21:13:06 +01:00
commit bc8aa7b583
No known key found for this signature in database
28 changed files with 1064 additions and 95 deletions

24
man/get_label.Rd Normal file
View file

@ -0,0 +1,24 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_plots.R
\name{get_label}
\alias{get_label}
\title{Print label, and if missing print variable name}
\usage{
get_label(data, var = NULL)
}
\arguments{
\item{data}{vector or data frame}
}
\value{
character string
}
\description{
Print label, and if missing print variable name
}
\examples{
mtcars |> get_label(var = "mpg")
mtcars |> get_label()
mtcars$mpg |> get_label()
gtsummary::trial |> get_label(var = "trt")
1:10 |> get_label()
}