Learn R Programming

NBBDesigns (version 1.1.0)

anlys: Analysis of data

Description

This function provides the Analysis of Variance (Type III) of the data generated from experiments conducted using a neighbour balanced/partially neighbour balanced block design.

Usage

anlys(data)

Value

It provides the ANOVA table.

Arguments

data

The data file should be in csv format. The columns should be named as block,treatment, left_neighbour, right_neighbour and yield as given in the example data set.

Examples

Run this code
if (FALSE) {
library(NBBDesigns)
data<-file.choose()
data<-read.csv(data,header=TRUE,colClasses = c("factor","factor","factor","factor","numeric"))
fix(data)
anlys(data)
}

Run the code above in your browser using DataLab