I'm working on an R markdown file. The results of analysis are shown in the form of tibble
but in order to see all the columns and rows, I need to click to expand. However, since I'm going to knit the file into html, I need to display all the columns and rows in the R markdown file. I did a search and came up with the following codes:
options(tibble.width = Inf) # displays all columns.
options(tibble.print_max = Inf) # to show all the rows.
However, I don't know where to put them. I placed them before and after my code, but it didn't work. MY codes are:
head(df)
summarise(mean_cov= ..., median_cov=...., sd_cov=...., ...)
Thanks.