search for: variation

Displaying 20 results from an estimated 3543 matches for "variation".

2010 Nov 05
1
How to extract particular rows and column from a table
...on of same base position). I tried this but faild to solve. Could you please let me know how can i solve this. Thank you. Mauluda V1 V2 V3 V4 V5 V6 V7 V8 V9 V10 V11 ESME HEP0102102796h05.w2kF59780SCF:32 CpG Variation 6 30049831 30049831 + . -1 NA ESME HEP0102102796h05.w2kF59780SCF:114 CpG Variation 6 30049913 30049913 + . 31 NA ESME HEP0102102796h05.w2kF59780SCF:154 CpG Variation 6 30049953 30049953 + . 48 NA ESME HEP0102102796h05.w2kF59...
2006 Apr 16
5
render :collection and default value
Hi all, I am having a lot of trouble to get the default value of text fields when they are generated by a partial from a collection. I have been on this for a whole week and I didnt find a single exemple on the internet of someone using a partial that generate text field with a default value. I cant believe that I am the only one having this problem. Anyone has an exemple they can show me?
2008 Sep 18
1
"xxx_id may not be null" when saving many to many joined objects
Hi, I have two model classes; Tune and Title and they are joined in a many to many relationship through a Variation class. Here''s some stub code of the models: class Tune < ActiveRecord::Base has_many :variations, :dependent => :destroy has_many :titles, :through => :variations ... class Title < ActiveRecord::Base has_many :variations, :dependent => :destroy has_many :tunes, :thr...
2006 Jun 07
3
trouble wtih webstore schema, handling product variations
Hi Railers, Does anyone have any guidance on setting up a simple way to handle product variations (e.g garment size/color)? Initially, I had thought that I would make a variation model which defined the extra bits, but it seems quite inflexible especially so if a store were to sell non-clothing items that also had variants of one flavor or another. product has_many variations title desc...
2006 May 20
3
Navigation between DB Items with active Record
...using <find_by_sql> or other ugly tricks. So far, I have managed to do a lot of stuff without it but I decided that I need to learn how it works this weekend! So I need your help to figure that out... I have the following 4 models: class Client < ActiveRecord::Base has_many :client_variations has_many :variations, :through => :client_variations end class ClientVariation < ActiveRecord::Base belongs_to :client belongs_to :variation end class Variation < ActiveRecord::Base belongs_to :concept has_many :client_variations, :dependent => :destroy end class Concept &...
2010 Mar 26
2
tapply syntax
Dear R-help members, Apologies for the trouble. I have a question : Essentially, I have a dataset which stores genetic variations for individual patients. Each individual patient can have more than one variation, and each new record corresponds to a new variation (thus, both individual patients and variations are non-unique). So the dataset looks something like this ((letters = patients, numbers = variation type). Patient,...
2008 Mar 04
1
grid.layout?
platform x86_64-unknown-linux-gnu arch x86_64 os linux-gnu system x86_64, linux-gnu status major 2 minor 6.2 year 2008 month 02 day
2007 Oct 04
3
acts_as_tree - parent reference is outdated?
I''m experiencing some unexpected weirdness with acts_as_tree. class Category < ActiveRecord::Base acts_as_tree has_many :variations end def variations # some code that returns the parent category variations if we have none end >> pc = Category.new >> pc.variations << "foo" >> pc.save >> cc = Category.new >> cc.parent = pc >> cc.save So far so good ... >> pc.variat...
2006 Jul 01
5
generate bi-variate normal data
Dear all, I would like to generate bi-variate normal data given that the first column of the data is known. for example: I first generate a set of data using the command, x <- rmvnorm(10, c(0, 0), matrix(c(1, 0, 0, 1), 2)) then I would like to sum up the two columns of x: x.sum <- apply(x, 1, sum) now with x.sum I would like to generate another column of data, say y, that makes
2006 May 19
1
Need help with a test
Hi, I have this controller method that I need to test: def link_concept_to_client concept_to_link = Concept.find(params[:concept_id]) # take all the variations for the concept for variation in concept_to_link.variations new_client_variation = ClientVariation.new new_client_variation.client = session[:active_client] new_client_variation.variation = variation new_client_variation.name_fr = variation.name_fr new_client_vari...
2006 Apr 11
1
Default value in a Partial that use index
Hi, here is my situation. I have this controler action: ---------CONTROLER-------- def list @variations = Variation.find(:all, :conditions =>["client_id = ?", @active_client.id] ) end ---------CONTROLER-------- Which call this view (removed irrelevant parts): ----------LIST.RHTML-------------- <p>listes des co...
2012 Feb 03
1
Simulating from "matrix variate normal distribution"
Hello everyone Is there a function/command to simulate from "matrix variate normal distribution" in R. A follow up question would be is there a function/command to obtain the density, distribution and quantile function of "matrix variate normal distribution" in R. Wikipedia has a good description of "matrix variate normal distribution" which is also alternatively
2013 Jan 07
2
Have problem to do loop to generate transformed chi-squared variates
Hello R-helpers, I need to generate standard variates normal to 'create' chi-squared variates. To make you more understand, (1)   a<-rnorm(3,0,1) *after do (1), I need to squared and summed the three values. My problem is, how am I going to continue the programming if I had to repeat the process for 15 times, which in the end I will get 15 values from the whole programme.Hope you can
2008 Jul 04
2
create a zero matrix & fill
Dear R user, I have written a function which returns max,min and variation of a power (see below) Power is a given matrix(1,n) I call the function >Variation<-VAR(p,(n-deltat)) Now the problem is when I want plot(Results[1],Results[2]). Not possible! I become the following error (in english it means: Error in as.double.default(x) :Object cannot be transformed in...
2010 Jun 05
1
variation
Hi list I am a new user of R. I ask for some "beginner" question I am searching if there is any function that computes the variation of some discrete values of a vector (mean() and sd() exists, but i have not find variation). Thanks in advance Adel -- PhD candidate in Computer Science Address 3 avenue lamine, cité ezzahra, Sousse 4000 Tunisia tel: +216 97 246 706 (+33640302046 jusqu'au 15/6) fax: +216 71 391 166 [[alt...
2005 Mar 03
1
total variation penalty
Hi, I was recently plowing through the docs of the quantreg package by Roger Koenker and came across the total variation penalty approach to 1-dimensional spline fitting. I googled around a bit and have found some papers originated in the image processing community, but (apart from Roger's papers) no paper that would discuss its statistical aspects. I have a couple of questions in this regard: * Is it more natu...
2005 Sep 14
1
Can I use "lme" to deal with grouping data when I only get one data point per group?
Hi there, I have a question for using "lme". Say, I have 6 data points and they belong to six groups (one group factor). So there is no replicates for each group and I cannot separate the with-in group variation from the between group variation. But when I try to use "lme" to deal with it, it gave the answers for both with-in group variation and the between group variation! The statement is as below: =============================================================== fac=as.factor(c(1:6)) y=dat...
2009 Oct 24
1
Generate random variate from a non-parametric hazard function
Hi I have estimated a hazard function using a kernel based method. Now i have to generate a random variate that follows this hazard function. Does any one know method I should use to generate the variate. Thanks Samiul -- View this message in context: http://www.nabble.com/Generate-random-variate-from-a-non-parametric-hazard-function-tp26034880p26034880.html Sent from the R help mailing list
2006 Jan 18
1
Canonical Variance Analysis by any other name?
...at describes it thus: Canonical variates analysis operates on a within-group sums of squares and products matrix, calculated from a set of variates and factor that specifies the grouping of units. It finds linear combinations of the variates that maximize the ratio of between-group to within-group variation, thereby giving functions that can be used to discriminate between the groups. It's probably not particularly difficult to do, so I suspect someone has a package for doing it. What other name might I search for? Thnx -- Patrick Connolly HortResearch Mt Albert Auckland New Zealand Ph: +64-...
2010 Dec 14
1
[LLVMdev] Modify for a variation of C with "size of" problem
Hello, I recently try to modify the front end of LLVM for a variation of C. The main difference between the variation and the original one is that I wish to view the "size of" as a function. Would anybody suggest me how to start doing?? thanks yi-hong -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.o...