Learn R Programming

Mega2R (version 1.0.3)

uniqueFamMember: regenerate fam data frame with unique values in member column

Description

Reads the fam data frame in "envir" and returns a new one with unique entries in the member column

Usage

uniqueFamMember(envir = ENV)

Arguments

envir

'environment' containing SQLite database and other globals

Value

a data frame with columns the same as the "fam" data frame but with the member column containing unique entries

See Also

mkfam

Examples

Run this code
# NOT RUN {
db = system.file("exdata", "seqsimm.db", package="Mega2R")
ENV = read.Mega2DB(db)
setfam(uniqueFamMember(envir = ENV))

# }

Run the code above in your browser using DataLab