示例#1
0
 def __init__(self, text, vars, choices, label, exclude_from_analysis,
              matrix=None):
     self.text = text
     self.label = label
     self.variables = vars
     self.matrix = matrix
     self.scale = QuestionScale.create_scale('nominal', choices, 
                                             exclude_from_analysis)
示例#2
0
 def __init__(self, text, var, choices, label, values, 
              exclude_from_analysis, matrix=None, scale_type='likert'):
     self.text = text
     self.label = label
     self.variable = var
     self.matrix = matrix
     self.scale = QuestionScale.create_scale(scale_type, choices, 
                     exclude_from_analysis, values)
示例#3
0
 def __init__(self, text, vars, choices, label, exclude_from_analysis,
              matrix=None):
     self.text = text
     self.label = label
     self.variables = vars
     self.matrix = matrix
     self.scale = QuestionScale.create_scale('nominal', choices, 
                                             exclude_from_analysis)
示例#4
0
 def __init__(self, text, var, choices, label, values, 
              exclude_from_analysis, 
              matrix=None, 
              scale_type='likert'):
     self.text = text
     self.label = label
     self.variable = var
     self.matrix = matrix
     self.scale = QuestionScale.create_scale(scale_type, choices, 
                     exclude_from_analysis, values)
示例#5
0
 def change_scale(self, newtype, values=None, midpoint=None):
     self.scale = QuestionScale.change_scale(self.scale, newtype)
示例#6
0
 def change_scale(self, newtype, values = None, midpoint = None):
     self.scale = QuestionScale.change_scale(self.scale, newtype)