search for: apprehended

Displaying 20 results from an estimated 54 matches for "apprehended".

Did you mean: apprehend
2006 Jul 20
5
How can I make has_many prevent a delete that would lead to orphans?
e.g. class Asset < ActiveRecord::Base validates_presence_of :asset_number, :make, :model, :location, :name, :serial_number validates_numericality_of :asset_number validates_uniqueness_of :asset_number belongs_to :user belongs_to :location belongs_to :asset_type, :foreign_key => ''type_id'' end class Location < ActiveRecord::Base validates_presence_of :name
2006 Jul 25
4
Sorting by two fields
I have a list of TimeSheet objects from an ealier AR query, which I can sort by the full name of the user like so: @time_sheet_entries.sort! { |a,b| a.user.full_name <=> b.user.full_name } I can sort by the started time like so: @time_sheet_entries.sort! { |a,b| a.start_time <=> b.start_time } My question is how do I do a sort so that the list is sorted primarily by user.full_name
2005 Jan 29
4
format question
how can I get a float to always print two decimal places? Thanks, Jamie
2006 Jul 21
3
How can I create OrderItems that go in a Order?
I suspect my problem is similar to having an order and wanting to have order items as part of the order, so I''ll explain the problem in those more familiar terms and then explain what if anything makes my actual situation different at the end. In an Order lets say you have: shipping_address and a shipped bool. OrderItem has quantity and name So Order has_many :OrderItems, and OrderItem
2006 Jul 21
5
Reports in Rails
Hi, In my rails application I want to include a reporting mechanism that will allow the users of application to view statistics of various operations graphically. Does rails provide inbuilt reporting capabilities? what are different appraoches I can follow to achieve reporting in rails? On googling I found following as some of the options, 1.Gruff Graphs for Ruby 2.SVG 3. using Apache FOP.
1999 Nov 29
2
Food for thought regarding PAM
I'm new to this list, so please forgive me if this has been discussed before. It appears that one of the (commendable) design goals of OpenSSH is to re-use existing open-source libraries wherever possible in order to simplify the OpenSSH code and hopefully improve security in the process. As exhibited by the current, non-open SSH, supporting all of the nuances of authentication and logins
2003 Jun 08
6
Basic question on applying a function to each row of a dataframe
Hi, I have a function foo(x,y) and a dataframe, DF, comprised of two vectors, x & w, as follows : x w 1 1 1 2 2 1 3 3 1 4 4 1 etc I would like to apply the function foo to each 'pair' within DF e.g foo(1,1), foo(2,1), foo(3,1) etc I have tried >apply(DF,foo) >apply(DF[,],foo) >apply(DF[DF$x,DF$w],foo) However, none of the above worked. Can anyone help ?
2003 Jun 13
1
Factorial function in R?
Is there a native factorial function in R [my searches have been fruitless], or do I need to use gamma() function? ********************************************************************* Dr Peter Caley CSIRO Entomology GPO Box 1700, Canberra, ACT 2601 Email: peter.caley@csiro.au Ph: +61 (0)2 6246 4076 Fax: +61 (0)2 6246 4000 *********************************************************************
2003 Jun 13
1
Problem with Rcmd SHLIB
Dear R-helpers, i am trying to make a shared library from a Fortran subroutine, and i therefore used (after reading the documentation): Rcmd SHLIB forfile.f #(R1.70, Win2000) And the error is: " 'perl' is not recognized as an internal or external command,operable program or batch file." So i went ahead and tried to install Perl (from the suggested website in
2003 Jun 25
2
Pairs with different colours
Does anybody know how to make pairs graphics with dots of different colours depending on the value of a categorical variable ? Thanks, Arnaud ************************* Arnaud DOWKIW Department of Primary Industries J. Bjelke-Petersen Research Station KINGAROY, QLD 4610 Australia T : + 61 7 41 600 700 T : + 61 7 41 600 728 (direct) F : + 61 7 41 600 760 **************************
2003 Jul 02
2
user mannual
Dear Sir I have successfuly downloaded R package. Kindly let me know where i will get _/*user mannual*/_ for the same. awaiting a prompt reply with regards Pankaj @#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@#@ Pankaj Kumar Research Scholar Climatology & Hydrometeorology Divison Indian Institute Of Tropical Meteorology Homi Bhabha Road, Pune-411008 India Phone No. +91-20-5893600 Ext. 361
2003 Jul 08
2
exporting help
i need step by step directions on how to export a text file into the r file
2003 Jul 10
1
Simple linear regression
Dear all, My friend wants to fit a model of the type z = a x^n y^m + b, where x, y, z are data and a, b, n, m are unknown parameters. How can he transform this to fit in the linear regression framework? Any help would be appreciated. With regards, Gorazd Brumen -- Mail 1: gbrumen at student.ethz.ch Mail 2: gorazd.brumen at fmf.uni-lj.si Tel.: +41 (0)1 63 34906 Homepage:
2003 Jul 17
1
Rpart question - labeling nodes with something not in x$frame
I have a tree created with tr.hh.logcas <- rpart(log(YCASSX + 1)~AGE+DRUGUSEY+SEX+OBSXNUM +WINDLE, xval = 10) I would like to label the nodes with YCASSX rather than log(YCASSX + 1). But the help file for text in library rpart says that you can only use labels that are part of x$frame, which YCASSX is not. Is there a way to do what I want? Thanks in advance Peter Peter L. Flom, PhD
2003 Aug 01
1
(no subject)
> Hello, > My question is very simple. I have installed R from the internet and I want to use it to analyse my data set. It seems that R is not able to make the > connection when I use the read.table () function since it probably doesn't know where is the required file. Where am I suppose to save my file ? > Thanks > > Marc-Antoine Vaillant > Actuarial Analyst > Les
2003 Aug 07
2
function "lme"
Thanks to everyone who replied to my first problem. Here is the second one: Is the function "lme" (Mixed Model) also in a foreign library(shouldnt, as this is a basic statistical function)? I am trying to use lme in R and it replies that it couldnt find the function lme...weird... Thanks for replying!
2003 Aug 11
2
default directory RGui for windows NT
Hello, Can anyone tell me how to change the default directory in RGui for windows NT? Thanx, Roy
2003 Aug 12
1
Princomp function in R
Hi, I want to use Princomp function in R, but com up an error as " Error: couldn't find function "princomp" ", can you help me resolve this problem? Thanks, Jixin Dai, Ph.D
2003 Sep 04
1
ANOVA/MANOVA
Hello, I have to do an ANOVA (or is it a MANOVA) with 6 Variables (called HsL, LsH, Hp, Lp, G, and) and 6 categories (OQ, Go, RC, AV, CC, Sk), the examples in the literature couldn't help me so far. Who can help me?? Thank Britta
2003 Sep 11
2
Sorting
What is the best way to sort a dataframe? For example, how would I go about sorting a dataframe (with variables V1-V5) by ascending V1, V2 and descending V3 while retaining V4 and V5. Also, is there a relatively easy way by which to re-order my columns? Thank you for your time. Marc Marc Zodet [[alternative HTML version deleted]]