Displaying 1 result from an estimated 1 matches for "stfips".
Did you mean:
steps
2006 Jun 20
1
Help with dimnames()
...a data frame called "ests" and am
having trouble!
First, I check to see if "ests" is a data.frame...
> is.data.frame( ests )
[1] TRUE
... and it is a data frame!
Next, I try to assign dimnames to that data frame....
> dimnames( ests )[[ 1 ]] <- as.character( ests$stfips )
Error in "row.names<-.data.frame"(`*tmp*`, value = c("1001", "1003",
"1005", :
missing 'row.names' are not allowed
... and I have trouble!!
Finally, I check to see if ests$stfips has the same length as the number
of rows in "ests...