Cc: "r-help@r-project.org"
Sent: Wednesday, July 25, 2012 2:01 PM
Subject: Re: [R] R functions to forecast using neural network
Hi,
It's only for single hidden layer. Is there any other functions?
Sajeeka Nanayakkara
From: arun
To: Sajeeka
gt;
>
> Sajeeka Nanayakkara
>
>
>
>
>
>
> Cc: R help
> Sent: Wednesday, July 25, 2012 1:03 AM
> Subject: Re: [R] R functions to forecast using neural network
>
> Hi,
>
> Possibly ?nnet package.
> A.K.
>
>
>
>
>
Hi,
It's only for single hidden layer. Is there any other functions?
Sajeeka Nanayakkara
Cc: R help
Sent: Wednesday, July 25, 2012 1:03 AM
Subject: Re: [R] R functions to forecast using neural network
Hi,
Possibly ?nnet package.
A.K.
- Ori
Hi,
Possibly ?nnet package.
A.K.
- Original Message -
From: Sajeeka Nanayakkara
To: "r-help@r-project.org"
Cc:
Sent: Tuesday, July 24, 2012 2:21 PM
Subject: [R] R functions to forecast using neural network
Is there any R functions to forecast, using feedforward bakpropagation
algo
Hi group,
code:
>m<-read.table("test.txt",sep='\t',header=TRUE,colClasses=c('character','integer','integer','numeric','numeric'))
>
>s<-data.frame(c(rle(m$Sample1)[[2]],rle(m$Sample2)[[2]]),c(rle(m$Sample1)[[1]],rle(m$Sample2)[[1]]))
>
> names(s)=c("Values","Probes")
>G=1
> for(i in 1:length(s$P
Hi,
Thanks for your reply.
I converted using your idea and since I have big file I thought reading as a
table would help.
This is just snippet of my data.
I have around 150 samples so wrting s in that form would be tedious.
>m<-read.table("test.txt",sep='\t',header=TRUE,colClasses=c('character','in
Suji,
# Here is your data ("test").
test <- structure(list(Chr = structure(c(1L, 1L, 1L, 1L, 1L, 1L, 1L,
1L, 1L, 1L), .Label = "chr2", class = "factor"), start = c(9896633L,
9896639L, 14314039L, 14404467L, 14421718L, 16031710L, 16036178L,
16048665L, 37491676L, 37702947L), end = c(9896683L, 989
If your data is named 'test_file'
then use dput(test_file)
You can copy and paste the results here so people can more easily try and
help you.
see
?dput
sujitha wrote:
>
> Hi group,
> I am trying to right a code to do the following
> This is how the test file looks like:
> Chr start end sa
You'll never figure it out if you don't "play around" with your data.
Assuming you have been able to import the data, a good place to start is to
look at what tools you have available.Check out this:
http://cran.r-project.org/doc/contrib/Short-refcard.pdf
check out things like
?which
?max
?
For example, if I have the function in R:
sum = function(a,b)
{
sum = a+b
return sum
}
In Java:
re.eval(sum(a,b)) gives me an error.
--
View this message in context:
http://r.789695.n4.nabble.com/R-functions-in-Java-tp2995428p2995620.html
Sent from the R help mailing list archive at Nab
Any advice?
--
View this message in context:
http://r.789695.n4.nabble.com/R-functions-in-Java-tp2995428p2995490.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r
__
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.
Try this,
sapply(Mabslim , my_gamma, alpha=-1, xstar = -21, xmax = -27)
or wrap it with ?Vectorize,
vmy_gamma = Vectorize(my_gamma, vectorize.args = "xlim")
vmy_gamma(alpha=-1, xstar = -21, xlim= Mabslim, xmax = -27)
HTH,
baptiste
2009/9/17 Maurizio Paolillo :
> Dear R users,
> I'm trying t
length(count.fields("foo.txt"))
?
xue dong wrote:
>
> hi, everyone,
>
> do you know if there is a R function that can count the lines of a file
> without open it?
>
> something like "wc -l " in Unix.
>
> Thanks,
>
> Xue
>
> [[alternative HTML version deleted]]
>
> _
14 matches
Mail list logo