Displaying 2 results from an estimated 2 matches for "placeid".
Did you mean:
placed
2008 Nov 11
0
Producing a matrix of values
...uot; a tracing table that has the
source place and destination place. The table "details" is a dataframe
of all source and destination properties.
src=rep(c(1:3),each=5)
des=c(16:30)
rsk=rep(3,5)
tra=data.frame(src,des,rsk)
ips=data.frame(c(1:40),c(41:80),c(81:120))
colnames(ips)=c("placeid","x","y")
place=c(tra$src,tra$des)
place=data.frame(unique(place))
colnames(place)="placeid"
place
details=merge(ips, place, by.x = "placeid",
by.y = "placeid")[1:3]
details
# 2. The goal is to produce a matrix with source properties as rows...
2010 Apr 27
4
Selecting rows based on contents of string
Hi there,
I have a data frame with a column named "Flags", whose contents are strings
containing any of the following characters, multiple characters allowed:
A,B,C,D,E,F,G.
Here is the head:
GeocodeID PlaceID CountyCode CBSACode StateProvCode PropertyTypeGroupID
Flags
1 0 0 0 0
AK 1 ABC
2 0 0 0 0
AK 2 AC
3 0 0...