search for: venkatesan

Displaying 7 results from an estimated 7 matches for "venkatesan".

2009 Oct 02
6
split-apply question
Hi, I have a data frame that looks like this: >x x1 x2 x3 A 1 1.5 B 2 0.9 B 3 2.7 C 7 1.8 D 7 1.3 I want to "group" by the x1 column and in the case of multiple x$x1 values (e.g., "B")d, return rows that have the smallest values of x2. In the case of rows with only one value of x1 (e.g., "A"), return the row as is. How can I do that?
2009 Aug 12
3
Obtaining the value of x at a given value of y in a smooth.spline object
I have some data fit to a smooth.spline object as follows: (x=vector of data for the predictor variable, y=vector of data for the response variable) fit <- smooth.spline(x,y) Now, given a spline fit point y_new, I want to be able to find out what value of x_new yielded this fit value. How to do so? (This problem is the inverse of the predict.smooth.spline function, which takes x_new as input
2007 Sep 04
4
Errors in executing first RoR app - reg.
...`require''", "server:3"] [2007-09-04 18:30:29] ERROR `/appone/'' not found. 127.0.0.1 - - [04/Sep/2007:18:30:29 India Standard Time] "GET /appone/ HTTP/1.1" 404 277 - -> /appone/ Any help will be hugely appreciated. Thanks in advance!!! regards, dinesh Venkatesan -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gman...
2010 Mar 20
2
Converting a character string into a data frame name and performing assignments to that data frame
Hi, I would like to do the following operations: variable.df is a character string that contains the name of the data frame that I want to do the following operations on: variable.df <- data.frame(); # I can do the above command using assign( variable.df, data.frame() ) How can I perform the assignment statements below ? colnames(variable.df) = colnames(some.other.df) variable.df =
2009 Jun 28
1
applying a function to a pair of components for each row of a list
Hi, I have a set of (x,y) coordinate pairs that are stored as a list > my_list $x [1] 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 $y [1] -8.0866819 -7.3876052 -6.6849311 -5.9837693 -5.2967432 -4.6525466 [7] -4.0999453 -3.6556190 -3.3076102 -3.0360780 -2.8220465 -2.6532085 [13] -2.5192816 -2.4086241 -2.3072977 -2.1969611 -2.0574250 -1.8737694 [19] -1.6357864
2009 Oct 22
1
tapply with multiple arguments that are not part of the same data frame
Hi all, I would like to invoke a function that takes multiple arguments (some of which are specified columns in the data frame, and others that are independent of the data frame) on split parts of a data frame, how do I do this? For example, let's say I have a data frame >fitness_data name height weight country rob 5.8 200 usa nancy 5.5 140 germany jen
2010 Aug 08
3
How to track a call result originated from originate AMI command
Hi All, I want to track a call that is originated using originate AMI command through AstManProxy server. I m using AstManProxy server and I developed an AstManProxy client. By using my AstManClient program I can able to login AstManProxy server. Now I can able to issue/send originate command to generate a call but I m very confuse that I cannot able to track my call. The AMI events were