Displaying 1 result from an estimated 1 matches for "myhist2".
Did you mean:
myhist
2004 Feb 23
2
deleting elements from an array/object
Hello,
I created a simple histogram with:
myHist<-hist(myData)
the object myHist now has two arrays (among the others):
myHist$mids
myHist$counts
Since myHist$counts contains some "0", and I want to calculate the linear fit among myHist$mids and log(myHist$counts), I want remove the elements of both arrays where these "0" occurs.
which are the possible solutions to