search for: nd1

Displaying 7 results from an estimated 7 matches for "nd1".

Did you mean: nd
2024 Dec 18
2
Query concerning working directory for file.choose()
...altered if I setwd() within that function. Have I misunderstood something or is this an infelicity of file.choose(). sessionInfo() gives my system as R version 4.4.2 (2024-10-31) Platform: x86_64-pc-linux-gnu Running under: Linux Mint 22 I've a small example script. It actually helps to create nd1 and nd2 and give them some dummy files before testing. Suggestions welcome. John Nash # fcdir.R -- show directory being used by function that calls file choose cpath<-getwd() nd1<-paste0(cpath,"/nd1") nd2<-paste0(cpath,"/nd2") dir.create(nd1) dir.create(nd2) myfc&l...
2024 Dec 18
2
Query concerning working directory for file.choose()
...hat function. Have I misunderstood something or is this > an infelicity of file.choose(). sessionInfo() gives my system as > R version 4.4.2 (2024-10-31) > Platform: x86_64-pc-linux-gnu > Running under: Linux Mint 22 > > I've a small example script. It actually helps to create nd1 and nd2 and give them some dummy > files before testing. > > Suggestions welcome. > > John Nash > > > # fcdir.R -- show directory being used by function that calls file choose > cpath<-getwd() > nd1<-paste0(cpath,"/nd1") > nd2<-paste0(cpath,"...
2024 Dec 18
2
Query concerning working directory for file.choose()
...at function. Have I misunderstood something or is this > an infelicity of file.choose(). sessionInfo() gives my system as > R version 4.4.2 (2024-10-31) > Platform: x86_64-pc-linux-gnu > Running under: Linux Mint 22 > > I've a small example script. It actually helps to create nd1 and nd2 and give them some dummy > files before testing. > > Suggestions welcome. > > John Nash > > > # fcdir.R -- show directory being used by function that calls file choose > cpath<-getwd() > nd1<-paste0(cpath,"/nd1") > nd2<-paste0(cpath,&q...
2008 Oct 10
1
Coefficients in a polynomial glm with family poisson/binomial
...the glm. This is clearly not a nice way of doing things. Could anyone please inform me of why this is happening and of a better way around this? Code: glm2<-glm(FEDSTATUS1~AGE+I(AGE^2), family=binomial(link="probit")) summary(glm2) ### first set of "wrong coefficients" nd1<-expand.grid(AGE=c(1:70)) Pred.Fed1<-predict(glm2,nd1,type="response") points(predict(glm2,nd1,type="response")~nd1$AGE, col=2) AGE11<-c(11:70) Pred<-t(rbind(Pred.Fed1,AGE11)) Pred<-as.data.frame(Pred) model<-lm(Pred$Pred.Fed1~Pred$AGE11+I(Pred$AGE11^2)) summ...
2005 Jan 28
4
extracting from a data.frame
...] "C" "CA" "CB" "CD" "CD1" "CD2" "CE" "CE1" "CE2" "CE3" "CG" [12] "CG1" "CG2" "CH2" "CZ" "CZ2" "CZ3" "N" "ND1" "ND2" "NE" "NE1" [23] "NE2" "NH1" "NH2" "NZ" "O" "OD1" "OD2" "OE1" "OE2" "OG" "OG1" [34] "OH" "OXT" "SD" "SG&qu...
2008 Oct 13
0
Re : using predict() or fitted() from a model with offset; unsolved, included reproducible code
...de) lmAO<-glm(MassChange24h~AGE,? family=gaussian,na.action=na.exclude) ###the fitted values from the offset model are the same as from this one! summary(lmAO) ## table is fine, shows the effect of T1, taking into account the offset fitted(lmAO)? ## Problem : getting same values as for model lmA nd1<-expand.grid(T1=c(10,11,12,13,14,15,16,17,18,19)) Pred<-predict(lmA, nd1, type="response") nd1<-expand.grid(T1=c(10,11,12,13,14,15,16,17,18,19)) Pred<-predict(lmAO, nd1, type="response") #### get same values as for model lmA , and changing T variable in the offset mo...
2003 Dec 19
9
virtual disk/block-device problem
...have a partition to back the vds: xenctl partitions add -phdb2 -f hdb2 is of course the second partition on the second disk. I am assuming that the partition doesn''t need to have a filesystem on it, i.e., it just uses the raw blocks for storage? I create three vds: xenctl vd create -nD1 -s128M xenctl vd create -nD2 -s128M xenctl vd create -nD3 -s128M Then I use the returned keys to create virtual block devices: xenctl vbd create -n0 -w -v0 -k3827077824 xenctl vbd create -n0 -w -v1 -k8055618233 xenctl vbd create -n0 -w -v2 -k6945314927 Write access is given to domain0 (-n0)...