Learn R Programming

NBBDesigns (version 1.2.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, yield, block, treatment, left_neighbour, right_neighbour)

Value

It provides the ANOVA table.

Arguments

data

The data file should be in csv format.

yield

Provide yield column name (eg. "Yield").

block

Provide the block column name (eg. "block").

treatment

Provide the treatment column name (eg. "Trt").

left_neighbour

Provide the left_neighbour column name (eg. "Left Neighbour").

right_neighbour

Provide the right_neighbour column name (eg. "Right Neighbour").

Examples

Run this code
library(NBBDesigns)
sample_data

anlys(
  data = sample_data,
  yield = "yield",
  block = "block",
  treatment = "treatment",
  left_neighbour = "left_neighbour",
  right_neighbour = "right_neighbour"
)

Run the code above in your browser using DataLab