similar to: How to calculate mean of means

Displaying 20 results from an estimated 320 matches similar to: "How to calculate mean of means"

2010 Jun 21
2
Calculating a daily average
I have a set of data with 12 readings for temperature per day, with 180 days. I want to find the average temperature of each day. I am able to do this one by one, but with that many days to calculate the average for, it will get very long. I'm sure there is a faster way to do this, I just don't know how. What i have so far is: av1 <- subset(ER9r, Day == 98, select = c
2010 Jun 28
1
Subtraction loop
I have a data frame with 2 columns, one for day and one for average. The day starts at 97 all the way to 279. I want to subtract day 98 average- day 97 average, then day99 average -day 98 average and so on down my list, creating another column with the subtracted results. I have: Day DailyAverage 1 97 0.6076782 2 98 0.7121478 3 99 0.8059347 4 100 0.9545806 5
2010 May 13
2
Adding name to nth row
Hello, I have a data frame with many rows, and I want to create a column with a name only at every 12th row, starting from 97 to 278. Thanks in advance!
2010 May 17
4
Adding a row at top of dataframe
I have a large data frame 48:2185 with different numbers. I would like to add only one row at the very top of my data frame with 0's or NA's. I don't know which approach to use. Should i create 2 different data frames and merge them? Ive also tried the rbind command with no luck. I would appreciate some help to achieve what I'm trying to create. Thanks!
2010 May 28
2
if negative value, make zero
I have a data frame with both positive and negative values, and I want to make all the negative values equal zero, so i can eventually take an average. I've tried temp2 <- ifelse(tempr<0, 0, tempr) but it doesn't seem to work. Any suggestions? Thanks!
2020 Mar 25
3
Build Clang/LLVM for AVR
Hi everyone, I've been wondering how to correctly build clang/LLVM for the AVR target architecture. Unfortunately documentation is very scarce (or outdated or I didn't find it) and while I've been able to build clang/LLVM for AVR I'm still falling short of compiling an actual binary for the MCU. Here are the steps I've undertaken so far: git clone
2020 Mar 25
2
Build Clang/LLVM for AVR
Thank you for both of your input. Yes, I try to cross-compile for AVR, the simple ATMEGA328P used in every Arduino Uno. My main motivation being that I hope to be able to use a couple of STL containers, <functional> and <type_traits> on the MCU. Not sure though if this can be reached by going via the clang route. Getting back to the compilation: when I run clang with both both
1999 Feb 10
1
When a shell says no (clobber) it means maybe.
As will be seen from these code fragments (and experiment) a noclobber option in bash or pdksh (or ksh on AIX) will do limited clobbers. 1) They will clobber named pipes. (mknod /tmp/predicted p cat /tmp/predicted > $stolen cat $switched > /tmp/predicted ) & 2) They will clobber symlinks. ln -s /some/new/target /tmp/predicted 3) They can be raced.
2004 Sep 02
1
can someone tell me what this means
I have a bunch of servers and workstations, all with the Shorewall one-interface setup. On one, which happens to be my test box, I get tons of lines like this: Sep 2 14:23:34 chibba Shorewall:net2all:DROP:IN=eth0 OUT= MAC=00:50:8d:a4:0a:dd:00:04:80:6b:dc:07:08:00 SRC=128.192.1.72 DST=128.192.66.165 LEN=265 TOS=0x00 PREC=0xC0 TTL=60 ID=61540 PROTO=ICMP TYPE=3 CODE=3 [SRC=128.192.66.165
2008 Apr 03
1
Help: what the Warning message means?
Warning message: In readChar(con, 5) : can only read in bytes in a non-UTF-8 MBCS locale __________________________________ Chuntang YU E-mail: chuntangyu@gmail.com __________________________________ [[alternative HTML version deleted]]
2008 Dec 22
0
post hoc comparisons on interaction means following lme
Dear Colleagues, I have scoured the help files and been unable to find an answer to my question. Please forgive me if I have missed something obvious. I have run the following two models, where "category" has 3 levels and "comp" has 8 levels: mod1 <- lmer(x~category+comp+(1|id),data=impchiefsrm) mod2 <- lmer(x~category+comp+category*comp+(1|id),data=impchiefsrm)
2008 May 28
0
multiple comparison for interaction means
Does anyone have a program for comparing interaction means (similar to HSD.test of agricolae) for a split or strip plot design? For those who are familiar with SAS I am looking for something similar to the DIFF option of the LSMEANS statement of PROC MIXED and the PDMIX800 macro. The diff option performs multiple mean comparison from single or factorial experiments then the macro translates the
2008 Dec 23
0
Tukey on interaction means after lmer
Dear Colleagues, I fit this model: mod1 <- lmer(x~category*comp+(1|id),data=impchiefsrm) where category has 4 levels and comp has 8 levels. These work: glht(mod1, linfct=mcp(category="Tukey") glht(mod1, linfct=mcp(comp="Tukey") What I'd like is (conceptually): glht(mod1, linfct=mcp(category:comp="Tukey") but it gives a syntax error. Any help is
2010 Mar 07
1
category k-means package?
What happened to the category k-means package for performing k-means clustering on categorical variables? I expected it to become more prominent after the Netflix Challenge recommendation engine contest concluded, but instead it seems to have dropped from view. Where was it and where is it now, and why did it become less visible?
2006 Jan 21
0
Means from balanced incomplete block design
The code below is intended to analyse a textbook example of a balanced incomplete block design: # # Data taken from pp. 219-230 in # Cox, D.R. (1958) Planning of Experiments. John Wiley and Son, Inc. New York. 308 pp. # day <- factor(rep(1:10, each = 3)) T <-
2004 Oct 21
0
Hmisc: Using stratified weighted means (wtd.mean) within a function
Hello list, I have the following function which, as you can see, uses mean: meanratings <- round(apply(stack03[,c(102:121)],2,function(x) (tapply(x ,actcode, mean, na.rm=T))), digits=1) The above function yields the following output: q27a q27b q27c q27d q27e q27f q27g q27h q27i q27j q27k q27l q27m q27o q27p 1 7.8 8.1 7.7 7.9 7.9 NaN NaN 8.4 7.8 7.0 7.6 NaN NaN 7.1 6.0 2
2014 Jul 02
0
How do I call a C++ function (for k-means) within R?
I am trying to call a C++ k-means function within R and I am struggling. I know that the below code is used to call a C++ function for gbm but how do I do it for k-means? gbm.obj <- .Call("gbm", Y=as.double(y), Offset=as.double(offset), X=as.double(x), X.order=as.integer(x.order),
2010 Aug 19
0
Combining means
Hi volunteer statisticians, I want to combine the stdev of 6 populations of means for two different treatments and there seem to be many methods for doing so. It is QPCR data consisting of 3 technical replicates building one mean and 6 biological samples in two treatment groups. Now as an overview I just assumed each value to be a replicate it self within each of the two treatments and
2009 Jan 07
0
Re: Noob - What means "Cannot access mount[plugins]" ? [SOLVED]
2009/1/6 Robin Lee Powell <rlpowell@digitalkingdom.org> > > On Tue, Jan 06, 2009 at 11:23:56AM +0100, Olivier wrote: > > Hi, > > > > I''m new to Puppet. > > I installed Puppet on Debian Lenny (version is 0.24.5). > > > > When I''m trying to use puppet locally (on the machine I installed > > puppetmaster on), I keep getting
2005 Jul 07
0
Is Syslinux the right means for my purpose?
Hello group. While investigating around my topic, I came across syslinux. On a first glance, I guess it could solve my problem perfectly. But before I dig deeply into the details, those experienced fellows of you, please have a short look over my problem and tell me, if I'm on the right track... This is my task: I have a SanDisk (Flash) with a usual DOS (16bit) partition on it. vxWorks is