Displaying 20 results from an estimated 10000 matches similar to: "Reading selected lines in an .html file"
2006 Apr 07
1
Aggregating an its series
I'm using a very long irregular time-series of air temperature and
relative humidity of this kind (this is an extract only)
its.format("%
Y%d%m %X)
> base
T H
20020601
12.00.00 27.1 47
20020601 15.00.00 29.1 39
20020601 18.00.00 27.4 39
20020601 21.00.00 24.0 40
20020602 0.00.00 22.0 73
20020602 3.00.00
19.2 49
20020602 6.00.00 19.5 74
20020602
2007 May 09
5
Reading a web page in pdf format
Each day the daily balance in the following link
http://www.
snamretegas.it/italiano/business/gas/bilancio/pdf/bilancio.pdf
is
updated.
I would like to set up an R procedure to be run daily in a
server able to read the figures in a couple of lines only
("Industriale" and "Termoelettrico", towards the end of the balance)
and put the data in a table.
Is that possible? If
2005 Oct 07
2
finding missing lines...
Take this as an example:
> a=data.frame(col1=c(1,2,3,4,5), col2=c
("my","beloved","daughter","son","wife"))
> b=data.frame(col1=c(1,2,4),
col2=c("my","beloved","son"))
> a
col1 col2
1 1 my
2
2 beloved
3 3 daughter
4 4 son
5 5 wife
> b
col1 col2
1 1 my
2
2005 Sep 23
2
Strange behaviour of as.Date function
Dear All,
I'm happily extracting data of temperature from an oracle db
under R via RODBC. After manipulating the extracted data I put them
into a data.frame 'dati' which is as follows:
> dati
DATA tm.
UDINE/RIVOLTO tm.TORINO/CASELLE
1 2005-07-01
22.35 23.80
2 2005-07-02 22.70
22.85
3 2005-07-03 23.80
2005 Sep 13
3
Reading data from a serial port
I need to read data from from a medical appliance via the serial port. This
medical appliance produces streams of set data at regular intervals.
What commands, packages are available for this purpose?
Vittorio
2007 Feb 07
2
Finding not-matching rows in tables
I have these two dataframes in which 'id' is the key field
> tabella
id nome
1 1 PIEMONTE
2 2 VALLED'AOSTA
3 3
LOMBARDIA
4 4 TRENTINO
5 5 VENETO
6 6 FRIULI
AND
> tab
id nome
1 1 PIEMONTE
2 2 VALLED'AOSTA
3 3 LOMBARDIA
4 4 TRENTINO
5 25 CAMPANIA
6 28
LAZIO
Is there any
2005 Nov 18
1
APC Matrix 5000 UPS
Hello,
I can get nut to work with this UPS using the apcsmart driver, but only
with limited functionality. It is only reporting the OL/OB status and
that's about it. None of the other useful variables such as run time,
load etc are reported and initiating battery tests does not work either.
Has anyone managed to get nut to report more than these variables with a
Matrix type UPS?
I see
2009 Jul 09
1
apcsmart and dual environmental sensors
Hi,
We have a several AP9612TH environmental cards (they have 2 probe
connectors) inserted into our APC UPS devices which monitor temperature
and humidity. The apcsmart nut module knows how to query the
ambient.temperature and ambient.humidity using the 't' and 'h' commands
of the UPS (refer to apcsmart.h). The results of the 't' and 'h'
commands are from probe 1.
2017 Oct 12
2
dual y-axis for ggplot
Hi,
To my knowledge, an excellent of ggplot with a second y-axis is
https://rpubs.com/MarkusLoew/226759
In this example, the author uses two colors for the two lines, but the
line shapes are the same -- both are solid. Could each line have its own
color as well as its own shape? For example, can I make the red line with
the linetype "twodash", while the blue line with the
2008 Sep 03
2
ANCOVA/glm missing/ignored interaction combinations
Hi
I am using R version 2.7.2. on a windows XP OS and have a question
concerning an analysis of covariance with count data I am trying to do,
I will give details of a scaled down version of the analysis (as I have
more covariates and need to take account of over-dispersion etc etc) but
as I am sure it is only a simple problem but I just can't see how to fix
it.
I have a data set with count
2006 Apr 04
3
Financial functions
In what R package(-s) can I find the entire set of financial functions that
you can find in MS-Excel such as PMT, PPMT, FV and IPMT?
Ciao
Vittorio
2006 Oct 27
3
R & gams
At office I have been introduced by another company to new, complex energy
forecasting models using gams as the basic software.
I have been told by the company offering the models that gams is specialised
in dealing with huge, hevy-weight linear and non-linear modelling (see an
example in http://www.gams.com/modtype/index.htm) and they say it is almost
the only option for doing it.
I would
2017 Oct 12
0
dual y-axis for ggplot
Sorry let me clarify.
If I modify the line
p <- p + geom_line(aes(y = air_temp, colour = "Temperature"))
by
p <- p + geom_line(aes(y = air_temp, colour = "Temperature", linetype
="Temperature"))
and
p <- p + geom_line(aes(y = rel_hum/5, colour = "Humidity"))
by
p <- p + geom_line(aes(y = rel_hum/5, colour = "Humidity",
2017 Oct 12
1
dual y-axis for ggplot
Hi John,
You can try the following:
override.linetype=c("twodash","solid")
p <- ggplot(obs, aes(x = Timestamp))
p <- p + geom_line(aes(y = air_temp, colour = "Temperature", linetype
="Temperature"))
p <- p + geom_line(aes(y = rel_hum/5, colour = "Humidity",
linetype="Humidity"))
p <- p +
2008 Feb 21
2
Unable to create/index a zoo irregular timeseries
In the text file pressione2008.csv I have the following
"Data","MAX","MIN","Note"
"07-01-2008 08:00:00", 135, 90, "Eccessi feste, inizio dieta"
"07-01-2008 18:00:00", 135, 85, ""
"08-01-2008 08:00:00", 125, 75, ""
which is a collection of blood pressure data at different time of the day.
I would
2005 Jun 22
3
Howto crosstable-ing......
I receive the following meteo dataset regularly, containing the average
daily temperatures (tMedia) of a certain month for 24 selected meteo-stations
(COD_WMO) whose human-readable names are in (NOME).
str(tabella)
`data.frame': 1038 obs. of 4 variables:
$ COD_WMO: int 16045 16045 16045 16045 16045 16045 16045 16045 16045 16045
...
$ NOME : Factor w/ 24 levels
2009 May 07
1
Findings of dual APC UPS sensor attachments
Hi,
We have several APC Smart UPSes (serial port/apcsmart) with the APC
Temp/Humidity sensor cards (AP9612TH). The sensor cards have 2 plugs for
2 separate sensors. So far, we have only used one of the sensors in
conjunction with the apcsmart module from nut. This has been working
great. Example output:
[nut at nut]# upsc APC11
ambient.humidity: 037.2
ambient.humidity.alarm.maximum: NO,NO
2015 Dec 16
2
weather.agi
http://www.wunderground.com/weather/api/
-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of
dk at donkelly.biz
Sent: Wednesday, December 16, 2015 9:20 AM
To: 'Asterisk Users Mailing List - Non-Commercial Discussion'
Subject: Re: [asterisk-users] weather.agi
-----Original Message-----
From:
2009 May 05
3
Cox Proportional Hazard with missing covariate data
Dear friends,
I have used R for some time now and have a tricky question about the coxph-function: To sum it up, I am not sure whether I can use coxph in conjunction with missing covariate data in a model with time-variant covariates. The point is: I know how "old" every piece that I oberserve is, but do not have fully historical information about the corresponding covariates. Maybe you
2008 Jun 09
1
Problems with strptime
Perhaps I'm missing a real, stupid point but I can't understand the
following behaviour:
> strptime("30 march 2008 02:30 AM",format="%d %B
%Y %I:%M %p")
[1] "2008-03-30 02:30:00"
> strptime("30 march 2008 00:30
AM",format="%d %B %Y %I:%M %p")
[1] NA
Why times 00:nn are not
available and how solve this?
Ciao
Vittorio