renaming to cut function to cut_var to distinct from the base-version - UI improvements - nice code formatting.

This commit is contained in:
Andreas Gammelgaard Damsbo 2025-04-11 13:23:18 +02:00
commit 361296531e
No known key found for this signature in database
30 changed files with 1248 additions and 1686 deletions

28
man/append_column.Rd Normal file
View file

@ -0,0 +1,28 @@
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/helpers.R
\name{append_column}
\alias{append_column}
\title{Append a column to a data.frame}
\usage{
append_column(data, column, name, index = "right")
}
\arguments{
\item{data}{data}
\item{column}{new column (vector) or data.frame with 1 column}
\item{name}{new name (pre-fix)}
\item{index}{desired location. May be "left", "right" or numeric index.}
}
\value{
data.frame
}
\description{
Append a column to a data.frame
}
\examples{
mtcars |>
dplyr::mutate(mpg_cut = mpg) |>
append_column(mtcars$mpg, "mpg_cutter")
}