similar to: paste with apply, spaces and NA

Displaying 20 results from an estimated 30000 matches similar to: "paste with apply, spaces and NA"

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,
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) >
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
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
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. --
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
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
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
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. --
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
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
2001 May 01
2
6 times faster by eliminating apply
This is some kind of follow-up to my previous posts. I have further improved the speed of my program 6 times by eliminating all the apply(). It turns out that apply is slow, is slower than direct loop, it is an order slower than a matrix operation alternative. Here is one example. The first apply version runs 19 seconds, the second loop version runs 13 seconds, the third matrix version runs 1
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.
2014 Nov 24
1
Re: [PATCH 4/6] btrfs: add optional parameter `qgroupid' to btrfs_subvolume_create
On Mon, Nov 24, 2014 at 10:26:50AM +0800, Hu Tao wrote: > On Fri, Nov 21, 2014 at 11:46:37AM +0100, Pino Toscano wrote: > > 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> > > > --- > > >
2012 Jun 01
2
how to add a 'label' column
Hello R users, I'd like to ask a question about how to add a new column. So, below is my situation. In order to perform the repeated ANOVA, I first imported the following table. score=read.csv("patients_tests.csv"); subject test1 test2 test3 test4 test5 test6 test7 1 ab 0.17687 0.16715 0.17009 0.16480 0.16116 0.24502 0.17975 2 cl
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
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)
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
2008 Mar 15
2
Please find the error in my code
hello everybody I use the following code for my programming & it runs with the error as specified below.Any help that would disolve the error will be highly appreciated. Thanks in advance my code looks like this #### R programme for simulating the power of the two sample t test vs various #### non-parametric alternatives sim.size <- 200 sample.size <- 10 set.seed(231) mu1 <- 0 delta
2018 Jan 04
2
smbclient, cannot delete non-empty directory, no error message
client: samba-client-4.7.4-0.fc27.x86_64 client: samba-client-4.6.5-0.fc26.x86_64 server: samba-4.7.3-3.fc27.x86_64 Reproduce steps: [chris at f27h ~]$ smbclient //f27s.local/scratch/ Enter SAMBA\chris's password: Try "help" to get a list of possible commands. smb: \> cd noperms smb: \noperms\> ls . D 0 Wed Jan 3 12:00:27 2018