I have a problem with my stargazer output in R.
Here's my original dataframe:
Rank p LMax 10% 5% 1%
var1 0.427 24.25 21.8 27.4 31.5
var2 0.228 7.23 11.5 12.2 16.7
What stargazer creates:
stargazer(data_summary, summary=FALSE, digits = 3)
Rank p LMax 10% 5% 1%
var1 0.427 24.250 21.800 27.400 31.500
var2 0.248 7.230 11.500 12.200 16.700
It's important to keep the three digits for p but remain 2 digits for the others. digits = 2 doesn't solve the problem, as p then only has two digits.
The desired output:
Rank p LMax 10% 5% 1%
var1 0.427 24.25 21.80 27.40 31.50
var2 0.248 7.23 11.50 12.20 16.70
Any idea how to solve this?