mirror of
https://github.com/agdamsbo/FreesearchR.git
synced 2026-06-19 12:37:30 +02:00
renaming to cut function to cut_var to distinct from the base-version - UI improvements - nice code formatting.
This commit is contained in:
parent
8469a5ca64
commit
361296531e
30 changed files with 1248 additions and 1686 deletions
28
man/append_column.Rd
Normal file
28
man/append_column.Rd
Normal 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")
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue