Displaying 20 results from an estimated 60 matches similar to: "many correlations"
2017 Apr 02
0
rdb and rds files include abolute file paths / help understanding how lazy-load dbs are created
Hi,
I'm trying to understand why/how absolute file paths are stored in .rdb[1] and
.rds[2] files during package installation. As a consequence building the same r
package in different directories does not produce identical .rdb and .rds files.
The background is that I work on reproducible builds[3] of R packages. I think
this is important from an engineering point of view but also from a
2011 Jan 05
4
Match numeric vector against rows in a matrix?
Two posts in one day is not a good day...and this question seems like it should have an obvious answer:
I have a matrix where rows are unique combinations of 1's and 0's:
> combs=as.matrix(expand.grid(c(0,1),c(0,1)))
> combs
Var1 Var2
[1,] 0 0
[2,] 1 0
[3,] 0 1
[4,] 1 1
I want a single function that will give the row index containing an exact match
2012 Nov 18
1
identical matrices
Dear R users,
I want to check matrices when i change the order of the rows or/and the order of the columns or/and the combination of them
i will give an example what i want
1 -1 1 1 1 1 1 1
-1 -1 -1 -1 -1 -1 -1 -1
1 1 1 1 1 -1 1 1
these 2 matrices are identical because i change the first row and make it third
1 -1 1 1 -1 1 1 1
-1 -1 -1
2012 Aug 26
3
Two selections from Bag A
All, I am looking at an example in Aliaga's Interactive Statistics. Bag A has
the following vouchers.
BagA <- c(-1000,10,10,10,10,10,10,
10,20,20,20,20,20,20,30,
30,40,40,50,60)
Bag B has the following vouchers.
BagB <- c(10,20,30,30,40,40,50,50,
50,50,50,50,60,60,60,60,
60,60,60,1000)
Two values are selected (from BagA or BagB) without
2008 Dec 11
3
generate combination multiset (set with repetition)
Hi,
This has been asked before but not sufficiently answered from what I
could find. How do you create combinations
with repetitions (multisets) in R?
If I have
> set <- array(1:3)
And I want to choose all combinations of picking 2 numbers, I want to
get a print out like
[,1] [,2]
[1,] 1 1
[2,] 1 2
[3,] 1 3
[4,] 2 2
[5,] 2 3
[6,] 3 3
subsets(set,
2010 Jun 18
25
Erratic behavior on 24T zpool
Well, I''ve searched my brains out and I can''t seem to find a reason for this.
I''m getting bad to medium performance with my new test storage device. I''ve got 24 1.5T disks with 2 SSDs configured as a zil log device. I''m using the Areca raid controller, the driver being arcmsr. Quad core AMD with 16 gig of RAM OpenSolaris upgraded to snv_134.
The zpool
2010 Mar 26
2
R loop help
Hi,
I am tring to write a loop to compute this,
==========================
x1=c(
rep(-1,4),
rep(1,4)
)
x2=c(
rep(c(-1,-1,1,1),2)
)
x3=c(
rep(c(-1,1),4)
)
x1*x2
x1*x3
x2*x3
========================
suppose i have x1,x2,x3
i want to compute their ' two factor interactions', x1x2,x1x3 and x2x3,
I wrote
========================
for(i in 1:2){
for( j in i+1:3){
xij=c()
2008 Nov 26
2
Very slow: using double apply and cor.test to compute correlation p.values for 2 matrices
My two matrices are roughly the sizes of m1 and m2. I tried using two apply and cor.test to compute the correlation p.values. More than an hour, and the codes are still running. Please help to make it more efficient.
m1 <- matrix(rnorm(100000), ncol=100)
m2 <- matrix(rnorm(10000000), ncol=100)
cor.pvalues <- apply(m1, 1, function(x) { apply(m2, 1, function(y) { cor.test(x,y)$p.value
2008 Jul 07
2
Running "all possible subsets" of a GLM (binomial) model
I have spent a fair amount of time looking for a package that is automated
to run glm (binomial) regression models with all possible subsets of my
independent variables. Something akin to Lumley's "leaps" package, but can
be applied to glms, not just lms; or something similar to Stata's brute
force "tryem" function? If anyone can point me in the right direction I
2012 Jul 20
6
Speeding up a loop
General problem: I have 20 projects that can be invested in and I need to
decide which combinations meet a certain set of standards. The total
possible combinations comes out to 2^20. However I know for a fact that the
number of projects must be greater than 5 and less than 13. So far the the
code below is the best I can come up with for iteratively creating a set to
check against my set of
2018 Oct 25
2
Proposal - Extended Channel Layouts in Opus
Rodger Combs wrote:
> I've run into some issues using Opus with source files in channel layouts
> other than the default 8. For instance, 2.1 isn't supported, so I have to
> either downconvert to 2.0 or upconvert to 5.1 (which usually involves adding
> empty channels, which prevents the playback device from upconverting to the
> native layout).
> To address this,
2009 Mar 24
4
multiple paired t-tests
Hi R users,
I have a very large data set that has two conditioning variables for the
test I want to perform.
A toy set can be simulated:
type<-sample(1:3,100,replace=TRUE)
class<-sample(1:20,100,replace=TRUE)
value<-rnorm(100)
data<-cbind(type,class,value)
(though type and class are alphanum)
I want to perform the three pair-wise t-tests between types for each
class in data.
Can
2007 Jan 22
2
Combination of variables
Hi,
List , i have 6 predictor variables and i want to make possible combinations of these 6 predictors ,all the data is in matrix form ,
if i am having 6 predictors than possible combination of sets are 64 2 power 6, or 63 ,whatever it may be i want to store the result in another variable to each combination and that i want to put in some model ,
i want to put every combination in some model
2018 Oct 25
1
Proposal - Extended Channel Layouts in Opus
I've run into some issues using Opus with source files in channel layouts other than the default 8. For instance, 2.1 isn't supported, so I have to either downconvert to 2.0 or upconvert to 5.1 (which usually involves adding empty channels, which prevents the playback device from upconverting to the native layout).
To address this, I've put together an initial draft of an I-D I'd
2015 Sep 04
2
RFC: LTO should use -disable-llvm-verifier
On Fri, Sep 04, 2015 at 11:13:43AM -0700, Mehdi Amini wrote:
>
> > On Sep 4, 2015, at 11:03 AM, Eric Christopher <echristo at gmail.com> wrote:
> >
> >
> >
> > On Fri, Sep 4, 2015 at 12:48 AM Mehdi Amini <mehdi.amini at apple.com <mailto:mehdi.amini at apple.com>> wrote:
> >> On Sep 4, 2015, at 12:22 AM, Eric Christopher <echristo
2015 May 18
1
\alias{} --> rather \concept{} for conceptual "links" to help pages
>From R-help, subject "Variable number of loops"
I've opened a new thread, moving from R-help to R-devel ..
>>>>> Jim Lemon <drjimlemon at gmail.com>
>>>>> on Sun, 17 May 2015 09:19:06 +1000 writes:
> Hi all, Given the number of help requests that involve
> permutations/combinations, and the less than obvious
> naming
2024 Jan 08
0
[Announce] Samba 4.19.4 Available for Download
Release Announcements
---------------------
This is the latest stable release of the Samba 4.19 release series.
Changes since 4.19.3
--------------------
o? Samuel Cabrero <scabrero at samba.org>
?? * BUG 13577: net changesecretpw cannot set the machine account
password if
???? secrets.tdb is empty.
o? Bj?rn Jacke <bjacke at samba.org>
?? * BUG 15540: For generating doc, take,
2024 Jan 08
0
[Announce] Samba 4.19.4 Available for Download
Release Announcements
---------------------
This is the latest stable release of the Samba 4.19 release series.
Changes since 4.19.3
--------------------
o? Samuel Cabrero <scabrero at samba.org>
?? * BUG 13577: net changesecretpw cannot set the machine account
password if
???? secrets.tdb is empty.
o? Bj?rn Jacke <bjacke at samba.org>
?? * BUG 15540: For generating doc, take,
2002 May 15
2
when is fsck required?
Hi,
can anyone give me an example of
when an fsck would repair something
that the ext3 driver would not? with
full "data=journal" journaling, would
fsck ever need to be run if all the
partitions were ext3?
the ext3 mini-howto refers to "certain
rare hardware failure cases (e.g. hard
drive failures)" that would require a
filesystem check, but doesn't go into
details.
2006 Jul 14
1
regarding filtering the data
Hi all
a very happy greeting to you all.
i have just joined the list, i am newbie in R and this is my first message
( before this i was a member of Linux kernel mailing list) and hence i
woulk like to add that i know how to behave in the mailing lists.
I have a data something like this which i am reading from a csv file using
read.table (Is there any difference between read.csv and read.table