search for: person2

Displaying 20 results from an estimated 25 matches for "person2".

Did you mean: person
2017 Nov 15
2
R6 object that is a list of referenced object
...n = NA, name = NA, age = NA) { self$idPerson <- idPerson self$name <- name self$age <- age } ) # public ) # Person I have created: Person1 <- Person$new(1,'a',4) Person2 <- Person$new(2,'b',5) and I also have a class Community: Community <- R6Class("Community", public = list( e = NULL, initialize = function() self$e <- Person$new() ) ) I want to create Community1...
2020 Oct 05
2
S4 - inheritance changed by order of setClassUnion and setAs()
Dear colleagues, there is a behaviour with S4 (virtual) classes that I find very hard to understand: Depending on the position of setAs(), the tree of inheritance changes. This is my baseline example that defines the classes "grandma", "mother", "daughter" and a virtual class "mr_x". For a new instance if "daughter", "mr_x" is betweeen
2015 Aug 10
2
webrtc no audio
hello, i'm facing strange problem asterisk13.5 + chan_sip wss transport + SIPML5 1.5.230 person1 to person3 are behind different NATs audio devices double checked call from person1(chrome) to person2(chrome) works call from person1(chrome) to person 3(chrome) - no audio on both side (RTP flowing only in one direction) call from person2(chrome) to person 3(chrome) - no audio on both side (RTP flowing only in one direction) BUT call from person2(chrome) to person 3(Jitsi sip client) - works...
2017 Nov 16
0
R6 object that is a list of referenced object
...self$idPerson <- idPerson > self$name <- name > self$age <- age > } > ) # public > > ) # Person > > I have created: > Person1 <- Person$new(1,'a',4) > Person2 <- Person$new(2,'b',5) > > and I also have a class Community: > > Community <- R6Class("Community", > public = list( > e = NULL, > initialize = function() self$e <- Person$new() Initializing a Commu...
2020 Oct 06
0
S4 - inheritance changed by order of setClassUnion and setAs()
...rder inherently matters. In fact order also matters for multiple inheritence via the normal contains mechanism. In practice, how could it not matter? Multiple inheritence is very powerful but dangerous. > setClass("person1", slots = c(f = "character")) > setClass("person2", slots = c(g = "character")) > setClass("people1",* contains = c("person1", "person2")*) > getClass("people1") Class "people1" [in ".GlobalEnv"] Slots: Name: f g Class: character character...
2003 Dec 19
2
GotoIfTime help
...GotoIfTime. What I'm trying to do is ring on the extension 1 if time is between 8:00AM and 2:00PM and on extension 2 if is between 2:01PM 11:00PM. exten => 111,1,GotoIfTime(8:00-14:00|*|*|1-12?333) exten => 111,2,Dial(${Person1}) exten => 111,3,Dial(Hangup) exten => 333,1,Dial(${Person2}) exten => 333,2,Dial(Hangup) When I ring on the extension 111, the call is not being forward to the extension 333.. And the extensions are all in the same context. regards Oz
2004 Jun 06
4
Request help writing a function
I have been wrestling with this function for quite a while, and am not making headway. 1) I want to apply a function to the following columns of a dataframe: myfunction. <- apply(ph5028[,c(83:107)],2,function(x) ... 2) Within each of the above columns there is a single numeric code, 1, 2 or 3 or an NA. 3) My goal is to determine the percent of time each person used a 2 code. So if a person
2006 Aug 12
1
has and belongs to many different?
...he things he has are stored in a table that is something like this person_id, thing_table_name, thing_id For example, it may map to person1, books, 23 #Person 1 owns book 23 person1, books, 25 #Person 1 owns book 25 person1, chair, 23 #Person 1 owns chair 23 person1, books, 30 person2, books, 19 person2, books, 31 #Person 2 owns book 31 ... and so on.. 3. A number of tables for different ''things''... books - table for books chairs - table for chairs and so on... Ideally I want to have something which means "person has_and_belongs_to_many_different t...
2004 Jun 08
2
Recoding a multiple response question into a series of 1, 0 variables
...selected under Qxsecond, etc. For the first Person, the NAs mean that that person only selected two of the five items. Hypothetical data is shown Qxfirst Qxsecond Qxthird Qxfourth Qxfifth Person1 4 2 NA NA NA Person2 1 3 4 5 NA Person3 3 2 NA NA NA 3) How I want the data to be be coded: I want each field to be one of the five items and I want each field to contain a 1 or 0 code--1 if they mentio...
2006 Jul 28
2
has_many :through with multiple paths
...an intermediate record. teams_people id team_id people_id role I would then have (I think) to have methods in the Team model that will find each person in the @team.people array based on the role. I the end I want a view to have something like: Team Name Manager: Person1, Person 4 Programmer: Person2, Person 3 Designer: Person2 Lackey: Person3 With just a single find that :includes all the relevant people. I apologise if this isn''t very clear. The joys of not being a Ruby programmer but a Ruby dabbler ;) RJ -- Posted via http://www.ruby-forum.com/.
2017 Nov 15
0
R6 object that is a list of referenced object
...A, name = NA, age = NA) { self$idPerson <- idPerson self$name <- name self$age <- age } ) # public ) # Person I have created: Person1 <- Particle$new(1,'a',4) Person2 <- Particle$new(2,'b',5) and I also have a class Community: Community <- R6Class("Community", public = list( e = NULL, initialize = function() self$e <- Person$new() ) ) I want to create Commu...
2017 Oct 18
1
conformal predictions
Dear community, I want to use conformal prediction to measure how good are my svm-regression predictions (having used library e1071). I have gone through the conformal package documentation. But I'm pretty newer and need some more and detailed examples. Can anybody help me? Thanks in advance, [[alternative HTML version deleted]]
2015 Aug 11
2
webrtc no audio
...k Cervenka wrote: > >> hello, >> >> i'm facing strange problem >> >> asterisk13.5 + chan_sip wss transport + SIPML5 1.5.230 >> person1 to person3 are behind different NATs >> audio devices double checked >> >> call from person1(chrome) to person2(chrome) works >> call from person1(chrome) to person 3(chrome) - no audio on both side >> (RTP flowing only in one direction) >> call from person2(chrome) to person 3(chrome) - no audio on both side >> (RTP flowing only in one direction) >> BUT >> call from perso...
2006 Aug 15
2
How to access attribute in a self-referential many-to-many relationship
...3 | 1 | NULL | and the people table is mysql> select * from people; +-------------+ | id | name | +----+--------+ | 1 | ren | | 2 | amy | +----+--------+ I have a model for person.rb, but none for friends_people. I can add friends like this: person1.friends << person2 Now the question is: how do I access the boolean "confirmed" from my model person.rb? Is this possible, and what is the best way? Thanks in advance, Renaud
2006 Aug 09
0
association dows not grt foreign key
...mail --------------------------------- end class Address < ActiveRecord::Base belongs_to :person end ---------------------------------- person = Person.new person.email = "bruce@tate.com" address = Address.new address.city = "Austin" person.address = address person.save person2 = Person.find_by_email "bruce@tate.com" person2.address.city => "Austin" -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060809/e9a454fb/attachment.html
2006 Aug 09
0
Re: association does not get foreign key
...ActiveRecord::Base > belongs_to :person > end > > ---------------------------------- > > person = Person.new > > person.email = "bruce@tate.com" > address = Address.new > address.city = "Austin" > person.address = address > person.save > person2 = Person.find_by_email "bruce@tate.com" > person2.address.city > => "Austin" > > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails/attachments/20060809/88e6382a/attachment.html
2007 Dec 27
2
Help with lm and multiple linear regression? (Plain Text version)
...margin 1 66.67 2 -58.33 3 100.00 4 -33.33 5 200.00 6 -83.33 7 -100.00 8 0.00 9 100.00 10 -18.18 11 -55.36 12 -125.00 13 -33.33 14 -200.00 15 0.00 16 -100.00 17 75.00 18 0.00 19 -200.00 20 35.71 21 100.00 22 50.00 23 -86.67 24 165.00 > personcoeff Person1 Person2 1 -1 1 2 -1 1 3 -1 1 4 -1 1 5 -1 1 6 -1 1 7 0 0 8 0 0 9 0 1 10 -1 1 11 -1 1 12 -1 1 13 -1 1 14 -1 0 15 0 0 16 0...
2008 Apr 18
2
has_one self reference
...lace the belongs_to line that goes with it and what arguments do I need to supply? And what kind of foreign keys do I need to specify in my migration? I would like for the following to work: bossman = Person.new :name => "Mr. Bossman" person1 = Person.new :name => "John" person2 = Person.new :name => "Jane" person1.superior = bossman person2.superior = bossman person1.superior.name # => "Mr. Bossman" I wonder what kind of columns I need for this in my Persons table manually specified and which columns are virtual. I experimented a bit already a...
2007 Dec 27
0
Help with lm and multiple linear regression?
...margin 1 66.67 2 -58.33 3 100.00 4 -33.33 5 200.00 6 -83.33 7 -100.00 8 0.00 9 100.00 10 -18.18 11 -55.36 12 -125.00 13 -33.33 14 -200.00 15 0.00 16 -100.00 17 75.00 18 0.00 19 -200.00 20 35.71 21 100.00 22 50.00 23 -86.67 24 165.00 > personcoeff Person1 Person2 1 -1 1 2 -1 1 3 -1 1 4 -1 1 5 -1 1 6 -1 1 7 0 0 8 0 0 9 0 1 10 -1 1 11 -1 1 12 -1 1 13 -1 1 14 -1 0 15 0 0 16 0...
2007 Feb 23
0
rsync: file too large (27) errors.
...sts and hasn't had a problem with files over 4g on other systems. It only has a problem on this one, Datahost. The error received is: rsync: send_files failed to open "/local/notesdata/mail/person1.nsf": File too large (27) rsync: send_files failed to open "/local/notesdata/mail/person2.nsf": File too large (27) rsync error: some files could not be transferred (code 23) at main.c(1166) Both of these files exceed 2g. Any insight or help on this would be greatly appreciated. ~ Tom