the old-style version of function unclass; it sets oldClass to NULL, rather than class.

oldUnclass(x)

Arguments

x

any object.

Value

unclassed version of input object.

See also

Examples

oldUnclass(matrix(1:10))
#>       [,1]
#>  [1,]    1
#>  [2,]    2
#>  [3,]    3
#>  [4,]    4
#>  [5,]    5
#>  [6,]    6
#>  [7,]    7
#>  [8,]    8
#>  [9,]    9
#> [10,]   10