Advertisement
Guest User

Untitled

a guest
Jul 15th, 2019
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. library(rio)
  2. library(pls)
  3.  
  4. y = import("./lactin k04.xlsx", which="y")
  5. x = import("./lactin k04.xlsx", which="x")
  6. p = import("./lactin k04.xlsx", which="unknown")
  7.  
  8. ejemplo <- plsr(x~y)
  9. **Error in model.frame.default(formula = x ~ y) :
  10. invalid type (list) for variable 'x'**
  11.  
  12. problema <- predict(ejemplo,p)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement