Hi,
I trying export a file to excel:
###Test chi
Test_Chi_Ed<-chisq.test(Base_1$dev_bed,Base_1$education)
#Resultado
Test_Chi_Ed
#Tablas
Test_Chi_Ed$observed
Test_Chi_Ed$expected
#Exportar a excel
write.xlsx(Test_Chi_Ed$observed_Ed,"chiobserved_Ed.xlsx")
write.xlsx(Test_Chi_Ed$expected_Ed,"chiexpected_Ed.xlsx")
The files are in the folder of my project, however, when I open them, they don't have information. They are in blank.