Skip to content

handling of dimension-attribute in density (PR#406)

2 messages · Brian Ripley, Peter Dalgaard

#
Both. density needs an x <- as.vector(x), and I think sd needs 
to return the  standard deviation*s* if given a matrix or data frame.
Its current behaviour is wrong.
#
Prof Brian Ripley <ripley@stats.ox.ac.uk> writes:
!!
You mean column-wise?