(1, 3, 4))
library(sqldf)
sqldf(select observation, observation in (select * from ID) `ID?` from DF)
# or
sqldf(select observation, observation in (1, 3, 4) `ID?` from DF)
See home page at:
http://sqldf.googlecode.com
On 9/7/07, Takatsugu Kobayashi [EMAIL PROTECTED] wrote:
Hi
Hi RUsers,
I am wonder if I can search observations whose IDs matches any of the
values in another vector, such as in MySQL. While I am learing MySQL for
future database management, I appreciate if anyone could give me a hint.
Suppose I have one 5*1 vector containing observation IDs and
Hi,
I just wonder if this is a rounding error by the princomp command in R.
Although this does not make much sense, using a hypothetical dataset, a,
a-matrix(runif(1000),100,10)
I did PCA with the princomp, and compared it with the results estimated
with the eigen and the prcomp commands. And
Hi,
I have been trying to minimize computation times in the following loops.
I could successfully use lapply to minimize a lot simpler stuff. So I am
trying to use lapply or sapply to minimize computing times again.
The whole purpose is to create the X and Y coordinates using normal
Rusers:
I have been looking into lattice manual to see how I can delete a plot
frame and a box frame. I just want to show x label, y label, and the
actual surface only.
\Is this something I should define in axis.default? And how can I change
the view perspective like persp(phi=, theta=)? I
Rusers:
I am trying to apply a quadratic discriminant function to find the best
classification outcomes.
1 is assigned to the values greater than a threshold value; and 0 otherwise.
I would like to see how the apparent error rates and the optimal error
rate change with increasing threshold
Rusers:
This is a very fundamental and silly question. How can I overlay
different maps on the same x and y scales? I do neither want to change X
and Y axes nor show different x and y ticks on top of each other.
Thanks
Taka
Indiana University
__
Hi,
I have started to learn local regression models so as to identify
statistically significant peaks in urban areas, such as population
densities and congestion. I successfully ran /locfit/ and got several
information on the fit. Now I got stuck. This is a very silly question,
but isn't the