Learn R Programming

phylosim (version 3.0.5)

getTheta.T92: Get the GC content

Description

Get the GC content.

Usage

# S3 method for T92
getTheta(this, ...)

Arguments

this

A T92 object.

...

Not used.

Value

A numeric vector of length one.

See Also

For more information see T92.

Examples

Run this code
# NOT RUN {
       # construct a T92 object
       p<-T92()
       # set/get GC content
	setTheta(p,0.6)
	getTheta(p)
	# set/get GC content via virtual field
	p$theta<-0.3
	p$theta
	# get object summary
	summary(p)
 
# }

Run the code above in your browser using DataLab