Displaying 2 results from an estimated 2 matches for "miedat".
Did you mean:
miedate
2008 Feb 21
2
Unable to create/index a zoo irregular timeseries
...""
which is a collection of blood pressure data at different time of the day.
I would like to build an its with MIN & MAX blood pressure but being a real
newbye with zoo I obtain the following
> library(zoo)
pressione <- data.frame(read.csv("pressione2008.csv"))
miedate <- strptime(as.character(pressione[,1]), format="%d-%m-%Y %H:%M:%S")
> miedate
[1] "2008-01-07 08:00:00" "2008-01-07 18:00:00" "2008-01-08 08:00:00"
> str(miedate)
POSIXlt[1:9], format: "2008-01-07 08:00:00" "2008-01-07 18:00:00&q...
2007 Dec 09
1
Setting the grid of a graph of timeseries
I have the following code
####################################################################
library(zoo)
miedate <- yearmon((2006)+seq(0,23)/12)
tab <- zoo(cbind(A = c(79.47, 89.13, 84.86, 75.68, 72.82, 78.87, 93.46,
78.18, 82.46, 77.25, 80.95, 84.39, 81.7, 74.76, 65.29, 60.3,
66.59, 73.19, 92.39, 65.76, 77.45, 74.22, 101.36, 100.01), B = c(77.95,
76.73, 51.2, 51.86, 51.29, 49.45, 53.88, 47.96, 55.07,...