[R] How to use read.xls in R

2006-12-07 Thread Lisa Wang
= !verbose) : perl not found Could you please tell me what I have done wrong and how I should do it? Thanks a lot Lisa Wang Princess Margaret Hospital, Toronto, Ca tel:416 946 4551 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman

[R] how to produce this pic in R

2006-05-31 Thread Lisa Wang
Hello Everyone, I would like to produce a 3d par chart like the attached. How do I do it in R? thanks a lot Lisa Wang Princess Margaret hospital Toronto,Ca __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE

[R] 3d par chart

2006-05-31 Thread Lisa Wang
Hello Everyone, I would like to produce a 3d par chart like the attached. How do I do it in R? thanks a lot Lisa Wang Princess Margaret hospital Toronto,Ca__ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do

[R] desmon library

2006-04-04 Thread Lisa Wang
Hello there, I would like to use Dr. simon's two stage design library. I found one source on the internet saying that it's available in desmon library but I can not find this package under R project. Please help with it. Thank you very much Lisa Wang Toronto,ca

[R] how to change the trellis graph background color

2006-03-31 Thread Lisa Wang
Hello there, Please shed some light on how to change the background color of trellis graphic background. Thanks a lot lisa Wang Toronto, Ca __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read

[R] How to plot the xaxis label at 45 degree angle?

2006-03-08 Thread Lisa Wang
Hello there, I would like to plot a graph with the x axis's label displayed at a 45 angle to the x axis instead of horizontal to it as the label is very long. What should I do? Thank you for your help in advance Lisa Wang Princess Margaret Hospital Toronto, Ca

[R] LCA in e1071

2006-02-13 Thread Lisa Wang
very much Lisa Wang Princess Margaret Hospital tel: 416 946 4501 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] latent class modle for rater agreement

2006-02-09 Thread Lisa Wang
Hello there, I would like to test the agreement amongst 6 raters for nominal data on a scale from 1-4, and conduct a latent class analysis in R. How should the data be formatted and what code should I use? Thank you very much Lisa Wang Princess Margaret Hospital Biostatistics tel:416 946 4501

[R] what can I do to make the lines straight

2006-01-05 Thread Lisa Wang
Hello there, I did a few graphics but only one looks like the attached. Why the line is not straight and how I can fix it? thank you very much Lisa Wang Princess Margaret Hospital Toronto, Canada__ R-help@stat.math.ethz.ch mailing list https

[R] How to produce this graphic

2006-01-04 Thread Lisa Wang
Hello there, I would like to produce a plot of x-c(4,5,6),which is the mean of each group and y-c('groupA','groupB','groupC'). plot (x,y) can not produce any graphics because y is not numerical. What should I do to produce this graphic? Thank you in advance Lisa Wang Princess Margaret

[R] How to simulate correlated data

2005-12-15 Thread Lisa Wang
Hello there, I would like to simulate X --Normal (20, 5) Y-- Normal (40, 10) and the correlation between X and Y is 0.6. How do I do it in R? Thank you very much Lisa Wang Msc. Princess Margaret Hospital Toronto, Ca __ R

[R] how to draw cumulative histogram

2005-11-08 Thread Lisa Wang
Hello there, I am using R to plot some cumulative histogram for my data. Please help in this case. Thank you Lisa Wang Princess Margaret Hospital Toronto phone 416 946 4501 ext.4883 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch

[R] how to impose the lines (Apply?)

2005-09-30 Thread Lisa Wang
Lisa Wang Toronto, Ca tel: 416 946 4501 This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or distribution by anyone other than the person for whom it was originally intended is strictly prohibited. If you have received

[R] 'mean' function

2005-09-30 Thread Lisa Wang
Hello, Could you please let me know how to see the mean function in R . The following is what I see when type in mean and enter mean function (x, ...) UseMethod(mean) environment: namespace:base I would like to see how the function is writen. Thanks a lot Lisa Wang Toronto, Ca This e-mail

[R] How to get to the varable in a list

2005-09-30 Thread Lisa Wang
Hello, I have a list lis as the following: $1 x1 x2 4 3 1 $2 x1 x2 3 3 2 5 3 2 $3 x1 x2 2 3 3 6 3 3 How do I get the x1 varible? for example ss1 This e-mail may contain confidential and/or privileged information for the sole use of the intended recipient. Any review or

[R] predicted survival curve from a cox model

2005-06-29 Thread Lisa Wang
Hi there, I have a predictor varible class which is a categorical variable and a ' coxph' is used to find the coeffients. How can I plot the predicted survival proportion based on this model? Thanks Lisa Wang Princess Margaret Hospital Toronto tel 416 946 4501

[R] How to sort a dataframe by one variable

2005-06-28 Thread Lisa Wang
Hi there, Could anybody help me on how to sort a dataframe by one variable in the dataframe? Thank you Lisa Wang Princess Margaret Hospital Toronto, Ca tel: 416 946 4501 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo

[R] question on boot

2005-06-09 Thread Lisa Wang
of patients who are positive for the outcome variable within each group). Regards Lisa Wang Msc. Princess Margaret Hospital Toronto, Ca tel 416 9464501 ext. 5201 __ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help

[R] Why can't I download window binary zip packages

2005-05-18 Thread Lisa Wang
Hello there, I tried so many times to download windows binary zip package but it told me that I don't have the access to do so. It worked for me a few months ago. Please help me with it. Thank you Lisa Wang Msc. Princess Margaret Hospital Toronto , Canada tel: (416) 946 4501 ext.5201

[R] The survival rate at a certain time

2004-12-06 Thread Lisa Wang
. Thank you very much Lisa Wang Princess Margaret Hospital Toronto, Ca tel: 416-946-4501 ext.5201 __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting

[R] categorical varibles in coxph

2004-10-15 Thread Lisa Wang
Hello, I wonder when I do coxph in R: coxph( Surv(start, stop, event) ~ x, data=test) If x is a categorical varible (1,2,3,4,5), should I creat four dummy varibles for it? if yes, how can I get the overall p value on x other than for each dummy variable? Thanks Lisa Wang Princess Margaret

[R] Blom's approximation to rankits?

2004-09-09 Thread Lisa Wang
Hello, My name is Lisa and I'm a statistician at Princess Margare Hospital. I wonder if there is any function in R that calculate the Normal rankits based on Blom's approximation? Thank you very much Lisa Wang Msc. Princess Margaret hospital Toronto, Ca

[R] GEE model

2004-09-09 Thread Lisa Wang
much Lisa Wang Msc. Toronto,Ca __ [EMAIL PROTECTED] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

[R] How to do a go to in a loop in R

2004-07-21 Thread Lisa Wang
Hi there, I'm writing a function which involves a loop. What to write in the ? place would allow it skips the for loop and goes to a[i]-0. a-b[s3,] if (nrow(a)==0) ? for (i in 1:nrow(a)){ a[i]-1 } a[i]-0 Lisa Wang Cancer