R/Var_ZHT_Sim.R

Var_ZHT_Sim <-
function(Knoten, N_Varis){
  K      <- c() 
  for (i in 1:Knoten) K[i] <- sample(2:(N_Varis+1), 1)  # Variablenposition in R-Tabelle
  return(cbind(1:Knoten, K))
}

Try the NHEMOtree package in your browser

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

NHEMOtree documentation built on May 2, 2019, 7:32 a.m.