R/CreateActorNetwork.default.R

Defines functions CreateActorNetwork.default

CreateActorNetwork.default <-
function(x,writeToFile)
  {
    if (missing(writeToFile)) {
      writeToFile <- FALSE # default = not write to file
    }
      cat("Error. Cannot create actor network using this type of data (see help file for data types and sources).\n")
      if (inherits(x,"temporal")) {
        cat("(The data you supplied is temporal. Please use the `CreateDynamicNetwork` function for temporal data.)\n")
      }
  }

Try the SocialMediaLab package in your browser

Any scripts or data that you put into this service are public.

SocialMediaLab documentation built on May 29, 2017, 9:41 p.m.