similar to: sequential sum

Displaying 20 results from an estimated 11000 matches similar to: "sequential sum"

2006 Dec 26
2
sequential row selection in dataframe
Dear all; I'm wondering if there is any 'efficient' approach for selecting a sample of 'every nth rows' from a dataframe. For example, let's use the dataframe GAGurine in MASS library: > length(GAGurine[,1]) [1] 314 # select an 75% of the dataset, i.e. = 236 rows, every 2 rows starting from row 1 > test<-GAGurine[seq(1,314,2),] > length(test[,1]) [1] 157 #
2004 Aug 25
2
asterisk & chan_sccp
ive got asterisk running with chan_sccp and three cisco phones (2 7910's and 1 7960). lots of bugs. when i press the speed dial button on either 7910, asterisk dies. also, if i dial from the 7910 to 7910, everything works fine. i can dial from or to the 7960 once, and then one of the 10's and the 60 die and try to reregister. if i take the 7960 out of the mix and remove its
2009 May 07
1
paste with apply, spaces and NA
Hello everyone, I've come up with a problem with using paste() inside apply() that I can't seem to solve. Briefly, if I'm using paste to collapse the rows of a data frame, AND the data frame contains strings with spaces, AND there are NA values in subsequent columns, then paste() introduces spaces. This only happens with that particular combination of data values and commands. I have
2009 Jun 22
2
Dovecot v1.2rc6 deliver to shared folder fails
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello, out of curiosity I tested to deliver into a shared folder of another owner using Sieve. (Not that I intend to do so, but well ... ) Conf is attached. == Script require ["fileinto"]; fileinto "shared.testusr.test1.test2.test3"; == Dovecot logs: Jun 22 15:36:22 ux-2s11standby dovecot: deliver(user): acl vfile: file
2007 May 15
2
Anova Test
Hi, I am very new to R. I am trying to perform an Anova Test and see if it differs or not. Basically, i have 4 tests and 1 control. Tester Test1 Test2 Test3 Test4 Control 20 25 15 10 17 The inference is at alpha=0.05. they are all independent. I am trying to find if they differ or the same. > test1<-c(20) > test2<-c(25) > test3<-c(15) >
2011 Dec 05
1
Subsetting a data frame
Hi R users, I really need help with subsetting data frames: I have a large database of medical records and I want to be able to match patterns from a list of search terms . I've used this simplified data frame in a previous example: db <- structure(list(ind = c("ind1", "ind2", "ind3", "ind4"), test1 = c(1, 2, 1.3, 3), test2 = c(56L, 27L, 58L,
2020 Mar 10
4
R CMD INSTALL cannot recognize full path on Windows
Oops, I think both of us forget to cite the r-devel channel. Best, Jiefei On Tue, Mar 10, 2020 at 5:13 AM Wang Jiefei <szwjf08 at gmail.com> wrote: > Thanks for your quick response, Tomas. > > Yes, this is a path issue, I think the problem is related to R, not the > Rtools make. I built an example package for reproducing the problem: > https://github.com/Jiefei-Wang/example
2008 Apr 25
1
samba and openldap authentication issues!
Alight, I've been working on this for too many hours straight. Any help would be much appreciated! (I posted this online to linux questions, it could be easier to read on there... http://www.linuxquestions.org/questions/linux-server-73/samba-and-openldap-authentication-issues-637647/) The problem is users created in smbldap-useradd can not login, unless they also are a local user. for
2010 Jun 03
4
data-management: Rowwise NA
Dear RĀ“ers.. In this mock dataset how can I generate a logical variable based on whether just tes or tes3 are NA in each row?? test<-sample(c("A",NA,"B"),100,replace=T) test2<-sample(c("A",NA,"B"),100,replace=T) test3<-sample(c("A",NA,"B"),100,replace=T) tes<-cbind(test,test2,test3)
2020 Mar 11
1
R CMD INSTALL cannot recognize full path on Windows
Jiefei, you did not commit all files into the example package - your example has things like RcppExports.cpp as well as additional flags which are not in your GH project. I suspect the issue is with the extra flags you're adding - those don't come from R. Please make sure you can replicate the issue with the GH package you created. Cheers, Simon * installing *source* package
2009 Aug 27
1
select one function from two of them in another function
Hi all, I have two functions called test1() and test2(). Now how do I select one of them in test3()?? Say test3<-function(func="test1"){ if (func=="test1"){ now.func<-test1() } else now.func<-test2() } I know this function I wrote does not right. Do anyone can tell me how to do that for real? Thanks a million S.H. --
2006 Aug 07
4
ZFS/UFS/TMPFS and extended attributes inconsistent behaviour
As part of looking into a minor issue with the group listed when using runat(1) on a UFS filesystem for Johannes (my Google Summer of Code student work on new basic file privs), I discovered an even bigger issue with UFS and extended attributes. I''ve cc''d ZFS discuss because I used ZFS as the comparison and I believe that ZFS is acting correctly but even then it might not be
2014 Oct 19
1
Writing UTF8 on Windows
Recent functionality in jsonlite allows for streaming json to a user supplied connection object, such as a file, pipe or socket. RFC7159 prescribes json must be encoded as unicode; ISO-8859 (including latin1) is invalid. Hence I would like R to write strings as utf8, irrespective of the type of connection, platform or locale. Implementing this turns out to be unsurprisingly difficult on windows.
2005 Nov 22
1
User and Groups Problem with ADS (Win2003) and Solaris 10
Hi, I got samba 2.0.30b running on a Sparc machine with Solaris 10. I installed Kerberos 1.4.2 Openldap stable version 20051018 To compile Samba 2.0.30b with ADS Looks like Kerberos works kinit Administrator@MYDOMAIN.COM <mailto:Administrator@MYDOMAIN.COM> ==> works klist ==> shows ticket I added the server to the domain net join -U Administrator Joined
2009 Aug 27
1
select one function from two of them
Hi all, I have two functions called test1() and test2(). Now how do I select one of them in test3()?? Say test3<-function(func="test1"){ if (func=="test1"){ now.func<-test1() } else now.func<-test2() } I know this function I wrote does not right. Do anyone can tell me how to do that for real? Thanks a million S.H. --
2003 Aug 03
3
Include-from ?
Hello - I just finished doing a search of the archives and couldn't seem to get this answered. Example, I have a root directory containing the following directories: /Test1 /Test2 /Test3 I want to rsync only /Test2 and all subdirs under. So my include-from file looks like: + Test2/* - /* This doesn't work as nothing is synced, and if I do a -vv it tells me that nothing is being
2013 Jul 10
2
Have an issue with catch-all - Dovecot-lda andPostfix
Hi, I run dovecot version 2.1.7 and postfix 2.9.6. I'm using dovecot-lda as local delivery. I use virtual users and need to use catch-all for some of my domains. My problem when using catch-all is that I got a separate email for each recipient. As an example: If I send mail to: test1 at test.org, test2, test3 at test.org, test4 at test.org and have a catch-all which will send this mail to
2019 Jan 22
1
Moving messages between servers with different configurations
This pulls over the whole test mailbox, but I need it to be stored in a different mailbox, of course that is now possible to move from the local test to the local INBOX/test2. But then I might aswell scp the mbox in the first place. Should we conclude that it is not possible with a single doveadm command to move messages from RemoteServerA/usertest/mailboxA/messagesof2017 to
2014 Nov 21
2
Re: [PATCH 4/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_create
On Friday 21 November 2014 13:17:58 Hu Tao wrote: > Parameter `qgroupid' is for adding the created subvolume to a qgroup. > > Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> > --- > daemon/btrfs.c | 10 +++++++++- > generator/actions.ml | 15 ++++++++------- > 2 files changed, 17 insertions(+), 8 deletions(-) > > diff --git a/daemon/btrfs.c
2012 Jun 01
1
Drop values of one dataframe based on the value of another
Hello all, Let me first say that this isn't a question about outliers. I am using the outlier function from the outliers package but I am using it only because it is a convenient wrapper to determine values that have the largest difference between itself and the sample mean. Where I am running into problems is that I am several groups where I want to calculate the "outlier" within