Re: [R] using survreg() in survival package with long data

2015-08-30 Thread Göran Broström
On 08/29/2015 11:56 PM, Fox, John wrote: Dear Göran, Thank you for responding to my query; please see below: -Original Message- From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Göran Broström Sent: August 29, 2015 3:59 PM To: r-help@r-project.org Subject: Re: [R] using

Re: [R] using survreg() in survival package with long data

2015-08-30 Thread Fox, John
Dear Göran, Yes, you're right -- I didn't read your message carefully enough and was confusing left-censoring with left-truncation. Thanks for the correction, John From: Göran Broström [goran.brost...@umu.se] Sent: August 30, 2015 10:15 AM To: Fox, John

[R] Fw: Multiple Integrals

2015-08-30 Thread Shant Ch via R-help
Thank you very much to all for all your responses. @Dr. Winsemius, E[f(X)] =f(E(X)) if f is convex. Now we know |x| is convex function, so clearly in this scenario if we compute the expectation of the ((X1+X2+X3)/3-X4) and then take the absolute, then, we will get a lower bound of the

Re: [R] Fw: Multiple Integrals

2015-08-30 Thread David Winsemius
On Aug 30, 2015, at 8:41 AM, Shant Ch via R-help wrote: Thank you very much to all for all your responses. @Dr. Winsemius, E[f(X)] =f(E(X)) if f is convex. Now we know |x| is convex function, so clearly in this scenario if we compute the expectation of the ((X1+X2+X3)/3-X4) and then take

Re: [R] Multiple Integrals

2015-08-30 Thread David Winsemius
On Aug 30, 2015, at 8:41 AM, Shant Ch via R-help wrote: Thank you very much to all for all your responses. @Dr. Winsemius, E[f(X)] =f(E(X)) if f is convex. Now we know |x| is convex function, so clearly in this scenario if we compute the expectation of the ((X1+X2+X3)/3-X4) and then take

[R] knitr error when using knit2wp: need a login and password

2015-08-30 Thread Abraham Mathew
I'm using the knitr package to post an .Rmd file to wordpress. First time I'm working this type of project and am having the following error/issue. Can anyone help identify the issue. Have done a number of Google searches but haven't seem similar issues. Also tried to use the newPost function for