EVOLUTION-MANAGER
Edit File: tribble.html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><title>R: Row-wise tibble creation</title> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <link rel="stylesheet" type="text/css" href="R.css" /> </head><body> <table width="100%" summary="page for tribble {tibble}"><tr><td>tribble {tibble}</td><td style="text-align: right;">R Documentation</td></tr></table> <h2>Row-wise tibble creation</h2> <h3>Description</h3> <p>Create <a href="tibble.html">tibble</a>s using an easier to read row-by-row layout. This is useful for small tables of data where readability is important. Please see <a href="tibble-package.html">tibble-package</a> for a general introduction. </p> <h3>Usage</h3> <pre> tribble(...) </pre> <h3>Arguments</h3> <table summary="R argblock"> <tr valign="top"><td><code>...</code></td> <td> <p><<code><a href="../../rlang/html/dyn-dots.html">dynamic-dots</a></code>> Arguments specifying the structure of a <code>tibble</code>. Variable names should be formulas, and may only appear before the data. These arguments are processed with <code><a href="../../rlang/html/list2.html">rlang::list2()</a></code> and support unquote via <code><a href="../../rlang/html/injection-operator.html">!!</a></code> and unquote-splice via <code><a href="../../rlang/html/splice-operator.html">!!!</a></code>.</p> </td></tr> </table> <h3>Value</h3> <p>A <a href="tibble.html">tibble</a>. </p> <h3>See Also</h3> <p>See <a href="../../rlang/html/topic-inject.html">quasiquotation</a> for more details on tidy dots semantics, i.e. exactly how the <code>...</code> argument is processed. </p> <h3>Examples</h3> <pre> tribble( ~colA, ~colB, "a", 1, "b", 2, "c", 3 ) # tribble will create a list column if the value in any cell is # not a scalar tribble( ~x, ~y, "a", 1:3, "b", 4:6 ) # Use dplyr::mutate(dplyr::across(...)) to assign an explicit type tribble( ~a, ~b, ~c, 1, "2000-01-01", "1.5" ) %>% dplyr::mutate( dplyr::across(a, as.integer), dplyr::across(b, as.Date) ) </pre> <hr /><div style="text-align: center;">[Package <em>tibble</em> version 3.1.8 <a href="00Index.html">Index</a>]</div> </body></html>