similar to: Doing Mathematica Quantile[] function in R

Displaying 20 results from an estimated 7000 matches similar to: "Doing Mathematica Quantile[] function in R"

2012 May 08
4
Axes value format
Hi all, I have some graphs where the values on the X and Y axes are by default in exponent form like 2e+05 or 1.0e+07. Is it possible to make them in a more readable form like 10M for 1.0e+07 or 200K for 2e+05? Thanks and Regards, - vihan
2012 Mar 19
1
fitting a histogram to a Gaussian curve
Hello, I am trying to fit my histogram to a smooth Gaussian curve(the data closely resembles one except a few bars). This is my code : #!/usr/bin/Rscript out_file = "irc_20M_opencl_test.png" png(out_file) scan("my.csv") -> myvals hist(myvals, breaks = 50, main = "My Distribution",xlab = "My Values") pdens <- density(myvals, na.rm=T) plot(pdens,
2012 Mar 29
1
histogram break width
Hi all, I am generating histograms with the following R script : #!/usr/bin/Rscript out_file = "histo.png" png(out_file) scan("values.csv") -> myvalues hist(myvalues, breaks = 50) dev.off() print(paste("Plot was saved in:", getwd())) I want the histogram to have a larger number of breaks, but a smaller break width, the idea is to make it appear smoother
2012 Mar 22
4
getting multiple plots on a single plot
Hi all, I have the following R script : #!/usr/bin/Rscript out_file = "hybrid.pdf" pdf(out_file, height=8.5, width=11) myvalues_1M <- read.csv("hybrid_sims_1M.csv",head=TRUE,sep=",") plot(myvalues_1M$num_sims_per_thread,myvalues_1M$time_per_sim,xlab="Number of Simulations per Thread",ylab="Time per 1 million Simulations(in
2010 Jul 14
3
Mathematica and R
What are some effective ways to leverage the strengths of R and Mathematica for the analysis of a single data set? More specifically, are there any functions that can assist with any of the following? 1. Calling an R function from Mathematica. 2. Calling a Mathematica function from R. 3. Using XML or another reliable data format to pass vectors, matrices, and/or lists from one environment to
2007 Jun 22
3
How to run "mathematica" or "c" programs in R?
I have some programs which were writen in mathematica or c language, but I donot know how to use these software. So I want to run them in R. Can I do it ? How to run "mathematica" or "c" programs in R? Jian Zhang [[alternative HTML version deleted]]
2010 Jul 17
2
re. Mathematica and R
David - information on calling R from within Mathematica can be found at the following link: http://www.mofeel.net/1164-comp-soft-sys-math-mathematica/13022.aspx HTH, Alan Kelly
2006 Aug 07
1
mathematica -> r (gamma function + integration)
Dear R-list, I try to transform a mathematica script to R. #######relevant part of the Mathematica script (* p_sv *) dd = NN (DsD - DD^2); lownum = NN (L-DD)^2; upnum = NN (H-DD)^2; low = lownum/(2s^2); up = upnum/(2s^2); psv = NIntegrate[1/(s^NN) Exp[-dd/(2s^2)] (Gamma[1/2,0,up] + Gamma[1/2,0,low]),{s,sL,sH}, MinRecursion->3]; PSV = psv/Sqrt[2NN]; Print["------------- Results
2006 Oct 16
1
The old question: R vs MATLAB vs Mathematica vs ...
Hi, This question seems to be old, however I am asking it from a different point of view. R introduces itself as a 'statistical' language and environment. There are many discussions about comparing R to MATLAB or mathematica (or other similar software). It seems to me that these other software have a broader range of applications. For example, in Mathematica one can solve a partial
2011 Jul 25
1
scripting qqplot and qqnorm
Hi all, I am an R newbie, and I have a question about scripting. I have the following lines which I want to put int\ o a script which I can call from the shell of a Mac/Linux machine : myrns <- read.csv(file="/Users/vihan/test.csv",sep="",header=FALSE) qqnorm(myrns) qqline(myrns) This works fine on an interactive R session. However, as I understand the basic framework of
2008 Nov 18
1
Mathematica now working with Nvidia GPUs --> any plan for R?
Dear All, I just read an announcement saying that Mathematica is launching a version working with Nvidia GPUs. It is claimed that it'd make it ~10-100x faster! http://www.physorg.com/news146247669.html I was wondering if you are aware of any development going into this direction with R? Thanks for sharing your thoughts, Best wishes, Emmanuel
2001 Sep 29
2
Mathematica Notebook Frontend
Hi, I need some help getting the Frontend to work - MathKernel.exe is working but when I try wine Mathematica.exe I get a lot of error messages - I'm using Mathematica Version 4.0 and wine20010824. At the end of the post there is the complete message I get from wine. Thanx a lot CFU wine Mathematica.exe For language 'german' several language ids were found: de_DE - 0407; de_CH
2010 Jul 12
0
Convert Mathematica code into R
Dear all, I have a reasonably short piece of code written in Mathematica 5.2 which I would like to convert to R. The problem is that I'm not familiar with Mathematica. I would, however, also be OK with some interface that allows me to run Mathematica from within R and use the output of the Mathematica for further analysis within R. Any advice on how to conveniently convert the code or on how
2012 Mar 26
0
Re: Mathematica 6 setup.exe hangs (Solved sort of)
> Date: Sat, 24 Mar 2012 14:39:54 -0500 > From: "lahmbi5678"<wineforum-user at winehq.org> > To:wine-users at winehq.org > Subject: [Wine] Re: Mathematica 6 setup.exe hangs > Message-ID:<1332617994.m2f.74195 at forum.winehq.org> > > Hi, > > probably not many people are using Mathematica under wine. You should file a bug and mark it as regression.
2007 Jul 11
1
RPM Build Question
Hi People, I have just started building my own RPMS on both Fedora and CentOS and generally things have gone well. Currently I am trying to create RPMS for some commercial software that we have purchased. Step 1 was install the software using its JAVA Based installer ensuring that all files were installed into a particular directory in /usr/local. Step 2 was create a tar file of the
2010 Jan 17
1
Confusion in 'quantile' and getting rolling estimation of sample quantiles
Guys: 1).When I using the 'quantile' function, I get really confused. Here is what I met: > x<-zoo(rnorm(500,0,1)) > quantile(x,0.8) 400 1.060258 > c=rnorm(500,0,1) > quantile(c,0.8) 80% 0.9986075 why do the results display different? Is that because of the different type of the class? 2).And I want to use the 'rollapply' function to compute a
2008 Mar 06
1
Interesting remarks about R back in 1999
Hi, this is not an R-help post, but I found this extract below that was written by a leading mathematician back in 1999 when he was talking about statistics and computing. I found it interesting to share and I ask your opinion do you think this still holds today or things have changed? Thanks. ?...we would also like to mention that in our opinion Mathematica provides an excellent and indeed
2019 May 31
2
[patch] add sanity checks to quantile()
The attached patch adds some sanity checks to the "type" argument of quantile(). Output from the following commands show the change of behavior with the current patch: vec <- 1:10 quantile(vec, type = c(1, 2)) quantile(vec, type = 10) quantile(vec, type = "aaa") quantile(vec, type = NA_real_) quantile(vec, type = 4.3) quantile(vec, type = -1) Current behavior
2012 Jul 10
1
Why 95% "quantile" empty in R or why 95% "quantile" = 1 with data values between 0 and 1?
I am calling quantiles as follows. I don't understand why sometimes the columns (data values) above 95% are returned as "NULL"!! When I drop the percentile down to 92%, I see colums appearing. Why would any quantile be empty? I see sometimes that 95% percentile is being chosen as "1" for my data between 0 and 1, where obviously there's no column value equal to 1. But
2005 Feb 22
1
bug? quantile() can return decreasing sample quantiles for increasing probabilities
Is it a bug that quantile() can return a lower sample quantile for a higher probability? > ##### quantile returns decreasing results with increasing probs (data at the end of the message) > quantile(x2, (0:5)/5) 0% 20% 40% 60% 80% -0.0014141174 -0.0009041968 -0.0009041968 -0.0007315023 -0.0005746115 100% 0.2905596324 >