Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
legTools
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Harbor Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leg
legTools
Commits
34b30c0e
Commit
34b30c0e
authored
9 years ago
by
Fernando Mayer
Browse files
Options
Downloads
Patches
Plain Diff
package metadata generated by devtools
parent
3a76228d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
DESCRIPTION
+10
-0
10 additions, 0 deletions
DESCRIPTION
NAMESPACE
+3
-0
3 additions, 0 deletions
NAMESPACE
man/legTools.Rd
+12
-0
12 additions, 0 deletions
man/legTools.Rd
man/subsetDropAll.Rd
+36
-0
36 additions, 0 deletions
man/subsetDropAll.Rd
with
61 additions
and
0 deletions
DESCRIPTION
0 → 100644
+
10
−
0
View file @
34b30c0e
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
This diff is collapsed.
Click to expand it.
NAMESPACE
0 → 100644
+
3
−
0
View file @
34b30c0e
# Generated by roxygen2 (4.1.1): do not edit by hand
export(subsetDropAll)
This diff is collapsed.
Click to expand it.
man/legTools.Rd
0 → 100644
+
12
−
0
View file @
34b30c0e
% 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
}
This diff is collapsed.
Click to expand it.
man/subsetDropAll.Rd
0 → 100644
+
36
−
0
View file @
34b30c0e
% 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}}
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment