水平(Level)——一个试验因素所划分的具体的、可操作的不同等级或状态;如不同的品种、不同的密度、不同的施肥量等;试验因素设定了几种状态或划为几个数量等级,其就有几个水平。——每个因素至少有2个水平。只有一个水平的称之为试验条件。
在R语言中,
factor(x = character(), levels, labels = levels, exclude = NA, ordered = is.ordered(x), nmax = NA)