search for: allvari

Displaying 2 results from an estimated 2 matches for "allvari".

Did you mean: allvars
2001 May 06
2
how to use by() and hist()
...031ku10.10msmeanc 77199422 21 ku n031ku11.10msmeanc 55682249 22 ku n031ku12.10msmeanc 52003965 23 ti n031ti01.10msmeanc 54511040 24 ti n031ti02.10msmeanc 58940197 25 ti n031ti03.10msmeanc 46918442 I'd like to plot histograms by token type as listed in column 1 above. I tried by(allvariances[,3], allvariances[,1], hist) this worked well, but provided histograms with different numbers of bins for each token type. I also tried by(allvariances[,3], allvariances[,1], hist(breaks=4)) to specify the number of bins. Hist then complained that I had not specified a value for the data to...
2001 May 07
1
unexpected breaks in hist
...he number of bins. Please correct me if I'm wrong. I'm plotting measures from subsets of a larger data set. Depending on the data subset the number of bins varies despite having set breaks to 5 in all cases. See commands below. (BTW I'm using R1.2.2 on SunSolaris) Thanks, David hist(allvariances[allvariances$type %in% "ku",3], breaks=5, main="ku variance histogram") par(new=FALSE) hist(allvariances[allvariances$type %in% "ki",3], breaks=5, main="ki variance histogram") par(new=FALSE) hist(allvariances[allvariances$type %in% &quot...