Skip to content

Instantly share code, notes, and snippets.

@blackfist
Last active August 29, 2015 14:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save blackfist/5dd60ed2b2c289c5c91b to your computer and use it in GitHub Desktop.
Save blackfist/5dd60ed2b2c289c5c91b to your computer and use it in GitHub Desktop.
> source('~/.active-rstudio-document')
[1] Dimensions of the verisr object
[1] 3544 1841
[1] Number of NAs in the victim.industry field:
[1] 0
[1] Number of NAs in the victim.industry2 field:
[1] 3432
library(verisr)
load("~/Documents/vzdata/verisr_object/vcdb.dat")
print("Dimensions of the verisr object", quote=F)
print(dim(vcdb))
print("Number of NAs in the victim.industry field:", quote=F)
print(sum(is.na(vcdb$victim.industry)))
print("Number of NAs in the victim.industry2 field:", quote=F)
print(sum(is.na(vcdb$victim.industry2)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment