Displaying 16 results from an estimated 16 matches for "sumy".
Did you mean:
sum
2012 Jul 27
4
why order doesn't work?
hi all,
I want to get a cumsum according to the order of some variable.
However, it doesnt' work.
For example,
**********************
test<-data.frame(cbind(x=c(3,5,2,6,7),y=c(8,1,4,9,0)))
test[order(test$x),]$sumy<-cumsum(test[order(test$x),]$y)
**********************
R complians Warning message:
In `[<-.data.frame`(`*tmp*`, order(test$x), , value = list(x = c(2, :
provided 3 variables to replace 2 variables.
while the following
***********************
test$sumy<-cumsum(test[order(test$x),]$y)
*...
2014 Dec 09
1
[RFC PATCH v2] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
Viswanath Puttagunta wrote:
> + SUMM = vdupq_n_f32(0);
It kills me that there's no intrinsic for VMOV.F32 d0, #0 (or at least I
couldn't find one), so this takes two instructions instead of one.
> + /* Consume 4 elements in x vector and 8 elements in y
> + * vector. However, the 8'th element in y never really gets
> + * touched in this loop. So, if len == 4,
2009 Mar 27
0
R: plm and pgmm
dear giovanni---
thanks for answering on r-help to me as well as privately. I very much
appreciate your responding. I read the plm vignette. I don't have the book,
so I can't consult it. :-(. I am going to post this message now (rather
than just email it privately), because other amateurs may have similar
questions in the future, and find this message and your answers via google.
2006 Jul 04
4
IMPORTING FILE FROM EXCEL
Hi
I am a beginner with R.
I have been trying to import a tab delimited excel file but i get the following error message
> file.show('C:\Documents and Settings\stats\Desktop\SUMI\plasma2.txt')
Warning message:
file.show(): file 'C:Documents and SettingsstatsDesktopSUMIplasma2.txt' does not exist
I have understood the programming part but i cannot go ahead unless i have
2003 Feb 21
2
how to chage values in data frame to NA iside a function
Dear all
I have a function in which I would like to change some values to NA according to
some condition.
dropout<-function(y, nahr=FALSE,...) {
<some stuff for computing an index>
if (nahr) y[index]<<-NA
invisible(index)
}
in case y is a vector all works OK but if it is a part of data frame by calling
dropout(df$y) or dropout(df[,number]) no change is done.
Please can you
2014 Dec 07
2
[RFC PATCH v2] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
Hi,
Optimizes celt_pitch_xcorr for floating point.
Changes from RFCv1:
- Rebased on top of commit
aad281878: Fix celt_pitch_xcorr_c signature.
which got rid of ugly code around CELT_PITCH_XCORR_IMPL
passing of "arch" parameter.
- Unified with --enable-intrinsics used by x86
- Modified algorithm to be more in-line with algorithm in
celt_pitch_xcorr_arm.s
Viswanath Puttagunta
2003 Mar 07
24
Hello,
I am trying to use 'R' for K-means simulatio, could you please advise me how I can read my data into a two dimesional array? Or is there any method which directly reads the excell file? Please let me know asap.
Regards
Skanda Kallur
Cogito, Ergo Sum! Rene Descartes
2011 Jan 17
2
Summing data frame columns on identical data
Dear all,
I have 9 data frames, and I'm simply trying to sum the values of column 3 (on a row-by-row basis). However, there are a slightly different number of rows in each data frame, so I'm receiving the following error: "Error in Ops.data.frame(mrunoff_207101[3], mrunoff_207102[3]) :
? + only defined for equally-sized data frames".
Here is what I'm attempting to do:
2010 Nov 15
2
Zero truncated Poisson distribution & R2WinBUGS
...cate counts at each site
N=rpois(n = n.site, lambda = lam) #True abundance
# Simulate count data; only a fraction of N is counted which results in y
y <- array(dim = c(R, T))
for(i in 1:T){
y[,i] <- rbinom(n = n.site, size = N, prob = 0.5)
}
#truncate y matrix
y # R-by-T matrix of counts
sumy=apply(y,1,sum)
cbindysumy=cbind(y,sumy)
subsetcbindysumy=subset(cbindysumy,sumy!=0)
y=subsetcbindysumy[,1:3]# sites where no animals ever counted are removed
C1<-c(y) #vectorized matrix y
R=dim(y)[1]
site = 1:R
site.p <- rep(site, T)
#########################################################...
2008 Jan 10
2
Database most suited for RoR
Hi,
Out of curiosity I got to learn Ruby on Rails. Wondering somehow, as to
which Data base is best suited for Ruby on Rails and Why? Any
Comments/Suggestions Please!
Thanks
Manu
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to
2014 Dec 07
0
[RFC PATCH v2] armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
Optimize celt_pitch_xcorr function (for floating point)
using ARM NEON intrinsics for SoCs that have NEON VFP unit.
To enable this optimization, use --enable-intrinsics
configure option.
Compile time and runtime checks are also supported to make sure
this optimization is only enabled when the compiler supports
neon intrinsics.
---
Makefile.am | 11 ++
2014 Dec 07
3
[RFC PATCH v2] cover: armv7: celt_pitch_xcorr: Introduce ARM neon intrinsics
From: Viswanath Puttagunta <viswanath.puttagunta at linaro.org>
Hi,
Optimizes celt_pitch_xcorr for floating point.
Changes from RFCv1:
- Rebased on top of commit
aad281878: Fix celt_pitch_xcorr_c signature.
which got rid of ugly code around CELT_PITCH_XCORR_IMPL
passing of "arch" parameter.
- Unified with --enable-intrinsics used by x86
- Modified algorithm to be more
2006 Mar 13
5
Ruby on Rails Applications - To get RSS Feeds
Hi, all I am new to Ruby and also Ruby on Rails.
I would like to know how we can get the RSS Feeds and display them in a
Ruby on Rails applications.
Thanks in Advance,
sumi
--
Posted via http://www.ruby-forum.com/.
2009 Jul 23
6
SSH attacks from china
Okay, I have a server connected to the net but have not added fail2ban or
anything on top of my firewall yet.
Thought you guys might get a kick out of this one user, ip is from china,
who has got a heck of a knack for making assumptions on possible usernames.
Enjoy this..., 8000+ attempts. Scroll down for funky ones. I have no root
access enabled on this server and it is pretty bare. Just using
2005 May 13
1
level2 oplocks problem
Dear all,
We have samba-3.0.11 on freebsd 5.4 as file/print server
it works perfect, but if two users open the same file together
the second still can write to the file it cannot be allowed in you
situation.
But the other server with freebsd 4.11 doesn't have this problem
perfectly do write lock on open file, so may be it's freebsd 5.x problem?
I can't find what's wrong,
2005 May 18
0
autocad locking problem
Hi list,
I was wondering is it possible for
third part apps to force LEVEL_II oplocks?
We have designer office with autocad 2004 which
doesn't do level2 oplocks, but M$ Word do all the time.
It seems that M$ Word create lock file
like name.ext => ~$me.ext
but autcad create name.dwg => name.dwl lock file.
Thanks.
-butsyk