Hi

and what is wrong with e.g.

fit  <- neuralnet(pH~station+month, data=yourdata)

As I said I am not an expert in neural nets  but here is some explanation how it works
http://gekkoquant.com/2012/05/26/neural-networks-with-r-simple-example/

based on that after fitting you could do

compute(fit, testdata)

where testdata shall be station and month.

However for time series it can be more appropriate something like ARIMA modelling.

Petr

From: javad bayat [mailto:j.bayat194@gmail.com]
Sent: Monday, January 06, 2014 5:58 PM
To: PIKAL Petr
Subject: Re: [R] help

Dear Petr;
I want to write function that: for example for pH:
according these 20 months predict the variability of pH for next month and stations.
all best.

On Mon, Jan 6, 2014 at 7:23 PM, PIKAL Petr <petr.pikal@precheza.cz<mailto:petr.pikal@precheza.cz>> wrote:
Hi
can you be more specific? In what aspect those packages does not comply with your data? What did you do for testing it?

I am not an expert in neural networks but I do not see anything which prevents using your data in nnet.

Petr


> -----Original Message-----
> From: r-help-bounces@r-project.org<mailto:r-help-bounces@r-project.org> [mailto:r-help-bounces@r-<mailto:r-help-bounces@r->
> project.org<http://project.org>] On Behalf Of javad bayat
> Sent: Monday, January 06, 2014 3:16 PM
> To: R-help@r-project.org<mailto:R-help@r-project.org>
> Subject: Re: [R] help
>
> Dear Petr;
> I saw the nnet and neuralnet packag, and I cant find some thing
> relating with my data based on neural network.
>
>
> On Mon, Jan 6, 2014 at 10:55 AM, PIKAL Petr <petr.pikal@precheza.cz<mailto:petr.pikal@precheza.cz>>
> wrote:
>
> > Hi
> >
> > Why you did not use dput for sending data? It is far better than
> > picture, which can not be used without retyping.
> >
> > Redarding neural network, did you try e.g. nnet or neuralnet package.
> >
> > Petr
> >
> > > -----Original Message-----
> > > From: r-help-bounces@r-project.org<mailto:r-help-bounces@r-project.org> [mailto:r-help-bounces@r-<mailto:r-help-bounces@r->
> > > project.org<http://project.org>] On Behalf Of javad bayat
> > > Sent: Monday, January 06, 2014 7:37 AM
> > > To: R-help@r-project.org<mailto:R-help@r-project.org>
> > > Subject: Re: [R] help
> > >
> > > Dear all;
> > > many thanks for your answers.
> > > Hear is my data (not all row: the station was 8 station at 20
> month)
> > > which I forward it as image. I hope some one can help me to do
> > > Neural network for prediction of next month.
> > > many thanks.
> > > all bests.
> > >
> > >
> > >
> > >
> > >
> > >
> > > --
> > > Best Regards
> > > Javad Bayat
> > > M.Sc. Environment Engineering
> > > Shahid Beheshti (National) University (SBU) Alternative Mail:
> > > bayat194@yahoo.com<mailto:bayat194@yahoo.com>
> >
>
>
>
> --
> Best Regards
> Javad Bayat
> M.Sc. Environment Engineering
> Shahid Beheshti (National) University (SBU) Alternative Mail:
> bayat194@yahoo.com<mailto:bayat194@yahoo.com>
>
>       [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org<mailto:R-help@r-project.org> mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-
> guide.html
> and provide commented, minimal, self-contained, reproducible code.



--
Best Regards
Javad Bayat
M.Sc. Environment Engineering
Shahid Beheshti (National) University (SBU)
Alternative Mail: bayat194@yahoo.com<mailto:bayat194@yahoo.com>

	[[alternative HTML version deleted]]


