similar to: how to plot two graphs in one figure

Displaying 20 results from an estimated 2000 matches similar to: "how to plot two graphs in one figure"

2008 Apr 30
8
Why R is 200 times slower than Matlab ?
I am switching from Matlab to R, but I found that R is 200 times slower than matlab. Since I am newbie to R, I must be missing some important programming tips. Please help me out on this. Here is the function: ## make the full pair-wise permutation of a vector ## input_fc=c(1,2,3); ## output_fc=( 1 1 1 2 2 2 3 3 3 1 2 3 1 2 3 1 2 3 ); grw_permute = function(input_fc){ fc_vector = input_fc
2008 Apr 30
0
Fwd: Why R is 200 times slower than Matlab ?
This is what I refer to as "ab uno disce omnes"-thinking: -- from one example all is revealed -- but this is the antithesis of statistical thinking. Here is an example function, others can probably do better. On a vector of length 300 it takes .018 seconds on my aging G5 ppc mac: pears <- function(x){ n <- length(x) A <- combos(n,2) rbind(x[A[1,]],x[A[2,]]) } This is
2019 Jun 01
3
survival changes
> On Jun 1, 2019, at 12:59 PM, Peter Langfelder <peter.langfelder at gmail.com> wrote: > > On Sat, Jun 1, 2019 at 3:22 AM Therneau, Terry M., Ph.D. via R-devel > <r-devel at r-project.org> wrote: >> >> In the next version of the survival package I intend to make a non-upwardly compatable >> change to the survfit object. With over 600 dependent packages
2005 Mar 16
3
Cisco gateways and hairpinning
Hello: Has anyone on this list had to configure hairpinning on a Cisco gateway running IOS 12.2 or 12.3 and using a PRI for connectivity to the PSTN? If so could you tell me how it is done? I'm told this is the source of my call transfer problems and yet I cannot find clear instructions for how the configuration is done. Thanks,Steve -- ISC Network Engineering The University of
2008 Apr 13
1
plotting muliple CI ellipses for EB estimates
I have empirical Bayes estimates for slopes and intercepts for a number of subjects and I would like to plot the slopes and intercepts with confidence ellipses. These ellipses would be based on the confidence intervals for the slope and intercepts (forming the major and minor axis of each ellipse), and the correlation in the slope and intercepts. The ellipse function in the car library
2011 Aug 28
1
Trying to extract probabilities in CARET (caret) package with a glmStepAIC model
Dear developers, I have jutst started working with caret and all the nice features it offers. But I just encountered a problem: I am working with a dataset that include 4 predictor variables in Descr and a two-category outcome in Categ (codified as a factor). Everything was working fine I got the results, confussion matrix etc. BUT for obtaining the AUC and predicted probabilities I had to add
2010 Oct 07
2
Truncating leading zeros in strings
I am new to R. I thing this will be simple, but I don't yet know my way around. I am generating character strings from the system clock that represent integers, and I want to convert them to integer values. Strtoi works well, except when there are leading zeros on the string. Could anyone suggest a way to remove those leading zeros? Thanks Paul -- E. Paul Wileyto, Ph.D.
2019 Jun 01
0
survival changes
On Sat, Jun 1, 2019 at 3:22 AM Therneau, Terry M., Ph.D. via R-devel <r-devel at r-project.org> wrote: > > In the next version of the survival package I intend to make a non-upwardly compatable > change to the survfit object. With over 600 dependent packages this is not something to > take lightly, and I am currently undecided about the best way to go about it. I'm looking
2008 Jan 31
2
cron scheduling problem
I''m running a fresh checkout of release 1.0.1 ... It''s now 11:32 am local time on January 31. I''ve configured a single worker for a test. If I use the following schedule in my background.yaml file: :schedules: :debugger_worker: :ping: :trigger_args: 0 35 11 * * * * Backgroundrb starts up without error. If I make the following
2019 Jun 01
4
survival changes
In the next version of the survival package I intend to make a non-upwardly compatable change to the survfit object.? With over 600 dependent packages this is not something to take lightly, and I am currently undecided about the best way to go about it.? I'm looking for advice. The change: 20+ years ago I had decided not to include the initial x=0,y=1 data point in the survfit object
2018 Jan 14
2
consolidate three function into one
Hi Bert, I am sorry to bother you on weekend. I am still struggling on defining a correct function. I first defined the function RFS (see below), then run it by provide the two argument. m52.2cluster <-RFS(inputfile =allinfo_m52, N=2 ) I do not get error message, but no figure displays on screen. I do not know what is going on. Can you help me a little more on this issue? Thank you,
2018 Jan 15
2
consolidate three function into one
Hi Richard, Thank you so much!! I understand the problem now, I assign a name to the "ggsurvplot" object and then add print(fig) at bottom of function definition, now figure gets printed on screen. Ding # function to generate RFS curves RFS <- function( inputfile, N ) { cluster<- survfit(Surv(RFS_days2, OV_Had_a_Recurrence_CODE) ~ clusters, data =
2019 Jun 02
0
[EXTERNAL] Re: survival changes
On 6/1/19 1:32 PM, Marc Schwartz wrote: > >> On Jun 1, 2019, at 12:59 PM, Peter Langfelder <peter.langfelder at gmail.com> wrote: >> >> On Sat, Jun 1, 2019 at 3:22 AM Therneau, Terry M., Ph.D. via R-devel >> <r-devel at r-project.org> wrote: >>> In the next version of the survival package I intend to make a non-upwardly compatable >>> change
2006 Oct 14
1
Setting environment
Not sure this is known behaviour but it seems that if want to set the environment to, for example, test, and you want to use Active Record you have to both explicitly set the RAILS_ENV and the BackgrounDRb environment. So, if you have a config file backgroundrb_test.yml (as well as the default) and set the environment to test in that, this is what *seems* to happen: $
2018 Jan 14
0
consolidate three function into one
FAQ 7.22 You must print a ggplot object, for example with print(m52.2cluster) For the FAQ, run the line system.file("../../doc/FAQ") in R on your computer. Open up the resulting filepath in your favorite editor and scroll down to 7.22 On Sun, Jan 14, 2018 at 4:21 PM, Ding, Yuan Chun <ycding at coh.org> wrote: > Hi Bert, > > I am sorry to bother you on weekend. >
2017 Aug 19
4
My very first loop!! I failed. May I have some start-up aid?
Dear all, I have a data similar to this: myframe<- data.frame (ID=c("Ernie", "Ernie","Ernie","Ernie"), Timestamp=c("24.09.2012 08:00", "24.09.2012 09:00", "24.09.2012 10:00", "25.09.2012 10:00"), Longitude=c("8.481","8.482","8.483","8.481"),
2003 Oct 02
2
Patches
As the freeze for Debian sarge slowly approaches I want to make sure the Dovecot packages are in as good condition as possible. I see there have been a number of patches since 0.99.10. I have added the following patches: * segfault when user home directory is empty * Proper PAM service name * Make suid work on 2.6 kernels Any other patches thatI ought to add. Or better yet, will there be a
2018 Jan 15
0
consolidate three function into one
That is certainly OK, but you can also just use print(ggsurvplot(...)) as your final statement. out <- RFS( ...) would then return the ggsurvplot object *and* graph it. Any good R tutorial or a web search will provide more details on function returns, which you might find useful. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and
2008 Jan 12
2
Factor Analysis
Good Morning, Is it possible to use the R program for a CFA with dichotomous data? Thank you, Kathleen Kathleen Kemp, M.A. Doctoral Clinical Psychology Student, Concentration: Forensic Psychology Drexel University Philadelphia, PA 19104 kk354@drexel.edu [[alternative HTML version deleted]]
2012 May 17
1
ctree for suvival analysis problem
Hi All, I'm using the party package to grow conditional inference trees for survival analysis. When I used party version party_0.9-9991 everything worked well, but when I update to party_1.0-2 (due to using 64bit R), I get an error. For simplicity I will show the error I get for the example in the party documentation: ### survival analysis if (require("ipred")) {