Searched +refs:modify2 +refs:logical (Results 1 – 3 of 3) sorted by relevance
/dports/devel/R-cran-purrr/purrr/ |
H A D | NAMESPACE | 11 S3method(modify,logical) 13 S3method(modify2,character) 14 S3method(modify2,default) 15 S3method(modify2,double) 16 S3method(modify2,integer) 17 S3method(modify2,logical) 22 S3method(modify_at,logical) 28 S3method(modify_if,logical) 164 export(modify2)
|
H A D | NEWS.md | 98 documented to be more liberal in the values they accepted as logical 107 * New `modify2()` and `imodify()` functions. These work like `map()` 116 character, logical, double, and integer classes (@t-kalinowski, #417).
|
/dports/devel/R-cran-purrr/purrr/man/ |
H A D | modify.Rd | 10 \alias{modify2} 28 modify2(.x, .y, .f, ...) 62 predicate function, or a logical vector of the same length as \code{.x}. 64 objects, a string indicating the name of a logical element in the 104 \item \code{modify2()} modifies the elements of \code{.x} but also passes the 153 # Use modify2() to map over two vectors and preserve the type of 157 modify2(x, y, ~ if (.y) .x else 0L)
|