[R] sd with n not n-1

2007-05-31 Thread Blew, Ted
need a version of sd [or var] to return population standard deviation (using n rather than n-1 denominator) that will operate on a dataframe containing missings, i.e. unequal n's. any ideas? thx, ted. Ted (Edwin) Blew [EMAIL PROTECTED]

[R] (no subject)

2007-05-31 Thread Blew, Ted
need a version of sd [or var] to return population standard deviation (using n rather than n-1 denominator) that will operate on a dataframe containing missings, i.e. unequal n's. any ideas? thx, ted. Ted (Edwin) Blew [EMAIL PROTECTED]

[R] sd with n not n-1

2007-05-31 Thread Blew, Ted
need a version of sd [or var] to return population standard deviation (using n rather than n-1 denominator) that will operate on a dataframe containing missings, i.e. unequal n's. any ideas? thx, ted. Ted (Edwin) Blew [EMAIL PROTECTED]

[R] how to abort script with message

2007-05-21 Thread Blew, Ted
it is desired to abort an R script with a message, returning to the R prompt, pending 'if' results, as follows: first part of script . . if (condition) { action } else { 'error' abort } . . remainder of script --- note: 'stop' aborts the current

Re: [R] how to abort script with message

2007-05-21 Thread Blew, Ted
PROTECTED] On Behalf Of Henrik Bengtsson Sent: Monday, May 21, 2007 4:23 PM To: Blew, Ted Cc: r-help@stat.math.ethz.ch Subject: Re: [R] how to abort script with message Hi, I think the behavior that you outline is due to the fact that you cut'n'paste the script to the R prompt, is that correct