Displaying 10 results from an estimated 10 matches for "jizhang".
2007 Oct 10
3
save lm output into vectors
Hi,
May I ask how I can save the coefficients and the p values into a table?
thanks.
jiong
The email message (and any attachments) is for the sole...{{dropped:11}}
2007 Oct 09
2
regression by groups
Hi All,
I want to run regression (lm) on my dependant variable by gender and race. How do I integrate the "by" function in lm?
thanks.
jiong
The email message (and any attachments) is for the sole...{{dropped:11}}
2007 Jun 27
2
running saved scripts
Hi All,
I have a rather naive question. I need to run some simple calculations
such as read.table, resid, and quantile on a data file. How can I save
these commands in a text file and ask R to run this text file? Thanks.
Jiong Zhang
The email message (and any attachments) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use,
2007 Jun 28
1
stack multiple plots on one page
Hi All,
I typed "pairs" to see its code but did not get what I want. How do I
see its code?
What I am trying to do, is to stack about 10 scatter plots on one page
as the way "pairs" does. I have about 150 variables in my table.
Instead of plotting 150X150 pairs using "pairs", I only need to plot 10
pairs.
Thanks.
jiong
The email message (and any attachments) is
2007 Aug 17
2
problem using "rank"
Hi All,
I had 12766 elements in a column, 12566 are values and 200 are "NA"s. I used the following line to get the ranks:
total_list$MB.rank <- rank(-total_list$MB,ties.method="min",na.last=NA)
but I got an error message:
Error in `$<-.data.frame`(`*tmp*`, "BCRP_PW_F.rank", value = c(3949, 6182, :
replacement has 12199 rows, data has 12766
What
2007 Jun 11
3
if statement
Hi all,
I have a rather naive question. I have the height of 100 individuals in
a table and I want to assign the tallest 30% as Case=1 and the bottom
30% as Case=0. How do I do that?
thanks.
jiong
The email message (and any attachments) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is
2007 Aug 06
1
rank in decreasing order
Hi All,
I want to give ranks to elements in a column so I used:
total_list$field1.rank <- rank(total_list$field1,ties.method="min")
But this gives me the rank in increasing order. How do I get the ranks in decreasing order? I know decreasing = FALSE is not a legal argument here.
Thanks.
Jiong
The email message (and any attachments) is for the sole use of the intended recipient(s)
2007 Oct 11
2
how to get the sample size in lm
Hi All,
How do I get the sample size in lm? I know it is not reported by "summary".
Thanks.
jiong
The email message (and any attachments) is for the sole...{{dropped:11}}
2007 Jun 29
2
why this doesn't work for qqnorm
I want to qqnorm every column in a table. When I try the first column
using
qqnorm(table$column1), it worked.
But when I use
qqnorm(table[1]), it tells me "Error in stripchart(x1, ...) : invalid
plotting method".
What happen? How can I make a function that qqnorms every column?
thanks a lot.
-jiong
The email message (and any attachments) is for the sole use of the intended
2007 Aug 16
7
combining P values using Fisher's method
Hi All,
Can somebody tell me how to use R to combine p values using Fisher's method? thanks.
Jiong
The email message (and any attachments) is for the sole use of the intended recipient(s) and may contain confidential information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and