powered by
Do F test with a given slice term.
SLICE(Formula, Data, mTerm, sTerm)
a conventional formula for a linear model
a data.frame to be analyzed
data.frame
a factor name (not interaction) to calculate sum of square and do F test with least square means
a factor name to be used for slice
Returns sum of square and its F value and p-value.
degree of freedom
sum of square for the set of contrasts
mean square
F value for the F distribution
proability of larger than F value
It performs F test with a given slice term. It is similar to the SLICE option SAS PROC GLM.
# NOT RUN { SLICE(uptake ~ Type*Treatment, CO2, "Type", "Treatment") SLICE(uptake ~ Type*Treatment, CO2, "Treatment", "Type") # }
Run the code above in your browser using DataLab