Dear all,
Many thanks for your responses.
Best
S.
Le lundi 10 mai 2021 à 17:18:59 UTC+2, Bill Dunlap a
écrit :
Also, normalizePath("power.pdf").
On Sun, May 9, 2021 at 5:13 PM Bert Gunter wrote:
> ?getwd
>
> Bert Gunter
>
> "The trouble with having an open mind is that people k
Dear Jeff,
I don't think that it would be sensible to claim that it *never* makes
sense to multiply quantities measured in different units, but rather
that this would rarely make sense for regression coefficients. James
might have a justification for finding the area, but it is still, I
think
Dear Stephen
In that application the axes would be sensitivity and specificity (or
their inverses) or some transformation of them like logits so the units
would be the same. Whether the area has any scientific meaning I am not
sure.
Michael
On 11/05/2021 15:20, Stephen Ellison wrote:
In do
The area is a product, not a ratio. There are certainly examples out there of
meaningful products of different units, such as distance * force (work) or
power " time (work).
If you choose to form a ratio with the area as numerator, you could conceivably
obtain the numerator with force snd dista
Dear Stephen,
On 2021-05-11 10:20 a.m., Stephen Ellison wrote:
>> In doing meta-analysis of diagnostic accuracy I produce ellipses of
confidence
>> and prediction intervals in two dimensions. How can I calculate the
area of
>> the ellipse in ggplot2 or base R?
>
> There are established formul
> In doing meta-analysis of diagnostic accuracy I produce ellipses of confidence
> and prediction intervals in two dimensions. How can I calculate the area of
> the ellipse in ggplot2 or base R?
There are established formulae for ellipse area, but I am curious: in a 2-d
ellipse with different qu
Hello, Elahe,
you were, of course, supposed to insert my suggested
code-snippet into you code and test it therein ...
Regards -- Gerrit
-
Dr. Gerrit Eichner Mathematical Institute, Room 212
gerrit.eich...@m
Hi Petr,
Thanks for your help! it works perfectly fine.
On Tuesday, May 11, 2021, 01:36:50 PM GMT+2, PIKAL Petr
wrote:
I forgot to cc to rhelp.
Petr
Hi
Dunno how to do it by dplyr
I would use ave
df$MinValue <- ave(df$Value, paste(df$Class, df$Department), FUN =
function(x)
min(
Hello Gerit
mutate(MinValue = min(Value[Value != 0]) ) or mutate(MinValue =
sort(unique(Value))[2]) only mutates one value which is 100, it doesnt mutate
minimum Value != 0 per group by element
On Tuesday, May 11, 2021, 01:26:49 PM GMT+2, Gerrit Eichner
wrote:
Homework?
Try ma
Hello,
This can be done by getting the min of Value[Value != 0].
In the code that follows I have named the expected output df2 and
assigned the result to df3 and df4.
library(dplyr)
df3 <- df %>%
group_by(Department,Class) %>%
mutate(flag = Value != 0,
MinValue = min(Value[flag]) ) %
I forgot to cc to rhelp.
Petr
Hi
Dunno how to do it by dplyr
I would use ave
df$MinValue <- ave(df$Value, paste(df$Class, df$Department), FUN =
function(x)
min(x[x>0]))
Cheers
Petr
> > -Original Message-
> > From: R-help On Behalf Of Elahe chalabi
> via
> > R-help
> > Sent: Tuesday,
Homework?
Try maybe
mutate(MinValue = min(Value[Value != 0]) )
or
mutate(MinValue = sort(unique(Value))[2])
Hth -- Gerrit
-
Dr. Gerrit Eichner Mathematical Institute, Room 212
gerrit.eich...@math.uni-gie
Hi all,
I have the following data frame
dput(df)
structure(list(Department = c("A", "A", "A", "A", "A", "A", "A",
"A", "B", "B", "B", "B", "B", "B", "B", "B"), Class = c(1L, 1L,
1L, 1L, 2L, 2L, 2L, 2L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L), Value = c(0L,
100L, 800L, 800L, 0L, 300L, 1200L, 1200
13 matches
Mail list logo