Displaying 20 results from an estimated 6000 matches similar to: "Help with perm.test please"
2007 May 11
1
Cannot use an escape character in regexp
Given the string
> mystr <- "(Preconsuntivo del giorno gas 10 maggio
2007)Tj"
I'm trying to detect and eliminate the string ")Tj" at the
very end of mystr by means of
gsub(rx2,"",mystr) BUT preparing the
matching regexp string a warning pops up
> rx2 <- "\)Tj$"
Warning
messages:
1: '\)' is an unrecognized escape in a
2006 Apr 24
1
Re: Shielding of T1/E1 cables WAS RE: PinoutsforT1/E1 crossover
> Close. 10/100mbps Ethernet uses wires 1,2,3,6 but that is pair 2 & 3.
> Pair
> one is the pair up the dead center (pins 4&5), pair 2 is pins 1&2,
pair 3
> is
> 3&6 and pair 4 is 7&8. A T1 uses pairs 1&2, which is why you can't
use a
> regular crossover cable for a T1 crossover, but you can use a regular
> ethernet patch cable as a T1 patch
2008 Jan 25
1
increasing speed for permutations of glm
Dear R Programmers,
I am trying to run a Poisson regression on all pairs of variables in a data
set and
obtain the permutation distribution. The number of pairs is around 100000.
It seems my code will take weeks to run, unless I try something else.
Could you give me any suggestions on how to improve the speed of the
code below, or any general suggestions on how I may accomplish this task.
Thanks
2011 Sep 18
1
perm.test()
Hi!
I am doing a two sample permutation test and trying to find confidence
interval. perm.test() seems can do that but when the vector contains
negative numbers it occurs an error. And for perm.test(x,y), elements in x
can't be more than in y. I am wondering how I can fix these two problems?
Thanks a lot.
--
View this message in context:
2010 Apr 22
1
What is the test statistics in perm.test
Hi,
The permutation test for two samples in R is function perm.test(). I could
not figure out what is the statistics it estimate and how many permutation
it did in default?
Thanks,
[[alternative HTML version deleted]]
2002 Jan 30
1
mosaicplot(formula, data)--- bugged?
I have been tinkering with mosaicplot() and friends as a way
of learning R. As part of this, I've written a pair.table()
method for mosaic matrices, and would like to extend mosaicplot
to work with loglin and logln (MASS) objects. I'm using
R 1.4.0 on Win 98.
I've been trying to figure out the formula interface, and think
there's a bug, but not sure how to find it, yet alone fix
2009 Aug 22
3
Help on comparing two matrices
Hi,
I need to compare two matrices with each other. If you can get one of
them out of the other one by resorting the rows and/or the columns, then
both of them are equal, otherwise they're not. A matrix could look like
this:
[,1] [,2] [,3] [,4] [,5] [,6] [,7] [,8]
[1,] 0 1 1 1 0 1 1 0
[2,] 1 1 0 0 0 1 0 1
[3,] 1 0 1 0 0
2008 Apr 10
1
More info for -perm 2 ?
Hi all,
Is there any more exhaustive explanation on this command?
find / -type f -perm -2.
Someone said that it means to find all files which have 'other' write access.
From the man page it only says:
-perm mode
File?s permission bits are exactly mode (octal or symbolic). Symbolic modes
use mode 0 as a point of departure.
-perm -mode
All of the permission bits mode are set for the
2011 Jul 29
1
Using perm.t.test() upon Matrix/Dataframe columns parted by factor instead of t.test()
Hello dear subscribed Users,
this is my first post, so please forgive me for any inconveniences.
The following problem: I have a dataframe containing a factor column.
For each column i would like to compare means as parted by the factor.
Using the normal t.test function I have already achieved my goal. But i
think, that for my original data, a permutational t.test would be better
suited.
2009 Sep 08
0
Confusion on use of permTS() in 'perm'
Consider the following simple example using R-2.9.0 and 'perm' 2.9.1:
> require('perm')
> p<- c(15,21,26,32,39,45,52,60,70,82)
> g<- c('y','n','y','y', rep('n',6)) #Patients ranked 1,3,4 receive treatment
> permTS(p ~ g, alternative = 'two.sided', method='exact.ce') #find
p-value by complete enumeration
2009 Aug 03
0
new package: perm
Hi all,
I have uploaded a new package called perm which does linear permutation tests. It does two-sample, k-sample and trend tests. The package is redundant, since everything it does can be done in the coin package, and it is usually faster in coin. The main motivation is to provide another check for exact tests in R. It also handles ties differently than coin, so if you have test statistics
2009 Aug 03
0
new package: perm
Hi all,
I have uploaded a new package called perm which does linear permutation tests. It does two-sample, k-sample and trend tests. The package is redundant, since everything it does can be done in the coin package, and it is usually faster in coin. The main motivation is to provide another check for exact tests in R. It also handles ties differently than coin, so if you have test statistics
2011 Mar 18
0
apply function returning different results
For some reason when I apply a function to a single row in R it works, but
when that same row is in a data.frame it does not, see below:
apply(dx[954,], 1, query.db)
2571
1092 0.06044147
3890 0.05948577
3273 0.05911261
794 0.05855583
4241 0.05854064
3560 0.05602690
apply(dx[954:955,], 1, query.db)
$`2571`
numeric(0)
$`1194`
908 3754 5119 2835
2019 Feb 22
2
Troubles with Dovecot 2.3.3 - mkdir permission denied due to +w perm: /var, dir owned by 0:0 mode=0755)
Hi,
I am quite new to Dovecot and I followed a tutorial on Linode to set up
Dovecot, Postfix and MySql on the following site:-
https://www.linode.com/docs/email/postfix/email-with-postfix-dovecot-and-mysql/
Everything seems to work fine(telnet etc) except dovecot does not create
mailboxes.
Highly appreciate if someone could check the error messages and the dovecot
-n on the bottom and provide
2013 Apr 24
1
how to control usb read write perm
hi,all
i have 2 questions. both is related to spice usb redirect.
1. if i can control RW perm of usb device which is producted via spice ? in order to control user's rw operation in guestVM .
2.if user have several usbs, and plug them at the same time when using spice client. if i can control which usb(s) can be accessed by user in guestVM?
thanks
-------------- next part
2009 Nov 18
2
failed: Permission denied missing +w perm: /home/mail_virtual/2001
hi there!
i'm trying to run dovecot 1.2.4 managesieve service with mysql auth.
authentication is obviously going fine, i have debug_auth set to on
and can see log lines indicating auth success:
2009-11-18 16:04:24 auth(default): Info: client in: AUTH 1
PLAIN service=pop3 secured lip=127.0.0.1 rip=127.0.0.1
lport=10100 rport=42497 resp=<hidden>
2007 Apr 11
1
package incompatibility under 2.5.0 (please respond directly, I am not on r-devel)
Dear all,
For my package "ref" I have implemented extensive regression testing. It now fails to compile since primitives "dim" and "dimnames" (and their assignment methods) no longer allow for additional arguments. I was using an additional argument "ref" with several methods. For "].refdata" it still works, with "dim.refdata" no longer.
2009 Oct 16
2
"negative length vectors are not allowed" in wilcox.exact() and perm.test()
Dear R friends,
I want to compare two datasets and I get the message
Error in .Call("cpermdist2", ma = as.integer(m), mb = as.integer(col), :
negative length vectors are not allowed
after specifying the exact test. I'm using the exactRankTests package. Do you suggest me using the coin library, or is there anything "wrong" with my data?
Kind regards,
David
--
2011 Jul 07
3
missing +r perm:
This is probably a really simple issue but I am not sure how to tackle
it.
sudo dovecot -n:
http://pastie.org/2179100
The error message in mail.log:
http://pastie.org/2179032
Dovecot.conf says: mail_privileged_group: mail
I thought of added the user dovecot to the group mail in hopes of
solving the permissions problem, but it didn't seem to make a
difference.
Any ideas?
2011 Mar 08
1
Replacing values in a data.frame/matrix
Hi all,
Suppose we have the following matrix
m <- matrix(c(1,2,3,2,1,3,3,1,2), ncol = 3, byrow=T)
where in each row each number occurs only once.
I'd like to define a permutation, e.g. 1 -> 2, 2 -> 1, 3 -> 3 and apply
it to the matrix. Thus, the following matrix should result:
m.perm <- matrix(c(2,1,3,1,2,3,3,2,1), ncol = 3, byrow=T)
i.e. each 1 should map to 2 and vice