On May 22, 2011, at 2:41 PM, David Winsemius wrote:
On May 22, 2011, at 2:22 PM, David Hajage wrote:
moreover:
> library(ascii)
Seems strange that the ascii.interger function doesn't set the
digits argument to 0:
ascii.integer
> ascii(as.integer(c(3,4,5)))
|=
| 3
On May 22, 2011, at 2:22 PM, David Hajage wrote:
moreover:
> library(ascii)
Seems strange that the ascii.interger function doesn't set the digits
argument to 0:
> ascii(as.integer(c(3,4,5)))
|=
| 3.00 | 4.00 | 5.00
|=
> ascii(as.integer(c(3,4,5)),
moreover:
> library(ascii)
> M <- matrix(letters[1:10], 2)
> M
[,1] [,2] [,3] [,4] [,5]
[1,] "a" "c" "e" "g" "i"
[2,] "b" "d" "f" "h" "j"
> ascii(M)
|
| a | c | e | g | i
| b | d | f | h | j
|
> print(ascii(M), "rest")
+---+---+---+---+---+
| a |
Axel, you may also be interested in the ascii function (in the ascii
package). The ascii version of David's example is
library(ascii) #may need install.packages("ascii") first
ascii(M)
ascii(table(sample(1:10, 100, replace=TRUE)))
Best,
Ista
On Sun, May 22, 2011 at 9:52 AM, David Winsemius wrote
On May 22, 2011, at 7:47 AM, Axel Urbiz wrote:
is it possible to add dash lines to tables or matrices when they are
printed? An example of what I'm looking for is this:
library(Design)
y <- sample(c(0,1),100, replace = TRUE)
x <- rnorm(100)
summary(y ~ x)
There is a method for summary on for
is it possible to add dash lines to tables or matrices when they are
printed? An example of what I'm looking for is this:
library(Design)
y <- sample(c(0,1),100, replace = TRUE)
x <- rnorm(100)
summary(y ~ x)
Thanks,
Axel.
[[alternative HTML version deleted]]
___
6 matches
Mail list logo