Nguyen Dinh Nguyen wrote:
Dear all,
A friend of mine, who just installed Rcmdr package. When calling the
package, the error as following comes up. And actually, I've checked in CRAN
packages, the tcltk package doesn't exist anymore, but tcltk2.
Any help is appreciated
Regards
Nguyen D Nguyen
Garv
I just realized after some tips and a little digging that what I was trying to
do "manually" has already been done. I was trying to fit my data using 'lm'
then taking the "residual" data and trying to do a spectral estimate (for
seasonality) usiing fft and then passing the "residual" of all of t
Hi there,
You must load the MASS package first, i.e,
library(MASS)
?isoMDS
HTH,
Jorge
On Sun, Aug 31, 2008 at 10:14 PM, ³ÂÎä <[EMAIL PROTECTED]> wrote:
> When I type "isoMDS()" in the R environment, a error shows up: no such
> function "isoMDS". Why? And what should I do to use isoMDS? Add
On Sun, Aug 31, 2008 at 9:29 PM, ivo welch <[EMAIL PROTECTED]> wrote:
> stumped again by SQL... If I have a table named "main" in an SQLite
> data base, how do I get the names of all its columns? (I have a mysql
> book that claims the SHOW command does this sort of thing, but it does
> not seem t
When I type "isoMDS()" in the R environment, a error shows up: no such
function "isoMDS". Why? And what should I do to use isoMDS? Additionally, I
cannot install add-on packages. Typing "Rcmd.exe INSTALL e:/VR_7.2-44.zip"
results in "'perl' is neither command nor executable file...". Why this
happe
On Aug 31, 2008, at 7:21 PM, dxc13 wrote:
Dear list,
I am trying to construct a perspective plot of a 2D triangle, or
pyramid. I
can easily do the one dimensional plot (code below), but I can't
figure out
how to do it in a perspective plot for two input variables. Does
anyone
have a
stumped again by SQL... If I have a table named "main" in an SQLite
data base, how do I get the names of all its columns? (I have a mysql
book that claims the SHOW command does this sort of thing, but it does
not seem to work on SQLite.)
regards, /iaw
PS: Thanks for the earlier emails on "warn
Dear list,
I am trying to construct a perspective plot of a 2D triangle, or pyramid. I
can easily do the one dimensional plot (code below), but I can't figure out
how to do it in a perspective plot for two input variables. Does anyone
have a simple solution?
Thanks!
Derek
#code for a triangl
Hello all
I'd like to get some instruments data by serial port (COM1 - win32)
I make a loopback serial adapter for a testing with the code:
system('mode COM1 9600,N,8,1')
ser <- file("COM1", open='r+')
isOpen(ser)
write('12345', ser)
scan(ser, what=as.character(1), n=1)
So I get the data that
ivo welch wrote:
dear R experts---is it possible to ask R to abort with an error
instead of just giving a warning when I am mis-assigning vectors (or
other data structures) that are not compatible? that is, I would like
1: In matrix(value, n, p) ... :
data length [12] is not a sub-multiple or
Dear all,
A friend of mine, who just installed Rcmdr package. When calling the
package, the error as following comes up. And actually, I've checked in CRAN
packages, the tcltk package doesn't exist anymore, but tcltk2.
Any help is appreciated
Regards
Nguyen D Nguyen
Garvan Institute of Medical Rese
Hi All R-Gurus,
I am trying to debug a program, and I think tryCatch will help. The functions
involved
process through so many times before I encounter the error, things are a bit
slow to
use debug and browser().
I've read the help file and postings on conditions, and am still having trouble
dear R experts---is it possible to ask R to abort with an error
instead of just giving a warning when I am mis-assigning vectors (or
other data structures) that are not compatible? that is, I would like
1: In matrix(value, n, p) ... :
data length [12] is not a sub-multiple or multiple of the nu
On 31 August 2008 at 10:53, ZT2008 wrote:
| Is it possible to do parallel computation in R?
Yes.
| How?
MPI, PVM, NWS, Snow, ...
You could have a look at the slides from my introductory tutorial at useR!
earlier this months. About one-third of the material was about parallel
computing approac
Is it possible to do parallel computation in R? How?
--
View this message in context:
http://www.nabble.com/How-to-do-parallel-computation--tp19244438p19244438.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org maili
Ranney, Steven montana.edu> writes:
> 1) fit a simple lm(LW~LL)
> 2) calculate the dffits for those data points
> 3) remove those data points that are 2*sqrt(p/n) (where p=the number of
> parameters and n=number of data points; p=3 in a linear model, correct?
> Intercept, slope, and error term
Try:
myStr <- "YD\\(001\\)"
In POSIX format, or in most such formats in fact, special characters
like parentheses have a particular meaning, and need to be escaped if
they are to have the "parenthesis" meaning. This is done typically by
putting a backslash in front of them. Since however a
Hi Jorge,
This is doing the work just fine. Thank you !
However, I would like to know what should be done with the grep call...
just for my personal education :)
Sebastien
Jorge Ivan Velez a écrit :
>
> Dear Sébastien,
>
> Is this what you want?
>
> which(myStr==headers)
> [1] 2
>
> which(head
[EMAIL PROTECTED] wrote:
If this is the case then how to I take a list of numbers (residuals in this
case) and create anothe list that is longer and padded by zeros? Maybe fft
already does this for me but as I understood it I need to pass an vector to the
fft that is of a power of 2 length.
Dear Sébastien,
Is this what you want?
which(myStr==headers)
[1] 2
which(headers%in%myStr)
[1] 2
HTH,
Jorge
On Sun, Aug 31, 2008 at 10:28 AM, Sébastien <[EMAIL PROTECTED]> wrote:
> Dear R-users,
>
> I need to dynamically recognize the index of a given string myStr in a
> vector of string
David Winsemius wrote:
I have been trying to specify a different color palette to the image
method in plot.Design. My model has crossed two rcs() arguments and one
two-level gender argument. The goal which appears to have been mostly
achieved is to produce separate bivariate plots for men and
Dear R-users,
I need to dynamically recognize the index of a given string myStr in a
vector of string. The problem is that myStr might contain parenthesis,
causing grep not to recognize it the way I want (see below). The help
mentions that the pattern used by grep should be in the POSIX format
if (typeof YAHOO == "undefined") {
var YAHOO = {};
}
YAHOO.Shortcuts = YAHOO.Shortcuts || {};
YAHOO.Shortcuts.hasSensitiveText = false;
YAHOO.Shortcuts.sensitivityType = [];
YAHOO.Shortcuts.doUlt = false;
YAHOO.Shortcuts.location = "us";
YAHOO.Shortcuts.document_id = 0;
YAHOO.Shortcuts.document_
Thanks Mark,
I was hoping I wouldn't have to annotate axes individually but have been
able to work through it with your direction.
Pavel.
--
View this message in context:
http://www.nabble.com/cex.axis-for-the-x-axis-tp18353453p19241307.html
Sent from the R help mailing list archive at Nabble.co
Another solution requiring also a bit of programming is:
l<-letters[1:3]
c2<-c()
for(i in 1:3){c2<-c(c2,paste(letters[i],letters[i:3],sep=""))}
c2
[1] "aa" "ab" "ac" "bb" "bc" "cc"
n<-length(c2)
c3<-c();for(i in 1:n){c3<-c(c3,paste(c2[i],letters[ceiling(i/2):3],sep=""))}
c3
[1] "aaa" "a
Dear R-help,
I'm doing conditional logit regression for a discrete choice model.
I want to know whether there's a way to get the fitted probabilities. In
Stata, "predict" works for clogit, but it seems that in R "predict" does
not.
Thank you very much!
Best wishes.
Sin
thanks.
how to remove the combinations that has same ingredients:
v<-c("a","b","c")
v.v becomes ab, ac, bc (aa,bb,cc are removed)
v.v.v becomes abc (aaa,aab,... are removed, because they have same ingredients)
that is.
the following sentences can be used.
for(i in 1:3){
for (j in i+1:3){
thanks.
how to remove the combinations that has same ingredients:
in C, the following sentences are used.
for i = 1 to 3
for "a b a", "a a b" and "b a a", only one of them is kept, others are remove.
v<-c("a","b","c")
v v should be aa, ab, ac, bc
--- On Sun, 8/31/08, Lucien Lemmens <
thanks.
how to remove the combinations that has same ingredients:
in other computer language, the following sentences are used.
for i = 1 to 3
for j = i+1 to 3
for "a b a", "a a b" and "b a a", only one of them is kept, others are remove.
v<-c("a","b","c")
v v should be aa, ab
thanks.
how to remove the combinations that has same ingredients:
in other computer language, the following sentences are used.
for i = 1 to 3
for j = i+1 to 3
for "a b a", "a a b" and "b a a", only one of them is kept, others are remove.
v<-c("a","b","c")
v v should be aa, ab, ac, bc
thanks.
how to remove the combinations that has same ingredients:
in other computer language, the following sentences are used.
for i = 1 to 3
for j = i+1 to 3
for "a b a", "a a b" and "b a a", only one of them is kept, others are remove.
v<-c("a","b","c")
v v should be aa, ab,
thanks.
how to remove the combinations that has same ingredients:
in other computer language, the following sentences are used.
for i = 1 to 3
for j = i+1 to 3
for "a b a", "a a b" and "b a a", only one of them is kept, others are remove.
v<-c("a","b","c")
v v should be aa, ab,
thanks.
how to remove the combinations that has same ingredients:
in C, the following sentences are used.
for i = 1 to 3
for "a b a", "a a b" and "b a a", only one of them is kept, others are remove.
v<-c("a","b","c")
v v should be aa, ab, ac, bc
--- On Sun, 8/31/08, Lucien Lemmens
thanks.
how to remove the combinations that has same ingredients:
in C, the following sentences are used.
for i = 1 to 3
for "a b a", "a a b" and "b a a", only one of them is kept, others are remove.
v<-c("a","b","c")
v v should be aa, ab, ac, bc
--- On Sun, 8/31/08, Lucien Lemmens
thanks.
how to remove the combinations that has same ingredients:
in C, the following sentences are used.
for i = 1 to 3
for "a b a", "a a b" and "b a a", only one of them is kept, others are remove.
v<-c("a","b","c")
v v should be aa, ab, ac, bc
--- On Sun, 8/31/08, Lucien Lemmens <[
I had a similar problem recently where I used the following code:
v <- factor(letters[1:3])
all.cases <- expand.grid(v, v)
all.cases[as.numeric(all.cases[, 2]) >= as.numeric(all.cases[, 1]), ]
I'm not sure how to extend it cleanly to an arbitrary number of
vectors, though.
Baptiste
On 31
Lucien Lemmens wrote:
Yuan Jian yahoo.com> writes:
Hello,
is there a simple way to give all combinations for a given vector:
v<-c("a","b","c")
combination(v,v) becomes
"aa","ab","ac","bb","bc","cc'
combination(v,v,v) becomes
"aaa","aab","aac","abb",..
vv<-c(outer(v,v,p
On Sun, 31-Aug-2008 at 12:01PM +0300, Asher Meir wrote:
|> Hello all.
|>
|> I am an experienced R user, I have used R for many years for a wide
|> variety of applications. However, I keep on running into one obstacle:
|> I never want factors or levels in my data frames, but I keep on
|> getting t
Yuan Jian yahoo.com> writes:
>
> Hello,
>
> is there a simple way to give all combinations for a given vector:
>
> v<-c("a","b","c")
>
> combination(v,v) becomes
> "aa","ab","ac","bb","bc","cc'
>
> combination(v,v,v) becomes
> "aaa","aab","aac","abb",..
>
vv<-c(outer(v,v,paste))
v
Hello all.
I am an experienced R user, I have used R for many years for a wide
variety of applications. However, I keep on running into one obstacle:
I never want factors or levels in my data frames, but I keep on
getting them. Is there any way to globally turn this whole feature of
data frames of
Hello,
is there a simple way to give all combinations for a given vector:
v<-c("a","b","c")
combination(v,v) becomes
"aa","ab","ac","bb","bc","cc'
combination(v,v,v) becomes
"aaa","aab","aac","abb",..
[[alternative HTML version deleted]]
___
41 matches
Mail list logo