3
Suppose you want to create a blank data frame to receive the results of a grip test.
x<-data.frame(Distribuicao=c(NULL),p-value=c(NULL))
After the test is performed a vector with the results:
res.ad<-c("Gumbel", 0.9105)
To include the test results in the data table I used rbind
:
x<-rbind(x,res.ad)
In the result, x is lost the names of the variables "Distribution" and "p-value", and x is:
XGumbel X0.9105
Gumbel 0.9105
How best to store these results or how can I get around the issue of variable names?