similar to: help with sapply, plot, lines

Displaying 20 results from an estimated 7000 matches similar to: "help with sapply, plot, lines"

2005 Jul 15
2
rmpi in windows
Hi Folks, Has anyone been able to get rmpi to work under windows ? Thanks, Tolga Please follow the attached hyperlink to an important disclaimer <http://www.csfb.com/legal_terms/disclaimer_europe.shtml> ============================================================================== Please access the attached hyperlink for an important electronic communications disclaimer:
2005 Sep 06
2
help.search problem
Dear Fellow R Users, I have recently come across a weird problem with help.search: > help.search("tps") Error in rbind(...) : number of columns of matrices must match (see arg 8) > This happens no matter what I search for... Any thoughts ? Thanks, Tolga Please follow the attached hyperlink to an important disclaimer
2005 Jun 20
6
Bucketting data
Hi, Am sure this is a trivial question but for some reason, haven't been able to figure it out. I want to bucket data in a vector, and then iterate over the buckets. Say the data set is: > cleandata[,4] [1] 26 26 26 26 26 26 26 26 26 26 26 26 61 61 61 61 61 61 61 61 61 61 61 89 89 89 89 89 89 89 180 180 180 180 362 544 544 544 [39] 544 544 544 544 544 544
2005 Jul 04
2
Compiling R scripts
Dear R Developers, A recommendation for future development. It would help if R scripts could be compiled into an executable, or a library. Speed is the main issue (I run a large scale monte carlo in R which is very slow). However, it would also make it easier to link R into other applications, easier at least than the COM infrastructure under Windows. Finally, it would make it much easier to
2005 Apr 11
2
Trying to undo an assignment
Hi, I defined corr to be a function, not realising that this was also the name for correlation in package=boot. How do I explicitly call the corr function within package boot (so, scope up over the current frame, I guess is another way of saying it) without removing my new corr function ? Thanks, Tolga Please follow the attached hyperlink to an important disclaimer
2005 Apr 08
1
Can't get function to run iteratively
Trying to do something very simple... > numerical.grad function(func,x, eps=1e-12) { # very simple (crude) numerical approximation f <-func(x) df <-1:length(x) for (i in 1:length(x)) { dx <- x dx[i] <- dx[i] +eps df[i] <- (func(dx)-f)/eps } df } > test<-function(x){x^2} > y<-seq(0.1,0.5,0.1) > numerical.grad(test,y) [1] 0.1999997 0.0000000
2008 Jun 30
6
Plotting three time series on the same graph
Dear R Users, I would like to plot three time series on the same graph, two axis on the left and one axis on the right. The time series that I am graphing on the left do not share a similar scale: one has a range of 1:100 and the other a range of 25000:70000. How can I display the tick marks for both on the left hand side without superimposing them, i.e. one set of tick marks in black right
2005 May 05
2
Numerical Derivative / Numerical Differentiation of unkno wn funct ion
Ah... I searched for half an hour for this function... you know, the help function in R could really be a lot better... But wait a minute... looking at this, it appears you have to pass in an expression. What if it is an unknown function, where you only have a handle to the function, but you cannot see it's implementation ? Will this work then ? -----Original Message----- From: Berton Gunter
2012 Dec 06
5
2-15.2 Windows 32-bit version anywhere ?
Dear R Users, I am working in an environment in which I am not able to compile any code. Sad, but true. Is there a Windows 32-bit version of 2-15.2 anywhere ? I am currently unable to use packages Matrix and mgcv because they appear to have been compiled for 2-15.2 but only 2-15.1 is available for download from the regular CRAN websites. Thanks in advance, Tolga This email is confidential and
2005 Apr 14
6
Inverse of the Laplace Transform/Gaver Stehfest algorithm
Hi there, Is there an implementation of the Gaveh Stehfest algorithm in R somewhere ? Or some other inversion ? Thanks, Tolga
2006 Apr 24
3
Sending an ESC command to the console from wihtin a script
Hi, Is there a way to send an ESC command to the console from within a script window, without using the mouse ? Thanks, Tolga
2008 Nov 04
4
fine grain tick marks for zoo plots
Dear R Users, I am trying to get plot.zoo to place monthy tickmarks/labels for a time series which spans daily data going back a bit over a year. Right now, I am getting only one tick mark on the x-axis for the beginning of 2008. How can I force plot.zoo to place more regular x-axis tick marks on a monthly basis ? Thanks in advance, Tolga Generally, this communication is for informational
2008 Jul 08
6
Automatic placement of Legends
Dear R-Users, I am looking for a way to get legends placed automagically in an empty spot on a graph. Additional complication comes through my useage of multiple graphs on the same plot through mfrow. Is there a way to achieve this in R ? I have legends for each of the sub-plots. Many thanks in advance, Tolga Generally, this communication is for informational purposes only and it is not
2008 Sep 09
2
Information on the number of CPU's
Dear R Users, I am on Windows XP SP2 platform, using R version 2.7.2 . I was wondering if there is a way to find out, within R, the number of CPU's on my machine ? I would use this information to set the number of nodes in a cluster, depending on the machine. Sys.info() and .Platform do not carry this information. Thanks in advance, Tolga Uzuner Generally, this communication is for
2012 Jan 12
1
How can I prevent solve.QP from printing the solution progress ?
Dear R Users, How can I prevent solve.Qp from printing the solution progress ? Thanks in advance, Tolga This email is confidential and subject to important disclaimers and conditions including on offers for the purchase or sale of securities, accuracy and completeness of information, viruses, confidentiality, legal privilege, and legal entity disclaimers, available at
2008 Jul 19
2
Title for graph with multiple plots
Dear R Users, I am attempting to place a title to a graph with multiple plots that should go across the top of all the graphs, and not just one of them. I am using mfrow in par to plot. Can anyone suggest if and how this could be done ? Thanks in advance, Tolga
2006 Mar 12
2
Numerical Derivatives in R
Hi, Suppose I have an arbitrary function: arbfun<-function(x) {...} Is there a robust implementation of a numerical derivative routine in R which I can use to take it's derivative ? Something a bit more than simple division by delta of the difference of evaluating the function at x and x+delta... Perhaps there is a way to do this using D or deriv but I could not figure it out.
2008 Jun 19
4
How can I execute a .R/script file
Dear R-Users, I've written a number of functions in a .R/script file. I would like to call those functions from another script file. How can I execute all the code in a script file so that the functions are available for use in my other script file ? I have tried help.search("script") and various Google alternatives but couldn't come up with anything. Thanks in advance,
2008 Jul 07
2
Sorting a list
Dear R Users, A bit of a simple question, but I could not find the answer thru google ("sorting lists r cran","how can i sort a list r cran") or RSiteSearch... how can I sort a list ? One imagines something like sort.list would do the job, but that's not the one. > foo<-list(a=10,b=2,c=3) > sort.list(foo) Error in sort.list(foo) : 'x' must be atomic
2008 Jun 06
3
col.names ?
Dear R Users, A bit of an elementary question, but somehow, I haven't been able to figure it out. I'd like to changes the column names of a data frame, so I am looking for something like col.names (as in row.names). Could someone please show me how to change the column names of a data frame ? Thanks, Tolga Generally, this communication is for informational purposes only and it is