search for: mehod

Displaying 13 results from an estimated 13 matches for "mehod".

Did you mean: method
2011 Nov 28
4
getting a subdomain name in model.
...bal variable. (using ruby debugger i found that the global variable is having nil in it) 2) i have a method current_subdomain_name in the application helper which returns what i wanted, I included the same inside the ability model and tried to use the method . But was getting error . 3) writting a mehod in controller such that it returns what i wanted and use the same in the model.Still could not succeed. Can anybody let me know how to get the subdomain from request and use it in the model (In Ability.rb which cancan provide). Any help is highly appreciated. Thanks, Nror -- You received this...
2009 Aug 20
3
how to categorize continuous variable when useing regression
assume dependent variable y( continuous),independent variable x ( continuous),I try to categorize x with some interval,such that,those intervals would has most significant different effect on y. any one knows which method I should apply,I really need some hints,thanks so much~ [[alternative HTML version deleted]]
2008 Feb 23
1
Set without argument
...t;MyObj",representation(time="numeric",traj="matrix")) a <- new("MyObj",time=3,traj=matrix(c(1:6,NA,8:12),ncol=3)) imputeMyObj(a) ----------------- I find 'setTime<-' to change le slot time, but it can not work in the case of imputeMyObs since this mehod does not need a value... Any solution ? Thanks Christophe
2007 Nov 14
6
My own methods on model + "extends" problem?
...t access my "test" function from the controller. It says that the method doesn''t exists. class UsersController < ApplicationController def index render :text => User.test # Produces the error. end end Additionally, I cannot access the mehod increase! and other methods of the ActiveRecord::Base class, that is extended by the User class. Shouldn''t it be accessible? The User.methods doesn''t display the method I created and I cannot access it. However, other very used methods, like "find" are not shown by User...
2007 Jan 08
1
fSeries Package
Dear All; I have used fbmSim to simulate a fbm sequence, however, when I tried to estimate the Hurst effect, none of the nine procedures gave me an answer close enough to the real value, which is 0.5 (n=1000). So, would you please advice, 1. which is the best method to estimate the H among the 9 mehods, R/S, higuchi or Whittle? 2. how to choose the levels (default=50), minnpts, cutoff values or if there is any other issues to consider? Would you please send your code if you can get the right estimate for the attached dataset? 3. I also simulated multiple sequences, but some of the estimated re...
2004 Sep 22
1
S4 methods and polymorophism
...Documents","Graphs")) Then, I follow Chambers's samples to add some functionality such as show() functions and manipulations. A "+" method applied on two "Object" creates a new Objects collection. As you can see from this output, both the definition of the mehod for "+" and for "show" are correct: ---------- output --------------- > Object(1)+Object("Oui") <ROMA> Collection of Objects: 2 objects. ID: numeric <ROMA> Object Classe: numeric FO: alignment ID: character &l...
2009 Jul 16
12
Find_all_by and find(:all) to only select certain values for a selection box
So....let''s have a look if I understood the issue: -Find_all_by is actually the same like Find(:all), however Find_all_by is much shorter and less complicated than the syntax of Find(:all) -So in my CONTROLLER it says @files = find(:all) however I don''t want to see all files displayed in my selection box, because I only want to see the foles whose mandant_id is the same like
2005 Dec 14
0
eager loading all associations
..., Is there a way to specify all relations in a :include option while find()ing? I have a model with a lot of associations, and sometimes i would like to query for all them. Something like Model.find(params[:id], :include => :all) would be nice. Alternatively, i don''t know if there is a mehod to retrieve all model''s associations, to do something like Model.find(params[:id], :include => Model.associations) Thanks. _______________________________________________ Rails mailing list Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/l...
2009 Jul 02
0
[LLVMdev] JITCodeEmitter plans
...the newer version of the MachineCodeEmitter being submitted, when it is replaced by the ObjectCodeEmitter. Anyway I have attached the code for you to look at. It is also a endian speedup patch for included. The ObjectCodeEmitter patch should hopefully go in this weekend. There are inline raw*emit mehods, these and the reserveBytes method are intended on being used by the cpu *CodeEmitters so they just reserve the maximum instruction length and then use the raw methods to do writing. These and the endian speedup should help to make the raw mechanics of JIT code generation a bit faster. Aaron 2...
2007 Jan 10
3
Fractional brownian motion
Dear All; I have used fbmSim to simulate a fbm sequence, however, when I tried to estimate the Hurst effect, none of the nine procedures gave me an answer close enough to the real value, which is 0.5 (n=1000). So, would you please advice, 1. which is the best method to estimate the H among the 9 mehods, R/S, higuchi or Whittle? 2. how to choose the levels (default=50), minnpts, cutoff values or if there is any other issues to consider? Would you please send your code if you can get the right estimate for the attached dataset? 3. I also simulated multiple sequences, but some of the estimated re...
2010 May 24
1
Fixed Effects Estimations (in Panel Data)
dear readers---I struggled with how to do nice fixed-effects regressions in large economic samples for a while. Eventually, I realized that nlme is not really what I needed (too complex), and all I really wanted is the plm package. so, I thought I would share a quick example. ################ sample code to show fixed-effects models? in R # create a sample panel data set with firms and years
2018 Feb 03
0
as.list method for by Objects
...consistent with functions such as as.character which always drop attributes, and is for efficiency since lists can be expensive to copy.) On efficiency issue, shallow copying has been introduced. So, can the behavior of the default method of 'as.list' be reconsidered? Related: The default mehod of 'as.vector' with mode="list" behaves like the default method of 'as.list'. As a consequence, 'is.vector' with mode="list" on its result may return FALSE. I have raised the issue in https://stat.ethz.ch/pipermail/r-devel/2013-May/066671.html . --------...
2015 Jun 04
0
After the classicupgrade from samba3 to sernet-samba-4.2.1 , users are not able to remote desktop anymore ( bug11061 )
Hello Mario.. first.. sernet has samba 4.2.2 release. i suspect these settings are for the RDP.. > server services = -winbindd +winbind > auth methods = winbind, sam but if u use it like about, remove the auth mehods line. samba 4.2 with 4.1 winbind beheavor, and a working rdp. : + server services = -winbindd +winbind ( and the defaults, see below ) samba 4.2 winbindd with winbind like member server behaivor, and a working rdp : server services = -dns ( and the defaults, see below ) +...