similar to: consolidate three function into one

Displaying 20 results from an estimated 600 matches similar to: "consolidate three function into one"

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
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. >
2018 Jan 15
1
consolidate three function into one
Thank you, your suggestion is simpler and logically better. I had impression that the last object in a function gets returned, so I did not add the print function at the bottom line of the function definition. Returning an object and graph the object are different process, I am a beginner for writing R function and need to find a good guide source about writing R functions. If you know a good
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 =
2018 Jan 14
0
consolidate three function into one
HI R users, I construct dendrogram tree and cut the tree into different clusters, then generate survival curves by the following three functions. All variables are included in an inputfile. Can you help me to consolidate the following three function into one functions? I thought about using if else function, but not sure how to do it. Thank you, Ding # function to generate RFS RFS2cluster
2009 Feb 01
2
Using arrays to generate parameters
My external node classifier returns some arrays in the list of parameters. Example output (names have been changed to protect the innocent): $ ./node_classifier a.b.com --- %YAML:1.0 "classes": ["class1", "class2", "class3"] "parameters": "hostname": "a" "name": "a" "domain":
2008 Jul 07
2
Colour clusters in a 2d plot
R experts, I have three columns. c1 and c2 are numeric variables whereas c3 are the clusters classes (nominal variable, 10 different: cluster1, cluster2, cluster3, cluster4, cluster5 ....). I'd like to plot c1 against c2 (easy!) in a 2D plot and put different color depending to the cluster class automatically regardless the number of clusters. Could anyone give a hand? Josep Maria, matrix
2012 Jul 20
2
[LLVMdev] Statistics for 'switch' instruction.
Hi all! I collected some statistics for SwitchInst, based on our test-suite. I found that efficiency is meaningful for parser-like applications only, about 15-20% of cases may be reduced (see top 10 items in Raw sheet of attached .xls file). Below some numbers. Total number of cases in all test-suite -- 11835. Clusters possible to make -- 503 Clusters with size (H - L) + 1
2012 Jul 20
0
[LLVMdev] Statistics for 'switch' instruction.
Hi Stepan, These are quite interesting numbers. Thanks for running this experiment! Do you have some numbers on the difference of memory consumption and compile time (at -O0 and -O2) with and without case ranges? I think we need to see those numbers before we can decide wether it's interesting to commit to case ranges or not. Thanks, Nuno Quoting Stepan Dyatkovskiy <stpworld at
2002 May 24
1
Fisher
Hello. I had a big collection of Web pages. Now I have this collection divided into clusters. Every page can be relevant or not. I made a table: relevant non relevant cluster1 1 20 cluster2 0 15 cluster3 3 35 . . . . . . . . . I cluster1 I have 21 Web pages, 1
2010 Jul 21
0
Clustering groups
Hi, is there a way in R to identify those cluster methods / distance measures which best reflect predefined cluster groups. Given 10 observations O1...O10. Optimally, these 10 observations cluster as follows: cluster1: O1, O2, O3, O4 cluster2: O5, O6 cluster3: O7, O8, O9, O10. What I want is a method which identifies that cluster method / distance measure which best reflect my predefined
2018 Feb 10
1
please help me a little
Hi R Users, I am very frustrated with the following code. Please do me a favor to run it. after reading into the test data set (I also pasted the data set below), the first line of code for "res_coxphf" did not work and generated the error code below. but the other three line worked well. the second line for "res_coxphf2" should be the same as the first line; I need to run
2019 Jun 14
1
MultiMaster dsync (cluster1 cluster2 cluster3)
Will MultiMaster dsync work fine or will be big problems ? I configured dovecot to dsync from serv1 to serv2 to serv3 and repeat to serv1 to serv2 to serv3 and repeat... When email received to serv2, it will be synced to serv3, and serv3 will sync it to serv1, and serv1 will sync it to serv2 and will stop here because emails matched. What problems can be with this kind of configuration ?
2011 Nov 07
1
Strange behaviour of ssh
Hello together! I've Debian 6.0.3 with OpenSSH_5.5p1 and problem with the execution of remote commands via ssh. It seems as if the first command isn't looked up in all "$PATH" dirs. Here normally I should get the version information of mpirun twice but the first one fails: $ ssh cluster2 mpirun --version ; mpirun --version bash: mpirun: command not found mpirun (Open MPI) 1.4.3
2007 Apr 10
1
Several clusters in the same matchine
Hi, is it possible to have several ocfs2 clusters in the same machine? We have webserver1 and webserver2 that should belong to cluster1 and cluster2 "workgroup". Cluster1 should be made of webserver1, webserver2 and application_server1 Cluster2 should be made of webserver1, webserver2 and application_server2 Is this possible? Thanks, Nuno Fernandes
2013 Jul 11
1
Cluster discovery using Libvert
Hello, I'm beginner user of Libvert. I want to find out the nodes (ESX servers) in cluster. I'm using following way but unable to get results. I'm not sure whether I'm using correct command or not. Please help me to achieve the expected result. ========================================================= Virsh # connect esx://192.168.10.1/DatacenterC2/Cluster2?no_verify=1
2009 Feb 28
1
Help on Making R Packages
I'm trying to make a R package for a work in university. It´s my first time and i made some modifications on Pam algorithm that is included on cluster package. So before run Rcmd build command i made the next things: 1- I modified pam.c and cluster.h code. I added two new arguments on pam. 2- I modified pam.q, i added there my two new arguments. 4- I create all the necessary subdirectories
2008 Nov 07
0
Cluster Broken pipe Error & node Reboot
Hi all, I am running two node RHEL3U8 cluster of below cluster version on HP servers connected via scsi channel to HP Storage (SAN) for oracle database server. Kernel & Cluster Version Kernel-2.4.21-47.EL #1 SMP redhat-config-cluster-1.0.7-1-noarch clumanager-1.2.26.1-1-x86_64 Suddenly my active node got rebooted after analysed the logs it is throwing below errors on syslog.I want
2006 Dec 01
3
"All resource specifications require names": wot?
Hi, everyone -- I downloaded puppet and have been playing with it. I''m using the RPM''s for RHE4 created by David (mentioned on the install page: http://people.redhat.com/dlutter/yum/rhel4/) with RHE''s ruby 1.8.1-7: ruby-1.8.1-7.EL4.8 ruby-libs-1.8.1-7.EL4.8 ruby-devel-1.8.1-7.EL4.8 I''m sure this is an easy one; all the same, I''m stumped. Please