sem-in-r / seminr

Natural feeling domain-specific language for building structural equation models in R for estimation by covariance-based methods (like LISREL/Lavaan) or partial least squares (like SmartPLS)
58 stars 19 forks source link

estimate_pls error #317

Open adrotar22 opened 1 year ago

adrotar22 commented 1 year ago

Hi there, I am getting errors while using estimate pls.

summary(corp_rep_simple_modeltest <- estimate_pls(data = df29102022,

  • measurement_model = simple_mm1,
  • structural_model = simple_sm,
  • inner_weights = path_weighting,
  • missing = mean_replacement,
  • missing_value = "-99")) Generating the seminr model Error in stop_subscript(): ! Can't subset columns that don't exist. x Columns 53, 53, 44, 54, 53, etc. don't exist. Run rlang::last_error() to see where the error occurred. There were 14 warnings (use warnings() to see them)

Can you please help? Thanks