Home
last modified time | relevance | path

Searched refs:adply (Results 1 – 15 of 15) sorted by relevance

/dports/devel/R-cran-plyr/plyr/tests/testthat/
H A Dtest-id.r37 expect_equal(names(adply(data, 1, identity)), c("X1", "1", "2", "3"))
38 expect_equal(names(adply(data, 2, identity)), c("X1", "1", "2", "3"))
39 expect_equal(names(adply(data, 3, identity)), c("X1", "1", "2", "3"))
43 expect_equal(names(adply(data, c(), identity)), paste0("V", data))
53 expect_equal(names(adply(data, 1, identity, .id = NULL)), c("1", "2", "3"))
54 expect_equal(names(adply(data, 2, identity, .id = NULL)), c("1", "2", "3"))
55 expect_equal(names(adply(data, 3, identity, .id = NULL)), c("1", "2", "3"))
69 expect_error(adply(data, 1, identity, .id = LETTERS[1:2]), error_rx)
70 expect_error(adply(data, 2, identity, .id = LETTERS[1:2]), error_rx)
71 expect_error(adply(data, 3, identity, .id = LETTERS[1:2]), error_rx)
[all …]
H A Dtest-empty.r10 expect_that(adply(x, 1, identity), equals(data.frame()))
H A Dtest-array.r128 res <- adply(df, 1, splat(foo))
/dports/devel/R-cran-plyr/plyr/man/
H A Dadply.Rd2 % Please edit documentation in R/adply.r
3 \name{adply}
4 \alias{adply}
7 adply(
H A Dddply.Rd55 To apply a function for each row, use \code{\link{adply}} with
119 \code{\link{adply}()},
H A Da_ply.Rd80 \code{\link{adply}()},
H A Dldply.Rd82 \code{\link{adply}()},
H A Dalply.Rd93 \code{\link{adply}()}
H A Dmdply.Rd93 \code{\link{adply}()},
H A Daaply.Rd113 \code{\link{adply}()},
/dports/devel/R-cran-plyr/plyr/R/
H A Dmdply.r20 adply(.data = .data, .margins = 1, .fun = f, ...,
H A Dadply.r16 adply <- function(.data, .margins, .fun = NULL, ..., .expand = TRUE, function
/dports/devel/R-cran-plyr/plyr/
H A DNAMESPACE38 export(adply)
H A DMD58 f2604fbe88644ec6f399539b4f5dbff0 *R/adply.r
78 2e6868119bc537557fa30d7c842f2ef4 *man/adply.Rd
H A DNEWS.md22 * New parameter `.id` to `adply()` that specifies the name(s) of
301 * `ldply` (and hence `adply` and `ddply`) now correctly passes on .parallel