Learn R Programming

phylosim (version 3.0.5)

setName.QMatrix: Set the name of a QMatrix object

Description

Set the name of a QMatrix object.

Usage

# S3 method for QMatrix
setName(this, value, ...)

Arguments

this

A QMatrix object.

value

A character vector of length one.

...

Not used.

Value

The new object name.

See Also

For more information see QMatrix.

Examples

Run this code
# NOT RUN {
	# create a QMatrix object
	m<-QMatrix()
	# set/get name
	setName(m,"Susie Q")
	getName(m)
	# set/get name via virtual field
	m$name<-"Q"
	m$name
 
# }

Run the code above in your browser using DataLab