Learn R Programming

AgroR (version 1.3.6)

jointcluster: Analysis: Method to evaluate similarity of experiments based on QMres

Description

This function presents a method to evaluate similarity of experiments based on a matrix of QMres of all against all. This is used as a measure of similarity and applied in clustering.

Usage

jointcluster(qmres, information = "matrix", method.cluster = "ward.D")

Value

Returns a residual mean square ratio matrix, bar graph with ratios sorted in ascending order, or cluster analysis.

Arguments

qmres

Vector containing mean squares of residuals or output from list DIC or DBC function

information

Option to choose the return type. `matrix`, `bar` or `cluster`

method.cluster

Grouping method

Author

Gabriel Danilo Shimizu, shimizu@uel.br

Examples

Run this code
qmres=c(0.344429, 0.300542, 0.124833, 0.04531, 0.039571, 0.011812, 0.00519)
jointcluster(qmres,information = "cluster")
jointcluster(qmres,information = "matrix")
jointcluster(qmres,information = "bar")

data(mirtilo)
m=lapply(unique(mirtilo$exp),function(x){
  m=with(mirtilo[mirtilo$exp==x,],DBC(trat,bloco,resp))})
jointcluster(m)

Run the code above in your browser using DataLab