Displaying 20 results from an estimated 3000 matches similar to: "aggregate and names of factors"
2004 Feb 12
2
calling R from a shell script and have it display graphics
Hello,
I am running R under Linux/x11.
I would like to call R from a shell script and have it display a series
of graphics.
The graphics should remain visible until the user clicks or presses a key.
I first tried R BATCH, but it does not load the x11 module, making it
impossible to open x11 or png devices.
Then, I tried to call R with a 'here' script:
R --vanilla --quiet --args
2004 Mar 07
6
applying data generating function
Hello
Coming from matlab background, I could use some help
on this one.
I need to generate a data set based on this equation
X(t) = 3.8x(t-1) (1-x(t-1)) + e(t), where e(t) is a
N(0,0,001) random variable
I need say 100 values.
How do I do this?
Thanks
2004 Feb 14
6
Beginner's question about t.test()
Dear All,
I am doing some exercise in statistics textbook on comparison of two
experimental means. Is it possible to use t.test() do t-test when I have
only two means, sample size, two standard deviations ? (no raw data).
Thanks.
Pramote
2004 Mar 09
0
Re: R-help Digest, Vol 13, Issue 8
On Mon, 8 Mar 2004 r-help-request at stat.math.ethz.ch wrote:
> Send R-help mailing list submissions to
> r-help at stat.math.ethz.ch
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> or, via email, send a message with subject or body 'help' to
> r-help-request at stat.math.ethz.ch
>
>
2004 May 26
0
aggregate.formula
This relates to a message from Christophe Pallier to r-help some time ago.
Like myself, he finds aggregate very useful, but the interface a little
cumbersome. I've implemented a more compact formula interface, found at
the bottom of this message:
data(ToothGrowth)
# I used to aggregate like this:
aggregate(list(len=ToothGrowth$len),
2004 Apr 18
1
multistratum glm?
Hello,
I routinely use aov and and the Error term to perform analyses of
variance of experiments with 'within-subject' factors. I wonder whether
a notion like 'multistratum models' exists for glm models when
performing a logit analysis (without being 100% sure whether this would
make sense).
I have data of an experiment where the outcome is a categorical variable:
20
2008 Feb 06
1
Histogram/Bar plot graph
Hi,
I have the following data:
> Myvalues
Gene ES MEF Embryo ESHyp
1 GeneA -0.38509507 0.00 1.6250 1.7039921
2 GeneB 0.06262914 0.00 1.6250 -0.272033
and so on...
I want to plot the expression values of GeneA and GeneB in the
different cell/embryo/conditions (columns 2:5 above). Now, if I do:
>library(ggplot2)
> qplot(x=Gene, Embryo, geom =
2004 Jun 07
3
Aggregate rows to see the number of occurences
Hi,
I have a set of data like the following:
[,1] [,2]
[1,] 10 2
[2,] 7 0
[3,] 1 0
[4,] 1 0
[5,] 15 0
[6,] 17 4
[7,] 4 0
[8,] 19 8
[9,] 10 2
[10,] 19 5
I'd like to aggregate it in order to obtain the frequency (the number of
occurences) for each couple of values (e.g.: (10,2) appears twice, (7,0)
appears once). Something cool
2004 May 08
1
Surprise when indexing with a factor.
Hello,
I had been thinking for years, without having ever checked (shame on
me), that indexing a named vector by a factor 'f' produced the same
results as indexing it by 'as.character(f)'. I was wrong, as the
following example shows:
(m <- c(a=1,b=2))
(f <- factor(c(1,2),labels=c('b','a')))
m[f]
m[as.character(f)]
m[as.numeric(f)]
When the
2015 Jun 15
2
[LLVMdev] [lld] How do I prevent .note sections from being eliminated?
On Sat, Jun 13, 2015 at 01:08:50PM +0300, Simon Atanasyan wrote:
> Hi,
>
> If you need to control content of output .note section, take a look at
> ARMExidxSection, MipsReginfoSection, MipsOptionsSection classes. If
> you need to copy sections from input to output, use SDataSection (from
> Hexagon) as a reference point.
>
Hi Simon,
Thanks for the reply. I have a few more
2011 Mar 04
1
Extending type list: names and inherited methods issue
Hi,
I want to extend the type list, but it looks like the names are not
handled properly (in the show method), not the [ method. See below for
code example.
I imagine this comes from the S3/S4 mixing, but I would like to
understand and the recommended work around (that avoid redefining all
the list methods [, $, etc...).
Thank you.
Bests,
Renaud
# define S4 class that inherits from list
2007 Jun 04
3
test for nested factors
Is there a conventional way to test for nested factors? I.e., if 'a'
and 'b' are lists of same-length factors, does each level specified by
'a' correspond to exactly one level specified by 'b'?
The function below seems to suffice, but I'd be happy to know of a more
succinct solution, if it already exists.
Thanks,
Tim.
---
"%nested.in%" <-
2003 Nov 26
1
My experience with samba/ldap and machine accounts
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
This is a snippet of an email I sent to Mark Taylor (who I contacted thru
this list) today. I thought I should share this with you...
I am the double >> and zero-> typer.
> > On the other side, we've developed a new version of our DDS software
> > (remember the novell+NT to Linux+openldap+samba migration?) and theyre
>
2005 Aug 30
1
[LLVMdev] Anyone is building a DSP-C frontend?
Hi,
DSP-C is an extension to ISO C to support specific hardware features
in DSP, e.g. fixed-point typer, memory spaces and circular pointers.
It's generic for different DSP's.
- http://www.dsp-c.org
How difficult is it to extending the llvm-gcc for this extension?
Any document like "hitchhiker's guide to extend the GCC fronted" ?
(just like the guide for adding
2009 Dec 18
2
Vectorized switch
What is the 'idiomatic' way of writing a vectorized switch statement?
That is, I would like to write, e.g.,
vswitch( c('a','x','b','a'),
a= 1:4,
b=11:14,
100 )
=> c(1, 100, 13, 4 )
equivalent to
ifelse( c('a','x','b','a') ==
2012 Aug 22
1
loading both RPostgreSQL and RSQLite leads to problems
hello,
if i load the RSQLite package in addition to the RPostgreSQL package,
i get various errors when trying to use RPostgreSQL functions. here is
an example transcript showing one such error:
==========================================================
R version 2.15.0 (2012-03-30)
[...]
> packageVersion('RPostgreSQL')
[1] 0.3.2
> packageVersion('RSQLite')
[1] 0.11.1
2007 Jun 09
2
How do you do an e-mail post that is within an ongoing thread?
That may sound like a stupid question, but if it confuses me, I'm sure
it confuses others as well. I've tried to find that information on the
R mail-group info pages, can't seem to find it. Is it something
obvious?
To begin a brand new discussion, you do your post as an e-mail sent to
r-help at stat.math.ethz.ch .
As I am doing right now.
How do I do an additional post that gets
2007 Jun 19
2
Function -return value
Hi, I am trying to write a function with the following codes and I would like
it to return the values for "alpha
beta para parab " seperately. Then I would like to use this funstion for
"variable" with factor "a" and "b". But the result turns out to be a matrix
with element like "Numeric,2" ... I guess they are just the values for
2011 Feb 11
6
linear models with factors
i am trying to fit a linear model with both continuous covariates and
factors. When fitted with the intercept
term the first level of the factor is treated by R as intercept and the
estimate of the effects of remaining levels(say i th level) are given as
true estimate of i th level - estimate of 1st level.can any please help me?
thanks in advance.....
--
View this message in context:
2003 Dec 09
2
PROC MIXED vs. lme()
I'm trying to learn how to do a repeated measures ANOVA in R using lme().
A data set that comes from the book Design and Analysis has the following
structure: Measurements (DV) were taken on 8 subjects (SUB) with two
experimental levels (GROUP) at four times (TRIAL).
In SAS, I use the code:
PROC MIXED DATA=[data set below];
CLASS sub group trial;
MODEL dv = group trial group*trial;