Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

4
  • Can you replace your current presentations of data with the output of dput(x) and dput(Y)? It's a lot easier to give help if we can see the actual form of the data. Commented Jul 31, 2013 at 9:47
  • I am afraid I dont know how to change the presentation of the data, I dont know how to use dput() Commented Jul 31, 2013 at 9:57
  • If your object (matrix, dataframe, etc.) is called x and you type dput(x) into your R console. It will give you some output. If you copy and paste that output into your question, we will be able to see exactly what your data look like. Commented Jul 31, 2013 at 10:20
  • @RabidHealer, sorry, but your sample data doesn't even closely resemble what you originally asked. Can you please edit your question to include a minimal working example that demonstrates what you are trying to accomplish. Commented Jul 31, 2013 at 15:08