My data is: total death rate (response variable), total case rate (covariate), continent (grouping factor)
When entering the code below:
ancova(Total_Deaths_Per_Million~Total_Cases_Per_Million+factor(Continent), data=CasesandDeathsCleanAfricaEurpoe)
Error code says the degrees of freedom must be greater than or equal to 2.
Please can someone specify what I need to do to avoid this
example of data.frame