similar to: Scatter plot calling R function from C

Displaying 20 results from an estimated 2200 matches similar to: "Scatter plot calling R function from C"

2002 May 25
2
Function objects as arguments of a function
Hello, R users. In C (or C++) language, a function can be used as an argument of another function as follows: // function used as an argument void foo(int x) { ... } // function using a function as an argument void bar(void (*func)(int ), int arg1, int arg2) { .... } // The function 'bar' will be called as follows int main() { .... bar(foo, arg4foo, other_arg);
2001 Feb 27
1
RCMD Beginner
Hi, R-users. I tried to install the 'RODBC' package by input C:\R>RCMD install RODBC_0_8-2_tar.tar , but I got the message 'Error: cannot change to directory 'RODBC_0_8-2_tar.tar' ' and failed to install. The file 'tar32.dll' lies in the system directory. How can I install the package above mentioned? OS:Win95 R_HOME:c:\R\rw1020 >From Kobe,
2001 Dec 15
0
Any header needed for COM interface?
Hi, all. Now I am trying to embed R in C++ code with COM interface. Which header file should be included (specially in case of using Borland C++ compiler)? And are there any library files to be linked when compiling? Thanks in advance from Japan. ################################## # Tsumiyama Isao # e-mail:tsumi at leo.auric.ne.jp ##################################
2002 Jan 19
0
Troubles in SJava
OS : Win95 R Version : 1.4.0 JDK Version : 1.3.0 Hi, R-statisticians all over the world. I'm trying to handling R objects in the Java code as follows: [c:\myjava\R2JTest.java] import org.omegahat.R.Java.*; class R2JTest { public static void main(String args[]) { REvaluator e = new REvaluator(); Object val = e.eval("objects()"); int i;
2008 Sep 15
4
How to draw a plot like this?
Hi there, I hope to draw a plot like this: http://www.sg-chem.net/swizard/Ru-bqdi-spectra.gif is it possible to draw it using R? thanks for any suggestions. regards, Jinsong
2005 Sep 28
7
Plot Data Points in boxplots
Hello, I would like to plot my data in a fashion similar to a boxplot, but plot the true data points without a box, just overlay lines of the summary generated by the boxplot. I have less than 10 observations within each group, so I think showing the actual data would be more effective than the box of the boxplot. I have been unable to find a way to do this. Here is example data: >
2005 Sep 07
7
Plot of multiple data sets
Hello ! There is something quite simple I want to do with R but I found nowhere in the help how to do it. I just want to plot data which are in a matrix, every column being a data set and having the same x-axis (just an index). So for example if I have a 50 x 6 matrix I want 6 set of points on the same plot. I tried plot,new() plot(MATRIX[,1]) plot(MATRIX[,2]) ... but it replaces the previous
2005 Feb 04
1
graphics examples
Hi I have put up some web pages containing a number of plots (and diagrams) produced using R (they correspond to the figures for a book that I am working on about R graphics), with the relevant R code provided for each plot (or diagram), at http://www.stat.auckland.ac.nz/~paul/RGraphics/rgraphics.html Hope these are of some help/use; comments/suggestions welcome. Paul -- Dr Paul Murrell
2007 Oct 09
1
Visualize cox proportional hazards
Hello all I would like to visualize the hazard ratios of a cox proportional hazards model. I have seen some good examples in the New England Journal of Medicine: http://content.nejm.org/cgi/content/short/353/26/2747/F3 http://content.nejm.org/cgi/content/short/350/26/2654/F2 (I hope these are open access, but I am not sure) And something similar in the book 'R Graphics' by Paul
2005 Feb 13
1
Transparent Pie Charts
Hi again! I put this question in another topics post before but I fear it might drown there. Is it possible to have transparent / alpha blended colors for pie charts? I am using the pies in a map of pies and those pies are sometimes overlapping so it would be great to see if another pie lies beneath. Thanks, Werner
2005 May 20
2
Plot Problem
Hi folks, I try to plot a variable which contains string-variables. it works, but the problem is that there are a lot of values at the x axis (up to 24) SO i have to scale or rotate the label at the x axis. I tried this with the text() function. It doesn't work correctly. Is there a simple way to rotate the labels? Best regards, Sebastian
2005 Dec 16
2
dendrogram branches with different lty
Dear r-list, I am trying to visually seperate the two main clusters of a dendrogram. The idea is to use: 'edgePar=list(lty=3)' for 'dend1[[1]]' and 'edgePar=list(lty=1)' for 'dend1[[2]]' I have not found a way to solve this. Any suggestions? Patrick hc <- hclust(dist(USArrests), "ave") (dend1 <- as.dendrogram(hc)) par(mfrow=c(2,2)) plot(dend1)
2009 Dec 02
4
Again on overlaying plots (a plot region within a plot region)
Dear R-users, after seeking for help in R-search I did not find any hint on my particular problem. Countless help on "true" overlay, but nothing on this. Please consider the following: par(mfrow = c(2, 1)) T <- seq(0, 20, by = 0.01) ## PLOT 1 plot(T, 30*exp(-0.65*T), type = "l" ) points(T, 30*exp(-0.26 * T), type = "l", lty = "F8") points(T,
2007 Apr 11
8
graphs superimposed on pictures?
Hi: I am doing some work that involves plotting points of interest superimposed on photographs and maps. I can produce the plots fine in R, but so far I have had to do the superimposition externally, which makes it tedious to do exploratory work. I have looked to see if there is some capability to put a background picture on a plot window, but I have not found anything. Advice, anyone? Cheers
2008 Oct 27
3
Arrays of Trellis plots
hello, the example below does not work. (i know it's not supposed, but it makes it clear what i'm trying to achieve) par(mfrow=c(2,1)) xyplot(y~x2|x1,data=dataframe1,pch=20) xyplot(y~x2|x1,data=dataframe2,pch=20) i know i could probably merge the two datasets and do something like xyplot(y~x2|x1+dataset,data=merged) any other suggestion? thanks. [[alternative HTML version deleted]]
2009 Apr 16
3
segment between points on different plots
Hi, I need to draw a line segment between two points on different plots in the same multigraph.I've tried looking at the zoominplot function in plotrix but havent understood much.any help is appreciated ~Aks [[alternative HTML version deleted]]
2009 Sep 24
1
graphics mailing list?
Dear all, Would it make sense to have a separate mailing list (special interest group*) for Grid graphics? (or is there one already?) I don't feel comfortable asking questions about the design of new a new grid class in R-help where I'm guessing most people won't be interested. Of course having yet another mailing list would only make sense if it's to be followed by those people
2005 Feb 18
3
Hosting a R Graph Gallery?
Dear R users, Following some of the recent questions and discussions about the R plotting abilities, it occurred to me again that it would be very valuable to have an R graph gallery. Eric Lecoutre made a very nice example in: http://www.stat.ucl.ac.be/ISpersonnel/lecoutre/stats/fichiers/_gallery.pdf It would be very useful to many beginners, but probably also advanced users of R, to have an
2005 Aug 25
4
Help about R
Hello, My name is Philippe Favrot, I'm a french occupational doctor (working in Luxembourg), and I'm an "R beginner". I would be happy you could help me about the utilization of "R". Recently, I measured sound levels in a plant. Before the measuring, I divided the plant in 3 virtual rows and 8 virtual columns. I measured the sound level at each intersection of rows
2005 Sep 27
5
graphics guide?
I am trying to create some graphs with R and it seems to be able to do what I need. However, I have so far not been able to find any sort of explanation of how the graphics system works. I am for instance trying to create a multiple figure, and I seem to have to call plot.new() before every new plot command, I have however not found any explanation of what this actually does. ?plot.new does give