Displaying 20 results from an estimated 500 matches similar to: "Merging two data objects question"
2011 Jan 07
0
Odp: Currency return calculations
My mistake sir. I was literally engrossed in my stupid logic, and while doing so, overlooked the simple and very effective solution you had offered. Sorry once again sir and will certainly try to be very careful in future.
Thanks again and have a great weekend sir.
Regards
Amelia
--- On Fri, 7/1/11, Petr PIKAL <petr.pikal@precheza.cz> wrote:
From: Petr PIKAL
2011 Jan 07
1
Currency return calculations
Dear sir, I am extremely sorry for messing up the logic
asking for help w.r.t. my earlier mails
I have tried to explain below what I am looking for.
I have a database (say, currency_rates) storing datewise
currency exchange rates with some base currency XYZ.
currency_rates <- data.frame(date =
c("12/31/2010", "12/30/2010", "12/29/2010",
2011 Jan 07
1
Calculating Returns : (Extremely sorry for earlier incomplete mail)
Dear R forum helpers,
I am extremely sorry for the receipt of my incomplete mail yesterday. There was connectivity problem at my end and so I chose to send the mail through my cell, only to realize today about the way mail has been transmitted. I am again sending my complete mail through regular channel and sincerely apologize for the inconvenience caused.
## Here is my actual mail
Dear R
2007 May 23
1
I made some progress on my previous "systemfit" question but still not quite there
Surprisingly, I played around with some test code and below actually
creates equations that look correct.
tempmat<-matrix(10,nrow=6,ncol=6)
restrictmat<-diag(6)
colnames(tempmat)<-c("AUD.l1","CHF.l1","CAD.l1","GBP.l1","EUR.l1","JPY.l
1")
2007 Jul 05
1
converting list to an array
Hi,
I have a list myList (see below) that consists of id's $'7',....,$'10'
and each id has an individual array, the length of which can vary from
id to id.
How can I convert this list into an array, ie. stacking the individual
arrays into one large array?
Thanks
Zava
myList:
$`7`
[1] 20050201 20050301 20050401 20050501
$`8`
[1] 20050201 20050301 20050401
2012 Apr 27
1
multivariate xts merge question
Hi,
I have an xts starting with a number of columns (currency pairs see below),
then I add new ones which are derived from existing ones (like adding the
moving average of a column) by merging the new columns one by one. These
get the name of the column they are calculated from concatenated with ".1".
All done by merge.xts, easy.
Now, I have a function (procState below) which generates
2011 Jan 06
1
Calcuting returns
Dear R forum helpers,I have following datatrans <- data.frame(currency_transacted = c("EURO", "USD", "USD", "GBP", "USD", "AUD"), position_amt = c(10000, 25000, 20000, 15000, 22000, 30000))date <- c("12/31/2010", "12/30/2010", "12/29/2010", "12/28/2010", "12/27/2010",
2013 Mar 28
0
CRAN R Help
Dear Katherine,
For your first question:
If you are creating these files in a specific folder, then
list.files()
#[1] "Individual_Present_Value_BONDS.csv"? "Individual_Present_Value_Equity.csv"
#[3] "Individual_Present_Value_FOREX.csv"
gives you which files are present.? But, suppose you have other files too in the folder and you want to check only the above
2004 Jul 09
0
LARTC related talks at Swiss Unix Conference 2004
Might be of interest for some of you, especially:
o HTB - detailed look into new QoS shaper - Martin Devera
o Linux Packet Classification Performance - Jamal Hadi Salim
o Status of IPv6 Implementations - Peter Bieringer
o High Availability using Keepalived - Alexandre Cassen
o Application Layer Fingerprinting - Hendrik Scholz
2019 Sep 04
0
hardware donation offer
Hello,
I'm willing to donate hardware, see the IRC log below for a few details.
If you are interested, reply to "christoph at alte-pflasterei.de", I'll
send an Open Document Spreadsheet then with the complete card list
containing all details I know.
-8<---- IRC chat log ---------------------------------
(2019-09-04 16:50:54) chf: Hi, is any of the developers interested in
2007 Apr 16
1
Names in vector occurring in another vector
I have a vector of character strings such as
mainnames<-c("CAD","AUD") and another vector say
checknames<-c("CAD.l1","AUD.l1","JPY.l1","EUR.l1","CAD.l2","AUD.l2","JPY
.l2","EUR.l2")
I want a new vector of character strings that is just
2011 Jan 14
0
Fwd: helps in data analysis
Dear List,
I posted this in R-mixed and did not receive any feedback. I might post it
in the wrong place. I re-post in R-help and hope to receive any suggestions
and\or thoughts regarding data analysis.
The objective of the study is to investigate effects of soil properties on
insect outbreaks. There are four study fields (or sites). Data were
collected from 1996 through 2009. Below is
2012 Jun 05
0
Memory leak during instantiation of a reference class?
Hi,
I have a problem with a large data set wrapped in a reference class. I do that to access the data by reference from within various functions in a script.
# The class definition:
setRefClass("data",
fields = list(h5_df = "list",
training_data = "array",
2006 Feb 01
2
fax possibilities
I am trying to set up a linux based faxing solution for a client, and
have found that the modem they have (ancient dataplex external unit)
just isn't up to the job. It talks to some remote fax machines but not
others.
A new external modem ranges from AUD$75 to AUD$400, which got me
thinking of other possibilities...
#1 FXO PCI card (more expensive for 1 port, probably cheaper for 2+)
#2
2006 Oct 24
0
plot(all.effects)
Dear r-helpers,
plot(all.effects()) uses trellis for its output, and often produces
several effect plots in a layout. Can anyone tell me how to set the
arguments to plot.effect which default to
row=1, col=1, nrow=1, ncol=1, more=FALSE
so that I can plot multiple effect plots on one layout?
I was hoping that a call like
last <- rep(c(TRUE, FALSE), c(3, 1))
lay <-matrix(c(1:4,), 2, 2,
2006 Dec 10
1
Problem faxing with SPA2100 in passthru mode.
Hi everyone,
I'm trying to send a FAX with the following configuration:
Analog FAX machine (OKI) <----->SPA21000<----->LAN<----->Asterisk<--------> PSTN
I'm restricted to use passthru mode for faxing, instead of T.38
protocol, because the Asterisk box is running v1.2 and cannot be
changed as it is in a heavy production environment. Anyway, it
"should"
2007 Jun 28
1
Changing graphics height when using grid and lattice
Hi,
I have recently been playing with the grid package in an attempt to create
some pages containing multiple lattice plots on the same page. However, when
I specify a grid layout with different widths, such as:
pushViewport(viewport(layout = grid.layout(1, 2, unit(c(2, 1), "null"))))
the individual graphs do not end up as the same height - which is a feature
I would prefer to have.
2005 Mar 04
0
Group Permission Conflicts
We are running samba 3.0.7 on a Solaris 9 server. This is our
company's main file server (migrated over from Windows). We are
having issues with properly applying file permissions to different
groups.
Right now, we have about 400 users. They are all members of the
"other" group at the OS level. Beyond that, all the users are divided
into groups based on their department so that
2006 Nov 07
0
Try yourself in new business. Part time job offer. Earn money and forget about permanent job.
Money Transfer Service
4 Nickelby Close,
Thamesmead,
LONDON,
SE28 8LX
UK
Hello ,
My name is John Taher and I suggest you to become a participant of
serious business which does not demand any money to start. Our company Money
Transfer Service is in London. Earlier we supported transfers only inside
of the country, but now we leave on a world level. I think, that you guess,
that there are
2011 May 08
1
Hosmer-Lemeshow 'goodness of fit'
I'm trying to do a Hosmer-Lemeshow 'goodness of fit' test on my logistic
regression model.
I found some code here:
http://sas-and-r.blogspot.com/2010/09/example-87-hosmer-and-lemeshow-goodness.html
The R code is above is a little complicated for me but I'm having trouble
with my answer:
Hosmer-Lemeshow: p=0.6163585
le Cessie and Houwelingen test (Design library): p=0.2843620