similar to: densityplots

Displaying 20 results from an estimated 6000 matches similar to: "densityplots"

2012 Aug 15
1
shade overlapping portions of circles (or other shapes)
I'm making some illustrations and it would be convenient to automatically shade the overlapping portions of circles. These illustrations are for Social Choice theory, a field in political science and economics. I've wrestled together some examples so you can see what I mean, but have not mastered the "color overlapping sections" problem (as you will see):
2007 Oct 25
4
ploting labels on barplot
Again me. I want to plot the numbers on the bars of a barplot. This can be done using hist function when setting the label argument true (i.e. data <- c(1,2,3,4) hist(data, labels=T) When I try this using barplot I get an error: > barplot(summary(data), labels=T) Error in axis(if (horiz) 2 else 1, at = at.l, labels = names.arg, lty = axis.lty, : formal
2007 Dec 01
3
compare strings
Sorry for the question, but I really cannot find the right search terms to find an answer.. I have a data frame with strings in some of the columns. I want to know all the rows where the strings in both columns are equal. How do I do this? Thanks, Bernd [[alternative HTML version deleted]]
2007 Oct 25
2
data frame usage
Hi, I am new to R and couldn't find any information on how to handle my table data that I just read in the way I want to use it.. I read in a table from a file: x <- read.delim("filenam", header=TRUE) one column (x$label) hold the class labels. Another holds some values (x$val). I want to calculate summary statistics for different classes. How would I do this? Thanks, Bernd
2007 Nov 26
1
looking for packages that visualize nucleotide sequence properties
Hi there, I am looking for R-packages that can help me visualize properties on nucleotide sequences. I want to display sequences in the 1-100K base range as lines and plot features above and below those lines. Any ideas would be welcome. Thanks, Bernd
2007 Oct 29
2
Qsub - unable to open connection to X11 display
Hi there, I want to run an R script on a cluster with qsub. Obviously I don't want to display any X window, but I want use png() or something else to write out images. Unfortunately I get the following error message: > png(filename = " ALL.png", width = 480, height = 480, pointsize = 12, bg = "white", res = NA) Error in X11(paste("png::", filename,
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
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
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
2006 Sep 01
1
integration problem with gamma function
Dear R-list members, I have a problem with translating a mathematica script into R. The whole script is at the end of the email (with initial values for easy reproduction) and can be pasted directly into R. The problematic part (which is included below of course) is <--- Original Mathematica ---> (* p_svbar *) UiA = Ni (Dsi - 2Di A + A^2)/2; UiiA = Nii (Dsii - 2Dii A + A^2)/2; psvbar =
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]]
2007 Oct 10
2
pt inaccurate when x is close to 0 (PR#9945)
Full_Name: Skylab Gupta Version: R version 2.5.1 (2007-06-27) OS: Windows XP Submission from: (NULL) (216.82.144.137) Hello, I have been playing around with the statistical distributions in R. I think the computations for the cumulative distribution function of the students t distribution in R are not very accurate. For instance, the cdf of a students t distribution with 13 degrees of freedom
2002 May 24
1
Axis labels
Dear all I have a problem with assigning my own labels to the axis of a plot. I want to substitute the given labels e.g. 1,2,3,... with a vector of values and strings e.g. "12.23", "1.34", "245,5", "Result". B.t.w. how do I rotate these labels so they don't overlap???? I want to use the image function to plot. Thanks for your kind help. Bernd
2007 Nov 02
1
counting with factors
Hi there, I have something that appears to be a factor called drug: Typeof(drug) => Integer As.numeric(drug) gives a long list Levels(drug) gives a long list, too. Now I want something like the summary function does: I want to count how often each level occurs in the given vector. My problem is that summary gives me a list with counts that is incomplete and adds the
2008 Jan 04
1
R command line arguments
Hi, I would like start R in BATCH mode and submit my own parameters. Or in other words, I would like to specify variables from the command line and execute a script using those. I have been looking at commandArgs and calling R from the command line under bash: R CMD BATCH --no-save --args -filename="$filname" -- r-test.R r-test.Rout The problem here is, if $filename contains
2012 Mar 08
1
Doing Mathematica Quantile[] function in R
Hi all, I am an R newbie trying to do some calculations I do in Mathematica in R on a GNU/Linux system. The main thing I am interested in doing is taking a 0.999 quantile on a data set in a file who's data is normally distributed, say foo.csv. e.g in Mathematica if I have something like this : a=Import["foo.csv"] b=Transpose[a][[1]] Quantile[b,0.999] In R I can load all the data
2008 Mar 17
1
summary of summaries
Hi, I have a few hundreds files with numerical information of different length but with the same column structure. I use the following code to get summary statistics fplist <- list.files(pattern=".*analysis") for (fp in fplist){ x2 <- read.delim(fp) summary(x2) } Summary gives something like: summary (x2) V1 V2
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 Mar 24
2
MacOS X Quartz Rendering?
I just tried rendering a plot of 166 data point (time series) on my PPC mac, and compared it with the same data rendered by Mathematica. The R plotting is very slow to paint and repaint, compared to Mathematica. This also makes it extremely awkward to use in other documentation such as pdfLatex. On closer inspection, it looks like the Mathematica plot is just a polyline, while in R it is a
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