Displaying 20 results from an estimated 1000 matches similar to: "A very big matrix inside a function"
2007 Jun 07
0
Unique :key not maintained after add_indexes?
Hi,
When adding an index to another one using add_indexes I get duplicates
even though I use the :key attribute. For example:
def test_add_indexes_uniqueness
index1 = Ferret::Index::Index.new(:key => :id)
index2 = Ferret::Index::Index.new(:key => :id)
# Add two items with same id
index1 << {:id => 23, :data => "This is the data..."}
2011 Apr 03
1
Help in splitting ists into sub-lists
Dear List,
Let's say I have a list whose components are 2 matrices (as exemplified in
the "mylist" object below). I'd like to create a list with components being
4 matrices based on an logical index vector. is there a way to simplify what
I'm doing to obtain the results in "mylist2"? I'd like something that would
work on an arbitrary number of elements in
2009 Jan 27
1
Problem with RMA using limma, oligo and pdInfoBuilder packages
Hi,
I am a Ph.D. student from Québec, Canada. I’m a beginner with R and
Bioconductor. Until now the only experience I have is in analyzing
microarray data using affy and limma packages. Now I am trying to analyze
Rat Gene 10 st arrays and I would like to run RMA analysis and Smyth
moderated t test on those arrays. Since no cdf official package is available
for those arrays, after reading many
2006 Nov 14
2
Problem with file size
Hi everyone,
I have 2 environments (2 different R sessions) as described below:
Session 1:
Name of the environment: "CrlmmInfo"
Objects in the environment:
index1: logical index - length 238304
index2: logical index - length 238304
priors: list of 4 - (matrix 6x6, 2 vectors of length 6, vector of
length 2) - all num
params: list of 4:
centers [238304 x 3 x
2006 Nov 14
2
Problem with file size
Hi everyone,
I have 2 environments (2 different R sessions) as described below:
Session 1:
Name of the environment: "CrlmmInfo"
Objects in the environment:
index1: logical index - length 238304
index2: logical index - length 238304
priors: list of 4 - (matrix 6x6, 2 vectors of length 6, vector of
length 2) - all num
params: list of 4:
centers [238304 x 3 x
2009 Aug 07
0
Bar plots with stacked columns marked with askterisks
Hi,
I'm trying to plot bar graphs with stacked columns marked with
askterisks for certain columns, which follow certain criteria.
I've gotten the stacked bar plots with Data set A (please refer to
code below). However, I haven't figured how to put asterisks on
columns based on some extra information (such as "used/unused") as in
Data set B i.e. asterisks at the
2010 Mar 09
0
Removing Zeros from matrix:Problem fixed
Hey,
Thanks for your great inputs. While "index = apply(mat == 0, MARGIN = 1,
any)" gives you an idea of the rows containing zero(s),
"index<-data[!apply(data==0,MARGIN=1,any),]" does the actual job of removing
the rows with zeros.
Kind regards
Ogbos
On 9 March 2010 15:12, Paul Hiemstra <p.hiemstra@geo.uu.nl> wrote:
> Dimitris Rizopoulos wrote:
>
>>
2010 Sep 28
1
confirming behavior of "by"
Hi,
I'm using "by" to summarize by multiple groups, and want to extract the
returned into a pretty dataframe. I'm trying to find a simple way to
name the rows of the data frame. I'd like it to be something like
index1.val1.index2.val2 where the index1 and index2 are the names of the
indices and the val1 & val2 are names of possible values of the index.
(the
2016 Mar 17
0
match and unique
Hi Terry,
On 03/16/2016 08:03 AM, Therneau, Terry M., Ph.D. wrote:
> Is the phrase "index <- match(x, sort(unique(x)))" reliable, in the
> sense that it will never return NA?
This is assuming that match() and unique() will never disagree on
equality between 2 floating point values. I believe they share some
code internally (same hashing routine?), so maybe it's reliable.
2010 Apr 19
2
Acceder a varias tablas
Buenas,
He creado dos andamios para dos tablas a la que accedo por index1 e
index2 respectivamente. En cada index puedo hacer las tareas de añadir,
borrar, ver lineas... pero me gustaria saber como se hace una busqueda
mas compleja...es decir si tengo una tabla Productos y otra tabla
descripciones y quiero mostrar en los productos con sus descripciones...
he intentado en el index1 acceder a la
2012 Jun 28
3
Storing results in a single file after looping over all files
Hi All,
I have a whole lot of *.raw files in my working folder and I am doing the same analysis on each of those and want to save all the results in a single file. I am making some mistake here and can't figure out how to solve it.
Say, the *.raw files are ABCD.raw, EFGH.raw, IJKL.raw ...
The files are of this format
ID PHI?? aa1? aa2? aa3 ....
1??? 1???? 1.3?? 2.0?? 1.0
2??? 0????
2024 May 06
0
[R-sig-ME] lmer error: number of observations <= number of random effects
Dear Srinidhi,
You are trying to fit 1 random intercept and 2 random slopes per
individual, while you have at most 3 observations per individual. You
simply don't have enough data to fit the random slopes. Reduce the random
part to (1|ID).
Best regards,
Thierry
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK
2024 May 06
0
[R] [R-sig-ME] lmer error: number of observations <= number of random effects
Dear Srinidhi,
You are trying to fit 1 random intercept and 2 random slopes per
individual, while you have at most 3 observations per individual. You
simply don't have enough data to fit the random slopes. Reduce the random
part to (1|ID).
Best regards,
Thierry
ir. Thierry Onkelinx
Statisticus / Statistician
Vlaamse Overheid / Government of Flanders
INSTITUUT VOOR NATUUR- EN BOSONDERZOEK
2024 May 05
2
lmer error: number of observations <= number of random effects
I am running a multilevel growth curve model to examine predictors of
social anhedonia (SA) trajectory through ages 12, 15 and 18. SA is a
continuous numeric variable. The age variable (Index1) has been coded as 0
for age 12, 1 for age 15 and 2 for age 18. I am currently using a time
varying predictor, stress (LSI), which was measured at ages 12, 15 and 18,
to examine whether trajectory/variation
2024 May 05
2
lmer error: number of observations <= number of random effects
I am running a multilevel growth curve model to examine predictors of
social anhedonia (SA) trajectory through ages 12, 15 and 18. SA is a
continuous numeric variable. The age variable (Index1) has been coded as 0
for age 12, 1 for age 15 and 2 for age 18. I am currently using a time
varying predictor, stress (LSI), which was measured at ages 12, 15 and 18,
to examine whether trajectory/variation
2008 Feb 05
2
help with oop in R - class structure and syntex
Hi,
I read section 5, oop, of the R lang doc, and I am still not sure I
understand how to build a class in R for oop. I thought that since I
understand the oop syntex of Java and VB, I am wondering if the R programmig
experts could help me out by comparing and contrasting the oop syntex in R
with that of Java. For example, the basic class structure in Java is like
this:
public class Bicycle {
2012 Feb 04
0
[LLVMdev] How to properly use copyValue?
Ryan Taylor wrote:
> Since there are no constructors for Value, how do you properly insert a
> new Value?
Value is a pure base. If you want to construct a new Value, then you
want to construct a global variable or instruction or argument or
something in particular.
> If I create a pointer Value *newValue and then call
> AA.copyValue(oldValue, newValue), this does not work, since
2012 Feb 05
1
[LLVMdev] How to properly use copyValue?
Nick,
First, thanks for responding. Secondly, I just want to create an exact
copy of an already exisitng Value, this should be pretty simple to do but
I'm unclear on how to do this?
For example, PHINode::getIncomingValue (unsigned) returns a "Value" and I
want to make a copy of that Value. Is there some other way to do this other
than copyValue() that I'm missing?
On Sat,
2009 Sep 10
1
trouble with custom type on 0.24.8
I''m having trouble getting a simple custom type to work.
Clients are giving me the following error:
"Could not retrieve catalog: Could not find resource type zypper_repo
at /etc/puppet/manifests/nodes/mgt.pp:33 on node <host.fqdn>"
The custom type is present in the /var/lib/puppet/lib/puppet/type
directory on both clients and server (via pluginsync), but it''s
2012 Feb 03
2
[LLVMdev] How to properly use copyValue?
Since there are no constructors for Value, how do you properly insert a new
Value?
If I create a pointer Value *newValue and then call AA.copyValue(oldValue,
newValue), this does not work, since newValue is not allocated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120203/44086cf5/attachment.html>