Displaying 20 results from an estimated 3544 matches for "variating".
Did you mean:
validating
2010 Nov 05
1
How to extract particular rows and column from a table
Hello,
I'm a new user of R. I've a very big table like the following structure
(suppose the variable name with "aa"). From this table I want to make a new
table which'll contain just two column with V2 and V6 with some particular
rows( Suppose, variable name with "bb"). I'd like to mention V2 column is
representing the id that correspond to the column V6 whis
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
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
2006 May 20
3
Navigation between DB Items with active Record
Hi,
I am having troubles to figure out how to move from one record to the
other without 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
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,
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
>>
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
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--------------
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 double)
>
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
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
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
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?
I've been asked about "Canonical Variance Analysis" (CVA). I don't
see any reference to it searching the R site. Does it go by other
names?
Genstat 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
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: