Hi Abou,
Perhaps this will be helpful. Be aware that you will cop some flak for
putting error bars on a bar plot.
aadat<-data.frame(group=c(rep("Exp",50),rep("Con",50)),
v1=sample(0:1,100,TRUE),
v2=sample(0:1,100,TRUE),
v3=sample(0:1,100,TRUE),
v4=sample(0:1,100,TRUE),
v5=sample(0:1,100,TRUE)
Dear All:
I do have a binary data set with multiple variables, event = 1 in all
variables. As an example, I attached a data set with 6 variables. The first
column is the grouping variable. Then the next 5 columns are the binary
data for 5 variables.
- Can we compute the confidence interval fo
Perfectly clear. Thanks!
Best,
Wolfgang
On Sat, 13 Nov 2021, Duncan Murdoch wrote:
On 13/11/2021 2:24 p.m., Viechtbauer, Wolfgang (SP) wrote:
Hello all,
Say I would like to change the outcome in a formula to a variable not part
of the original dataset. This works just fine:
res <- lm(mpg ~
On 13/11/2021 2:24 p.m., Viechtbauer, Wolfgang (SP) wrote:
Hello all,
Say I would like to change the outcome in a formula to a variable not part of
the original dataset. This works just fine:
res <- lm(mpg ~ wt + cyl, data=mtcars)
res
y <- rnorm(nobs(x))
update(x, formula = y ~ .)
But not whe
Hello all,
Say I would like to change the outcome in a formula to a variable not part of
the original dataset. This works just fine:
res <- lm(mpg ~ wt + cyl, data=mtcars)
res
y <- rnorm(nobs(x))
update(x, formula = y ~ .)
But not when doing so within a function:
rm(y)
f <- function(x) {
y
5 matches
Mail list logo