ncn-foreigners/nonprobsvy

Bug in readme examples

Closed this issue · 0 comments

An example code for NN in readme is:

nonprob(
  outcome = y ~ x1 + x2 + ... + xk, 
  data = nonprob, 
  svydesign = prob, 
  method_outcome = "nn", 
  family_outcome = "gaussian", 
  control_outcome = controlOutcome(k = 2)
)

with controlOutcome function instead of controlOut.