Displaying 1 result from an estimated 1 matches for "nonsibling".
2003 Mar 17
2
scoping rules; summary
...ite what I need: I want some way to list
all non-local variables that increment() uses in its body.
[The original variable names referred to genetic bandsharing data for
possums, eg
coates.female.pouchyoung.allbands.method5
and
huapai.young.male.sibling.relatedness.method3
and
huapai.old.female.nonsibling.relatedness.justdarkbands.method1
ad nauseum...hence the need for shorter example variable names!]
ll1 <- 2 #sic
increment <- function(x)
{
l11 <- 1 #sic
return(x+ll1) #sic; deliberate bug here (sic)
}
--
Robin Hankin, Lecturer,
School of Geography and En...