Re: [R] missing in neural network

2015-03-24 Thread Charles Determan Jr
I should have actually created some test code for you. Here is an example: library(neuralnet) data(infert) # create your formula fm <- as.formula(paste("case ~ ", paste(colnames(infert)[c(3,4,6)], collapse="+"))) # call neuralnet net.infert <- neuralnet(fm, infert, err.f

Re: [R] missing in neural network

2015-03-24 Thread Charles Determan Jr
Hi Soheila, You are using the formula argument incorrectly. The neuralnet function has a separate argument for data aptly names 'data'. You can review the arguments by looking at the documentation with ?neuralnet. As I cannot reproduce your data the following is not tested but I think should w