unbound {bio3d} | R Documentation |
Generate a sequence of consecutive numbers from a bounds
vector.
unbound(start, end)
start |
vector of starting values, such as that obtained from bounds . |
end |
vector of (maximal) end values, such as that obtained from bounds . |
This is a simple utility function that does the opposite of the
bounds
function.
Returns a numeric sequence vector.
Barry Grant
Grant, B.J. et al. (2006) Bioinformatics 22, 2695–2696.
test <- c(seq(1,5,1),8,seq(10,15,1)) b <- bounds(test) unbound(b[,"start"],b[,"end"])