goldfish icon indicating copy to clipboard operation
goldfish copied to clipboard

Add intercept-only DyNAM-rate and REM model

Open auzaheta opened this issue 3 years ago • 0 comments

Describe the bug

An only-intercept rate model produces an error.

To Reproduce

library(goldfish)
data("Social_Evolution")
callNetwork <- defineNetwork(nodes = actors, directed = TRUE)
callNetwork <- linkEvents(x = callNetwork, changeEvent = calls,
                          nodes = actors)
callsDependent <- defineDependentEvents(events = calls, nodes = actors,
                                        defaultNetwork = callNetwork)
# A individual activity rates model
mod02 <- estimate(callsDependent ~ 1,
                  model = "DyNAM", subModel = "rate")

> Parsing formula.
>   Error in strsplit(.split, split = "\\s*,\\s*") : non-character argument > 

Desktop (please complete the following information):

  • OS: Windows 10 Education
  • R Version 4.0.3
  • Goldfish Version 1.5.0

auzaheta avatar Aug 27 '21 09:08 auzaheta