Displaying 11 results from an estimated 11 matches for "personid".
Did you mean:
person_id
2012 Apr 03
2
Grouping and/or splitting
I have a dataframe imported from csv file below:
Houseid,Personid,Tripid,taz
1,1,1,4
1,1,2,7
2,1,1,96
2,1,2,4
2,1,3,2
2,2,1,58
There are three groups identified based on the combination of first and
second columns. How do I split this data frame?
I tried
aa <- split(inpfil, inpfil[,1:2])
but it has problems.
Output desired is
aa[1]
Houseid,Personid,Tripid...
2006 Feb 21
3
HABTM :insert_sql help
...local
variable or method `record'' for Project:Class''
has_and_belongs_to_many :people,
:class => ''Person'',
:join_table => ''ProjectTeamRole'',
:foreign_key => ''ProjectID'',
:association_foreign_key => ''PersonID'',
:insert_sql => "INSERT INTO
ProjectTeamRole(ProjectID,PersonID,TeamRoleID) VALUES(#{id},
#{record.PersonID},1)"
I can see that #id refers to the current Project object, but how do I
refer to the PersonID that will be inserted if not as above??
thanks!
rich
2013 Mar 04
3
urgent: question concerning data manipulation
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20130304/62581e97/attachment.pl>
2009 Dec 22
3
vector indexing problem in multilevel data: assigning a specific value to all group members
...er to all members of the group. For example, I have a group leader
(identified by a binary vector) and some attribute for all group
members. I want to create a new vector that holds the attribute of the
group leader for each individual in the data frame (code at the bottom
of the post):
personId groupId groupLeader someAttribute leaderAttribute
1 1 17 0 0.145833333 NA
2 2 17 1 0.218750000 NA
3 3 17 0 0.089743590 NA
4 4 22 0 0.003875969 NA
5...
2006 Feb 23
6
prototype ajax + xml response
Hi,
I am looking for a solution to use ajax.request object.
Return response text will be in xml format and I like to know how to
parse that xml information, so that I can put those info into the "span"
or "div" tags of my html page. Is there any easy way to parse that xml
info using prototype library?
Thanks,
kevin.
--
Posted via http://www.ruby-forum.com/.
2007 Dec 24
3
Affy Package
...jo, Ph.D.
Computational Biologist & Geneticist
U.S. Department of Agriculture, ARS
National Center for Cool & Cold Water Aquaculture
11861 Leetown Road
Kearneysville, WV 25430
Voice: (304) 724-8340 Ext. 2141
Email: roger.vallejo@ars.usda.gov
http://www.ars.usda.gov/pandp/people/people.htm?personid=37662
[[alternative HTML version deleted]]
2009 Jun 30
1
beadarray package
...jo, Ph.D.
Computational Biologist & Geneticist
U.S. Department of Agriculture, ARS
National Center for Cool & Cold Water Aquaculture
11861 Leetown Road
Kearneysville, WV 25430
Voice: (304) 724-8340 Ext. 2141
Email: roger.vallejo@ars.usda.gov
http://www.ars.usda.gov/pandp/people/people.htm?personid=37662
[[alternative HTML version deleted]]
2007 Dec 26
1
nlme package
...jo, Ph.D.
Computational Biologist & Geneticist
U.S. Department of Agriculture, ARS
National Center for Cool & Cold Water Aquaculture
11861 Leetown Road
Kearneysville, WV 25430
Voice: (304) 724-8340 Ext. 2141
Email: roger.vallejo@ars.usda.gov
http://www.ars.usda.gov/pandp/people/people.htm?personid=37662
[[alternative HTML version deleted]]
2008 Jun 10
2
How to join data.frames and vectors of different length, in an inteligent way?
...), FUN='length')
Cy
vecAA <- dafSamp[,2] * Ay[which(Ay[,1]==dafSamp[,1]),2] / Ag
University of Aarhus <http://www.au.dk/en> Danmarks Miljøundersøgelser <http://www.dmu.dk/>
Hvidberg, Martin <http://www2.dmu.dk/1_Om_DMU/2_medarbejdere/cv/employee2_NH.asp?PersonID=MHV>
Senior Geographer (Climatology, Spatial modeling) <http://www.geogr.ku.dk/>
N 55°41m43.48s E 12°06m05.13s ETRS89
National Environmental Research Inst. <http://www.dmu.dk/International/>
P.O. Box 358
Frederiksborgvej 399
DK-4000 Roskilde
Martin.Hvidberg@dmu.dk
www.dmu.d...
2012 Feb 07
1
fixed effects linear model in R
Dear R-helpers,
First of all, sorry for those who have (eventually) already received that request.
The mail has been bumped several times, so I am not sure the list has received it... and I need help (if you have time)! ;-)
I have a very simple question and I really hope that someone could help me
I would like to estimate a simple fixed effect regression model with clustered standard errors by
2005 May 13
17
modeling...
I''ve tried tackling this many ways on my own and can''t find a good solution:
Breaking it down to something simplier...
Venue
has one address
Person
has one address
Address
belongs to state
Assuming I don''t want to do tables for venue_addresses and person_addresses.
What is the best way to model this using rails... big thing here is i
want to be able
to reuse a