Dear all, I'm trying to process a log file which logs the date, the username
and the computer number accessed. The table looks like this:
>table.users
Date UserName Machine
1 2008-11-25 John 641
2 2008-11-25 Clive 611
3 2008-11-25 Jeremy 641
4 2008-11-25 Walt
table(.df$Machine)
})
lapply(split(table.users,table.users$Date),function(.df) {
table(.df$UserName)
})
On Nov 13, 2009, Karl Ove Hufthammer wrote:
On Fri, 13 Nov 2009 11:03:31 + (GMT) Jabez Wilson
wrote:
> What I want to do is to find out how many unique users logged
> on each
Hi, I have a data frame which is 24 columns by 10 rows. This is essentially
6 groups of 4 columns. I want to re-arrange the columns into the following
order 1,7,13,19,2,8,14,20,3,9,15,21,4,10,16,22,5,11,17,23,6,12,18,24 i.e. first
of each group of 6 grouped together, then 2nd of each group of si
Thanks very much. Using the matrix function and then DF[,ix] gives me exactly
what I wanted.
Jabez
--- On Wed, 25/11/09, Gabor Grothendieck wrote:
From: Gabor Grothendieck
Subject: Re: [R] Re-arrange Columns in data frame
To: "Jabez Wilson"
Cc: "R Mailing List"
Date: We
Dear all, I am perplexed when trying to get the same results using
pairwise.t.test and t.test.
I'm using examples in the ISwR library,
>attach(red.cell.folate)
I can get the same result for pairwise.t.test and t.test when I set the
variances to be non-equal, but not when they are assumed to be e
Thanks a lot, Peter. Excellent book btw.
Jab
--- On Fri, 10/9/10, peter dalgaard wrote:
From: peter dalgaard
Subject: Re: [R] pairwise.t.test vs t.test
To: "Jabez Wilson"
Cc: "R-Help"
Date: Friday, 10 September, 2010, 15:20
On Sep 10, 2010, at 16:01 , Jabez Wilson w
Hi, I am trying to reconcile anova table in R (summary(lm)) with individual
t.test.
datafilename="http://personality-project.org/R/datasets/R.appendix1.data";
data.ex1=read.table(datafilename,header=T) #read the data into a table
summary(lm(Alertness~Dosage,data=data.ex1))
gives:
Call:
lm(form
I'd like to "step" through 24 histograms by using the return or click button
option, as shown in the demo(graphics) demonstration. I've searched for
"interactive graphics", and "waiting for page change" in R documentation but
with no result. I'm sure that this is a relatively straightforward pro
Thanks, Enrico, that will do nicely.
Â
Jab
--- On Thu, 24/11/11, Enrico Schumann wrote:
From: Enrico Schumann
Subject: Re: [R] how to add "waiting for page change" to my script
To: "Jabez Wilson"
Cc: "R-Help"
Date: Thursday, 24 November, 2011, 13:20
see
That works wonderfully - thank you
--- On Thu, 24/11/11, Jim Holtman wrote:
From: Jim Holtman
Subject: Re: [R] how to add "waiting for page change" to my script
To: "Jabez Wilson"
Cc: "R-Help"
Date: Thursday, 24 November, 2011, 12:39
I thing it is
par(ask =
Dear all, I have a data frame (DF) in the following format:
NAME
ID
a
b
c
d
1
Control_1
probe~B01R01C01
381
213
345
653
2
Control_2
probe~B01R01C02
574
629
563
783
3
Control_1
probe~B01R09C01
673
511
521
967
4
Control_3
probe~B01R09C02
53
809
999
50
5
MM0289~RFU:11810.15
probe~B29R13
probe~B29R13C06 99 544 607 984
6 MM0289~RFU:9238.41 probe~B29R13C05 605 603 862 575
7 MM16597~RFU:36765.38 probe~B44R15C20 700 923 219 582
8 MM16597~RFU:41258.94 probe~B44R15C19 132 777 497 995
--- On Thu, 1/12/11, Jabez Wilson wrote:
From: Jabez Wilson
Subject: calculate mean of multiple
: [R] Fw: calculate mean of multiple rows in a data frame
To: "Jabez Wilson"
Cc: "R-Help"
Date: Friday, 2 December, 2011, 14:29
It's easier for folks to help you if you put your example data in a format that
can be readily read in R. See, for example, the dput() functi
Dear R help,
I have a data frame column in which I would like to replace some of the
numbers dependent on their value.
data frame = zz
AveExpr t P.Value FC
7.481964 7.323950 1.778503e-04 2.218760
7.585783 12.233056 6.679776e-06 2.155867
6.953215 6.996525 2.35
Splendid, thanks for your quick response.
[EMAIL PROTECTED] wrote: > I have a data frame column in which I would like to
replace some
> of the numbers dependent on their value.
>
> data frame = zz
>
> AveExpr t P.Value FC
> 7.481964 7.323950 1.778503e-04 2.218760
> 7.585783 12.233056 6.679776
Hi,
I've read in a csv file (test.csv) which gives me the following table:
Hin1 Hin2 Hin3Hin4 Hin5 Hin6
HAI1 9534.83 4001.74 157.16 3736.93 484.60 59.25
HAI2 13272.48 1519.88 36.35 33.64 46.68 82.11
HAI3 12587.71 5686.94 656.62 572.29 351.60 136.91
HAI4
hsl.gov.uk> writes:
[snip]
> Try:
> nrows <- 5
> mm <- matrix(rnorm(30),nrow=nrows)
> sd.by.col <- apply(mm,2,sd)
> mean.by.col <- apply(mm,2,mean)
> values <- 1-mapply(pnorm, q=as.vector(mm), mean=rep(mean.by.col,
> nrows)), sd=rep(sd.by.col, nrows))) values <- matrix(value
>Date: Sat, 8 Mar 2008 04:56:58 -0800 (PST)
>From: Keizer_71 <[EMAIL PROTECTED]>
>Subject: [R] expression matrix
>To: r-help@r-project.org
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=us-ascii
>Hello,
>I am to run this R script but i keep getting this error.
>> expr<-expr
>Date: Thu, 6 Mar 2008 06:46:07 -0800 (PST)
>From: Keizer_71 <[EMAIL PROTECTED]>
>Subject: [R] Statistical Questions: finding differentially expressed
>genes
>To: r-help@r-project.org
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=us-ascii
>Hi Everyone,
>I am trying to find
19 matches
Mail list logo