On Sun, 18 Mar 2007, Tim Keitt wrote:
> I can't seem to find this anywhere. How do I set the default CRAN
> repository _site wide_ on a linux box? What I want to do is eliminate
> the pop-up list of repository locations when using
> 'install.packages()'. I know how to do this for a single account.
> "Gad" == Gad Abraham <[EMAIL PROTECTED]>
> on Mon, 19 Mar 2007 09:36:15 +1100 writes:
Gad> If you convert to numeric, you can then assign it to Loglik:
>> >> Loglik[1] <- as.numeric(log(p %*% expm(Q * y[i]) %*% q))
>> >> Loglik[1]
Gad> [1] 134.5565
>>
>>
Hi guys! I have a problem regarding a binary logistic hierarchical
model I am trying to use. The model contains various covariates that depend
on the location the response was measured at but do not depend on time
(year). I also have a spatial covariate that depends both on location and
?glht says
>with 'print', 'summary', 'confint', 'coef' and 'vcov' methods
>being available.
try:
example(glht)
summary(glht(amod, linfct = mcp(tension = "Tukey")))
confint(glht(amod, linfct = mcp(tension = "Tukey")))
On 3/19/07, Nair, Murlidharan T <[EMAIL PROTECTED]> wrote:
> I used the multc
Oldrich:
>
> The columns in data passed to svm need to contain only numeral values.
This is not correct, svm() of course also accepts factors and then
builds a model matrix similar to lm(). But it won't accept, e.g.,
character vectors.
> I simply assigned a number to each category of each fea
> Gad> If you convert to numeric, you can then assign it to Loglik:
> >> Loglik[1] <- as.numeric(log(p %*% expm(Q * y[i]) %*% q))
> >> Loglik[1]
> Gad> [1] 134.5565
>
>
> Hmm, I don't think that's Laura's problem
> (and actually I don't know what her problem is) :
>
> Assignment
You could do this:
f <- function(x) {
"This is some
text that I
would like to
have here."
x + 1
}
f(2) # 3
On 3/18/07, Wensui Liu <[EMAIL PROTECTED]> wrote:
> Dear Lister,
> I understand I can put '#' to put comment line by line. But is there a
> way to put comment with multiple lines without ha
Hello.
I managed to solve the problem, here's what I learned:
The columns in data passed to svm need to contain only numeral values.
I simply assigned a number to each category of each feature. However,
there must not be a column where all the numbers are equal (there
mustn't be a feature with al
Dear Lister,
I understand I can put '#' to put comment line by line. But is there a
way to put comment with multiple lines without having to put '#' on
the every line?
Thanks.
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo
[EMAIL PROTECTED] writes:
> I have searched the archives for using insert into to update spreadsheets
> using RODBC and have come up short. So, first off, is it possible?
>
> I have put together a dummy xls table (c:\foo.xls)for exploring
> possibilities of RODBC. Ultimately, I am interested in
Your question is much too broad for this list. It is not clear from
your question how much statistics you know and what you have already
done. (It also raises the concern that this may be a homework
assignment.)
Have you tried
ox.lm <- lm(vo2 ~ speed * stride * mass, data = DATA)
But you re
We are two french students and we have a problem concerning an exercize.
We don't know how to resolve it.
It would be fantastic if someone can help us.
Thanks.
Description:
This study examined how the metabolic cost of locomotion varied
with speed, stride frequency and body mass. Cost was determi
I can't seem to find this anywhere. How do I set the default CRAN
repository _site wide_ on a linux box? What I want to do is eliminate
the pop-up list of repository locations when using
'install.packages()'. I know how to do this for a single account.
Modifying files in /etc/R does not seem to wor
I think I found the answer to my own question.
One can use
fittedvalue <- fitted(multivarfit)
plot(fittedvalue, y) in the below function.
Thanks to Verzani's simple R manual for leading me to this.
- Original Message -
From: AA
To: R-Help
Sent: Sunday, March 18, 2007 2:42 PM
Frank Duan wrote:
> Hi All,
>
> I have a very simple question. Suppose I had a data frame with 100 columns,
> now I wanted to select rows with the values of some columns satisfying the
> same condition, like all equal to "Tom". I know I can use the 'and' operator
> "&", but it's painful if there w
say x is you rdata frame and y is the vector of column indices you
want to match to a condition:
x[apply(x[y]=="Tom",1,all),]
still, i feel like there's probably a better way...
On Mar 18, 2007, at 1:36 PM, Frank Duan wrote:
> Hi All,
>
> I have a very simple question. Suppose I had a data fr
Dear R-users,
I am trying to get a simple plot for a linear model. The following function
does the job
of getting all the plots of the lm function but the "main" plot.
multivarplot <-
function(...){
x1 <- rnorm(10); x2 <- rnorm(10); x3 <- rnorm(10)
y <- rnorm(10)
multivarfit <- l
I used the multcomp package sometime back for doing multiple
comparisons. I see that it has been updated and the methods like simint
are no longer supported. When I run the program it prompts to me to use
glht. How do I get the lower and upper conf int and the pValues using
glht? Does anyone have a
Hi All,
I have a very simple question. Suppose I had a data frame with 100 columns,
now I wanted to select rows with the values of some columns satisfying the
same condition, like all equal to "Tom". I know I can use the 'and' operator
"&", but it's painful if there were many columns.
Can anyone
Thank you for your answer.
The big problems are :
- I don't have SAS
- I work on a linux system
But, I've just found a solution :
- I have downloaded SAS viewer (free) :
http://www.sas.com/apps/demosdownloads/sassysview_PROD_8.2_sysdep.jsp?packageID=000176
- I have installed it with Wine.
-
David Hajage wrote:
> Hello useRs,
>
> I would like to import a data frame in a sas format (.sas7bdat).
>
> I have installed "foreign" library, and tryed to use "read.ssd" function :
>
>
>> read.ssd("these", "fus9706.sas7bdat")
>>
> sh: sas: not found
> SAS failed. SAS program at /tmp/Rtmp
On Sun, 2007-03-18 at 18:42 +0100, David Hajage wrote:
> Hello useRs,
>
> I would like to import a data frame in a sas format (.sas7bdat).
>
> I have installed "foreign" library, and tryed to use "read.ssd" function :
>
> > read.ssd("these", "fus9706.sas7bdat")
> sh: sas: not found
> SAS failed.
Hello useRs,
I would like to import a data frame in a sas format (.sas7bdat).
I have installed "foreign" library, and tryed to use "read.ssd" function :
> read.ssd("these", "fus9706.sas7bdat")
sh: sas: not found
SAS failed. SAS program at /tmp/RtmpPdVSST/file2ae8944a.sas
a log and other error p
On Sun, 2007-03-18 at 19:36 +0300, Eugene Semenko wrote:
> Hi,
> I have plot a graphics by next way:
> par(mar=c(5,5,1,1), font.axis=3, ps=14, xaxs="i", yaxs="i", lab=c(18,18,7),
> font
> .lab=3);
> plot(l, b, type="n", xlim=c(0,360), ylim=c(-90,90), xlab="l, deg", ylab="b,
> deg");
> points(l, b
No, I did not install ggobi at all (looks like I missed that step). I went
back and installed it and then reinstalled the R package and now everything
appears to be working as advertised. Thanks.
Tom
-Original Message-
From: hadley wickham [mailto:[EMAIL PROTECTED]
Sent: Sunday, March
> This is really a GGobi issue not an R issue, but I believe their mailing
> lists are down.
Our mailing lists were down, but are now up again, after we switched
to a new system. You may need to sign up again at
http://www.ggobi.org/support/.
We're very disappointed at the level of support we re
This is really a GGobi issue not an R issue, but I believe their mailing
lists are down.
I think you are assuming that it is rggobi.dll that cannot be found, but
that is not what the message says. I would have expected Windows to give
you a dialog box telling you the exact problem, and I suspe
Hi Tom,
Did you install ggobi first? And the RGtk2 package as well?
Hadley
On 3/18/07, Tom La Bone <[EMAIL PROTECTED]> wrote:
>
>
> After installing rggobi, I get the following error when I try to load it:
>
>
>
> > local({pkg <- select.list(sort(.packages(all.available = TRUE)))
>
> + if(nchar
Hi,
I have plot a graphics by next way:
par(mar=c(5,5,1,1), font.axis=3, ps=14, xaxs="i", yaxs="i", lab=c(18,18,7),
font
.lab=3);
plot(l, b, type="n", xlim=c(0,360), ylim=c(-90,90), xlab="l, deg", ylab="b,
deg");
points(l, b, cex=vel/60, col=1, pch=21);
On this plot I have axis x (denoted by l)
After installing rggobi, I get the following error when I try to load it:
> local({pkg <- select.list(sort(.packages(all.available = TRUE)))
+ if(nchar(pkg)) library(pkg, character.only=TRUE)})
Loading required package: RGtk2
Error in dyn.load(x, as.logical(local), as.logical(now)) :
On 3/18/2007 8:56 AM, Chabot Denis wrote:
> Thank you Marc, Jim and Gabor,
>
> I like the solution with "expression", nice and simple. Gabor, your
> solution did not work, probably just a matter of putting the text
> inside an expression?
>
> However it would be nice if the help system pointe
Its a formula, not an expression -- but it will coerce formulas. Without ~
its no longer a formula.
On 3/18/07, Chabot Denis <[EMAIL PROTECTED]> wrote:
> Wow, this works, Gabor, but I am mystified. I would have tought an
> expression needed the word expression, and/or a text string needed to
> be
Wow, this works, Gabor, but I am mystified. I would have tought an
expression needed the word expression, and/or a text string needed to
be within quotes. What is happening here, exactly? Why the use of
"~"? I tried without and it no longer works.
Thanks in advance,
Denis
Le 07-03-18 à 08:5
Thank you Marc, Jim and Gabor,
I like the solution with "expression", nice and simple. Gabor, your
solution did not work, probably just a matter of putting the text
inside an expression?
However it would be nice if the help system pointed to it. A search
on "italics" brought me nothing, one
Sorry, legend= was omitted:
plot(1:10)
legend("topleft", legend = This ~ study ~ italic(n) == 3293)
On 3/18/07, Chabot Denis <[EMAIL PROTECTED]> wrote:
> Thank you Marc, Jim and Gabor,
>
> I like the solution with "expression", nice and simple. Gabor, your
> solution did not work, probably just a
AFAIK there is no get_all_vars() in any released version of R, and this is
NOT the place to report on unreleased ('Under development (unstable)')
versions of R (and especially not on non-current versions). (Please use
the R-devel list to comment on current development versions.)
This was fixed
> get_all_vars(dist ~ speed, data = cars)
Error in `row.names<-.data.frame`(`*tmp*`, value = c(NA, -50L)) :
invalid 'row.names' length
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status Under deve
37 matches
Mail list logo