data/bnrf1.R

## data() sets directory
load(system.file(file.path("xdata", "bnrf1_both.rda"), package = "VLMC"))
bnrf1EB <- as.factor(strsplit(bnrf1EB, "")[[1L]])
bnrf1HV <- as.factor(strsplit(bnrf1HV, "")[[1L]])

## How MM packaged these :
if(FALSE) {
    nuc <- c("a","c","g","t")
    ddir <- "/archives/Data-Collection/ShumwayStoffer-TSA"
    str(bnrf1EB <- paste(nuc[scan(file.path(ddir,"bnrf1ebv.dat"))],collapse=""))
    str(bnrf1HV <- paste(nuc[scan(file.path(ddir,"bnrf1hvs.dat"))],collapse=""))
    setwd("/u/maechler/R/MM/STATISTICS/VLMC/VLMC/data")
    save(bnrf1EB, bnrf1HV, file="bnrf1.rda")
}

Try the VLMC package in your browser

Any scripts or data that you put into this service are public.

VLMC documentation built on May 1, 2019, 11:32 p.m.