[R] Determination of variables for optimizing one response using the desirability function

2018-12-25 Thread Thanh Tran
Dear all, I'm trying to use response surface methodology (rsm package) to . In my data, the response is KIC, and 4 factors are AC, AV, T, and Temp. A typical second-degree response modeling is as follows: > data<-read.csv("2.csv", header =T) > library(rsm) > f.quad <- rsm(KIC~SO(AC, AV, T,

Re: [R] D-optimum design - optimization model in R

2018-12-04 Thread Thanh Tran
his "Bloom County" comic strip ) > > > On Tue, Dec 4, 2018 at 3:29 AM Thanh Tran wrote: > >> Dear all, >> >> >> >> I'm trying to use the D-optimum design. In my data, the response is KIC, >> and 4 factors are AC, AV, T, and Temp. A typical

[R] D-optimum design - optimization model in R

2018-12-04 Thread Thanh Tran
Dear all, I'm trying to use the D-optimum design. In my data, the response is KIC, and 4 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)+AC:AV+AC:T+AC:

[R] D-optimum design - optimization model

2018-12-03 Thread Thanh Tran
Dear all, I'm trying to use the D-optimum design. In my data, the response is KIC, and 4 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)+AC:AV+AC:T+

Re: [R] [R ]Exporting rgl.snapshot and rgl.postscript

2018-11-27 Thread Thanh Tran
Hi Duncan Murdoch Thank you for your support. Best regards, Nhat Tran Vào Th 3, 27 thg 11, 2018 vào lúc 23:06 Duncan Murdoch < murdoch.dun...@gmail.com> đã viết: > On 27/11/2018 7:53 AM, Thanh Tran wrote: > > Dear all, > > > > > > > > I'm trying

[R] [R ]Exporting rgl.snapshot and rgl.postscript

2018-11-27 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 4 factors are AC, AV, T, and Temp. I want to have response surface of KIC with two factors, i.e., AC and AV. A typical second-degree response modeling is as follows: > data<-read.csv("2.csv", heade

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: >

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

2018-11-26 Thread Thanh Tran
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Thanh Tran > Sent: den 26 november 2018 13:13 > To: r-help@r-project.org > Subject: [R] Perspective Plotting - 3D Plotting in R > > Dear all, > > > > I'm trying to plot a surface over the x-y plane. In m

[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] Sum of Squares Type I, II, III for ANOVA

2018-11-06 Thread Thanh Tran
Dear Prof. John Fox, Thank you for your advice. I will take care in the future post. Best regards, Nhat Tran Vào Th 4, 7 thg 11, 2018 vào lúc 11:41 Fox, John đã viết: > Dear Thanh Tran, > > When you start a discussion on r-help, it's polite to keep it there so > other pe

[R] Sum of Squares Type I, II, III for ANOVA

2018-11-06 Thread Thanh Tran
Hi everyone, I'm studying the ANOVA in R and have some questions to share. I investigate the effects of 4 factors (temperature-3 levels, asphalt content-3 levels, air voids-2 levels, and sample thickness-3 levels) on the hardness of asphalt concrete in the tensile test (abbreviated as KIC). These d

[R] ANOVA in R

2018-10-09 Thread Thanh Tran
Hi eveyone, I'm studying about variance (ANOVA) in R and have some questions to share. I read an article investigating the effect of factors (temperature, Asphalt content, Air voids, and sample thickness) on the hardness of asphalt concrete in the tensile test (abbreviated as Kic). Each condition w