Displaying 2 results from an estimated 2 matches for "tp4629940".
Did you mean:
tp4629921
2012 May 14
3
How to apply a function to a multidimensional array based on its indices
...for(y2 in 1:2)
{
K[x1,y1,x2,y2] <- x1*y2 - sin(x2*y1) #this is just a dummy function.
}
}
}
}
Thank you in advance for any help.
--
View this message in context: http://r.789695.n4.nabble.com/How-to-apply-a-function-to-a-multidimensional-array-based-on-its-indices-tp4629940.html
Sent from the R help mailing list archive at Nabble.com.
2012 May 15
0
How to apply a function to a multidimensional array, based on its indices
...1.090703 2.756802
> [2,] 3.090703 4.756802
>
>
>> > Thank you in advance for any help.
>> >
>> >
>> > --
>> > View this message in context:http://r.789695.n4.nabble.com/How-to-apply-a-function-to-a-multidimensional-array-based-on-its-indices-tp4629940.html
>> > Sent from the R help mailing list archive at Nabble.com.
>> >
>> > ______________________________________________
>> > R-help at r-project.org mailing list
>> > https://stat.ethz.ch/mailman/listinfo/r-help
>> > PLEASE do read the...