Hello,I am new to amelia and have been unable to find any info on the error I am receiving:> tscsPlot(bd.am.poly1, cs = "Fraud", var = "n")Error: Unsupported use of matrix or array for column indexingThe data is 3 variables: a date var used for the ts, a grouping var used for cs, and a count var, "n", which is my outcome variable that requries imputation.My initial amelia call looks like this (note that it wasn't clear if amelia supported datetime objects, so I converted to seconds since epoch - if it can handle datetime objects and this conversion is unnecessary, it would be great to know that!):>bd.am.poly1 <- amelia(bdsum, idvars = "date", ts = "datenum", cs = "call.type", polytime = 1, intercs = T)Here's a sample of the data:date call.type n datenum<date> <fctr> <dbl> <dbl>1 2016-08-17 Criminal Mis C NA 170302 2014-02-10 TRAFFB-Traffic Complaint NA 161113 2015-11-03 WEAPO1B-Weapon I/P 1 167424 2016-09-03 Disturbance 0 170475 2015-02-24 Assault 0 164906 2014-08-06 Unknown Problem 0 162887 2014-08-28 INJACC3B-Injury Accident C 0 163108 2015-06-11 Recovered Stolen Prop 0 165979 2016-02-15 Lost Property 0 1684610 2015-05-09 Welfare Check 2 16564Thanks much,Jon---
Jonathan Zadra, PhD
Data Scientist
Sorenson Impact Center
David Eccles School of Business, University of Utah
--
Amelia mailing list served by HUIT
[Un]Subscribe/View Archive: http://lists.gking.harvard.edu/?info=amelia
More info about Amelia: http://gking.harvard.edu/amelia
Amelia mailing list
Amelia@lists.gking.harvard.edu
To unsubscribe from this list or get other information:
https://lists.gking.harvard.edu/mailman/listinfo/amelia