Displaying 3 results from an estimated 3 matches for "newdat2".
Did you mean:
newdata
2010 Sep 27
2
subtraction based on two groups in a dataframe
...for Group=="Control" and the same
plate.id will contain 384 readings for Group=='ovca' to give a total of 768
values for P1 and so on for other plate ID's. I have to take the subtract
the values of rlt1 colum between the two groups based on Plate ID.
currently I am using
> newdat2$diff<-(newdat2[1:5,5]-newdat2[6:10,5])/newdat2[1:5,5]*100
> newdat2
plate.id well.id Group HYB rlt1 diff
1 P1 A1 Control SKOV3hyb 0.190 3.157895
2 P1 A2 Control SKOV3hyb 0.210 -9.047619
3 P1 A3 Control SKOV3hyb 0.205 -4.390244
4...
2005 Aug 08
1
bug found in predict.locfit in locfit package (PR#8057)
...itxv,newdata) #bug!!! gave the same values as gxv
# This bug can be avoid by setting new values into old variables
# then, we will get the new predicted values
# for example
x1=x1new
x2=x2new
gxvnew2=predict(fitxv,where="data")
# predict joint probability function of fyxv for new data
newdat2=data.frame(ynew,x1new,x2new)
fyxvnew=predict(fityxv,newdat2) #bug! same as 2D density
# but setting new values into old variables DOES NOT
# work for solving this kind of problem for 3D density
# for example
x1=x1bk
x2=x2bk
fyxvnew2=predict(fityxv,where="data")
2005 Oct 05
0
bug found in predict.locfit in locfit package ( PR#8057)
...v
>
> # This bug can be avoid by setting new values into old variables
> # then, we will get the new predicted values
> # for example
> x1=x1new
> x2=x2new
> gxvnew2=predict(fitxv,where="data")
>
> # predict joint probability function of fyxv for new data
> newdat2=data.frame(ynew,x1new,x2new)
> fyxvnew=predict(fityxv,newdat2) #bug! same as 2D density
>
> # but setting new values into old variables DOES NOT
> # work for solving this kind of problem for 3D density
> # for example
> x1=x1bk
> x2=x2bk
> fyxvnew2=predict(fityxv,where=&quo...