From 34b30c0ec04ee3bcaa02de9d1b63377d9ba241d9 Mon Sep 17 00:00:00 2001
From: Fernando Mayer <fernandomayer@gmail.com>
Date: Wed, 12 Aug 2015 17:58:25 -0300
Subject: [PATCH] package metadata generated by devtools

---
 DESCRIPTION          | 10 ++++++++++
 NAMESPACE            |  3 +++
 man/legTools.Rd      | 12 ++++++++++++
 man/subsetDropAll.Rd | 36 ++++++++++++++++++++++++++++++++++++
 4 files changed, 61 insertions(+)
 create mode 100644 DESCRIPTION
 create mode 100644 NAMESPACE
 create mode 100644 man/legTools.Rd
 create mode 100644 man/subsetDropAll.Rd

diff --git a/DESCRIPTION b/DESCRIPTION
new file mode 100644
index 0000000..5560ff3
--- /dev/null
+++ b/DESCRIPTION
@@ -0,0 +1,10 @@
+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
diff --git a/NAMESPACE b/NAMESPACE
new file mode 100644
index 0000000..a646f37
--- /dev/null
+++ b/NAMESPACE
@@ -0,0 +1,3 @@
+# Generated by roxygen2 (4.1.1): do not edit by hand
+
+export(subsetDropAll)
diff --git a/man/legTools.Rd b/man/legTools.Rd
new file mode 100644
index 0000000..8fe73d1
--- /dev/null
+++ b/man/legTools.Rd
@@ -0,0 +1,12 @@
+% 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
+}
+
diff --git a/man/subsetDropAll.Rd b/man/subsetDropAll.Rd
new file mode 100644
index 0000000..6bc8e35
--- /dev/null
+++ b/man/subsetDropAll.Rd
@@ -0,0 +1,36 @@
+% 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}}
+}
+
-- 
GitLab