SLICE: F Test with Slice

View source: R/SLICE.R

SLICER Documentation

F Test with Slice

Description

Do F test with a given slice term.

Usage

  SLICE(Formula, Data, Term, By)

Arguments

Formula

a conventional formula for a linear model

Data

a data.frame to be analyzed

Term

a factor name (not interaction) to calculate the sum of square and do F test with least square means

By

a factor name to be used for slice

Details

It performs F test with a given slice term. It is similar to the SLICE option SAS PROC GLM.

Value

Returns sum of square and its F value and p-value. Row names are the levels of the slice term.

Df

degree of freedom

Sum Sq

sum of square for the set of contrasts

Mean Sq

mean square

F value

F value for the F distribution

Pr(>F)

proability of larger than F value

Author(s)

Kyun-Seop Bae k@acr.kr

Examples

  SLICE(uptake ~ Type*Treatment, CO2, "Type", "Treatment") 
  SLICE(uptake ~ Type*Treatment, CO2, "Treatment", "Type") 

sasLM documentation built on Nov. 19, 2023, 5:12 p.m.