get_coord.pcoa {MicrobiotaProcess} | R Documentation

## get ordination coordinates.

### Description

get ordination coordinates.

### Usage

    ## S3 method for class 'pcoa'
    get_coord(obj, pc)

    get_coord(obj, pc)

    ## S3 method for class 'prcomp'
    get_coord(obj, pc)

### Arguments

`obj` | object,prcomp class or pcoa class
`pc` | integer vector, the component index.

### Value

ordplotClass object.

### Examples

    ## Not run:
    require(graphics)
    data(USArrests)
    pcares <- prcomp(USArrests, scale = TRUE)
    coordtab <- get_coord(pcares,pc=c(1, 2))
    coordtab2 <- get_coord(pcares, pc=c(2, 3))

    ## End(Not run)

[Package MicrobiotaProcess version 1.4.4 Index]