split( df, df$ID )
>
> out <- sapply( df.s, function(m)
> tapply( m$RESULT, m$TEST, paste, collapse="," ) )
>
> t(out)
>
> A B C
> 1 "17,12" "15" "12"
> 2 NA "8,9&q
I have a dataset in "long" format that looks something like this:
ID TESTRESULT
1 A 17
1 A 12
1 B 15
1 C 12
2 B 8
2 B 9
Now what I would like to do is transpose it like so:
IDTEST ATEST B
Thank you for the GGobi reference, it is a very handy tool! My main goal,
however, is to be able to identify univariate outliers (with boxplots for
example), and I'm having a hard time getting the rggobi package to do that.
Michael Bibo-2 wrote:
>
>
> ?identify with labels argument.
>
> Anot
I have been experimenting with interactive packages such iplots and playwith.
Consider the following sample dataset:
A B C D
1 5 5 9
3 2 8 4
1 7 3 0
7 2 2 6
Let's say I make a plot of variable A. I would like to be able to click on
a data point (e.g. 3) and have a pop-up window
Hello.
I am attempting to duplicate a negative binomial regression in R. SAS uses
generalized estimating equations for model fitting in the GENMOD procedure.
proc genmod data=mydata (where=(gender='F'));
by agegroup;
class id gender type;
model count = var1 var2 var3 /dist=NB link=log offset=l
Thank you all for your input! I was able to create my descriptive table as
well as a few other things I was having trouble with.
Thanks again!
J.
jcarmichael wrote:
>
> Hello everyone. I am new to R, so please bear with me. I am trying to
> find an easy way to export descriptive s
meric component
>
> BOD.describe.df <- as.data.frame(describe(BOD)$Numeric)
>
> library(xtable)
> xtable(BOD.describe.df)
>
> On Wed, Jul 23, 2008 at 3:46 PM, jcarmichael <[EMAIL PROTECTED]>
> wrote:
>>
>> Hello everyone. I am new to R, so please bear with me.
Hello everyone. I am new to R, so please bear with me. I am trying to find
an easy way to export descriptive statistics and other information about my
data frame to a LaTeX format.
I have found the describe function in PrettyR to be very helpful in
producing results in the exact format I'm look
8 matches
Mail list logo