mirror of
https://github.com/agdamsbo/daDoctoR.git
synced 2024-11-23 12:20:22 +01:00
22 lines
484 B
R
22 lines
484 B
R
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/col_fact.R
|
|
\name{col_fact}
|
|
\alias{col_fact}
|
|
\title{Formatting multiple columns as factor}
|
|
\usage{
|
|
col_fact(string, data, levels = NULL, labels = NULL)
|
|
}
|
|
\arguments{
|
|
\item{string}{Columnnames containg strings.}
|
|
|
|
\item{data}{Dataframe}
|
|
|
|
\item{levels}{Levels for all selected columns}
|
|
|
|
\item{labels}{labels for all selected columns}
|
|
}
|
|
\description{
|
|
Depending on dply's contains()-function.
|
|
}
|
|
\keyword{factor}
|