[R] neural networks

2008-07-02 Thread Donna Tucker
Hello all, I am trying to use the neuralnet function from the neural package to train neural networks. I am finishing my thesis over statistical learning in which I am comparring the MSE values for various algorithms with random data sets, so I do not have a specific application. I have two i

[R] (no subject)

2008-03-23 Thread Donna Tucker
Is there any way to use more than one color or shape in the same plot. I would like to make the points different colors for various levels of a variable. I have tried a simple 'if' statement in the plot command, but I get an error message. Here is what I have tried and the error message I ge

[R] counting specific elements in a column of a matrix

2008-03-08 Thread Donna Tucker
Hello, I would like to know how to count the number (cardinality) of a specific element in a single row of a matrix. At this time I have 30X3 matrix. The first column is the treatment number for each data point. I would like to know how many of each treatments are in this matrix. i.e. I wa