Re: [R] Newbie wants to compare 2 huge RDSs row by row.

2018-01-28 Thread Marsh Hardy ARA/RISK
k.bengts...@gmail.com] Sent: Sunday, January 28, 2018 11:12 AM To: Ulrik Stervbo Cc: Marsh Hardy ARA/RISK; r-help@r-project.org Subject: Re: [R] Newbie wants to compare 2 huge RDSs row by row. The diffobj package (https://cran.r-project.org/package=diffobj) is really helpful here. It provides "di

Re: [R] Newbie wants to compare 2 huge RDSs row by row.

2018-01-27 Thread Marsh Hardy ARA/RISK
home: 1020 W. South St. / Raleigh, NC 27603-2162 (919) 834-1245 From: William Dunlap [wdun...@tibco.com] Sent: Saturday, January 27, 2018 4:57 PM To: Marsh Hardy ARA/RISK Cc: Ulrik Stervbo; Eric Berger; r-help@r-project.org Subject: Re: [R] Newbie wan

Re: [R] Newbie wants to compare 2 huge RDSs row by row.

2018-01-27 Thread Marsh Hardy ARA/RISK
h in the 2 files of what should be the same output. Thanks in advance, M. // From: Ulrik Stervbo [ulrik.ster...@gmail.com] Sent: Saturday, January 27, 2018 10:00 AM To: Eric Berger Cc: Marsh Hardy ARA/RISK; r-help@r-project.org Subject: Re: [R] Newbie want

[R] Newbie wants to compare 2 huge RDSs row by row.

2018-01-26 Thread Marsh Hardy ARA/RISK
Each RDS is 40 MBs. What's a slick code to compare them row by row, IDing row numbers with mismatches? Thanks in advance. // __ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do re

[R] Error installing ggplot2 package

2018-01-09 Thread Amelia Marsh via R-help
DeaR Forum, I am trying to install the library ggplot2.  Currently I am using following R version R version 3.4.1 (2017-06-30) -- "Single Candle"Copyright (C) 2017 The R Foundation for Statistical ComputingPlatform: x86_64-w64-mingw32/x64 (64-bit) However, when I try to install ggplot2 and few ot

[R] Difference in Generalized Extreme Value distribution parameter estimations using lmom and fExtremes

2017-01-03 Thread Amelia Marsh via R-help
Dear R forum I have following dataset amounts = c(2803102.248,1088675.278,10394575.14,1007368.396,1004871.328,1092956.088,1020110.818,997371.4487,1000904.154,998105.9744,997434.3006,1080067.258,997594.7992,1000871.015,1001321.094,1000713.448,997591.2307,1469501.54,1066924.393,1074918.566,998628.

Re: [R] R studio Problem

2016-12-15 Thread Amelia Marsh via R-help
this issue with RStudio people too. I have started using R again. Regards and thanks again Amelia On Thursday, 15 December 2016 2:43 PM, Martin Maechler wrote: >>>>> Amelia Marsh via R-help >>>>> on Thu, 15 Dec 2016 08:05:44 + writes: > Sor

Re: [R] R studio Problem

2016-12-15 Thread Amelia Marsh via R-help
t; -- Opus (aka Berkeley Breathed in his "Bloom County" comic strip ) On Wed, Dec 14, 2016 at 10:18 PM, Amelia Marsh via R-help wrote: > Hi > > I had installed R studio Desktop 1.0.44. However whenever I wanted to write > any command, before I could complete, I was getting follo

Re: [R] R studio Problem

2016-12-15 Thread Amelia Marsh via R-help
Thanks a lot Kimmo for your valuable guidance. Hope it works. Regards Amelia On Thursday, 15 December 2016 12:06 PM, K. Elo wrote: Hi! Maybe this helps: http://r.789695.n4.nabble.com/Error-in-normalizePath-path-with-McAfee-td2532324.html Best, Kimmo 15.12.2016, 08:18, Amelia Marsh via R

[R] R studio Problem

2016-12-14 Thread Amelia Marsh via R-help
Hi I had installed R studio Desktop 1.0.44. However whenever I wanted to write any command, before I could complete, I was getting following error Error in normalizePath(dir, winslash = "/", mustWork = TRUE) : unused argument(s) (winslash = "/", mustWork = TRUE) I had uninstalled RStudio and

Re: [R] Memory problem

2016-04-06 Thread Amelia Marsh
n plyr, so you could consider that. Also, you can be explicit about only saving the minimum results you want to keep rather than making a list of complete results and extracting results later. -- Sent from my phone. Please excuse my brevity. On April 6, 2016 4:39:59 AM PDT, Amelia Marsh via R-

Re: [R] Memory problem

2016-04-06 Thread Amelia Marsh
l the time to keep track of resource consumption in long running scripts. Jim Holtman Data Munger Guru   What is the problem that you are trying to solve? Tell me what you want to do, not how you want to do it. On Wed, Apr 6, 2016 at 7:39 AM, Amelia Marsh via R-help wrote: Dear R Forum, I have about 20

[R] Memory problem

2016-04-06 Thread Amelia Marsh via R-help
Dear R Forum, I have about 2000+ FX forward transactions and I am trying to run 1000 simulations. If I use less no of simulations, I am able to get the desired results. However, when I try to use more than 1000 simulations, I get following error. > sorted2 <- ddply(sorted, .(currency_from_exch

[R] Improvement in Process time

2016-02-02 Thread Amelia Marsh via R-help
Dear R forum, I am running a Particular process 1000 times for different rates. Each time the result of the process is getting stored (appended) in a data.frame. However, the process is taking unsual time at times more than 2 hours. When I had tried to find out the reason for such a long proces

Re: [R] Changing X axis values

2015-12-18 Thread Amelia Marsh
000,by=1000) However, you will get overlapping labels unless you use a small font or a large graphics device. You may want to look at the staxlab function in the plotrix package. Jim On Fri, Dec 18, 2015 at 10:20 PM, Amelia Marsh via R-help wrote: Dear Forum, Assuming I need to plot a graph. In

[R] Changing X axis values

2015-12-18 Thread Amelia Marsh via R-help
Dear Forum, Assuming I need to plot a graph. In the code I have defined X axis range as xlim=c(0,18000) In the plot, the values visible w.r.t X axis are 0, 5000, 1, 18000. To improve the graph clarity, is there any way I can show the values of X axis as 0, 1000, 2000, 3000, 4000, 5000

[R] Monte Carlo Simulation Convergence test

2015-10-26 Thread Amelia Marsh
Dear Forum, I have series of say 100 (say equity) instrument prices. From these prices, for each of these 100 instruments, I generate returns using ln(current price / previous price). Assuming originally I had 251 prices available for each of these 100 instruments over last one year period,

[R] Excel Price function in R

2015-09-27 Thread Amelia Marsh via R-help
Dear Forum, I am using trying to find price of bond in R. I have written the code in line with Excel PRICE formula. However, whenever the residual maturity is less than a year, my R output tallies with the Excel Price formula. However, moment my residual maturity exceeds 1 year, the R output di

[R] Bootstrap library

2015-07-29 Thread Amelia Marsh via R-help
Hello! I have following data and I am trying to apply bootstrapping. My data and code is as follows- amounts = c(829.53,4000,6000,1000,1063904,102400,22000,4000,4200,2000,1,400,459006,7276,4000,100,4000,1,613803.36, 3825,1000,5000,4000,3000,84500,200,2000,68000,97400,6267.8,49500,2700

[R] Sample Weights

2015-07-26 Thread Amelia Marsh via R-help
Dear R Forum I have a data.frame as mydat = c(6,6,5,6,4,6,8,4,6,6,6,3,4,6,5,7,7,4,3,5,5,5,3,6,7,4,4,7,4,3,4,6,4,6,5,4,4,7,6,8,5,6,5,5,8,2,3,5,7,5) Is there any library or way in R to allocate weights to these values? Actually I am having a large data, but for illustrative purpose, have consid

Re: [R] Statistical distribution not fitting

2015-07-22 Thread Amelia Marsh via R-help
are independent. This is probably a poor (and dangerous) assumption. Cheers, B. On Jul 22, 2015, at 3:56 PM, Ben Bolker wrote: > Amelia Marsh yahoo.com> writes: > > >> Hello! (I dont know if I can raise this query here on this forum, >> but I had already raised o

[R] Statistical distribution not fitting

2015-07-22 Thread Amelia Marsh
ure that has been followed in the risk management risk industry. Please note that my question is not pertaining to operational risk. My question is if distributions are not fitting to a particular data, how do we proceed further to simualte data based on this data. Regards Amelia Ma

Re: [R] Splitting and arranging in ascending order

2015-06-04 Thread Amelia Marsh
mp <- data.frame(instrument = tmp[,1], sr_no = as.integer(tmp[, 2]), my_dat$mtm_value) result <- tmp[order(tmp[, 1], tmp[, 2]), ] rm(tmp) rownames(result) <- NULL result Hope this helps, Rui Barradas Em 03-06-2015 10:09, Amelia Marsh escreveu: > Dear R forum > > I have a data

[R] Splitting and arranging in ascending order

2015-06-03 Thread Amelia Marsh
Dear R forum I have a data (actually its a big data and I am only giving part of my interest) as my_dat = data.frame(instrument = c("EQ_0", "EQ_1", "EQ_10", "EQ_100", "EQ_2", "EQ_20", "IRS_0", "IRS_1", "IRS_10", "IRS_100", "IRS_2", "IRS_20"), mtm_value = c(23, 63, 8, 44, 68, 11, 83, 56, 73, 92

Re: [R] Gamma Distribution - is there any problem with "pgamma"?

2015-03-11 Thread Amelia Marsh
015, 11:54 AM Amelia Marsh yahoo.com> writes: > > Dear R forum > > I have following data > > amounts = c(928906.144,156091.0576,433798.3404,993425.7224, > 369967.2612,2528872.35,1226093.655, > 1145446.149,1809624.45

Re: [R] Gamma Distribution - is there any problem with "pgamma"?

2015-03-11 Thread Amelia Marsh via R-help
On Behalf Of Amelia Marsh Sent: 11 March 2015 09:42 To: r-help@r-project.org Subject: [R] Gamma Distribution - is there any problem with "pgamma"? Dear R forum I have following data amounts = c(928906.144,156091.0576,433798.3404,993425.7224,

[R] Gamma Distribution - is there any problem with "pgamma"?

2015-03-11 Thread Amelia Marsh
Dear R forum I have following data amounts = c(928906.144,156091.0576,433798.3404,993425.7224,1323976.364,649106.9339, 369967.2612,2528872.35,1226093.655,1145446.149,1809624.453,599329.0394,2200955.213,2583318.064,745625.8069,961828.8828,1744841.313,1939390.005,1077873.654,729924.2713,803584.26

[R] Introductory statistics and introduction to R

2010-07-28 Thread Marsh Feldman
al breaker. Can someone tell me if my student can get through this book starting out with just knowledge of algebra? Also, do you have other suggestions for texts, manuals, web sites, etc. that would introduce statistics and R simultaneously? Thanks, Marsh Feldman

Re: [R] how to draw multiple vertical bands

2010-04-20 Thread Marsh Feldman
ource code for nber.xy and nberShade.ggplot in the "tis" package by Jeff Hallman. They both do what you want. I'm working on something similar. Besides drawing the bands, my version will also vary heights optionally (rather than have bands stretching the entire height of the gr

Re: [R] Help with calculating entropy of data

2010-03-16 Thread Marsh
;entropy," and you'll find lots of stuff. If memory serves me, Henri Theil's book, "Economics and Information Theory," has a good discussion of this kind of stuff. Marsh Feldman -- View this message in context: http://n4.nabble.com/Help-with-

[R] ggplot2: sub/super-script axes labels

2008-10-15 Thread Adam Marsh
- Adam G. Marsh, Ph.D. Associate Professor Marine Biological Sciences University of Delaware Lewes, DE 19958 302.645.4367 [[alternative HTML version deleted]] __ R-h

[R] ggplot2: edge outlines on points

2008-09-10 Thread Adam Marsh
lled points with an edge outline would be greatly appreciated. ------- Adam G. Marsh, Ph.D. Associate Professor Marine Biological Sciences University of Delaware Lewes, DE 19958 302.645.4367 ---