Displaying 3 results from an estimated 3 matches for "77.59191".
2006 Oct 26
4
Header of dataframe
Hi
I am fairly new to R and I would appreciate some help to hopefully a
trivial problem.
I created a function:
summary.aggregate <- function(y, ...)
{
temp.mean <- aggregate(y, FUN=mean, ...)
temp.sd <- aggregate(y, FUN=sd, ...)
temp.length <- aggregate(y, FUN=length, ...)
temp <- data.frame(cbind(mean=temp.mean$x,stdev=temp.sd$x,n=temp.length$x))
}
this outputs e.g.:
2006 Nov 07
1
Better way to create tables of mean & standard deviations
Hi
I'm trying to create tables of means, standard deviations and numbers
of observations (i) for
each laboratory (ii) for each batch number (iii) for each batch at
each laboratory for the attached data.
I created these functions:
summary.aggregate <- function(y, label, ...)
{
temp.mean <- aggregate(y, FUN=mean, ...)
temp.sd <- aggregate(y, FUN=sd, ...)
temp.length <-
2006 Oct 26
0
Generating tables
I am actually trying to write something above the first column ( in
the example the column with numbers 1 to 8) is this possible at all?
If not, is there another way to make a table which supports this? I am
merely using a data frame as a way to create a table I don't need the
data to be this data type.
Benjamin
On 10/26/06, Leeds, Mark (IED) <Mark.Leeds at morganstanley.com> wrote: