Skip to content

Help needed

6 messages · Ben Boyadjian, Sascha Vieweg, Thomas Stewart +2 more

#
On 11-01-27 13:16, Ben Boyadjian wrote:

            
x <- c(1, 1.3)
x==round(x, 0)
y <- c(1, 3, 7, -2, 3, -7)
sum(y[1:which(y<0)[1]-1])
Dono. Ideas?

  
    
#
On 11-01-27 15:12, Sascha Vieweg wrote:

            
Oh, wrong, sorry! This code belongs to your question about finding 
the integers!

  
    
#
On 2011-01-27 05:16, Ben Boyadjian wrote:
This sure looks like homework to me.
You've lucked out - a couple of people have already
helped you.

My question is: If this is indeed homework, is your
instructor ill or otherwise not available?
Or why have you not sought help from
your instructor?

Peter Ehlers
#
On Thu, 2011-01-27 at 09:50 -0500, Thomas Stewart wrote:
mean(TTT, trim = 0.05)

What you are doing is only removing 5% of observations in total, whilst
the question asks for 5% removed off *each* end.

G