Re: [R] Welcome to the "R-help" mailing list

2009-01-29 Thread Bishwa S Koirala

On Thu, 29 Jan 2009 20:55:19 +0100
 r-help-requ...@r-project.org wrote:

Welcome to the R-help@r-project.org mailing list!

To post to this list, send your email to:

 r-help@r-project.org

General information about the mailing list is at:

 https://stat.ethz.ch/mailman/listinfo/r-help

If you ever want to unsubscribe or change your options 
(eg, switch to
or from digest mode, change your password, etc.), visit 
your

subscription page at:

 https://stat.ethz.ch/mailman/options/r-help/bkoirala%40unm.edu

You can also make such adjustments via email by sending 
a message to:


 r-help-requ...@r-project.org

with the word `help' in the subject or body (don't 
include the
quotes), and you will get back a message with 
instructions.


You must know your password to change your options 
(including changing

the password, itself) or to unsubscribe.  It is:

 bish90nu

Normally, Mailman will remind you of your r-project.org 
mailing list
passwords once every month, although you can disable 
this if you
prefer.  This reminder will also include instructions on 
how to
unsubscribe or change your account options.  There is 
also a button on
your options page that will email your current password 
to you.


Bishwa S Koirala
Department of Economics
University of New Mexico
Albuquerque, NM 87131

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Welcome to the "R-help" mailing list

2009-01-29 Thread Johannes Huesing
Bishwa S Koirala  [Thu, Jan 29, 2009 at 08:56:17PM CET]:
>> You must know your password to change your options (including changing
>> the password, itself) or to unsubscribe.  It is:
>>

It is definitely a good idea to change your password ASAP.


-- 
Johannes Hüsing   There is something fascinating about science. 
  One gets such wholesale returns of conjecture 
mailto:johan...@huesing.name  from such a trifling investment of fact.  
  
http://derwisch.wikidot.com (Mark Twain, "Life on the Mississippi")

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Welcome to the "R-help" mailing list

2007-09-18 Thread 马传香
2007/9/19, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>
> Welcome to the R-help@r-project.org mailing list!
>
> To post to this list, send your email to:
>
> r-help@r-project.org
>
> General information about the mailing list is at:
>
> https://stat.ethz.ch/mailman/listinfo/r-help
>
> If you ever want to unsubscribe or change your options (eg, switch to
> or from digest mode, change your password, etc.), visit your
> subscription page at:
>
> https://stat.ethz.ch/mailman/options/r-help/chxmahappy%40gmail.com
>
> You can also make such adjustments via email by sending a message to:
>
> [EMAIL PROTECTED]
>
> with the word `help' in the subject or body (don't include the
> quotes), and you will get back a message with instructions.
>
> You must know your password to change your options (including changing
> the password, itself) or to unsubscribe.  It is:
>
> 800724
>
> Normally, Mailman will remind you of your r-project.org mailing list
> passwords once every month, although you can disable this if you
> prefer.  This reminder will also include instructions on how to
> unsubscribe or change your account options.  There is also a button on
> your options page that will email your current password to you.
>

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Welcome to the "R-help" mailing list

2009-02-23 Thread sdzhangping
Dear R users:
Analysis of the impact of a time-dependent covariate (GVHD or use of 
steroid after bone marrow transplantation) on two competing endpoints (invasive 
fungal infection and death) is frequently encountered in the setting of BMT 
data. Coxph package can be used as the following:
for the analysis of GVHD:
 > gvhd -> coxph(Surv(start,stop,status = =1) ~ GVHD, data=bmt.data)
and the data should be edited as the following:
  patient start stop status(IFI) GVHD
 1 0  15 0 0
 1 15 35 1 1
 2 0  12 0 0
 2 12 20 2 1
 3 0  30 2 0
 4 0  1000 0
 5 0  25 0 0
 5 25 1000 1
   similarly, for steroid:
 > steroid -> coxph(Surv(start,stop,status = =1) ~ steroid, data=bmt.data)
and the data was edited as the following:
  patient start stop status(IFI) steroid
 1 0  16 0 0
 1 16 35 1 1
 2 0  13 0 0
 2 13 20 2 1
 3 0  14 0 0
 3 14 30 2 1
 4 0  1000 0
 5 0  21 0 0
 5 21 1000 1
 
I wonder how can I analyze the two risk factors (GVHD and steroid) 
concurrently? And how to edit the data. 
How can I manage it if a third baseline risk factor(age for example) was 
included?
 
 Thanks 
 Yours sincerely Ping Zhang 
 Feb 24 2009
 
[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Welcome to the "R-help" mailing list

2009-04-18 Thread Qifei Zhu
Hi all,

I'm a newbie R developer, am trying to dotplot a few graphs using a for
loop.

The following code works fine but once I wanna plot inside a loop, nothing
happens.
> for(i in 1:1){dotplot(y~x)}
> y <- c(1,2,3)
> x <- c('a','b','c')
> dotplot(y~x)

> for (i in 1:3) {dotplot(y~x)} (y and x depends on I in actual case)
Nothing happens.

I appreciate your advice on what is going wrong? Thanks.

Best,
Tony

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Welcome to the "R-help" mailing list

2009-04-18 Thread Mike Lawrence
When plotting in loops, you need to wrap your plot call in print().

On Sat, Apr 18, 2009 at 2:14 PM, Qifei Zhu  wrote:
> Hi all,
>
> I'm a newbie R developer, am trying to dotplot a few graphs using a for
> loop.
>
> The following code works fine but once I wanna plot inside a loop, nothing
> happens.
>> for(i in 1:1){dotplot(y~x)}
>> y <- c(1,2,3)
>> x <- c('a','b','c')
>> dotplot(y~x)
>
>> for (i in 1:3) {dotplot(y~x)} (y and x depends on I in actual case)
> Nothing happens.
>
> I appreciate your advice on what is going wrong? Thanks.
>
> Best,
> Tony
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Mike Lawrence
Graduate Student
Department of Psychology
Dalhousie University

Looking to arrange a meeting? Check my public calendar:
http://tr.im/mikes_public_calendar

~ Certainty is folly... I think. ~

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Welcome to the "R-help" mailing list

2009-04-18 Thread Qifei Zhu
It works. Thanks!

-Original Message-
From: mike.lw...@gmail.com [mailto:mike.lw...@gmail.com] On Behalf Of Mike
Lawrence
Sent: Saturday, April 18, 2009 1:30 PM
To: Qifei Zhu
Cc: r-help@r-project.org
Subject: Re: [R] Welcome to the "R-help" mailing list

When plotting in loops, you need to wrap your plot call in print().

On Sat, Apr 18, 2009 at 2:14 PM, Qifei Zhu  wrote:
> Hi all,
>
> I'm a newbie R developer, am trying to dotplot a few graphs using a for
> loop.
>
> The following code works fine but once I wanna plot inside a loop, nothing
> happens.
>> for(i in 1:1){dotplot(y~x)}
>> y <- c(1,2,3)
>> x <- c('a','b','c')
>> dotplot(y~x)
>
>> for (i in 1:3) {dotplot(y~x)} (y and x depends on I in actual case)
> Nothing happens.
>
> I appreciate your advice on what is going wrong? Thanks.
>
> Best,
> Tony
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Mike Lawrence
Graduate Student
Department of Psychology
Dalhousie University

Looking to arrange a meeting? Check my public calendar:
http://tr.im/mikes_public_calendar

~ Certainty is folly... I think. ~

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Welcome to the "R-help" mailing list

2009-04-18 Thread Uwe Ligges



Qifei Zhu wrote:

Hi all,

I'm a newbie R developer, am trying to dotplot a few graphs using a for
loop.

The following code works fine but once I wanna plot inside a loop, nothing
happens.

for(i in 1:1){dotplot(y~x)}
y <- c(1,2,3)
x <- c('a','b','c')
dotplot(y~x)



for (i in 1:3) {dotplot(y~x)} (y and x depends on I in actual case)

Nothing happens.



dotplot is a lattice function that need to be print()-ed which happened 
before automatically (as you'd type x in it is printed).



Uwe Ligges



I appreciate your advice on what is going wrong? Thanks.

Best,
Tony

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Welcome to the "R-help" mailing list (Digest mode)

2008-11-27 Thread Weijia You
Hi friends,

Is there anyone who happened to import data set in the "DL" format into R
for further analysis?

In the package of "network", there's only a method named "read.paj()".
So now, I have to get the dl file from the original data set, and use UCINET
to convert it to .net file. It's too complicated.
:(

In the package of "igraph", edgelist is one the format which can be
imported, however, weight can not be expressed. As for the format "ncol",
weight is considered, but it's always undirected.

Thank you for comments and suggestions!

Best!

Weijia

[[alternative HTML version deleted]]

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


Re: [R] Welcome to the "R-help" mailing list (Digest mode)

2008-11-27 Thread Gábor Csárdi
With igraph, do

read.graph(filename, format="ncol", directed=TRUE)

I just noticed that the 'directed' option is not documented, sorry about that,
Gabor

ps. please give a proper subject to your emails...

On Thu, Nov 27, 2008 at 9:54 AM, Weijia You <[EMAIL PROTECTED]> wrote:
> Hi friends,
>
> Is there anyone who happened to import data set in the "DL" format into R
> for further analysis?
>
> In the package of "network", there's only a method named "read.paj()".
> So now, I have to get the dl file from the original data set, and use UCINET
> to convert it to .net file. It's too complicated.
> :(
>
> In the package of "igraph", edgelist is one the format which can be
> imported, however, weight can not be expressed. As for the format "ncol",
> weight is considered, but it's always undirected.
>
> Thank you for comments and suggestions!
>
> Best!
>
> Weijia
>
>[[alternative HTML version deleted]]
>
> __
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
Gabor Csardi <[EMAIL PROTECTED]> UNIL DGM

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.