search for: rounddec

Displaying 1 result from an estimated 1 matches for "rounddec".

Did you mean: roundday
2008 Sep 19
2
Extract method for a new class
...ot;numeric"), prototype = list(hID = 0,phID0 = NaN,phID1 = NaN)) In addition, we define a class 'haploList', which is just a list of haplotypes: setClass("haploList",contains = "list",representation(genDist = "numeric",roundDec = "integer")) Most things work fine, but when subsetting a haploList object an object of class list is returned. I realize that I need to write a function for subsetting this new object, and tried to find the code for '[.listof' or something similar could not find it, probably du...