Modified purrr functions with progress bar
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | pro_map(.x, .f, ...)
pro_map2(.x, .y, .f, ...)
pro_pmap(.l, .f, ...)
pro_map_if(.x, .p, .f, ...)
pro_map_at(.x, .at, .f, ...)
pro_map(.x, .f, ...)
pro_map_at(.x, .at, .f, ...)
pro_map_chr(.x, .f, ...)
pro_map_dbl(.x, .f, ...)
pro_map_df(.x, .f, ..., .id = NULL)
pro_map_dfc(.x, .f, ...)
pro_map_dfr(.x, .f, ..., .id = NULL)
pro_map_if(.x, .p, .f, ...)
pro_map_int(.x, .f, ...)
pro_map_lgl(.x, .f, ...)
pro_walk(.x, .f, ...)
pro_map2(.x, .y, .f, ...)
pro_map2_chr(.x, .y, .f, ...)
pro_map2_dbl(.x, .y, .f, ...)
pro_map2_df(.x, .y, .f, ..., .id = NULL)
pro_map2_dfc(.x, .y, .f, ...)
pro_map2_dfr(.x, .y, .f, ..., .id = NULL)
pro_map2_int(.x, .y, .f, ...)
pro_map2_lgl(.x, .y, .f, ...)
pro_walk2(.x, .y, .f, ...)
pro_imap(.x, .f, ...)
pro_imap_chr(.x, .f, ...)
pro_imap_dbl(.x, .f, ...)
pro_imap_dfc(.x, .f, ..., .id = NULL)
pro_imap_dfr(.x, .f, ..., .id = NULL)
pro_imap_int(.x, .f, ...)
pro_imap_lgl(.x, .f, ...)
pro_iwalk(.x, .f, ...)
pro_invoke_map(.f, .x = list(NULL), ..., .env = NULL)
pro_invoke_map_chr(.f, .x = list(NULL), ..., .env = NULL)
pro_invoke_map_dbl(.f, .x = list(NULL), ..., .env = NULL)
pro_invoke_map_df(.f, .x = list(NULL), ..., .env = NULL)
pro_invoke_map_dfc(.f, .x = list(NULL), ..., .env = NULL)
pro_invoke_map_dfr(.f, .x = list(NULL), ..., .env = NULL)
pro_invoke_map_int(.f, .x = list(NULL), ..., .env = NULL)
pro_invoke_map_lgl(.f, .x = list(NULL), ..., .env = NULL)
pro_lmap(.x, .f, ...)
pro_lmap_at(.x, .at, .f, ...)
pro_lmap_if(.x, .p, .f, ...)
pro_modify(.x, .f, ...)
pro_pmap(.l, .f, ...)
pro_pmap_chr(.l, .f, ...)
pro_pmap_dbl(.l, .f, ...)
pro_pmap_df(.l, .f, ..., .id = NULL)
pro_pmap_dfc(.l, .f, ...)
pro_pmap_dfr(.l, .f, ..., .id = NULL)
pro_pmap_int(.l, .f, ...)
pro_pmap_lgl(.l, .f, ...)
pro_pwalk(.l, .f, ...)
pro_reduce(.x, .f, ..., .init)
pro_reduce_right(.x, .f, ..., .init)
pro_reduce2(.x, .y, .f, ..., .init)
pro_reduce2_right(.x, .y, .f, ..., .init)
pro_every(.x, .p, ...)
pro_some(.x, .p, ...)
pro_accumulate(.x, .f, ..., .init)
pro_accumulate_right(.x, .f, ..., .init)
|
.x |
A list or atomic vector. |
.f |
A function, formula, or atomic vector. If a function, it is used as is. If a formula, e.g.
This syntax allows you to create very compact anonymous functions. If character vector, numeric vector, or list, it
is converted to an extractor function. Character vectors index by name
and numeric vectors index by position; use a list to index by position
and name at different levels. Within a list, wrap strings in |
... |
Additional arguments passed on to |
.p |
A single predicate function, a formula describing such a
predicate function, or a logical vector of the same length as |
.at |
A character vector of names or a numeric vector of
positions. Only those elements corresponding to |
.id |
If not |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.