I have a variable :
*sim.var[,1]
*
Object of class SpatialPixelsDataFrame
Object of class SpatialPixels
Grid topology:
cellcentre.offset cellsize cells.dim
Xloc 0.3 0.0597
Yloc 0.1 0.05 117
SpatialPoints:
Xloc Yloc
[1,] 0.30 1.70
I have a matrix with a lot of values inside..
when I execute the folowing command
matrix2=subset(martix, condition.)
it works...
but after the previous command I execute another subset
matrix3=subset(martix2, condition2.)
and appears the following error:
(subscript) logical
Hello everybody.
I have this object
procedure property sensor_data sensor_date
1S_10 nord626821.0 2002-09-30T00:00:00+0200
2 S_10 nord626821.0 2002-12-05T00:00:00+0100
3S_10 nord626821.1 2008-07-31T00:00:00+0200
4 S_1000 nord
I solved the 1° problem with this command:
matrix2plot2[,sensor_data]-as.numeric(as.character((matrix2plot2[,sensor_data])))
In fact before the previous command I if write:
str(matrix2plot2[,sensor_data])
I get:
Factor w/ 10 levels 131.22,148.532,..: 4 6 4 6 9 8 9 8 3 1 ...
And after the
HI,
I have a dataframe like this:
nametype
A t1
B t2
C t1
D t1
E t3
Ft2
how can I have a sub dataframe based with the column type like this:
(for type = t1)
nametype
A t1
C t1
D t1
(for type = t2)
Hi,
I have a dataframe like this:
procedure propertysensor_data sensor_date
| | | |
[1,] PAT_Laser_2 Distance 30.42 2010-09-30T15:00:12+0200
[2,] PAT_Laser_2 Distance 31.22
Hi,
I have the following matrix (named m):
key
sensor_date Laser_1 Laser_2
Laser_3
2010-09-30T15:00:12+020063
1
2010-10-31T15:05:07+0100
I have a table like this:
A B
aaa 111
bbb 222
ccc 333
ddd 444
and I would like a new row C:
A B C
aaa 111 aaa.111
bbb 222 bbb.222
ccc 333 ccc.333
ddd 444 ddd.444
How can I do this
???
Thanks
thanks
It works!
Alberto
--
View this message in context:
http://r.789695.n4.nabble.com/Concat-two-rows-tp3064998p3065034.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
Hi,
I have this MATRIX m:
key
index sensor1.A sensor1.B sensor2.A sensor2.B sensor3.A
2010-10-1 7:32:00 8NA 5NA 2
2010-10-3 4:33:21NA 3NA 2 1
2010-10-5 7:32:00NA 4
I explain better
key
index sensor1.A sensor1.B sensor2.A sensor2.B sensor3.A
2010-10-1 7:32:00 8NA 5NA 2
2010-10-3 4:33:21NA 3NA 2 1
2010-10-5 7:32:00NA 4
Hi, I have this problem:
I have this matrix:
result property procProperty
2010-10-01 07:32:00 40 Asensor1
2010-10-01 17:32:00 15 Asensor3
2010-10-02 07:32:00 32 A
yes, this is a zoo object.
First off all I have:
procProperty: sensor3 sensor3 sensor3 sensor3 sensor3 sensor3
sensor3 sensor3
property: A B B A B B A A A
data: 40 20 31 32 15 33 15 12 4
I create a matrix with this objects:
data-cbind(data,property)
data-cbind(data,procProperty)
now data
13 matches
Mail list logo