Displaying 3 results from an estimated 3 matches for "summarystat".
Did you mean:
summarystats
2010 Nov 18
3
problems subsetting
Dear all,
I have searched the forums for an answer - and there is plenty of
questions along the same line - but none of the paproaches shown worked
to my problem:
I have a data frame that I get from a csv:
summarystats<-as.data.frame(read.csv(file=f_summary));
where I have the columns Dataset, Class, Type, Category,..
Problem1: I want to find a subset of this frame, based on values in
multiple columns
What I do currently is:
subset1 <- summarystats
subset1<-subset1[subset1$Class == 1,]
subset1<-s...
2006 Feb 20
2
formatting results from a function argument
...f", 5)), TcCB =
c(rnorm(5)+2, rnorm(5)));x
Area TcCB
1 cleanup 2.5829747
2 cleanup 2.6796868
3 cleanup 2.5437094
4 cleanup 2.8453616
5 cleanup 1.1789683
6 ref 1.0140391
7 ref -0.8433729
8 ref 0.6512422
9 ref 0.2341083
10 ref -0.2688026
>
> summarystat<-function(x)
+ {
+ no.samples<-by(x,x$Area,function(x) length(x$TcCB))
+ mean<-by(x,x$Area,function(x) mean(x$TcCB))
+ quantile<-by(x,x$Area,function(x) summary(x$TcCB))
+ stdev<-by(x,x$Area,function(x) sd(x$TcCB))
+ final<-do.call("cbind",c(quantile,mean,stdev,no.sample...
2009 Oct 04
1
Numerical.summary Error
Dear all,
Have you experienced problem of using numerical.summary() function? I used
to be able to run this function in R, but not any more. Now I try to use
this function, it gives me error like this:
Error: could not find function "numerical.summary"
I used to be able to run this function under library(s20x).
Can someone please guide me on this ?
Thanks.
Rene