similar to: poly objects as data frame columns

Displaying 20 results from an estimated 2000 matches similar to: "poly objects as data frame columns"

2007 Jan 15
2
Whine in dual core Windows PC if R uses full CPU capacity
Dear R-developers, the following may seem a weird question for R-devel – I try anyway, because it does seem to be related to usage of R and R's way of interacting with the hardware. When running R (2.4.0) on my new dual core Windows XP system (Intel Core 2 Duo E6600, Mainboard ASUS P5B, BeQuiet Power Unit), I observe various types of sounds (not related to fans) when running at full
2011 Apr 12
2
Model formula for ols function (rms package)
Dear R help, I'm having some trouble with model formulas for the ols function in the rms package. I want to have two variables represented as restricted cubic splines, and also include an interaction as a product of linear terms, but I get an error message. library(rms) d <- data.frame(x1 = rnorm(50), x2 = rnorm(50), y = rnorm(50)) ols(y ~ rcs(x1,3) + rcs(x2,3) + x1*x2, data=d) Error in
2010 Aug 10
1
Multiple imputation, especially in rms/Hmisc packages
Hello, I have a general question about combining imputations as well as a question specific to the rms and Hmisc packages. The situation is multiple regression on a data set where multiple imputation has been used to give M imputed data sets. I know how to get the combined estimate of the covariance matrix of the estimated coefficients (average the M covariance matrices from the individual
2006 Mar 14
1
R CMD check: problems possibly from mapply?
Dear expeRts, I am trying to wrap up a package "utilities" (for my internal use). After adding a function datNAtreat that uses mapply, R CMD check gives WARNINGs for "S3 generic/method consistency", "checking replacement functions" and?"checking foreign function calls", all of which are accompanied by the following error message: Error in .try_quietly
2012 Nov 21
3
Sourcing files with Umlaut in path no longer works
Dear helpeRs, on my new machine - Windows 7 64Bit, R 2.15-2, I can no longer source files for which the path contains the o-Umlaut (?). As a historical burden, my username is Gr?mping and contains that Umlaut (I wouldn't have chosen it now, but decided to keep it for easy transfer). I have had the difficulty that I couldn't use the R CMD tools on files with Umlauts in the path (and
2008 Jul 09
1
Question regarding lu in package Matrix
Dear R-helpers, I have a question regarding LU-decomposition with function lu in package Matrix. The following simple example confuses me: Why is as.matrix(elu$U) not an upper triangular matrix? u3 <- matrix(c(1,1,1,1,1,1,-1,1,0,0,0,0,0,-1,1,0,0,0,-1,0,1,0,0,0,0,0,-1,1,0,0),5,6,byrow=T) elu <- expand(lu(Matrix(u3,sparse=F))) as.matrix(elu$U) I only have very limited experience with the
2005 Nov 18
3
Method for $
Dear R experts, I have defined a class "myclass" and would like the slots to be extractable not only by "@" but also by "$". I now try to write a method for "$" that simply executes the request object at slotname, whenever someone calls object$slotname for any object of class "myclass". I don't manage to find out how I can provide this
2009 Apr 29
1
Error with Design.Function(fit)
Hi all, I'm reposting this with a more appropriate subject. Do I need to define limits as the error message seems to suggest? If so, how? The error message, my code, the output and the first few lines of my data are all below. Thank you! "Error in Getlim(at, allow.null = TRUE, need.all = TRUE) : variable dmodel.df does not have limits defined in fit or with datadist" My code:
2005 Dec 12
2
Time delay function or plot animation
Dear R-help crowd, is it possible to specify a time delay for plotting the points in a curve? I would like to make the plotting process slow enough to show the development of the graph, and therefore I am looking either for the possibility within the plot function to specify a plotting speed or (if that doesn't exist) for a function like "pause" or "wait" that allows
2007 Mar 23
1
Bug in str or issue with class management in my package?
Dear developeRs, with R 2.4.1 (and also 2.4.0), the function str() fails on objects of class relimplmbooteval, if there are unused slots, which is very often the case. I am not sure whether this is a bug in str() or a correct behavior of str() that unmasks some sloppiness in my usage of S4 classes (that I am not aware of)? Reproducible example (package relaimpo needed): The program
2006 Mar 16
2
hierarchical partitioning
Hello, I would like to know what it means, when the hier.part's output has a data frame of a negative independent contribution for variables (?IJ) and how this can be caused. Thank you very much. Yours sincerely M. Heuner
2008 Dec 23
1
newbie problem using Design.rcs
Hi, I read data from a file. I'm trying to understand how to use Design.rcs by using simple test data first. I use 1000 integer values (1,...,1000) for x (the predictor) with some noise (x+.02*x) and I set the response variable y=x. Then, I try rcs and ols as follows: m = ( sqrt(y1) ~ ( rcs(x1,3) ) ); #I tried without sqrt also f = ols(m, data=data_train.df); print(f); [I plot original
2012 Jul 12
4
Two R sessions on multicore computer seem to inhibit each other ?
Dear R-helpers, I am puzzled by the following observation: On my home dual core Windows desktop computer, I am used to running two R sessions in parallel. These do very well in using the full CPU of the computer (half each) and don't seem to slow each other down. Today I have started some large computation effort in one of our university labs, and I intended to go for two R sessions per
2009 Mar 24
4
Error in FrF2 example on Mac OS
Dear all, I just noticed that the 0.9 update for FrF2 did not work out for Mac OS due to an error in an example that ran without error on all other platforms. I do not find any reason for this. In the past, umlauts or tab characters have sometimes been an issue, but I didn't find any of these. The function definition is FrF2(nruns = NULL, nfactors = NULL, factor.names = if
2019 May 06
1
Bug in function boxplot's axis labeling
Dear developeRs, I appreciate that boxplot now labels the axes with variable names per default. However, with argument "horizontal=TRUE" (which I always use), the default axis labels are mixed up, as can e.g. be seen with require(boot) boxplot(time ~ poison, poisons, horizontal=TRUE) The correct labels would be obtained by boxplot(time ~ poison, poisons, horizontal=TRUE,
2013 Feb 24
2
Issues with TMPDIR/TEMP/TMP? Failure of R CMD check under Windows 7
Dear helpeRs, on my Windows 7 laptop, I have problems getting R CMD check to work. I believe it did work completely before, but I am not sure. Yesterday it almost worked, except for the tests: These were aborted because of a complaint that the temporary directory wasn't available. I played with windows environment variables for the temporary directory, but that didn't solve it.
2007 Nov 22
1
R CMD check problem on R 2.6.1 RC
Dear R-developers, I'm experiencing a problem with having an example run under R 2.6.1 RC (downloaded and installed today, r43513), which does not occur on R 2.6.0: The new version of package relaimpo does list package survey under "Depends", and an example directly (i.e. not only from within a function of relaimpo) uses function svydesign from package survey. Package survey is
2009 Aug 13
1
Class design as used in package graphics
Dear developeRs, I just discovered the function plot.design in package graphics that acts as a method for class design - the second time I come across a class design outside my own packages. (The first time was in package conf.design, where Bill Venables encouraged me to ignore it because he does not really use it.) Where can I find out more about the nature of the class design for which
2009 Jul 24
1
Wishlist: install.packages to look for the newest version of a package (PR#13851)
Full_Name: Ulrike Groemping Version: 2.9.0 (and older) OS: Windows Submission from: (NULL) (84.190.173.190) When using an older version of R, packages are not found although they are available for newer versions of R and do work when installed with the old version. For example, installing DoE.base on R 2.8.1 installs version 0.2, while CRAN is at version 0.4-1 currently. It would be nice if the
2013 Sep 06
1
Importing function that is previously imported by other package
Dear developeRs, I encounter the following problem: in the current version of my package FrF2, certain calls to a functioni do not work when package combinat is loaded, because function combn from combinat masks the function from utils that my package uses. I tried to solve this issue by importing function combn into the namespace of FrF2; I don't need to export it, I just want to use it