Skip to content
Snippets Groups Projects
Commit 34b30c0e authored by Fernando Mayer's avatar Fernando Mayer
Browse files

package metadata generated by devtools

parent 3a76228d
No related branches found
No related tags found
No related merge requests found
Package: legTools
Title: Convenience Functions, Small GUI to Teach Statistics and Some Datasets
Version: 0.1-0
Authors@R: person("First", "Last", email = "first.last@example.com", role = c("aut", "cre"))
Description: legTools is a collection of R functions and datasets, maintained by the LEG group (Statistics and Geoinformation Laboratory).
Depends: R (>= 3.2.1)
License: GPL-3 | file LICENSE
URL: http://git.leg.ufpr.br/leg/legTools
BugReports: http://git.leg.ufpr.br/leg/legTools/issues
LazyData: true
# Generated by roxygen2 (4.1.1): do not edit by hand
export(subsetDropAll)
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/legTools.R
\docType{package}
\name{legTools}
\alias{legTools}
\alias{legTools-package}
\title{Convenience Functions, Small GUI to Teach Statistics and Some
Datasets.}
\description{
legTools is a collection of R functions and datasets
}
% Generated by roxygen2 (4.1.1): do not edit by hand
% Please edit documentation in R/subsetDropAll.R
\name{subsetDropAll}
\alias{subsetDropAll}
\title{Drop unused levels after subset}
\usage{
subsetDropAll(x, ...)
}
\arguments{
\item{x}{Object to be subsetted}
\item{...}{further arguments to be passed to or from other methods}
}
\value{
An object similar to \code{x} containing just the selected
rows and columns (for a data frame). Column factors that have
one or more levels emptied after the subset, will have this
levels droped off.
}
\description{
This function is designed to be used in place of
\code{\link[base]{subset}} when you want to drop off all empty
levels, of all factor columns in a data frame.
}
\details{
This function works exactly the same way as
\code{\link[base]{subset}} but it will drop off all empty levels
of all columns that are factors in \code{x}.
}
\author{
Fernando Mayer
}
\seealso{
\code{\link[base]{subset}}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment