Re: [R] 2D and 3D graphing

2020-03-26 Thread EK Esawi via R-help
Thank you all; Bert, LMH, Duncan and others. I think i have a good idea now to resolve the problem i have. Wish you all the best and and hope you're all safe EK On Thursday, March 26, 2020, 5:24:03 PM EDT, LMH wrote: Bert Gunter wrote: > " I have attached a .zip with some sample data

Re: [R] Add labels to dendogram

2020-03-26 Thread Luigi Marongiu
Thank you! On Thu, Mar 26, 2020 at 5:07 PM Peter Langfelder wrote: > Your code does not work because Tag is not numeric. You need to exclude > Tag from the data frame df and instead assign it as rownames. Also, dist > requires a numeric matrix, not data frame. > > df = as.matrix(data.frame(Healt

[R] 2D and 3D graphing

2020-03-26 Thread LMH
Bert Gunter wrote: > " I have attached a .zip with some sample data and a list of R > terminal commands..." > > Maybe to Ek, but not to the list. The server strips most attachments. > > Bert Gunter Well that is annoying. I have included the data below. There are 4 files. If you start under the l

Re: [R] 2D and 3D graphing

2020-03-26 Thread Bert Gunter
" I have attached a .zip with some sample data and a list of R terminal commands..." Maybe to Ek, but not to the list. The server strips most attachments. Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breath

Re: [R] 2D and 3D graphing

2020-03-26 Thread LMH
I have attached a .zip with some sample data and a list of R terminal commands. This is not very interactive by does create a useful 3D plot. The data that I used was generally not very large. In the sample commands "R_terminal_input.txt", the working directory is given as "C:/rgl_test". Line 14

Re: [R] Add labels to dendogram

2020-03-26 Thread Peter Langfelder
Your code does not work because Tag is not numeric. You need to exclude Tag from the data frame df and instead assign it as rownames. Also, dist requires a numeric matrix, not data frame. df = as.matrix(data.frame(Healthy, Tumour, Metastasis)) or df = cbind(Healthy, Tumour, Metastasis) rownames(d

Re: [R] Same results but different functions ?

2020-03-26 Thread varin sacha via R-help
Dear Michael, Dear Martin, Many thanks for your suggestions. Best, Le lundi 23 mars 2020 à 22:34:41 UTC+1, Martin Maechler a écrit : > Michael Dewey >    on Mon, 23 Mar 2020 13:45:44 + writes:     > The documentation suggests that the rlm method for a formula does no

[R] Add labels to dendogram

2020-03-26 Thread Luigi Marongiu
Dear all, I have built a hierarchical clustering on some data as follows: ``` Tag = c( "YP_008603282", "NP_054035","BAA00606", "NP_054034", "NP_054033", "AAC17846" ,"NP_054036","YP_073767" , "BAQ20411", "P52455") Healthy = c( 12.15540751, 2.33103008, 1.46924258, 0.26

Re: [R] Changing mu in svyttest for one sample test

2020-03-26 Thread peter dalgaard
Subtract mu from the outcome? -pd > On 25 Mar 2020, at 19:22 , Mavra Ahmed wrote: > > Hi All, > > I am doing a one-sample t-test for survey data with replicates (svrepdesign). > I was wondering if there is a way to change the mu in svyttest for one sample > test? I can't find a way to do this