I’m trying to build a path model using the SEMinR library. This is the code I’m trying to run :
mediated_sm <- relationships(
paths(from = "clicks_2095320", to = "total_conversions")
)
mediated_model <- estimate_pls(data = Dataset2,
structural_model = mediated_sm)
My dataframe has multiple columns but I made sure that the names are correct so it should be could, but instead I have this error :
“””
Generating the seminr model
Error in [.data.frame
(data, , i) : undefined columns selected
“””
New contributor
Radu Miu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1