Displaying 20 results from an estimated 300 matches similar to: "data.frame and formula classes of aggregate"
2005 Sep 08
0
Effect of data set size on calculation
Dear listers,
I have a piece of code which performs an ANOVA type of analysis on 2D GC
data. The code is shown below:
# ANOVA 2D GC analysis
# maxc <- number of samples
# nreps <- number of samples
maxc <- 2
nreps <- 4
sscl <- NULL
cmean <- NULL
#
# Initial stat. variable
#
dftot <- nrow(mat)-1
dfcl <- maxc - 1
dferr <- dftot - dfcl
totmean
2009 Jan 07
12
glusterfs alternative ? :P
I know that this is not the appropriate place :). You know someone can
alternative to gluserfs ?:)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090107/63b68a0d/attachment.html>
2008 Sep 05
8
Gluster update | need your support
Dear Members,
Even though Gluster team is growing at a steady phase, our aggressive development
schedule out phases our resources. We need to expand and also maintain a 1:1 developer /
QA engineer ratio. Our major development focus in the next 8 months will be towards:
* Large scale regression tests (24/7/365)
* Web based monitoring and management
* Hot upgrade/add/remove of storage nodes
2010 Apr 27
5
get means of elements of 5 matrices in a list
I've got a list of 5 matrices that are each 5 x 6. I'd like to end up with a
5 x 6 matrix that contains the mean value of the 5 original matrices. I can
do this by brute force, but there must be a better way than making each
matrix into a vector and then remaking a matrix
thanks very much for any help
david freedman
ll=list(structure(c(9.7, 17.6, 20.8, 24.1, 33.8, 14.5, 25.7, 29.8,
2008 Jul 20
2
fill in area between 2 lines with a color
Hi - I'd like to have the area between 2 lines on a x-y plot be filled with
grey, but I haven't had
any luck using polygon or rect. (In reality, I'd like to do this for twice
- once for a low group and once for a high group - and then I'd like to plot
a set of data points for a 'normal' group together with these 2 grey areas.)
Here's a simple example of the 2 lines:
2010 Feb 06
4
Plot of odds ratios obtained from a logistic model
Hi all!
I am trying to develop a plot a figure in which I would like to show
the odds ratios obtained from a logistic model. I have tried with the
dotplot option but no success. Could you help me? Is there any option
when modelling the logistic model in R?
Thank you in advance
2009 May 25
3
long format - find age when another variable is first 'high'
Dear R,
I've got a data frame with children examined multiple times and at various
ages. I'm trying to find the first age at which another variable
(LDL-Cholesterol) is >= 130 mg/dL; for some children, this may never happen.
I can do this with transformBy and ddply, but with 10,000 different
children, these functions take some time on my PCs - is there a faster way
to do this in R?
2010 May 06
4
sample size for survival curves
Dear R users, I am not asking questions specifically on R, but I know there are many statistical experts here in the R community, so here it goes my questions:
Freedman (1982) propose an approximation of sample size/power calculation based on log-rank test using the formula below (This is what nQuery does):
(Z(1-?/side)+Z(power))^2*(hazard.ratio+1)^2
N =
2011 Nov 14
1
Problem with edit()
Since installing R 2.14.0 on my Mac (a Mac Pro running 10.6.8) an issue has arisen when using the vi editor in conjunction with the edit() command. More specifically, commented lines disappear from edited functions when using [functionname.R] <- edit().
That is, if you have created a function called “test.func” as such:
function ()
{
# This is a test
ex _ 4
duh <- seq(1, 10)
fuh
2008 Nov 06
3
unlist & dataframes
Dear all,
I would like to know whether it is possible to unlist elements and keep the
original format of the data.
To make it more clear, let me give an exemple:
I have a list l of dataframes that I created with apply but which looks like
this:
x1=data.frame(Name=LETTERS[1:2],Age=1:2)
x2=data.frame(Name=LETTERS[3:4],Age=3:4)
l=list(x1,x2)
l
[[1]]
Name Age
1 A 1
2 B 2
[[2]]
Name
2009 May 01
2
sequence number for 'long format'
Dear R-help list,
I've got a data set in long format - each subject can have several (varying
in number) measurements, with each record representing one measurement. I
want to assign a sequence number to each measurement, starting at 1 for a
person's first measurement. I can do this with the by function, but there
must be an easier way.
Here's my code - id is id number, age is
2002 Mar 01
3
Setting working directory (PR#1338)
Full_Name: Jeffrey M. Freedman
Version: 1.4.1
OS: Mac OSX
Submission from: (NULL) (169.226.200.51)
I'm running R version 1.4.1 (NOT DARWIN VERSION) and it crashes every time I set
a working directory (either from the menu or using setwd) to a path that is
longer than a certain number of characters. This was not a problem in version
1.3.1.
Thank you.
2009 Mar 07
2
piecewise linear regression
Hi - I'd like to construct and plot the percents by year in a small data set
(d) that has values between 1988 and 2007. I'd like to have a breakpoint
(buy no discontinuity) at 1996. Is there a better way to do this than in
the code below?
> d
year percent se
1 1988 30.6 0.32
2 1989 31.5 0.31
3 1990 30.9 0.30
4 1991 30.6 0.28
5 1992 29.3 0.25
6 1994 30.3
2008 Feb 10
1
Using 'sapply' and 'by' in one function
Greetings,
I'm having a problem with something that I think is very simple - I'd
like to be able to use the 'sapply' and 'by' functions in 1 function
to be able (for example) to get regression coefficients from multiple
models by a grouping variable. I think that I'm missing something
that is probably obvious to experienced users.
Here's a simple (trivial)
2010 Feb 04
1
replace a for loop with lapply or relative
Dear helpers.
I often need to make dichotomous variables out of continuous ones (yes, I
realize the problems with throwing away much of the information), but I then
like to check the min and max of each category. I have the following simple
code to do this that cuts each variable (x1,x2,x3) at the 90th percentile,
and then prints the min and max of each category:
2009 Jan 07
3
What version has the HA Translator?
Does the stable version of GlusterFS, GlusterFS 1.3-SUSKE RELEASE, have
the High Availably (HA) Translator or is it just in v1.4?
John
This email was independently scanned for viruses by McAfee anti-virus software and none were found
2009 Feb 26
2
celtenc/celtdec does not display CELT_VERSION
A small issue, but missing.
Something like this would be helpful:
- printf ("celtenc (CELT encoder)\n");
+ printf ("celtenc (CELT %s encoder)\n", CELT_VERSION);
til
2008 Jul 24
1
ggplot2 help
Hi yet again!
Thank you for being patient with me.
Is there a "how to" for ggplot2, please? I would like to look at it,
but have no idea where to start, please.
Thanks,
Edna Bell
2008 Dec 08
1
partial correlation
Hej!
I have the following problem:
I would like to do partial correlations on non-parametric data. I checked
"pcor" (Computes the partial correlation between two variables given a set
of other variables) but I do not know how to change to a Spearman Rank
Correlation method [pcor(c("BCDNA","ImProd","A365"),var(PCor))]
Here''s a glimpse of
2004 Feb 15
4
father and son heights
Faraway's book titled "Practical Regression and Anova using R",
with full text available online at:
http://cran.r-project.org/doc/contrib/Faraway-PRA.pdf
refers to a data set, stat500, which compares midterm and final
grades. It can be used to illustrate similar concepts.
A google search for faraway.zip will locate the actual data.
---
Date: Sun, 15 Feb 2004 10:37:08 -0800