Skip to content

Error in seq.default(range[1], range[2], length.out = nframes) #307

@themichjam

Description

@themichjam

Been trying out package with own panel dataset. Keep running into this error

ntp <- ggplot(shes13141516i, aes(IllCode1, Heconac12, size = agecat, colour = Sex)) +
  geom_point(alpha = 0.7) +
  scale_colour_manual(values = country_colors) +
  scale_size(range = c(2, 12)) +
  scale_x_log10() +
  facet_wrap(~HBCode) +
  theme(legend.position = 'none') +
  labs(title = 'SYear: {frame_time}', x = 'IllCode1', y = 'Heconac12') +
  transition_time(year) +
  ease_aes('linear')

animate(p, 100, 10)

Produces:

Error in seq.default(range[1], range[2], length.out = nframes) : 
  'from' must be a finite number
In addition: Warning messages:
1: In min(x) : no non-missing arguments to min; returning Inf
2: In max(x) : no non-missing arguments to max; returning -Inf

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions