Constucts a new analysis object

new_analysis(x, class)

Arguments

x

A list.

class

The class of the new object.