Displaying 1 result from an estimated 1 matches for "tmplon".
Did you mean:
tmplen
2012 May 21
1
Changing selected elements of an array
...blobs are changed and not individual
elements.
How can I circumvent this feature of R?
E.g: in this situation I would like the downward diagonal to be changed, not
the square box...
> tmpmat <-
matrix(NA,nrow=9,ncol=10,dimnames=list(formatC(tmplat,format="f",digits=2),formatC(tmplon,format="f",digits=2)))
> tmpmat
8.00 9.50 9.75 14.25 15.00 15.75 18.00 20.50 21.75 25.25
55.25 NA NA NA NA NA NA NA NA NA NA
56.75 NA NA NA NA NA NA NA NA NA NA
57.75 NA NA NA NA NA NA NA NA NA NA
58...