I am trying to run the following command on my dataset;
pbad2way(formula = Balance~Occupation+Gender+Occupation:Gender, data =
plxsell, est= "mom", nboot= 5000)
name of dataset is plxsell Balance, Occupation, Gender are the columns
but i am receiving following error;
Error in FUN(X[[i]], ...) : argument must be coercible to non-negative integer In addition: Warning message: In FUN(X[[i]], ...) : first element used of 'length.out' argument
Please help.
Thanks Akhil