changepop | R Documentation |
The changepop
function changes population-related information in tabfreq, simugeno and
simumix objects
changepop(obj, oldpop, newpop)
obj |
a forensim object, either a tabfreq, a simugeno or a simumix object |
oldpop |
a character vector giving the population names to be changed |
newpop |
a character vector giving the new population names |
a forensim
object where the slots containing population-related information have been modified
Hinda Haned h.haned@nfi.minvenj.nl
## Not run: data(strveneto) tab1 <- simugeno(strveneto,n=100) tab2 <- changepop(tab1,"Veneto","VENE") tab1$pop.names tab2$pop.names ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.