mevol_CVP: Do mevolCVP

View source: R/mevolCVP.R

mevol_CVPR Documentation

Do mevolCVP

Description

More about it

Usage

mevol_CVP(
  mat = mat,
  group = group,
  lim = 30,
  nrep = 100,
  return.matrix = FALSE,
  minInd = NULL,
  print.legend = TRUE
)

Arguments

mat

A PCA matrix (individuals in rows and variables in columns).

group

the grouping factor (a vector or a factor)

lim

maximum number of components to be included

nrep

number of resampling.

return.matrix

if =TRUE, the matrix used to draw the graphics is returned.

minInd

the minimum number of specimens to be included in the analyses. By default the number of specimens in the smallest group.

print.legend

logical whether to add a legend

Value

a graph and if return.matrix is TRUE, then a list

Examples

# Some examples
mevol_CVP(pig$mat, pig$gp, nrep=2)


vbonhomme/mevolCVP documentation built on Aug. 24, 2024, 12:49 p.m.