Displaying 20 results from an estimated 27 matches for "vieweg".
Did you mean:
viewed
2011 Jan 28
6
R-/Text-editor for Windows?
...eral, text
files. Besides Emacs and the R built-in editor, could you
recommend a good editor for Windows, even some commmercial for a
small price? (For a comparison, TextMate for OS X is 35 USD and
does a great job on all plain text and code related issues, not
only R.) Thanks, *S*
--
Sascha Vieweg, saschaview at gmail.com
2011 Mar 04
3
S. function calculating x +- y
Hello, I am looking for an elegant one-liner for the following
operation:
x <- rnorm(10)
y <- runif(10)
c(mean(x)-mean(y), mean(x)+mean(y))
I thought about
apply(data.frame(x, y), 2, mean)
but I don't know how to apply the +- operation on the result of
apply. Thanks, *S*
--
Sascha Vieweg, saschaview at gmail.com
2011 Mar 08
2
plotCI() with ggplot2
...,
title="Condition:",
cex=.8
)
I like to produce this plot with package "ggplot2", but I have
just discovered it and don't know where to start. It would be
great if somebody could give me a starting point with code for
that particular task.
Thanks, *S*
--
Sascha Vieweg, saschaview at gmail.com
2012 Aug 15
2
sample() from (un-)sorted vectors
...ctor x. Will both
samples, X and Y, be "absolutely" random or will they have systematic
differences? And: Should I sort or shuffle a vector before sampling?
Thank you, *S*
x <- as.factor(LETTERS[sequence(10:1)])
y <- sort(x)
X <- sample(x, 5)
Y <- sample(y, 5)
--
Sascha Vieweg, saschaview at gmail.com
2011 Jan 20
1
predict() for bootstrapped model coefficients
...f[, 1]), replace=T)
m <- update(b.mod, . ~ ., data=df[l, ], trace=F)
c.mat.1[i, ] <- coef(m)[1, ]
c.mat.2[i, ] <- coef(m)[2, ]
i <- i + 1
}
(coefs1 <- apply(c.mat.1, 2, mean))
(coefs2 <- apply(c.mat.2, 2, mean))
summary(predict(b.mod)==model.frame(b.mod)$y)
--
Sascha Vieweg, saschaview at gmail.com
2011 Apr 08
1
multinom() residual deviance
...hence do
not know what the difference between the residual deviance of the
former (binary) and the latter (multinomial) model is.
(I need the deviances to calculate some of the pseudo R-squares
with function pR2(), package "pscl".)
Could you give good advice?
Thanks
*S*
--
Sascha Vieweg, saschaview at gmail.com
2011 Feb 13
6
From numeric vector to string vector
Hi there, I have a numeric vector let say:
Vect <- c(12.234, 234.5675, 1.5)
Now I want a string vector like:
changedVec <- c("012.234", "234.568", "001.500")
Would be grateful if somebody help me how can I do that.
Thanks and regards,
[[alternative HTML version deleted]]
2011 Apr 20
2
Include C++ DLL, error in ...: C symbol name not in load table
...i386-apple-darwin9.8.0
arch i386
os darwin9.8.0
system i386, darwin9.8.0
status
major 2
minor 12.2
year 2011
month 02
day 25
svn rev 54585
language R
version.string R version 2.12.2 (2011-02-25)
--
Sascha Vieweg, saschaview at gmail.com
2011 Feb 06
1
boot() versus loop, and statistics option
...advantages and/or disadvantages of 'boot()' over
my loop?
(3) Can I in principle use 'boot()' to return all of the 100
different data vectors used in the loop, or does 'boot()' by
default return already-calculated statistics?
Thanks for hints and help, *S*
--
Sascha Vieweg, saschaview at gmail.com
2011 Nov 18
3
Apply functions along "layers" of a data matrix
...data frame
with 4 variables (and the id) of the 5 persons:
id v1 v2 v3 v4
1 1 6 21 36 51
2 2 7 22 37 52
3 3 8 23 38 53
4 4 9 24 39 54
5 5 10 25 40 55
Currently, I do this in a loop, but I was wondering about a quick and
ressource-friendly way to achieve this?
Thanks
*S*
--
Sascha Vieweg, saschaview at gmail.com
2011 Jan 31
1
Sweave: change tab size
...lines,
the default indent of inner lines is 4 spaces (plus the prompt).
How can I change that default to 2 spaces? I tried to adjust my
Sweave.sty with the option tabsize but that doesn't show an
effect. Also the Sweave documentation did not provide a cue.
Thanks for hints, *S*
--
Sascha Vieweg, saschaview at gmail.com
2011 Mar 14
2
code for "permutative" operation
...(1) What is the fastest code to perfom the forestanding operation?
(2) Is there a more general function for tasks like this, not only
with the sum procedure applied to the vector? Specifically, the
zeros in the matrix may cause problems with other operations than
sum.
Thanks, *S*
--
Sascha Vieweg, saschaview at gmail.com
2011 Apr 20
1
S: expert mailing list for general statistical questions
.../1447 -- e.g. the list stats-discuss
(which failed to load), and the newsgroups sci.stat.consult and
sci.stat.edu.
However, before stumbling around, could you give a good
recommendation on a mailing list or newsgroup appropriate for such
issues?
Thanks for your tips.
Regards, *S*
--
Sascha Vieweg, saschaview at gmail.com
2011 Nov 29
1
md.pattern ('mice') failure with more than 31 variables
...atrix(
sample( c(1:3, 1:3, 1:3, NA), 7000, repl=TRUE ),
ncol=35,
dimnames=list(NULL,
paste('V', 11:45, sep="")
)
)
)
md.pattern(x) # Warning message: In md.pattern(x) : NAs introduced by
coercion
md.pattern(x[, 1:31]) # fine
Thanks, *S*
--
Sascha Vieweg, saschaview at gmail.com
2011 Dec 01
1
transform data.frame holding answers --> data.frame holding logicals
...ted car:
BMW Mercedes VW Skoda
1 T F F F
2 F T T F
3 T F T T
4 F F F F
5 F F T T
My idea was to first find all levels by:
v <- unique(unlist(lapply(x, levels)))
But then I am stuck.
Thanks for help, *S*
--
Sascha Vieweg, saschaview at gmail.com
2011 Jan 27
5
Help needed
Hello I am trying to solve these problems and I am not allowed to use loops or ifs.
1st Question
My first question is that I have generated 100 random numbers from the uniform distribution then
A)add only the negative integers.
B)add elements until the first appearance of a negative element.
I know how to choose the negative elements for A but how to find integers?
And I dont know what to do
2011 Mar 01
0
unicode&pdf font problem RESOLVED
...t(1:5,1:5,probstring)
dev.off()
?Cairo suggests encoding is ignored if you do try to set it.
cheers
Ben
On 14/01/2011, at 7:00 PM, r-help-request at r-project.org wrote:
> Date: Thu, 13 Jan 2011 10:47:09 -0500
> From: David Winsemius <dwinsemius at comcast.net>
> To: Sascha Vieweg <saschaview at gmail.com>
> Cc: r-help at r-project.org
> Subject: Re: [R] unicode&pdf font problem RESOLVED
> Message-ID: <74FA099F-4CE5-45C7-A05A-4A1DE6C87EC8 at comcast.net>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed; delsp=yes
>
>
> On J...
2012 Feb 19
3
Non-parametric test for repeated measures and post-hoc single comparisons in R?
...for the indication which column differs from others
significantly?
Bortz, Lienert, Boehnke (2008). Verteilungsfreie Methoden in der
Biostatistik. Berlin: Springer
K?hler, Schachtel, Voleske (2007). Biostatistik: Eine Einf?hrung f?r
Biologen und Agrarwissenschaftler. Berlin: Springer
--
Sascha Vieweg, saschaview at gmail.com
2011 Jan 27
4
Writing program for these
Hello I am trying to solve these problems and I am not allowed to use loops or ifs.
1st Question
My first question is that I have generated 100 random numbers from the uniform distribution then
A)add only the negative integers.
B)add elements until the first appearance of a negative element.
I know how to choose the negative elements for A but how to find integers?
And I dont know what to do
2011 Feb 16
2
create a data frame with the given column names
how do I create a data frame with the given column names
_NOT KNOWN IN ADVANCE_?
i.e., I have a vector of strings for names and I want to get an _EMPTY_
data frame with these column names.
is it at all possible?
--
Sam Steingold (http://sds.podval.org/) on CentOS release 5.3 (Final)
http://openvotingconsortium.org http://pmw.org.il http://memri.org
http://mideasttruth.com