Learn R Programming

synbreed (version 0.12-9)

[.relationshipMatrix: Extract or replace part of relationship matrix

Description

Extract or replace part of an object of class relationshipMatrix.

Usage

# S3 method for relationshipMatrix
[(x,…)

Arguments

x

object of class ''relationshipMatrix''

...

indices

Examples

Run this code
# NOT RUN {
data(maize)
U <- kin(codeGeno(maize),ret="realized")
U[1:3,1:3]
# }

Run the code above in your browser using DataLab