search for: gh

Displaying 20 results from an estimated 418 matches for "gh".

Did you mean: hg
2009 Jul 09
2
correct way to subset a vector
Hi, #make example data dat <- data.frame(matrix(rnorm(15),ncol=5)) colnames(dat) <- c("ab","cd","ef","gh","ij") If I want to get a subset of the data for the middle 3 columns, and I know the names of the start column and the end column, I can do this: mysub <- subset(dat,select=c(cd:gh)) If I wanted to do this just on the column names, without subsetting the data, how could I do t...
2009 Aug 28
2
R CMD check does not recognize S4 functions inside other functions?
I am developing a new R package and am now checking it for submission to CRAN. The some functions in the package make use of the sparse matrix routines in the package 'Matrix'. When these are loaded in R, they create no problems. However, when running R CMD check, I run into the following error in executing the examples in a .rd file: > DD = Matrix(diag(1,200),sparse=TRUE) >
1999 Jan 11
1
choosing systems
...casional uses and with linux or(perhaps and) Intel-Solaris for the primary usage. Other than for the substantial disc storage needs to be ported, I have little idea of optimum configuration.for these systems in terms of memory or other hardware elements. Cost seems to dictate IDE. Look and feel might give an edge to Solaris but linux offers a wider base of user experience to tap. I would appreciate any suggestions from those with experience with comparable application needs. gordon Gordon M. Harrington Mail: 3720 Village Place, #6308 Professor Emeritus Waterloo, IA 50702-5848 Universi...
2013 Nov 01
2
computation of hessian matrix
...,1.910,4.010,1.745,1.965,2.555,0.770,0.720,1.730,2.860,0.760) x2<-c(0.137,2.499,0.419,1.699,0.605,0.677,0.159,1.699,0.340,2.899,0.082,0.425,0.444,0.225,0.241,0.099,0.644,0.266,0.351,0.027,0.030,3.400,1.499,0.351,0.082,0.518,0.471,0.036,0.721) b1<-4.286b2<-1.362 n<-29 for(i in 1:n){     gh<-matrix(0,2,2) exp0<-(1+b1*x2^b2) exp1<-x1*x2^b2*log(x2) exp3<-x1*b1*x2^b2*(log(x2))^2 gh[1,1]<-2*x2^(2*b2)*exp0/exp0^4 gh[1,2]<--(exp0^2*exp1 - 2*b1*x2^b2*exp0*exp1)/exp0^4 gh[2,1]<--(exp3*exp0^2-2*exp0*b1^2*x2^b2*log(x2)*exp1)/exp0^4 gh[2,2]<--(exp1*exp0^2-2*exp0*x2^b2*b1*...
2012 Dec 04
2
[LLVMdev] LLVM documentation work help
Sean, I add the empty file .nojekyll to https://github.com/Jonathan2251/lbd/tree/gh-pages and do "make gh-pages" again. It's the same. I check the uvbook has the gh-pages as mine as follows, https://github.com/nikhilm/uvbook/tree/gh-pages https://github.com/Jonathan2251/lbd/tree/gh-pages In addition to gh-pages, uvbook has the the other web site on http://nikhilm.g...
2012 Mar 20
1
errors in logs - kernel: XFS (dm-7): xlog_space_left: head behind tail
...st 4G Ram 4 virtaul cpus and with about 4 TB of disk space formatted with XFS . I'm seeing a lot of : Mar 21 10:49:42 nzhmlfpr05 kernel: XFS (dm-4): xlog_space_left: head behind tail Mar 21 10:49:42 nzhmlfpr05 kernel: tail_cycle = 129, tail_bytes = 20163072 Mar 21 10:49:42 nzhmlfpr05 kernel: GH cycle = 129, GH bytes = 20162880 Mar 21 10:49:42 nzhmlfpr05 kernel: XFS (dm-7): xlog_space_left: head behind tail Mar 21 10:49:42 nzhmlfpr05 kernel: tail_cycle = 5, tail_bytes = 333417984 Mar 21 10:49:42 nzhmlfpr05 kernel: GH cycle = 5, GH bytes = 333417792 Mar 21 10:49:42 nzhmlfpr05 kern...
2020 Jul 10
7
RFC: Bugzilla migration plan
Dear all, Over the last few weeks with the help of GH folks I've been exploring the options of Bugzilla migration. I believe finally we came to the viable solution which is detailed below. It turned out that GitHub has an internal project rehydration tool that could be used to populate the empty repo contents from the simple serialized format. Th...
2011 Jan 13
1
Weighted Optimization
Hi All, I am trying to code an R script which gives me the time varying parameters of the NIG and GH distributions. Further, becasue I think these these time varying parameters should be more responsive to more recent observations, I would like to include a weighted likelihood estimation proceedure where the observations have an exponentially decaying weighting rather than the equal weighting impl...
2008 Feb 12
3
help with bwplot
...there should be 6 lines, from which three present the Mean values of each Ageclass for respective sex. Are there any easy ways to do this in R? Ageclass Scale Mean Sex 1 21-40 BP 40.26667 female 2 41-60 BP 34.10714 female 3 61-79 BP 37.30000 female 4 21-40 GH 30.25000 female 5 41-60 GH 39.00926 female 6 61-79 GH 49.30000 female 7 21-40 MH 56.53333 female 8 41-60 MH 62.42857 female 9 61-79 MH 72.72727 female 10 21-40 PF 25.86111 female 11 41-60 PF 42.42063 female 12 61-79 PF 52.17172 female 13 21-40...
2014 Jun 29
0
[PATCH 1/6] chain/partiter: fix and improve gpt handling in buggy cases
.../partiter.c +++ b/com32/chain/partiter.c @@ -412,34 +412,16 @@ static inline int valid_crc(uint32_t crc, const uint8_t *buf, unsigned int siz) return crc == crc32(crc32(0, NULL, 0), buf, siz); } -static int gpt_check_hdr_crc(const struct disk_info * const diskinfo, struct disk_gpt_header **_gh) +static int valid_crc_hdr(void *buf) { - struct disk_gpt_header *gh = *_gh; - uint64_t lba_alt; - uint32_t hold_crc32; + struct disk_gpt_header *gh = buf; + uint32_t crc = gh->chksum; + int valid; - hold_crc32 = gh->chksum; gh->chksum = 0; - if (!valid_crc(...
2010 Feb 05
1
String Manipulation- Extract numerical and alphanumerical segment
I am currently attempting to split a long list of strings (let's call it "string.list") that is of the format: "1234567.z3.abcdef-gh.12" I have gotten it to: "1234567" "z3" "abcdef-gh" "12" by use of the strsplit function. This leaves me with each element of "string.list" having a split string of the above format. What I'd like to do now is extract the first two str...
2008 Mar 31
1
Reorder the x-axis using lattice
Dear list, Is there a way to reorder the xaxis using lattice. Using the following data, the x-axis is ordered as BP GH MH PF RE RP SF VT but I would like the x-axis to be ordered as PF RP BP GH VT SF RE MH. Kön Skalor Tillfälle Medelvärde 1 Kvinnor BP 1-inskrivning 36.45283 2 Kvinnor GH 1-inskrivning 38.62255 3 Kvinnor MH 1-inskrivning 62.88889 4 Kvinnor PF 1-inskrivnin...
2012 May 21
3
Bind Died CentOS 6.2 64Bit
Dear all, bind cannot load zone files, i see the following in the log for all domains. i have tried with 777 to all zone files but does not make difference. main directories are also owned by named:named May 21 15:45:23 nsfo1 named-sdb[2482]: zone dot.com.gh/IN: loading from master file master/db.gh.com.dot failed: permission denied help would be very much appreciated Thanks
2012 Dec 04
0
[LLVMdev] LLVM documentation work help
You may need a ".nojekyll" file. uvbook has one < https://github.com/nikhilm/uvbook/blob/gh-pages/.nojekyll>. Also see < https://help.github.com/articles/files-that-start-with-an-underscore-are-missing >. Let me know if that doesn't work. -- Sean Silva On Mon, Dec 3, 2012 at 9:15 PM, gamma_chen <gamma_chen at yahoo.com.tw> wrote: > Sean, > > I can create h...
2012 Dec 04
2
[LLVMdev] LLVM documentation work help
Sean, It is not work even though I change the PDF link as you indicated. I think I can just use directory/link https://github.com/Jonathan2251/lbd/tree/gh-pages instead http://jonathan2251.github.com/lbd/WriteAnLLVMBackendTutorialForCpu0.pdf as a work around solution. User can click the link and click left top button "ZIP&quo...
2012 Dec 04
5
[LLVMdev] LLVM documentation work help
Sean, I can create html, pdf and epub, then put them on <https://github.com/Jonathan2251/lbd/tree/gh-pages>. The uvbook example as below can click the pdf link and pop up a download window while I cannot. The uvbook link is put on http://username.github.com/... while the "make gh-pages" put them on https://github.com/username/...  How can I have the download link like uvbook example?...
2012 Dec 04
0
[LLVMdev] LLVM documentation work help
On Mon, Dec 3, 2012 at 11:09 PM, gamma_chen <gamma_chen at yahoo.com.tw> wrote: > I add the empty file .nojekyll to https://github.com/Jonathan2251/lbd/tree/gh-pages and do "make gh-pages" again. It's the same. I check the uvbook has the gh-pages as mine as follows, The book looks really good at <http://jonathan2251.github.com/lbd/>! I think if you change the PDF link to <http://jonathan2251.github.com/lbd/WriteAnLLVMBackendTutori...
2005 Jul 27
2
How to delete rows
...my question is very easy to answer. I have the following table: TAB1<-data.frame(Name,Number), "Name" and "Number" are all character strings, it looks like this: Name Number ab 2 ab 2 NA 15 NA 15 NA 15 cd 3 ef 1 NA 15 NA 15 gh 15 gh 15 I want to delete all the rows which begin with "NA" and all the rows where names are duplicates (for example the second row). I have tried this, but I only get numbers: for (i in 1:ZeileMax ) {if ( TAB1[[1]] [i] != "NA" ) {cat(TAB1[[1]][i],file = "Nam...
2023 Mar 07
0
New deps for R-gh
Hi friends, R-gh's latest version grew a dependency on httr2 (which has a suggests for %check on docopt), so I made two new packages for Fedora. They're both noarch and simple, should be quick reviews for someone. Any help here is appreciated. R-docopt: https://bugzilla.redhat.com/show_bug.cgi?id=2176170 R...
2008 Feb 20
0
New Package 'JM' for the Joint Modelling of Longitudinal and Survival Data
...urvival object fit returned by either function coxph() or function survreg() of package survival. In addition, the method argument of jointModel() specifies the type of the survival submodel to be fitted and the type of the numerical integration technique; available options are: * "ph-GH": the time-dependent version of a proportional hazards model with unspecified baseline hazard function. This option corresponds to the joint model proposed by Wulfsohn and Tsiatis, Biometrics, 1997. * "weibull-GH": the Weibull model under the accelerated failure time formula...