public UAReturn UAOneSample(ServerDataSource dataSource, List<string> vars, double mu, double confidenceLevel, int missing)
{
UAReturn result = new UAReturn();
result.CommandString = string.Format(PrototypeOneSample, toRCollection(vars), mu, confidenceLevel, dataSource.FileName, missing);
result.Data = EvaluateToObjectXml(result.CommandString);
result.Success = true;
return result;
}
private string toRCollection(List<string> list)