|
我有一组GA数据要用LHS分析,它有9组不同的数据,每1组运行5次,每一次运行都有一个CSV类型的表格储存运行结果。我想要分析的是表格里面第四列的数据,我的程序是:
> library(spartan)
> library(lhs)
> FILEPATH<-"G:\\York\\test\\LHC"
> PARAMETERS<-c("CrossoverRate","MutationRate")
> MEASURES<-c("Fitness")
> MEASURE_SCALE<-NULL
> RESULTFILEFORMAT<-"csv"
> RESULTSFILENAME<-"result"
> ALTERNATIVEFILENAME<-NULL
> OUTPUTCOLSTART<-4
> OUTPUTCOLEND<-4
> MEDIANSFILEFORMAT<-"csv"
> MEDIANSFILENAME<-"EgSet_Medians"
> TIMEPOINTS<-NULL; TIMEPOINTSCALE<-NULL
> NUMSAMPLES <-9
> NUMRUNSPERSAMPLE<-5
> LHC_PARAM_CSV_LOCATION<-"D:\\R\\SpartanV_Windows\\Parameter_for_Runs_GA.csv"
> LHCSUMMARYFILENAME<-"EgSet_LHCSummary"
> CORCOEFFSOUTPUTFILE<-"EgSet_corCoeffs"
> lhc_process_sample_run_subsets(FILEPATH,NUMSAMPLES,NUMRUNSPERSAMPLE,MEASURES,
+ RESULTFILEFORMAT,RESULTSFILENAME,ALTERNATIVEFILENAME,OUTPUTCOLSTART,
+ OUTPUTCOLEND,MEDIANSFILEFORMAT,MEDIANSFILENAME)
[1] "Generating Simulation Median Responses (lhc_process_sample_run_subsets)"
[1] "Generating Median Simulation Responses for Parameter Set 1"
错误于make.names(col.names, unique = TRUE) : 多字节字符串1有错
此外: 警告信息:
In read.table(file = file, header = header, sep = sep, quote = quote, :
incomplete final line found by readTableHeader on 'G:\York\test\LHC/1/1/result.csv'
请问我出现的错误在哪里?是什么意思呀?
|
|