fat2_table: Utils: Summary of the analysis for factor arrangement with...

View source: R/fat2_table.R

fat2_tableR Documentation

Utils: Summary of the analysis for factor arrangement with two qualitative factors.

Description

Summarizes the output returned in the summarise_anova function in list form. The advantage is that the table, in the case of significant interaction, is returned in a format that facilitates assembly in terms of scientific publication.

Usage

fat2_table(output, nf1, nf2, column = 1)

Arguments

output

Output of summarise_anova function for FAT2DIC, FAT2DIC.ad, FAT2DBC, FAT2DBC.ad, PSUBDIC and PSUBDBC design.

nf1

Number of levels of factor 1

nf2

Number of levels of factor 2

column

Variable column

Value

returns a list containing analysis output for experiments in FAT2DIC, FAT2DIC.ad, FAT2DBC, FAT2DBC.ad, PSUBDIC and PSUBDBC design.

Author(s)

Gabriel Danilo Shimizu

Examples


#==============================================================
data(corn)
attach(corn)
a=FAT2DIC(A, B, Resp, quali=c(TRUE, TRUE))
output_1=summarise_anova(list(a),design="FAT2DIC",divisor = FALSE)
fat2_table(output_1,nf1=3,nf2=2,column=1)

#==============================================================
data(cloro)
respAd=c(268, 322, 275, 350, 320)
resu=with(cloro, FAT2DIC.ad(f1, f2, bloco, resp, respAd))
output_2=summarise_anova(list(resu),design="FAT2DIC.ad",divisor = FALSE)
fat2_table(output_2,nf1=2,nf2=4,column=1)

AgroR documentation built on May 29, 2024, 4:18 a.m.