Re: [R] Error propagation

From: Christian Ritz <>
Date: Fri, 08 Feb 2008 22:18:43 +0100

Hi Steve,

I think you need to use apply() as in the following tiny example:

x <- data.frame(response = c(-121,-131,-135)) apply(x, 1, function(response){rnorm(10, mean = response, sd = rnorm(10, mean = 9.454398, sd = 1.980136))})

Christian mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Fri 08 Feb 2008 - 21:42:16 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 08 Feb 2008 - 22:30:12 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive