Re: [R] 3D Plot with Date Axis?

2017-10-27 Thread David Winsemius
> On Oct 27, 2017, at 12:22 PM, Alex Restrepo wrote: > > Hello, > > I would like to format the X axis of the plot created via the scatterplot3d > function or any other function which will work. > > Here is an example of what I am trying to do: > > library("scatterplot3d") > > mydf=data.fram

[R] Variable selection in clusters using 1-R2 ratio

2017-10-27 Thread Seeliger, Curt
Folks, I am looking for a means for calculating the 1-R^2 ratio for variable selection to mimic the values of PROC VARCLUS in SAS. While there may be better methods for variable selection, we are trying to duplicate published results at this time. To date, I have been unable to find a way to o

[R] 3D Plot with Date Axis?

2017-10-27 Thread Alex Restrepo
Hello, I would like to format the X axis of the plot created via the scatterplot3d function or any other function which will work. Here is an example of what I am trying to do: library("scatterplot3d") mydf=data.frame(rate=c(1,1,4,4), age=c(2,2,5,5), market_date=c('2017-01-01', '2017-02-02',

Re: [R] genetics: backward haplotype transmission association algorithm

2017-10-27 Thread Bert Gunter
You may get lucky here, but I recommend that you post this instead on the Bioconductor list, which is exactly concerned with such things. Cheers, Bert Bert Gunter "The trouble with having an open mind is that people keep coming along and sticking things into it." -- Opus (aka Berkeley Breathed i

[R] genetics: backward haplotype transmission association algorithm

2017-10-27 Thread Troels Ring
Dear friends - a couple of papers in PNAS (lastly:framework for making better predictions by directly estimating variables' predictivity, Lo et al PNAS 2016; 113:14277-14282) have focused interest on mapping complex traits to multiple loci spread all over the genome. I have been around on the r

Re: [R] My function and NA Values Problem

2017-10-27 Thread Engin YILMAZ
Thanks SEZEN and BERGER Now it is working. My mistake <- I have written this statement (na.rm=TRUE) to the wrong location (after the sum expression) Thanks for your kindly responses Sincerely Engin YILMAZ 2017-10-27 10:57 GMT+03:00 Ismail SEZEN : > > > On 27 Oct 2017, at 10:43, Engin YILMAZ

Re: [R] My function and NA Values Problem

2017-10-27 Thread Ismail SEZEN
> On 27 Oct 2017, at 10:43, Engin YILMAZ wrote: > > Dear R Staff > > My working file is in the annex. "g1.csv" > I have only 2 columns. Rice and coke. > I try to execute following(below) function, but do not work. > Because "Coke" value has NA values. > I try to add "na.rm=True" to the function

Re: [R] My function and NA Values Problem

2017-10-27 Thread Eric Berger
na.rm=TRUE (you need to capitalize) On Fri, Oct 27, 2017 at 10:43 AM, Engin YILMAZ wrote: > Dear R Staff > > My working file is in the annex. "g1.csv" > I have only 2 columns. Rice and coke. > I try to execute following(below) function, but do not work. > Because "Coke" value has NA values. >

[R] My function and NA Values Problem

2017-10-27 Thread Engin YILMAZ
Dear R Staff My working file is in the annex. "g1.csv" I have only 2 columns. Rice and coke. I try to execute following(below) function, but do not work. Because "Coke" value has NA values. I try to add "na.rm=True" to the function but do not work How can I solve this problem with this function or