similar to: question about source package

Displaying 20 results from an estimated 60000 matches similar to: "question about source package"

2004 Dec 17
1
package.skeleton()
Hi, R people: I generated a package using package.skeleton(). But I can not load it using library(). > package.skeleton("RDIPcor", list = c("ROCAUC.i", "cor.i"), path = "/home/xiao") Creating directories ... Creating DESCRIPTION ... Creating READMEs ... Saving functions and data ... Making help files ... Done. Further steps are described in
2009 Feb 19
4
Matrix package: band matrix
I want to construct a symmetric band matrix in the Matrix package from a matrix where the first column contains data for the main diagonal, the second column has data for the first subdiagonal/superdiagonal and so on. Since the Matrix will be 10^5 x 10^5 or so, with perhaps 10-20 non-zero elements above the diagonal per row, I can't do it by constructing a full matrix and then using the
2009 Mar 19
2
Package HDF5
The package works fine, but it seems not to provide access to fields, but only to the whole data in a certain file (function hdf5load(file, load = TRUE, verbosity = 0, tidy = FALSE)) Since hdf5 organizes the data and metadata in a hierarchical structure, we must explore in our problem (file>7GB), but it seems not possible with the functions in the package. Any suggestions? Please, let me know
2006 Oct 25
1
Incorrect 'n' returned by survfit()
I've a data set with 60000 rows of data representing 6000+ distinct loans. I did a coxph() regression on it (see call below), but a subsequent survfit() call on the coxph object is almost certainly wrong. It gives n=6 when it should be more like 6000+ (I think) > survfit(resultag) Call: survfit.coxph(object = resultag) n events median 0.95LCL 0.95UCL 6 489 Inf
2013 Feb 06
5
First R Package --- Advice?
Dear R experts--- after many years, I am planning to give in and write my first R package. I want to combine my collection of collected useful utility routines. as my guide, I am planning to use Friedrich Leisch's "Creating R Packages: A Tutorial" from Sep 2009. Is there a newer or better tutorial? this one is 4 years old. I also plan on one change---given that the
2009 Feb 09
2
CMD check puzzle
I am getting an error that I don't understand from R CMD check on my current instance of the survival code. R2.7.1 on Linux. Here is the last of the log * checking line endings in Makefiles ... OK * checking for portable use of $BLAS_LIBS ... OK * creating survival-Ex.R ... OK * checking examples ... OK * checking tests ... make[1]: Entering directory
2007 Sep 20
2
Package Survey
Hello, How I use the function as.svrepdesign without memory.size problems? desenho_npc_JK <- as.svrepdesign(desenho_npc,type="JKn") Error: cannot allocate vector of size 161.3 Mb In addition: Warning messages: 1: Reached total allocation of 1022Mb: see help(memory.size) 2: Reached total allocation of 1022Mb: see help(memory.size) 3: Reached total allocation of 1022Mb:
2008 Sep 12
2
Fw: Complex sampling survey _ Use of survey package
-------------------------------------------------- From: "Ahoussou Sylvie" <sylvie.ahoussou at antilles.inra.fr> Sent: Friday, September 12, 2008 9:48 AM To: "Thomas Lumley" <tlumley at u.washington.edu> Subject: Re: [R] Complex sampling survey _ Use of survey package > Thanks for your answer > > I think I made a mistake when I recopied the 5 first rows of
2004 Nov 17
1
Re: variations on the theme of survSplit
Danardono <daodao99 at student.umu.se> wrote: > > While waiting for 2.1, for those who need function[s] for this > survival-splitting business, as I do, this 'survcut' function below > might be helpful. > It is not an elegant nor efficient function but it works, at least for > some examples below. > Ditto the following, for the case where there are multiple
2004 Apr 12
3
Line numbers in error messages
Hi all, I have searched but to know avail. Is there a way to get a line number when a function crashes? I am doing an edit->source->run cycle. Feel free to cc me as I subscribe to the list in digest. Thanks W
2009 Dec 15
2
apparently incorrect p-values from 2-sided Kolmogorov-Smirnov test (PR#14145)
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --1132542651-1468968864-1260896436=:8788 Content-Type: TEXT/PLAIN; format=flowed; charset=US-ASCII I am using R version 2.6.2 (2008-02-08) on a Ubuntu Linux system. I seemed to be finding occasional errors in the p-values produced by ks.test(a,b)
2006 Jul 21
2
Order-restricted inference
Hello, I looked for R packages which focused on order-restricted statistical inference, but I could find only the isoreg() function. I would need to test whether the means in my (repeated measures) data follow a given order, e.g. A<B=C<D. I took a look at the monograph by Barlow et al. (1972) on this topic and found that for my case the null hypothesis is always A=B=C=D. This might be
2009 Sep 23
2
scaled Schoenfeld residuals
hi sorry if this has been discussed before, but I'm wondering why the scaled Schoenfeld residuals do not follow the defining formula for obtaining them from the ordinary Schoenfeld residuals, but are instead offset by the estimated parameter values. e.g. library(survival) attach(ovarian) sv<-Surv(futime,fustat) f1<-coxph(sv~age+ecog.ps) f1
2006 Apr 11
4
Bootstrap and Jackknife Bias using Survey Package
Dear R users, I?m student of Master in Statistic and Data analysis, in New University of Lisbon. And now i?m writting my dissertation in variance estimation.So i?m using Survey Package to compute the principal estimators and theirs variances. My data is from Incoming and Expendire Survey. This is stratified Multi-stage Survey care out by National Statistic Institute of Mozambique. My domain of
2009 Apr 09
2
better way of recoding factors in data frame?
Hi all, I apologize in advance for the length of this post, but I wanted to make sure I was clear. I am trying to merge two dataframes that share a number of rows (but some are unique to each data frame). Each row represents a subject in a study. The problem is that sex is coded differently in the two, including the way missing values are represented. Here is an example of the merged dataframe:
2010 Jul 30
2
creation package
Dear r-help, I create a package. When I installed this package (I use this command : R CMD check namepackage),I find an error: * checking whether package 'namepackage' can be installed ... ERROR Installation failed. Could you help me to find solution for this error. Best Regards [[alternative HTML version deleted]]
2004 Jun 02
1
Using postscript() in a script that is source()ed
I have a script that draws 9 graphics which I would like to run by source()ing the file. In the script I make objects that contain each of the graphics (all lattice objects or functions that contain lattice functions). Then at the end of the script, I have a section which prints them to separate eps files like this: postscript(file = "dryoutcover.eps", height = 5, width = 7,
2003 Jul 23
2
paste and NAs
I understand how R treats NAs but in the situation below it would be nice to have a na.skip argument to paste so it does not convert the NAs to "NA"s and simply skips those elements of the vector for pasting. > x [1] "2.13" "2.3" NA NA "2.83" NA > paste(x, "0", sep="") [1] "2.130" "2.30"
2009 Jun 05
2
OT: a weighted rank-based, non-paired test statistic ?
Hi, Is anyone aware of a rank-based, non-paired test such as the Krustal-Wallis, that can accommodate weights? Alternatively, would it make sense to simulate a dataset by duplicating observations in proportion to their weight, and then using the Krustal-Wallis test? thanks! Dylan
2009 May 02
1
installation of source package with empty man directory fails (PR#13685)
Full_Name: Daniel Sabanes Bove Version: 2.9.0 OS: openSUSE 11.1 (2.6.27.21) Submission from: (NULL) (91.13.255.113) - Situation: Checking or installing an R package with existing but empty man directory fails. Perhaps this is a feature, but then a nice error message like "Subdirectory 'man' contains no help pages!" would be great. - Error: * Installing *source* package ?test?