Displaying 10 results from an estimated 10 matches for "sozmod".
Did you mean:
sd_mod
2009 Mar 11
3
chisq.test: decreasing p-value
...cy cells?
r <- c(10, 100, 500, 1000, 2000, 5000)
v <- c(35, 40, 45, 45, 40, 35)
sapply(list(r), function (x) { chisq.test(v, p=c(rep.int(40, 6)),
rescale.p=T, simulate.p.value=T, B=x)$p.value })
Thank you, S?ren
--
S?ren Vogel, PhD-Student, Eawag, Dept. SIAM
http://www.eawag.ch, http://sozmod.eawag.ch
2009 Mar 08
1
Summary of data.frame according to colnames and grouping factor
...ping? That is:
Desired output table:
A B C
r count count count
s ... ... ...
or likewise transposed. I'd like to use the table for textual display
and/or barplot creation.
Thx, S?ren
--
S?ren Vogel, PhD-Student, Eawag, Dept. SIAM
http://www.eawag.ch, http://sozmod.eawag.ch
2009 Nov 22
3
Define return values of a function
...igns the
list properly.
How can I get rid of the *unwanted* part? That is, how do I define
what the functions prints and -- on the other hand -- what it returns
without printing?
Thanks
S?ren
--
S?ren Vogel, Dipl.-Psych. (Univ.), PhD-Student, Eawag, Dept. SIAM
http://www.eawag.ch, http://sozmod.eawag.ch
2009 Mar 07
2
Recode factor into binary factor-level vars
...the following:
m$locA: 0, 0, 0, 0, 0, 1, 1, 1, 0, 1
m$locB: 0, 0, 0, 0, 1, 0, 0, 0, 0, 0
m$locC: 0, 0, 0, 0, 0, 0, 0, 0, 0, 0
m$locD: 1, 1, 1, 1, 0, 0, 0, 0, 1, 0
Instead of 0, NA's would also be fine.
Thanks, S?ren
--
S?ren Vogel, PhD-Student, Eawag, Dept. SIAM
http://www.eawag.ch, http://sozmod.eawag.ch
2009 Nov 13
0
Craddock-Flood Test in R?
...Test" is recommended for large tables with small
degrees of freedom and low-frequency cells. Is there an R procedure
and/or package which does the test?
Thank you for your help!
S?ren Vogel
--
S?ren Vogel, Dipl.-Psych. (Univ.), PhD-Student, Eawag, Dept. SIAM
http://www.eawag.ch, http://sozmod.eawag.ch
2009 Nov 13
1
shrink list by mathed entries
...ot; correctly. But how do I
remove all "Mama" list entries in "a" in the same run, that is, shrink
the list by what was already matched?
Thank you for your help!
S?ren Vogel
--
S?ren Vogel, Dipl.-Psych. (Univ.), PhD-Student, Eawag, Dept. SIAM
http://www.eawag.ch, http://sozmod.eawag.ch
2010 Jul 23
0
ROpenOffice (which requires Rcompression)
...t r-project.org/msg55480.html), which in turn is quite outdated. Is the whole idea dead or did I miss something important when googling?
*S*
(R version 2.11.1 (2010-05-31), x86_64-apple-darwin9.8.0)
--
S?ren Vogel, Dipl.-Psych. (Univ.), PhD-Student, Eawag, Dept. SIAM
http://www.eawag.ch, http://sozmod.eawag.ch
2010 Nov 17
2
slicing list with matrices
...S[1:3], letters[1:3]))
l <- list(m1=m, m2=m*2, m3=m*3)
l[[3]] # works
l[[3]][1:2, ] # works
l[[1:3]][1, 1] # does not work
How can I slice all C-c combinations in the list?
S?ren
--
S?ren Vogel, Dipl.-Psych. (Univ.), PhD-Student, Eawag, Dept. SIAM
+41 76 233 3637, http://www.eawag.ch, http://sozmod.eawag.ch
2010 Dec 27
0
Nagelkerke R square for Prediction data
...lt;- c("list", "table")
return(out)
}
y <- sample(c(T, F), 50, repl=T)
x <- sample(1:7, 50, repl=T)
mod <- glm(y ~ x, family=binomial("logit"))
Rcsnagel(mod)
--
S?ren Vogel, Dipl.-Psych. (Univ.), PhD-Student, Eawag, Dept. SIAM
http://www.eawag.ch, http://sozmod.eawag.ch
2010 Dec 03
1
Linear separation
...d(rnorm(20, 4, 2), 0)
)
df[17:18, c(2, 3)] <- df[17:18, c(3, 2)]
glm(y ~ ., data=df[, -3], family=binomial("logit"))
glm(y ~ ., data=df, family=binomial("logit"))
Thanks, S?ren
--
S?ren Vogel, Dipl.-Psych. (Univ.), PhD-Student, Eawag, Dept. SIAM
http://www.eawag.ch, http://sozmod.eawag.ch