I am currently learning RStudio (beginner level) and I have a question regarding stargazer
function and especially how to create the table of descriptive statistics. I did start by updloading my dataset (called d
) and all relevant libraries like stargazer
. I did run command line:
stargazer(d, type = 'text', title = "Statistiques descriptives",digits = 1, out="table1.txt")
There is an error message:
*Error in if (nchar(text.matrix[r, c]) > max.length[real.c]) { :
missing value where TRUE / FALSE is required*
How can I complete the table with relevant information (mean, standard deviation...) ?
Thank you