Permalink
Browse files

removed documentation files. should not be tracked in repo

  • Loading branch information...
1 parent 4f662c8 commit dbdd357d401287a3cd0172e06ef6ba379826fd84 @halpo committed Feb 14, 2012
Showing with 2 additions and 146 deletions.
  1. +2 −0 man/.gitignore
  2. +0 −33 man/class.stats.Rd
  3. +0 −52 man/compose.Rd
  4. +0 −37 man/dostats.Rd
  5. +0 −24 man/wargs.Rd
View
@@ -0,0 +1,2 @@
+*.Rd
+*.rd
View
@@ -1,33 +0,0 @@
-\name{class.stats}
-\alias{class.stats}
-\alias{factor.stats}
-\alias{integer.stats}
-\alias{numeric.stats}
-\title{Filter by class}
-\usage{
- class.stats(.class)
-
- numeric.stats(x, ...)
-
- factor.stats(x, ...)
-
- integer.stats(x, ...)
-}
-\arguments{
- \item{x}{vector of any class}
-
- \item{.class}{string for class to filter by}
-
- \item{...}{passed to \code{\link{dostats}}}
-}
-\value{
- data frame of computed statistics if x is of class
- \code{.class} otherwise returns \code{NULL}.
-}
-\description{
- Filter by class
-}
-\seealso{
- \code{\link{dostats}}
-}
-
View
@@ -1,52 +0,0 @@
-\name{compose}
-\alias{\%.\%}
-\alias{compose}
-\alias{composition}
-\alias{nest}
-\title{Nest functions}
-\usage{
- compose(..., .list)
-
- x \%.\% y
-}
-\arguments{
- \item{...}{functions to be nested together}
-
- \item{.list}{alternatively an explicit list of functions.
- If specified \code{...} will be ignored.}
-
- \item{x}{a function}
-
- \item{y}{a function}
-}
-\value{
- new function consisting of the functions nested
-}
-\description{
- Nest functions
-}
-\details{
- compose creates a functional composition of the listed
- functions. Functional composition of functions f and g is
- defined as f(g(.)). Order matters the right most function
- listed will be the innermost function in the composition,
- same with the operator version. To remember the order
- lists will be the order read out, ie. compose(f,g) =
- f(g(x))
-
- When using the operator version it is good to remember
- that parentheses are recommended see the examples
-}
-\examples{
-compose(any, is.na)(c(NA,1:3))
-(sum\%.\%is.na)(c(1,NA)) #correct
-\dontrun{
-sum\%.\%is.an(NA) #incorrect
-}
-}
-\author{
- Andrew Redd
-}
-\keyword{misc}
-\keyword{utilities,}
-
View
@@ -1,37 +0,0 @@
-\name{dostats}
-\alias{dostats}
-\title{Convenient interface for computing statistics on a vector}
-\usage{
- dostats(x, ..., .na.action = na.fail)
-}
-\arguments{
- \item{x}{the vector}
-
- \item{...}{statistics to compute, must take a vector and
- return a vector}
-
- \item{.na.action}{the action to take on NA values, for
- all statistics}
-}
-\value{
- A one row \code{data.frame} with columns named as in
- \code{...}
-}
-\description{
- Convenient interface for computing statistics on a vector
-}
-\examples{
-data(mtcars)
-library(plyr)
-dostats(1:10, mean, median, sd, quantile, IQR)
-ldply(mtcars, dostats, median, mean, sd, quantile, IQR)
-}
-\author{
- Andrew Redd
-}
-\seealso{
- \code{\link[plyr]{ldply}}
-}
-\keyword{misc}
-\keyword{utilities,}
-
View
@@ -1,24 +0,0 @@
-\name{wargs}
-\alias{wargs}
-\title{Call with arguments}
-\usage{
- wargs(f, ...)
-}
-\arguments{
- \item{f}{a function}
-
- \item{...}{extra arguments}
-}
-\value{
- a function that takes 1 argument and calls f with the
- single argument and the additional \code{...} appended.
-}
-\description{
- Call with arguments
-}
-\examples{
-mean2 <- wargs(mean, na.rm=T)
-}
-\keyword{misc}
-\keyword{utilities,}
-

0 comments on commit dbdd357

Please sign in to comment.