Re: [R] Creating NA equivalent

2021-12-26 Thread Adrian Dușa
> > -Original Message- > From: R-help On Behalf Of Duncan Murdoch > Sent: Tuesday, December 21, 2021 5:26 AM > To: Marc Girondot ; r-help@r-project.org > Subject: Re: [R] Creating NA equivalent > > On 20/12/2021 11:41 p.m., Marc Girondot via R-help wrote: > > De

Re: [R] Creating NA equivalent

2021-12-22 Thread John Dougherty via R-help
On Tue, 21 Dec 2021 05:41:31 +0100 Marc Girondot via R-help wrote: > Dear members, > > I work about dosage and some values are bellow the detection limit. I > would like create new "numbers" like LDL (to represent lower than > detection limit) and UDL (upper the detection limit) that behave li

Re: [R] Creating NA equivalent

2021-12-21 Thread Avi Gross via R-help
im Lemon Sent: Tuesday, December 21, 2021 5:00 PM To: Avi Gross Cc: r-help mailing list ; Adrian Dușa Subject: Re: [R] Creating NA equivalent Please pardon a comment that may be off-target as well as off-topic. This appears similar to a number of things like fuzzy logic, where an instance

Re: [R] Creating NA equivalent

2021-12-21 Thread Jim Lemon
one category of NA that sounds a bit like what you want. His > > > functions should allow the creation of such data within R, as well. I am > > > including him in this email if you want to contact him or he has > > > something to say. > > > > > > >

Re: [R] Creating NA equivalent

2021-12-21 Thread Bert Gunter
> > category of NA that sounds a bit like what you want. His functions should > > allow the creation of such data within R, as well. I am including him in > > this email if you want to contact him or he has something to say. > > > > > > -----Original Me

Re: [R] Creating NA equivalent

2021-12-21 Thread Jim Lemon
nctions should > allow the creation of such data within R, as well. I am including him in this > email if you want to contact him or he has something to say. > > > -Original Message- > From: R-help On Behalf Of Duncan Murdoch > Sent: Tuesday, December 21, 2021 5:

Re: [R] Creating NA equivalent

2021-12-21 Thread Avi Gross via R-help
ct: Re: [R] Creating NA equivalent On 20/12/2021 11:41 p.m., Marc Girondot via R-help wrote: > Dear members, > > I work about dosage and some values are bellow the detection limit. I > would like create new "numbers" like LDL (to represent lower than > detection limit) and U

Re: [R] Creating NA equivalent

2021-12-21 Thread Viechtbauer, Wolfgang (SP)
variable (e.g., viral load due >> to some lower detection limit) does not make a fundamental difference. In >> fact, >> the type of model you are thinking of with 2) is a Tobit model, which can be >> fitted using the survival package (or censReg). >> >> Best, >&

Re: [R] Creating NA equivalent

2021-12-21 Thread Chris Evans
the type of model you are thinking of with 2) is a Tobit model, which can be > fitted using the survival package (or censReg). > > Best, > Wolfgang > >>-Original Message- >>From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Chris Evans >>Sent: Tu

Re: [R] Creating NA equivalent

2021-12-21 Thread Viechtbauer, Wolfgang (SP)
gt;Subject: Re: [R] Creating NA equivalent > > I am neither a programmer nor a professional statistician but this topic > interests me because: > > 1) I remember from long, long ago that S had a way to create labels that could >denote multiple ways in which a value

Re: [R] Creating NA equivalent

2021-12-21 Thread Chris Evans
t; > To: "Marc Girondot" , r-help@r-project.org > Sent: Tuesday, 21 December, 2021 10:26:12 > Subject: Re: [R] Creating NA equivalent > On 20/12/2021 11:41 p.m., Marc Girondot via R-help wrote: >> Dear members, >> >> I work about dosage and some v

Re: [R] Creating NA equivalent

2021-12-21 Thread Duncan Murdoch
On 20/12/2021 11:41 p.m., Marc Girondot via R-help wrote: Dear members, I work about dosage and some values are bellow the detection limit. I would like create new "numbers" like LDL (to represent lower than detection limit) and UDL (upper the detection limit) that behave like NA, with the possi

Re: [R] Creating NA equivalent

2021-12-20 Thread Bert Gunter
Beyond known limits are left/right censored data. You need to use statistical methodology that handles censoring. See the survival package and the CRAN Survival task view for this -- or consult an appropriate expert. There are of course standard ways of annotating such data in these packages. Bert

[R] Creating NA equivalent

2021-12-20 Thread Marc Girondot via R-help
Dear members, I work about dosage and some values are bellow the detection limit. I would like create new "numbers" like LDL (to represent lower than detection limit) and UDL (upper the detection limit) that behave like NA, with the possibility to test them using for example is.LDL() or is.UD