search for: bingshan

Displaying 7 results from an estimated 7 matches for "bingshan".

Did you mean: lingshan
2008 Sep 21
1
How to plot "greater than" symbol on the x-axis
Hello everyone, I want to plot a "greater than" symbol (the "_" under ">") on the x-axis in the labels. Is it possible to do it? Thanks. Bingshan [[alternative HTML version deleted]]
2008 Sep 22
1
R-help Digest, Vol 67, Issue 23
...plying, please edit your Subject line so it is more specific than "Re: Contents of R-help digest..." Today's Topics: 1. Calculating interval for conditional/unconditional correlation matrix (Ana Kolar) 2. How to plot "greater than" symbol on the x-axis (Li, Bingshan) 3. Re: How to plot "greater than" symbol on the x-axis (John Fox) 4. Re: Design lrm function (milicic.marko) 5. Re: How to plot "greater than" symbol on the x-axis (Li, Bingshan) 6. Re: How to plot "greater than" symbol on the x-axis (John Fox) 7. Re: p...
2006 Sep 17
1
using "table" in R
Hi there, I have a dataframe whose elements are numbers or characters. I want to extract the frequencies of each elements in the dataframe. For example, d = as.data.frame(matrix(c(1, 2, 3, 3), 2,2)) What I want is first what are the elements in the data (1,2,3 here) and second what are their frequencies (1,1,2 respectively). How to use "table" to extract these two pieces of
2006 Sep 18
2
merge strings
Hi all, I have a vector and want to merge its elements one by one into a single string or number. For example, x=c(1,2,3), what I want is a new number 123. I used "paste" but it just output "1" "2" "3" which is not what I want. Is there any way to do this? Thanks!
2007 Jun 28
2
logistic regression and dummy variable coding
Hello everyone, I have a variable with several categories and I want to convert this into dummy variables and do logistic regression on it. I used model.matrix to create dummy variables but it always picked the smallest one as the reference. For example, model.matrix(~.,data=as.data.frame(letters[1:5])) will code 'a' as '0 0 0 0'. But I want to code another category as
2006 Sep 22
1
legends in a plot
Hi there, I have the following plot. The circles and the line do not cross in the main plot. But in the legend, the circle and the line cross. I am wondering if there is a way to make the legend look like the plot without crossing. I looked around but did not find a way to do that. Is it doable? plot(x,x^1.5, pch=1, lty=1, type='b') legend(1,25, legend="hello",pch=1,
2007 May 09
1
power 2x3 exact test
Hi, all, I am wondering if there is an algorithm for calculating power of 2x3 table using Fisher exact test. There is one (algorithm 280) for 2x2 Fisher exact test but I couldn't find one for 2x3 table. If we are not lucky enough to have one, is there any other way to calculate exact power of 2x3 table? The reason why I want exact power is because some cells are assumed to be very