Error in describe Unused Argument(s)

View: New views
1 Messages — Rating Filter:   Alert me  

Error in describe Unused Argument(s)

by Fulton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I'm using the describe function in (Hmisc) with survey data.

When I run this command: describe(NCS,weights=NCS$w1)

I get this error message:

Error in describe(NCS, weights = NCS$w1) :
  unused argument(s) (weights = c(2.49460916442049,...

Do you know why it is not using the weights argument?