Re: [R] question in R

2010-06-18 Thread Joris Meys
See below. On Fri, Jun 18, 2010 at 7:11 PM, li li wrote: > Dear all, >   I am trying to calculate certain critical values from bivariate normal > distribution (please see the > function below). > > m <- 10 > rho <- 0.1 > k <- 2 > alpha <- 0.05 > ## calculate critical constants > cc_z <- numeric(m

[R] question in R

2010-06-18 Thread li li
Dear all, I am trying to calculate certain critical values from bivariate normal distribution (please see the function below). m <- 10 rho <- 0.1 k <- 2 alpha <- 0.05 ## calculate critical constants cc_z <- numeric(m) var <- matrix(c(1,rho,rho,1), nrow=2, ncol=2, byrow=T) for (i in 1:m){ if

Re: [R] Question in R

2008-02-02 Thread Patrick Burns
Perhaps the 'page' function? Patrick Burns [EMAIL PROTECTED] +44 (0)20 8525 0696 http://www.burns-stat.com (home of S Poetry and "A Guide for the Unwilling S User") Oliver Herbst wrote: >HI, > > > >can anybody help me how to observe or read the output of an r command >pagewise? (E.g. to make a

Re: [R] Question in R

2008-02-02 Thread John Fox
NO Dear Oliver, I'm not sure why you'd want to do this rather than just scrolling the console after the output is completed (assuming, of course, that you can scroll your console), but here's a function (not extensively tested) that might do what you want: more <- function(command, lines=20){

[R] Question in R

2008-02-02 Thread Oliver Herbst
HI, can anybody help me how to observe or read the output of an r command pagewise? (E.g. to make a break after the first page of output data and then continue by putting a key on the console) Thanks a lot. Oliver [[alternative HTML version deleted]] __