Displaying 20 results from an estimated 1000 matches similar to: "Financial functions"
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
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
2011 Mar 27
1
pmt
I am working with the pmt function in the {mnormt} package, and i am getting
negative values returned. the following is an example of one of my outputs:
pmt(x = c(3.024960, -1.010898), mean = c(21.18844, 21.18844), S =
matrix(c(.319,.139,.139,0.319), 2, 2),df = 42)
# -6.585641e-18
Any help on why i'm getting negative numbers would be very much appreciated.
THanks!
--
View this message in
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
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 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
2005 Jun 16
2
Financial toolkit
Is there any financial toolkit available for use in R ?? I am looking at a
variety of functions but don't want to recreate each one of them.
Thanks
Gaurav
[[alternative HTML version deleted]]
2008 Sep 11
1
Package for financial options calculation
Hi all,
Is there any R package on "European/American oprions pricing"? And on
calculation of it's sensitivities?
Regards,
[[alternative HTML version deleted]]
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
2006 Feb 27
2
Read IMAP
Hello,
I have a question about IMAP : I want read a IMAP mailbox in my
application.
I have found 2 pages about this :
http://wiki.rubyonrails.org/rails/pages/HowToReceiveEmailsWithActionMailer/versions/203
http://www.codefetch.com/search?qy=login&lang=ruby
But, Rails don''t want use ''net/imap''. So I can''t =(
Thank you for your help
pmt
--
Posted via
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
2006 Mar 01
9
ajax doesn''t show at the right place
Hi,
I use link_to_remote to create a link to trigger an
ajax, things work fine, a new rhtml is created,
however, the newly created rhtml doesn''t replace my
old zone, it shows instead on top of my old
zone...Does someone know why???
my code is like
<table>
<tr><td colspan="2"><a href="#" onclick="new
Ajax.Updater(''zone1'',
2005 Dec 01
1
Snow & rvpm
At office, using the internal LAN at my disposal, I'm having a go at parallel
computing - to begin with - with pvm, rpvm & snow.
The two boxes are as follows
Remote machine uffbsd:
CPU: Intel(R) Pentium(R) 4 CPU 2.00GHz (1994.13-MHz 686-class CPU)
Origin = "GenuineIntel" Id = 0xf24 Stepping = 4
real memory = 260046848 (248 MB)
This machine NbBSD:
CPU: Mobile Intel(R)
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,
2007 Dec 03
1
Plotting monthly timeseries with an x-axis in "time format"
I have the following timeseries "tab"
=====================================
> str(tab)
mts [1:23, 1:2] 79.5 89.1 84.9 75.7 72.8 ...
- attr(*, "dimnames")=List of 2
..$ : NULL
..$ : chr [1:2] "Ipex...I" "Omel...E"
- attr(*, "tsp")= num [1:3] 2006 2008 12
- attr(*, "class")= chr [1:2] "mts" "ts"
> tab
2013 Aug 15
1
Announce: Puppet 3.2.4 Available [ Security Release ]
Puppet 3.2.4 is now available. 3.2.4 addresses two security
vulnerabilties discovered in the 3.x series of Puppet. These
vulnerabilities have been assigned Mitre CVE numbers CVE-2013-4956 and
CVE-2013-4761.
All users of Puppet 3.2.3 and earlier are strongly encouraged to upgrade
to 3.2.4.
For more information on these vulnerabilities, please visit
http://puppetlabs.com/security/cve/cve-2013-4761
2006 Jul 06
2
use of apply in a data frame on a row by row basis
Hello all,
I'm trying to use the apply function on a data frame,
by applying a function that takes a one row data.frame as argument .
Here's the example :
myfun = function(x) paste(x$f1 , x$f2)
df = data.frame(f1 = c(1,4,10),f2 = "hello")
apply(df,1,myfun) ==> Does not work (I get "character(0)" )
Though : myfun(df[1,]) works,
and myfun(df) works as well.
So if
2005 Nov 03
1
Problem installing ROracle package under R
Context: Pentium 4 with FreeBSD 5.4 and R 2.2.0
I'm trying to install
the package ROracle under R.
To start with I installed the oracle8-
client from the ports and referred to it via the variable $HOME_ORACLE
as /usr/local/oracle8-client. Then I started R. After issuing install.
packages("ROracle") R downloaded the needed package and started to
compile it but complained:
2010 Jul 06
2
Could not find createData function
Hi,
I am using "*Maanova* package" to do anova. I have created *datafile* with
probeID as the first column, which is a tab limited text file and also
created *designfile*. I have created *readma object* which is named as abf1.
>From that readma object, i have to create data object by using
*createData*function and also i hav to create model object by using
*makemodel* function,