I performed the split.plot analysis using doebioresearch package in R. The result for multiple traits is generated in form of nested lists and the overall structure of the output file is multi-layered. I want to save this output in form of table in excel sheets but gettimng problem in converting the list structure to data frame.
example_split<-splitplot(data=splitdata[4:5],
block=splitdata$Replication, main.plot=splitdata$Date_of_Sowing,
sub.plot=splitdata$Varities, mean.comparison.test=3)#3 for tuckey
class(example_split)
str(example_split)
now I want to save this example_split output in excel. for that i need to convert it to data frame. I tried:
data.frame(do.call(rbind.data.frame, example_split))
the error it shows is
Error in as.data.frame.default(x[[i]], optional = TRUE, stringsAsFactors = stringsAsFactors) :
cannot coerce class ‘"htest"’ to a data.frame
doebioresearch::splitplotis not suitable for Excel.