R/haptable.haplinStrat.R

Defines functions haptable.haplinStrat

haptable.haplinStrat <- function(object){

## Create haptable for each stratum
.ut <- f.haptable.list(object)
## Change the generic name to stratum
names(.ut)[names(.ut) == "element"] <- "stratum"
## Change row.no to row.str to avoid confusion with row.win
names(.ut)[names(.ut) == "row.no"] <- "row.str"

return(.ut)
}

Try the Haplin package in your browser

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

Haplin documentation built on May 20, 2022, 5:07 p.m.