Issues with lineXtester analysis on R

Hy Pals,

I am having problems running lineXtester analysis.

my input code is:
library(agricolae)
output2<-with(main,lineXtester(replication, female, male, vigor))

I keep getting this error code and i don't know how to handle it:

ANALYSIS LINE x TESTER: vigor

output<-with(hoe,lineXtester(replication, male, female, vigor))

ANALYSIS LINE x TESTER: vigor
Error in contrasts<-(*tmp*, value = contr.funs[1 + isOF[nn]]) :
contrasts can be applied only to factors with 2 or more levels

I will appreciate any advice on how to handle it urgently.

Thank you all

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.