Hi Elise,
One of the quirks of POSIXt time values is that they are lists. This
should give you the plot:
plot(Soil_Temp~as.numeric(DateTime),eldf,xaxt="n",xlab="DateTime")
and this the x axis:
axis.POSIXct(1,eldf$DateTime)
If you want a different format for the date values on the axis, look
at
Muchas gracias Patricio es una muy buena idea, práctica y rápida de implementar.
Saludos,
Rodrigo.
Sent from my Samsung Galaxy smartphone. Original message From:
patricio fuenmayor Date: 20/01/2017 19:14
(GMT-03:00) To: rod99h...@gmail.com Cc:
Hi Elise,
If I create a CSV file like your example and read it into a data frame:
eldf<-read.csv("el.csv")
Then convert the first field to POSIXt dates:
eldf$DateTime<-strptime(eldf$DateTime,"%Y-%m-%d %H:%M:%S")
class(eldf$DateTime)
[1] "POSIXlt" "POSIXt"
I can subset the file like this:
It does look like "2016-03-27 02:35:00 CET" is a non-existent time
since the time sprang from 02:00-epsilon to 0:300 on that date. The
POSIXlt entry for it is a missing value (per is.na()) and order() puts
missing values at the end, hence your problem.
It seems like a bug that POSIXlt entries
Hello,
You could give us an example of what html you are trying to read.
Follow this example:
install.packages("XML")
library(XML)
url <-
"http://www.databaseolympics.com/sport/sportevent.htm?enum=110=ATH;
dat <- readHTMLTable(readLines(url), which=2, header=TRUE,
stringsAsFactors = FALSE)
Hi Elise,.
I would ask:
class(data$DateTime)
and see if it returns:
"POSIXct" "POSIXt"
Jim
On Sat, Jan 21, 2017 at 3:02 AM, Elise LIKILIKI
wrote:
> Hello,
>
> I have a dataset containing Date Time, Air Temperature, PPFD, Sol
> Temperature...
> The first data are
Hi Glenn,
I would try the "rename" option which should allow you to give the
output another name.
Jim
On Sat, Jan 21, 2017 at 2:09 AM, Glenn Schultz wrote:
> All,
> I have a zip that was downloaded with HTTR. I had to use HTTR because I
> need to login and post to the
Hi All,
I would like to learn how to scrape a web site which is password protected. I
do my training with my Delicious web site. I will obey all rules and
legislation existent.
The delicious export api was shut down. I assume that the web site will be shut
down in the foreseeable future. In
8 matches
Mail list logo