Skip to content
Prev 369724 / 398503 Next

plspm package error in data frame

Hello,

Your code throws an error before the line you've mentioned:

 > library(plspm)
 >
 > "Attitude" = c(1, 0, 0, 0, 0, 0, 0, 0)
 >
 > "Normative Beliefs" = c(1, 0, 0, 0, 0, 0, 0, 0)
 >
 > "Subjective Norm" = c(0, 0, 1, 0, 0, 0, 0, 0)
 >
 > "Control Beliefs" = c(1, 0, 1, 0, 0, 0, 0, 0)
 >
 > "Perceived Behavioural Control" = c(0, 0, 0, 0, 1, 0, 0, 0)
 >
 > "Intention" = c(0, 1, 0, 1, 0, 1, 0, 0)
 >
 > "Behaviour" = c(0, 0, 0, 0, 0, 0, 1, 0)
 >
 > TPB_path = rbind(`Behavioural Beliefs`, Attitude, `Normative 
Beliefs`, `Subjective Norm`, `Control Beliefs`, `Perceived Behavioural 
Control`, Intention, Behaviour)
Error in rbind(`Behavioural Beliefs`, Attitude, `Normative Beliefs`, 
`Subjective Norm`,  :
   object 'Behavioural Beliefs' not found


Please correct this error and post what 'Behavioural Beliefs' is.

Hope this helps,

Rui Barradas

Em 11-06-2017 20:16, Sarah Sinasac escreveu: