search for: kokavolchkov

Displaying 4 results from an estimated 4 matches for "kokavolchkov".

2011 Aug 05
2
R compare cells in one matrix
Good morning! Please, could you help me with the problem? I have a matrix *144x73.* An example of a matrix: [,1] [,2] [,3] [,4] [,5] [1,] 277.4 276.24 275.62 276.55 278.05 [2,] 277.4 276.24 275.55 276.42 277.72 [3,] 277.4 276.24 275.50 276.22 277.39 [4,] 277.4 276.24 275.42 276.02 277.02 [5,] 277.4 276.22 275.37 275.82 276.64 And I want to *compare*its cells
2011 Aug 16
1
Write vector/matrix in a loop
Hello! I'm trying to *save values* (*row and col*) in two matrices(1,m) or vectors. I have a loop, where a get these values: for(i in 144){ for(j in 73){ if(B4[i,j]==1){ # B4 is a matrix(73, 144) row <- B4[i-(i-1),j] col <- B4[i,j-(j-1)] } } } *How to save row and col?* Thank you! -- View this message in context:
2011 Jul 11
3
NetCDF, open *.nc
*Good day!* I'm using Vista(x64) and R 2.13.0(x64) (with ncdf and RnetCDF packs) *I have a problem:* I'm trying to open **.nc* file and I use this script (http://r.789695.n4.nabble.com/Problem-downloading-and-opening-netcdf-file-td3046897.html#a3046965) library(ncdf) link <- "http://ibis.grdl.noaa.gov/SAT/SeaLevelRise/slr/slr_sla_gbl_free_all_66.nc" dest <-
2011 Aug 17
0
How to rotate a contour?
Hello! I have a contour and I need *to rotate* it 180 degrees counterclockwise and 180 degrees around the x-axis. This is a code. I get all the values from the ncdf file: A = get.var.ncdf(nc, "air", start=c(1,1,1,1), count=c(144,73,1,1)) contour(A) Thank you! -- View this message in context: http://r.789695.n4.nabble.com/How-to-rotate-a-contour-tp3750710p3750710.html Sent from the R