Displaying 2 results from an estimated 2 matches for "cleardeltabis".
2003 Apr 28
2
Writing a function
Hi r lovers,
I have written the following function
> ClearDeltaBis
function(Matrix){
for (i in 1:3)
{
for (j in 1:2)
{if (is.na(Matrix[i,j]))
NA->(Matrix[i,j+1])}
}
Matrix
}
it looks correct but when I try to implement it on the MatCor Matrix I get
this erro...
2003 Apr 28
0
Re: [R Thanks for help Writing a function
...|
>------------------------------------------------------------------------------------------------------------------------------|
On Mon, 28 Apr 2003 vincent.stoliaroff at socgen.com wrote:
> I have written the following function
>
> > ClearDeltaBis
> function(Matrix){
> for (i in 1:3)
> {
> for (j in 1:2)
> {if (is.na(Matrix[i,j]))
> NA->(Matrix[i,j+1])}
> }
> Matrix
> }
>
> it looks correct but when I tr...