Skip to contents

Example tbl_df object (a tibble).

Usage

data(tibble)

Format

An object of class tbl_df (inherits from tbl, data.frame) with 4 rows and 3 columns.

Value

tbl_df.

Note

Updated 2021-10-14.

Examples

if (requireNamespace("tibble", quietly = TRUE)) {
    data(tibble)
    class(tibble)
    tibble::is_tibble(tibble)
    print(tibble)
}
#> # A tibble: 4 × 3
#>   rowname genotype treatment
#>   <chr>   <fct>    <fct>    
#> 1 sample1 wildtype control  
#> 2 sample2 knockout control  
#> 3 sample3 wildtype treated  
#> 4 sample4 knockout treated