Re: [R] Perspective Plotting - 3D Plotting in R

2018-11-26 Thread Thanh Tran
Hi Sarah Goslee and Duncan Murdoch Thank you so much for your answers. Now I can plot the surface needed. Best regards, Nhat Tran. Vào Th 3, 27 thg 11, 2018 vào lúc 00:17 Duncan Murdoch < murdoch.dun...@gmail.com> đã viết: > On 26/11/2018 7:13 AM, Thanh Tran wrote: > > Dear all, > > > > > > > >

Re: [R] Bootstrapped CIs of MSE for (G)AM model

2018-11-26 Thread varin sacha via R-help
R-experts, I still can't get the nonparametric studentized bootstrapped CIs. How can I solve the problem ? Here is the reproducible example :  # # # # # # # # # # # # # # # # library(ISLR) library(earth) library(boot)    # function to obtain MSE  MSE <- function(data, indices, formula) {     d

Re: [R] CenReg download

2018-11-26 Thread Olofinsao Tosin
Thanks very much. Best regards, Tosin Olofinsao On Nov 26, 2018 6:04 PM, "David L Carlson" wrote: > Perhaps you mean the censReg function in the censReg package? You obtain > it using install.packages("censReg") and then loading it with > library(censReg). As for other Tobit regression packages,

Re: [R] wBoot Package

2018-11-26 Thread Janh Anni
Hello David, Peter, Thank you so much for taking the trouble to look into this. The user guide for the *boot.two.per* function contains this statement: *Obtains an independent-samples confidence interval and (optionally) performs an independent samples* *hypothesis test for the difference betwee

Re: [R] TrendRaster function

2018-11-26 Thread Jeff Newmiller
a) You had to go out of your way to even install this package... it is lonly available on R-forge. This kind of question seems likely to require support from the package author. (Use the"maintainer" function to identify the author.) b) You may find a similar functionality in a CRAN package. Try

Re: [R] CenReg download

2018-11-26 Thread David L Carlson
Perhaps you mean the censReg function in the censReg package? You obtain it using install.packages("censReg") and then loading it with library(censReg). As for other Tobit regression packages, Google "tobit regression r" works very well. Your question suggests that you are just learning about R

Re: [R] CenReg download

2018-11-26 Thread Jeff Newmiller
http://lmgtfy.com/?q=cenReg Notice that you will need to use the install.packages function to install the package, and then the library function to attach it to the function search path. On November 26, 2018 8:10:44 AM PST, Olofinsao Tosin wrote: >Greetings. > >Please I need cenReg function an

[R] CenReg download

2018-11-26 Thread Olofinsao Tosin
Greetings. Please I need cenReg function and every package useful for Tobit regression on R. Kindly provide me the link for the download or attach the zip file to this mail. I expect your positive response soon. Thank you very much. Best regards, Tosin Olofinsao [[alternative HTML ver

Re: [R] Perspective Plotting - 3D Plotting in R

2018-11-26 Thread Duncan Murdoch
On 26/11/2018 7:13 AM, Thanh Tran wrote: Dear all, I'm trying to plot a surface over the x-y plane. In my data, the response is KIC, and four factors are AC, AV, T, and Temp. A typical second-degree response modeling is as follows data<-read.csv("2.csv", header =T) mod <- lm(KIC~AC+I(AC

Re: [R] Perspective Plotting - 3D Plotting in R

2018-11-26 Thread Sarah Goslee
Hi, Checking the help for persp shows that it doesn't take a data argument. Assuming the rest of your code is correct (since no reproducible example, it's impossible to check), you could do with(data, persp(AC,AV,KIC~ AC + I(AC^2) + AV + I(AV^2) + AC:AV,image = TRUE,theta=30)) But. I highly doub

Re: [R] Perspective Plotting - 3D Plotting in R

2018-11-26 Thread Thanh Tran
Hi Farzaneh If someones answer your question, they will send to your email that you used in the system. Best regards, Nhat Tran. Vào Th 2, 26 thg 11, 2018 vào lúc 21:20 Ahmadzadeh Siahrood Farzaneh < farzaneh.ahmadza...@scania.com> đã viết: > Hi Tran , > It is not relevant to your answer but I

[R] Perspective Plotting - 3D Plotting in R

2018-11-26 Thread Thanh Tran
Dear all, I'm trying to plot a surface over the x-y plane. In my data, the response is KIC, and four factors are AC, AV, T, and Temp. A typical second-degree response modeling is as follows > data<-read.csv("2.csv", header =T) > mod <- > lm(KIC~AC+I(AC^2)+AV+I(AV^2)+T+I(T^2)+Temp+I(Temp^2)+A

Re: [R] wBoot Package

2018-11-26 Thread peter dalgaard
This could possibly be a botched attempt at telling "the system" that one could use proportion() as synonymous with mean(). That would obviously fail due to scoping rules, but maybe an earlier version used <<- (?). Anyways, you could take the hint: proportions are just means of 0-1 variables...

[R] How to fix Error in glim.fit 'fit'not found in GAMLSS regression

2018-11-26 Thread LilyNature
I am trying to execute gamlss's zero-inflated beta regression model as below> It works fine with variable V255 but through an error for simialr variable V256 as Error in glim.fit(f = nu.object, X = nu.X, y = y, w = w, fv = nu, os = nu.offset, : object 'fit' not foundim.fit. Object