Most voted "tibble" questions
5 questions
Sort by count of
-
4
votes3
answers291
viewsIn R, what is a Tibble?
What is a tibble? How she differs from a data.frame? The code below creates a data frame.. set.seed(123) df <- base::data.frame( id = 1:10, texto = letters[1:10], numero = rnorm(10) ) df #> id…
-
2
votes1
answer436
viewsIn R, how to transform Tibble into dataframe
I have a Tibble structure resulting from the following script, using the purrr package: data %>% group_by(REGIAO , V1023) %>% nest() %>% mutate( teste = map(data, ff)) Where ff is a…
-
0
votes1
answer91
viewstransform named list to dataframe
I’d like to turn a nominated list into a data.frame (or Tibble) where the name of the object in the list becomes an observation in the data.frame The example list I have is this: mylist <-…
-
0
votes1
answer27
viewsFind higher row value and return the column title of a data frame
i have a wide format data frame with 5 variables (Município, Agropecuária, Indústria, Serviços Públicos and Serviços Privados). I would like to create a sixth variable called Predominante with the…
-
-2
votes0
answers13
viewsCompleting the Nas of a Tibble
Hello, I have a database on R where there are some Nas in the variables. I would like to apply a logical function where Nas would be filled with the immediately preceding value. Below is an example:…