Displaying 15 results from an estimated 15 matches for "jgoebel".
Did you mean:
goebel
2001 Apr 27
1
creating expressions inside loop
...uot;
so that the expression looks like
> shift[1]
[[1]]
expression(eval(parse(text = paste("cbind(",
"w189, w190, w191, w192, w193, w194, w195", ")"))))
hope this is understandable ;-)
best
jan
--
+-----------------------------------
Jan Goebel (mailto:jgoebel at diw.de)
DIW Berlin
Longitudinal Data and Microanalysis
K?nigin-Luise-Str. 5
D-14195 Berlin -- Germany --
phone: 49 30 89789-377
+-----------------------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tu...
2000 Aug 21
2
Loop removal possible?
...a <- e-(w-1) # the beginning position
for (i in 1:length(w)) {# <<- this loop i want to remove ??
k[i] <- sum(a[i]:e[i])
}
return(k)
}
for the example the function calculate:
> hilf.w(w)
[1] 3 3 15 15
Thanks a lot in advance for any suggestions,
Jan Goebel (jgoebel at diw.de)
DIW Berlin
SOEP
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)...
2001 Mar 07
2
help with dev.copy2eps
HI!
I'm using the function dev.copy2eps to store a plot into a file.
How can I change the default name of the file and the path where the file
should be created ?
Thanks
--
Frank Gerrit Zoellner
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info",
2000 Nov 09
3
maximum of nsize=20000k ??
Dear R-ers,
somehow it is not possible to increase nsize to more than
20000k. When I specify e.g.
> R --vsize=10M --nsize=21000K
the result is:
free total (Mb)
Ncells 99658 350000 6.7
Vcells 1219173 1310720 10.0
Maybe I have overlooked s.th....
Marcus
--
+-------------------------------------------------------
| Marcus Eger
| E-Mail: eger.m at gmx.de (NEW)
|
2000 Oct 17
3
Cleaning things up?
Hi,
I know it must be written somewhere but I can't find it.
I'd like to remove all variables or objects that I've created but not the
functions. I look at a few things without success. Is there a R way of doing
this? There are to many to create a manual list.
Thanks in advance.
Yves Gauvreau
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help
2000 Dec 20
2
Names
I am trying to create a set of vectors which have similar names. They have
a common part and an extra unique part. I am sure I have seen questions on
this before but I have been unable to find it in the archive. There are
examples of sets of names for columns of a data frame, but not for
individual vectors.
Suppose I want vectors named myvar.1 myvar.2 etc.
I tried:
>
2001 Mar 02
3
Post Hoc on repeated measures?
Hi all,
I'm a potential new user of R and have to know this before I start using it:
SPSS does not let you do a Post Hoc analysis on repeated measures data.
This is a problem for me, since that is what I will have to do.
Will R let me do this?
/Fredrik
--
-----------------------------------------------------------------
Fredrik Karlsson, Research Student
Department of Philosophy and
2001 Mar 14
2
concatenating lists
Dear People,
I have been trying to perform concatenation operations on lists without
success. Consider the following example.
> x <- runif(2)
> y <- runif(2)
> z <- runif(2)
> xy <- list(x,y)
> xyz <- list(x,y,z)
I want to have a function foo such that foo(xy,z) is the same as xyz. This
appears not to be as easy as I thought, though there must be a way.
For example
2000 Nov 21
3
boxplot grouped by two variables.
Is there a quick way to make boxplots groups by two variables? By that
I mean, that if x axes have values ("A","B","C"), than at each value
there would be a few boxplots each for a value of second variable (say
("1","2","3")).
Thank You.
--
Vadim Kutsyy
http://www.kutsyy.com vadim at kutsyy.com
The University of
2000 Nov 21
3
boxplot grouped by two variables.
Is there a quick way to make boxplots groups by two variables? By that
I mean, that if x axes have values ("A","B","C"), than at each value
there would be a few boxplots each for a value of second variable (say
("1","2","3")).
Thank You.
--
Vadim Kutsyy
http://www.kutsyy.com vadim at kutsyy.com
The University of
2000 Oct 11
5
"Executing" a string
In Matlab or Octave I can evaluate (evalf) the content of
a string. In R I have looked around in the docs, but have not
found a way to do something equivalent (which is possible, I think).
Can anybody give me a pointer?
=============================================================================
Thomas Hoffmann, Institut fuer Halbleiter- und Mikrosystemtechnik, TU Dresden
E-mail: hoffmann at
2000 Oct 23
3
behaviour of plot(...,type="l")
plot(rnorm(100000),type="l")
plots only about 7e4 lines while the same without type="l" works fine.
Is this a feature or a bug or is this configurable?
R : Copyright 2000, The R Development Core Team
Version 1.1.1 (August 15, 2000)
SunOS 5.5.1 Generic_103640-29 sun4u sparc SUNW,Ultra-1
Thanks
Adrian
--
Adrian Trapletti, Olsen & Associates Ltd., See-
feldstrasse
2000 Aug 29
4
short way
i want to replace certain values of a matrix.
i know how to replace them when the values are in a vector.
i tried the same way for a matrix and got this answer:
la[la==0]<-1
Error in [<-.data.frame(*tmp*, la == 0, value = 1) :
matrix subscripts not allowed in replacement
i found a way to do this with "for()",
but i think this is the worst way to do it.
So is there a
2000 Dec 18
2
Segmentation fault with expression on linux
I have a problem, that the plot of mathematical formula sometimes
crashes R on Linux (SuSE 6.2 and 7.0 on a Dual PIII/500 machine with 1GB
RAM). The problem occurs for example in demo("graphics"), i.e. in the
last part were the mathematical symbols are plotted.
There are several circumstances to reproduce this segmentation fault,
but the following is one of the most simple examples. The
2001 Feb 22
4
Setting elements in data frame
Hi all,
I have a problem which I am biting my teeth into unsuccessfully:
(x <- data.frame(S1=c("a","b","d","F"),N1=c(2,4,6,9),N2=c(6,NA,0,6)))
S1 N1 N2
1 a 2 6
2 b 4 NA
3 d 6 0
4 F 9 6
> is.na(x)
S1 N1 N2
1 FALSE FALSE FALSE
2 FALSE FALSE TRUE
3 FALSE FALSE FALSE
4 FALSE FALSE FALSE
No I want to be able to do:
1) Setting