daDoctoR/man/col_fact.Rd
2018-10-02 21:07:43 +02:00

25 lines
508 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.
}
\examples{
col_fact()
}
\keyword{factor}