Displaying 2 results from an estimated 2 matches for "personaldetail".
2008 May 05
7
extract and assign xml values to variable
hi,
how can we assign an xml element value to some variable in
controller? e.g. if we have
<order>
<id>1</id>
<name>abc</name>
<location>xyz</location>
</order>
and if we want value of name i.e. ''abc'' to be assigned in a variable
declared in a controller, say order_controller, like this- temp = "value
of xml element
2012 Feb 17
1
R's list data structure
...ly option is to use the list data structure.
If I were to hold recurring (Name, Salary, DateOfBirth) (i.e. character, integer and date values) in a list object, what would be the 'optimal' arrangement?
Would that be as the components of weekProfile above? Or will this be better.
Either:
personalDetail<- list(rbind(c(Name,Salary,DateOfBirth),c(Name,Salary,DateOfBirth)));
Thanks for sharing your insight.
[[alternative HTML version deleted]]