Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[S\]\s+frequency\s+of\s+data\s+points\s*$/: 3 ]

Total 3 documents matching your query.

1. [S] frequency of data points (score: 1)
Author: Kin Cheung <kin_cheung@alkermes.com>
Date: Mon, 26 Apr 1999 10:11:50 -0400
Dear S+ users, I need to create vector in a data frame indicating the number of frequency data points. For example, x_c(9,1,2,4,5,9,1,2,6,2,7) y_c(9,1,2,3,5,9,1,2,4,2,8) xy_cbind(x,y) x y [1,] 9 9 [2
/archives/html/s-news/1999-04/msg00229.html (7,726 bytes)

2. Re: [S] frequency of data points (score: 1)
Author: Robert Kinley <KINLEY_ROBERT@lilly.com>
Date: Mon, 26 Apr 1999 16:16:51 +0100
Try this - x y [1,] 9 9 [2,] 1 1 [3,] 2 2 [4,] 4 3 [5,] 5 5 [6,] 9 9 [7,] 1 1 [8,] 2 2 [9,] 6 4 [10,] 2 2 [11,] 7 8 [1] 2 2 3 1 1 2 2 3 1 3 1 x y ans.col [1,] 9 9 2 [2,] 1 1 2 [3,] 2 2 3 [4,] 4 3 1 [
/archives/html/s-news/1999-04/msg00231.html (8,790 bytes)

3. Re: [S] frequency of data points (score: 1)
Author: Prof Brian Ripley <ripley@stats.ox.ac.uk>
Date: Mon, 26 Apr 1999 17:49:24 +0100 (BST)
Or just x <- c(9,1,2,4,5,9,1,2,6,2,7) y <- c(9,1,2,3,5,9,1,2,4,2,8) f <- factor(paste(x, y, sep=",")) cbind(x, y, z=as.vector(table(f)[f])) [ ... ] -- Brian D. Ripley, ripley@stats.ox.ac.uk Professor
/archives/html/s-news/1999-04/msg00233.html (9,944 bytes)


This search system is powered by Namazu