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,
> >
> >
> >
> >
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
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
> 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
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
5 matches
Mail list logo