print.SFS_class: Print site frequency spectrum

Description Usage Arguments Details Examples

View source: R/print_SFS_class.R

Description

Prints a vector with the site frequency spectrum.

Usage

1
2
## S3 method for class 'SFS_class'
print(SFS, ...)

Arguments

SFS

a vector with the site frequency spectrum.

...

arguments passed on from print.

Details

It is used for printing the site frequency spectrum from SFS.

Examples

1
2
3
SFSvec <- c(4, 1, 2, 0, 0)
class(SFSvec) <- "SFS_class"
print(SFSvec)

aumath-advancedr2019/simDNA documentation built on Nov. 27, 2019, 11 a.m.