Skip to content
Permalink
c5d03d2a60
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
17 lines (17 sloc) 385 Bytes
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/drop.unused.levels.R
\name{drop.unused.levels}
\alias{drop.unused.levels}
\title{Drop unused factor levels}
\usage{
drop.unused.levels(df)
}
\arguments{
\item{df}{Data frame}
}
\value{
Returns the altered data frame.
}
\description{
This function drops all unused levels from all factors in a data frame.
}