Top "Tibble" questions

tibble could refer to an R class (tbl_df class), which is an improved data frame with stricter checking and better formatting.

Transform tibble to data frame with column headers

I have data from an excel sheet imported like this: F4_Off <- readxl::read_xlsx("myExcel.xlsx", sheet = "…

r dataframe tibble
Initialize an empty tibble with column names and 0 rows

I have a vector of column names called tbl_colnames. I would like to create a tibble with 0 rows and …

r tibble
Setting row names on a tibble is deprecated. Error: invalid 'row.names' length

I am trying to make a heatmap of a sites vs. species abundances matrix. With thanks to Maurits Evers for …

r heatmap tidyverse tibble readr
Error in bind_rows_(x, .id) : Column can't be converted from factor to numeric

I have ten datasets that have been read from Excel files, using the xlsx library, and stored in tibbles. I …

r merge dplyr tibble
What is the difference between as.tibble(), as_data_frame(), and tbl_df()?

I remember reading somewhere that as.tibble() is an alias for as_data_frame(), but I don't know what exactly …

r dplyr terminology tidyverse tibble
Having trouble viewing more than 10 rows in a tibble

First off - I am a beginner at programming and R, so excuse me if this is a silly question. …

r dplyr tidyverse tibble tidytext
add_column in tibble with variable column name

This code doesn't work to add a column in tibble: library(tidyverse) df <- data.frame("Oranges" = 5) mycols <…

r dplyr tibble
Unnest a list column directly into several columns

Can I unnest a list column directly into n columns? The list can be assumed to regular, with all elements …

r tidyr tibble
mlogit.data() Error: Assigned data `ids` must be compatible with existing data

I have been working hours on that and I simply cannot find any solution to the problem. Hopefully someone here …

r r-markdown tibble mlogit
R data.table: how to go from tibble to data.table to tibble back?

I use mainly tables in the tibble fromat from tidyverse, but for some steps, I use the data.table package. …

r data.table tibble