i have this data with me...i am only copying part of data here...
date time
"2011-05-23""04:31:17"
"2011-05-23""04:31:20"
"2011-05-23""04:31:22"
"2011-05-23""04:31:25"
"2011-05-23""04:31:27"
"2011-05-23""04:31:18"
"2011-05-23""04:31:20"
"2011-05-23"
i have this data with me...i am only copying part of data here...
date time
"2011-05-23""04:31:17"
"2011-05-23""04:31:20"
"2011-05-23""04:31:22"
"2011-05-23""04:31:25"
"2011-05-23""04:31:27"
"2011-05-23""04:31:18"
"2011-05-23""04:31:20"
"2011-05
Hi .. i am a beginner in R
I have data in the format of
date
04/27/11
04/27/11
04/30/11
04/30/11
05/03/11
05/03/11
05/04/11
Now i want to plot the data something like this on x-axis...
--
27 28 29 30 1 2 3 4
April
I am sorry i was not clear in my early post
I have used the below code to change my data into date format..
r<-as.POSIXlt(paste(data2$date,data2$time))
library(gsubfn)
library(chron)
r<-as.chron(r)
data2$date<-strftime(strptime(r, format="(%m/%d/%y %H:%M:%S)"),"%Y-%m-%d")
data2$time<-strft
I am sorry again..
I am posting the sample data..
my data set is huge.. dimension of my data set is 5 x 6
scan.nobird.no date time
height
"1" 24 5"2011-04-29""21:17:56" 357
"2" 78 48
i am sorry again..
this is my dataset..
'data.frame': 46376 obs. of 19 variables:
$ scan.no : int 24 78 61 64 64 64 65 73 79 82 ...
$ track.no : int 5 48 105 122 124 121 123 380 1073 1093 ...
$ blip.no : int 70 323 514 547 549 553 558 5355 7014 7119 ...
$ date : chr "2011-04-2
thank you for your reply..
As i have told you earlier... i want to plot the total no.of birds counted
for each day and plot total no.of birds for each day.. one level for each
day ..
i wanted to normalize the data.. since i don't have the data for equal no.of
hours for all days.. for example
o
Hello List,
I am having trouble finding the command for my problem.
I have two arrays x and y. now i would like to compare the values of x and y
and then get the index of x which is exactly or approximately equal(+/- some
value ) to the values in y.
x <- runif(100,min=0,max=5)
y <- runif(10,m
this is exactly what i wanted.
How to i select only the minimum value from this?.
thank you
My apologies: you need an abs() call as well:
which(abs(outer(x, y, "-")) < threshold, arr.ind = TRUE)
Michael
--
View this message in context:
http://r.789695.n4.nabble.com/equating-approxim
9 matches
Mail list logo