Thanks !!
Best regards
...
Tanvir Ahamed
Göteborg, Sweden
On Monday, 11 November 2013, 13:49, Uwe Ligges
wrote:
On 11.11.2013 13:31, Mohammad Tanvir Ahamed wrote:
> Hi there !!
> I have a function like
> fun <- function(x,y)
> {
> loe<-loess(y ~ x,span=0.9,fami
On 11.11.2013 13:31, Mohammad Tanvir Ahamed wrote:
Hi there !!
I have a function like
fun <- function(x,y)
{
loe<-loess(y ~ x,span=0.9,family="gaussian")
pre<-predict(loe,data.frame(x=x))
return(pre)
}
Now i have defined :
x<-1:500
y<-matrix(rnorm(1000,3),ncol=2)
I can manipulate fun(x,y[,1]
Hi there !!
I have a function like
fun <- function(x,y)
{
loe<-loess(y ~ x,span=0.9,family="gaussian")
pre<-predict(loe,data.frame(x=x))
return(pre)
}
Now i have defined :
x<-1:500
y<-matrix(rnorm(1000,3),ncol=2)
I can manipulate fun(x,y[,1]) .
But i want to apply the function on each column
3 matches
Mail list logo