[R] OAT Spartan package error
Citlalli M.J.
tallylune at gmail.com
Sun May 3 15:01:33 CEST 2015
Hi all,
I am trying to analyse data using the OAT method in the Spartan package.
However I am getting this error when trying to generate the A-Test Scores:
"Analysing Netlogo Robustness Analysis File, and Generating A-Test Scores"
[1] "No results in the CSV file for simulation at specified baseline
values. No analysis performed"
I checked the csv file and there are results for the baseline values I set.
I also tried with the data and code from the spartan tutorial (available
here:
https://www.york.ac.uk/computational-immunology/software/spartan/#tab-5)
thinking there was something wrong with my data or code, however I get the
same error all the same. This is strange since I was able to analyse data
using this code a few months back.
Any ideas would be greatly appreciated.
The code:
FILEPATH<- "C:\\Users\\Tali\\R\\Spartan\\OAT"
NETLOGO_BEHAVIOURSPACEFILE<-"patchtrial.csv"
PARAMETERS<-c("logging1","logging2","logging3")
BASELINE<-c(50,50,50)
PMAX<-c(100,100,100)
PMIN<-c(10,10,10)
PINC<-c(10,10,10)
TIMESTEP<-36500
MEASURES<-c("count monkeys")
CSV_FILE_NAME<-"ParamValResponsesLoggingTest2"
ATESTRESULTSFILENAME<-"ATestsLogging2.csv"
ATESTSIGLEVEL<-0.05
MEASURE_SCALE<-c("Number of monkeys","Number of monkeys")
TIMEPOINTS<-NULL; TIMEPOINTSCALE<-NULL
PARAMETERS<-table_header_check(PARAMETERS)
MEASURES<-table_header_check(MEASURES)
oat_process_netlogo_result(FILEPATH,NETLOGO_BEHAVIOURSPACEFILE,
PARAMETERS,BASELINE,PMIN,PMAX,PINC,MEASURES,
CSV_FILE_NAME, ATESTRESULTSFILENAME,TIMESTEP)
oat_graphATestsForSampleSize(FILEPATH,PARAMETERS,MEASURES,
ATESTSIGLEVEL,ATESTRESULTSFILENAME,BASELINE,
PMIN=PMIN,PMAX=PMAX,PINC=PINC,PARAMVALS=NULL)
oat_plotResultDistribution(FILEPATH,PARAMETERS,MEASURES,
MEASURE_SCALE,CSV_FILE_NAME,BASELINE,PMIN=PMIN,PMAX=PMAX,
PINC=PINC,PARAMVALS=NULL,TIMEPOINTS,TIMEPOINTSCALE)
[[alternative HTML version deleted]]
More information about the R-help
mailing list