jointcluster: Analysis: Method to evaluate similarity of experiments based...

View source: R/jointcluster.R

jointclusterR Documentation

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")

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

Value

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

Author(s)

Gabriel Danilo Shimizu, shimizu@uel.br

Examples

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)

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