Learn R Programming

polyMatrix (version 0.3.1)

pMcol: A column of the given polyMatrix

Description

Picks up a given column of the given matrix

Usage

pMcol(pm, which = 1)

Arguments

pm

a polyMatrix class object

which

the serial number of the required column

Value

A pVector class list of the elements of the column ‘which’ of the polynomial matrix ‘pm’.

See Also

pMrow

Examples

Run this code
# NOT RUN {
A <- polyMgen.a()
A

pMcol(A,2)

# clean up
# rm(A)
# }

Run the code above in your browser using DataLab