Skip to content

Commit

Permalink
Final changes prior to release
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Nov 18, 2008
1 parent 1cc9b9d commit c755c8b
Show file tree
Hide file tree
Showing 8 changed files with 39 additions and 7 deletions.
2 changes: 1 addition & 1 deletion NEWS
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ plyr 0.1.2 (2008-XX-XX) ---------------------------------------------------


* a*ply now works correctly with array-lists * a*ply now works correctly with array-lists
* drop. -> .drop * drop. -> .drop
* r*ply now work with ... * r*ply now works with ...
* use inherits instead of is so method package doesn't need to be loaded * use inherits instead of is so method package doesn't need to be loaded
* fix bug with using formulas * fix bug with using formulas


Expand Down
1 change: 0 additions & 1 deletion R/ply-array.r
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
# studies. # studies.
# #
# @keyword manip # @keyword manip
# @alias list_to_array
# @arguments input list # @arguments input list
# @arguments function to apply to each piece # @arguments function to apply to each piece
# @arguments other arguments passed on to \code{.fun} # @arguments other arguments passed on to \code{.fun}
Expand Down
1 change: 0 additions & 1 deletion R/ply-data-frame.r
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
# studies. # studies.
# #
# @keyword manip # @keyword manip
# @alias list_to_dataframe
# @arguments list to be processed # @arguments list to be processed
# @arguments function to apply to each piece # @arguments function to apply to each piece
# @arguments other arguments passed on to \code{.fun} # @arguments other arguments passed on to \code{.fun}
Expand Down
2 changes: 1 addition & 1 deletion R/simplify.r
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# @arguments list of input data # @arguments list of input data
# @arguments a data frame of labels, one row for each element of res # @arguments a data frame of labels, one row for each element of res
# @keywords internal # @keywords internal
list_to_dataframe <- function(res, labels = NULLS) { list_to_dataframe <- function(res, labels = NULL) {
if (length(res) == 0) return(data.frame()) if (length(res) == 0) return(data.frame())


atomic <- unlist(llply(res, is.atomic)) atomic <- unlist(llply(res, is.atomic))
Expand Down
2 changes: 0 additions & 2 deletions man/laply-10.rd
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,5 @@
\name{laply} \name{laply}
\alias{laply} \alias{laply}
\alias{list_to_array}
\title{Split list, apply function, and return results in an array} \title{Split list, apply function, and return results in an array}
\author{Hadley Wickham <h.wickham@gmail.com>} \author{Hadley Wickham <h.wickham@gmail.com>}


Expand Down Expand Up @@ -31,7 +30,6 @@ See \code{vignette("intro", "plyr")} for more details, description and case
studies. studies.


@keyword manip @keyword manip
@alias list_to_array
@arguments input list @arguments input list
@arguments function to apply to each piece @arguments function to apply to each piece
@arguments other arguments passed on to \code{.fun} @arguments other arguments passed on to \code{.fun}
Expand Down
1 change: 0 additions & 1 deletion man/ldply-f5.rd
Original file line number Original file line Diff line number Diff line change
@@ -1,6 +1,5 @@
\name{ldply} \name{ldply}
\alias{ldply} \alias{ldply}
\alias{list_to_dataframe}
\title{Split list, apply function, and return results in a data frame} \title{Split list, apply function, and return results in a data frame}
\author{Hadley Wickham <h.wickham@gmail.com>} \author{Hadley Wickham <h.wickham@gmail.com>}


Expand Down
19 changes: 19 additions & 0 deletions man/list-to-array-ki.rd
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,19 @@
\name{list_to_array}
\alias{list_to_array}
\title{List to array}
\author{Hadley Wickham <h.wickham@gmail.com>}

\description{
Reduce/simplify a list of homogenous objects to an array
}
\usage{list_to_array(res, labels = NULL, .drop = FALSE)}
\arguments{
\item{res}{list of input data}
\item{labels}{a data frame of labels, one row for each element of res}
\item{.drop}{should extra dimensions be dropped (TRUE) or preserved (FALSE)}
}

\details{}

\examples{}

18 changes: 18 additions & 0 deletions man/list-to-dataframe-zb.rd
Original file line number Original file line Diff line number Diff line change
@@ -0,0 +1,18 @@
\name{list_to_dataframe}
\alias{list_to_dataframe}
\title{List to data frame}
\author{Hadley Wickham <h.wickham@gmail.com>}

\description{
Reduce/simplify a list of homogenous objects to a data frame
}
\usage{list_to_dataframe(res, labels = NULLS)}
\arguments{
\item{res}{list of input data}
\item{labels}{a data frame of labels, one row for each element of res}
}

\details{}

\examples{}

0 comments on commit c755c8b

Please sign in to comment.