Displaying 20 results from an estimated 11000 matches similar to: "Minor documentation bug in R-exts (PR#10515)"
2008 Oct 06
1
splinefun gives incorrect derivs when extrapolating to the left (PR#13132)
This is a low priority bug that has been around for a while, but I came acr=
oss it again while alpha testing 2.8.
The resulting function for splinefun gives incorrect deriv values when x is=
less than the smallest x-value used to create the function (at least in on=
e circumstance), but does the correct thing for x greater than the largest =
x-value.
Here is an example:
> x <- 1:10
>
2009 Mar 03
0
SAS Macros for R Users Only
I think SAS Macros has capability to call R, and execute it without it
being in the picture anywhere.
So you can use SAS Macros in a file called R.sas
In this you can create a macro called %Describe that can call R , load Hmisc
,run the describe function
Note you will need repeated use of %put in this %describe for the mapping
to take place
Use %INCLUDE to include that file in all SAS
2008 Feb 04
0
Package blockrand version 1.1 on CRAN
This is to announce an updated version of the blockrand package has been
uploaded to CRAN.
The blockrand package is used for creating randomizations for clinical
trials or other studies where random assignments are made one at a time.
It implements the ideas of randomizing within blocks so that the numbers
of subjects in each group remain fairly balanced (but allows for
unbalanced blocks to make
2008 Feb 04
0
Package blockrand version 1.1 on CRAN
This is to announce an updated version of the blockrand package has been
uploaded to CRAN.
The blockrand package is used for creating randomizations for clinical
trials or other studies where random assignments are made one at a time.
It implements the ideas of randomizing within blocks so that the numbers
of subjects in each group remain fairly balanced (but allows for
unbalanced blocks to make
2008 Mar 26
0
Update of TeachingDemos package
This is to announce that versio 2.0 of the TeachingDemos package is now
on CRAN (and hopefully soon to a mirror near you).
This is a major upgrade of the package, some of the improvements
include:
The package now uses an NAMESPACE so it is easier to load just the parts
that you need.
Some of the GUI demonstrations now use tkrplot so that the graph is in
the same window as the controls (there
2008 Mar 26
0
Update of TeachingDemos package
This is to announce that versio 2.0 of the TeachingDemos package is now
on CRAN (and hopefully soon to a mirror near you).
This is a major upgrade of the package, some of the improvements
include:
The package now uses an NAMESPACE so it is easier to load just the parts
that you need.
Some of the GUI demonstrations now use tkrplot so that the graph is in
the same window as the controls (there
2009 Feb 25
0
RE : multiple regressions on columns
Hi David: If your variables are in a dataframe called DF and the
dependent variable is in the first column , you can do below but you
probably are well aware of this anyway.
lmresults<-lapply(names(DF[,-1],function(.name) {
lm(DF[,1] ~ DF[,.name], data=DF)
})
This will run through each of the variables in the dataframe and regress
the first column on each variable individually.
On
2010 Apr 27
1
Should mcnemar.test use as.factor instead of factor
I am working with the mcnemar.test function and the help does not show a maintainer/author, but it is part of the stats package.
My issue is that I want to use the test on 2 variables with possible values of 0:3, in one of the tests one of the variables does not have any 3's, so to make sure that the matrix is square I do:
> x <- factor(x, levels=0:3)
> y <- factor(y, levels=0:3)
2010 Feb 10
1
R crashes when setWinProgressBar is give a numeric value for label argument
This problem can be seen by the following commands:
> pb <- winProgressBar(max=1000, label='0')
> b <- 1
> setWinProgressBar(pb, b, label=b)
This set of commands (on windows of course, XP in this case) causes R to crash.
This is not strictly a bug since the documentation states that the label argument should be a character string and using as.character(b) does work
2010 Dec 09
2
RES: Barplot with "Independent" Lines Y axis
Oh sorry. An example say lots more than words. The data below, when
submitted to twoord.plot return the mentioned error. Rain are bars and Salt
lines, the bars appear and the error occurs with the salt data.
Point Rain Salt
Fev/03 365.6 13
Mar/03 235 18
Abr/03 115.1 18
Mai/03 47.4 18.75
Jun/03 112 15
Jul/03 156.8 17
Ago/03 66.1 15
Set/03 149.8 14
Out/03 167,1 11.5
Nov/03 269.3 17.5
Dez/03 283.7
2008 Feb 22
1
Clipping using par(plt=..., xpd=FALSE) inconsistencies
Here is a demonstration of behaviour that is probably an optimization by
someone far smarter than me that did not anticipate anyone wanting to do
this, but for my purposes it looks more like a bug than a feature.
I have tested this with R2.6.2 on Windows, no additional packages loaded
(beyond the default), I have tested using the default graphics object,
pdf, jpeg, and cairoDevice (ok I loaded a
2008 Jun 09
1
Systemfit (was RE: How to force two regression coefficients to be equal but opposite in sign?)
Thank you, Greg, and also to Scott Ellison, who replied privately. I am
in the process of trying out both suggestions.
After I sent my initial message, I came across the Systemfit package,
which allows specification of constraints on parameters. In theory,
this should solve my problem perfectly. However, I was not able to get
it to work with my data, as every attempt yielded the following
2008 Oct 22
2
Change background color in script window in Windows Rgui
Does anyone know how to change the background color of the script window(s) in Rgui on Windows?
I can use the "Gui Preferences" menu item under the Edit menu has an option that lets you change the background color for the console window and any help/info windows that pop up, but the script window(s) still have the white background. Am I missing a setting somewhere? Is this a missing
2011 Apr 04
1
Use keep.source for function in package with lazy loading
I have a function in one of my packages that I would like to print using the original source rather than the deparse of the function. The package uses lazy loading and the help page for library (under keep.source) says that keep.source does not apply to packages that use lazy loading and that whether those functions keep the source depends on when they are installed.
This package is on R-forge
2008 Oct 28
2
writting null (\000 or ^@) to an external text file without the new warning
I have some functions that write an external text file for postprocessing by another program. Some instructions to the other program need to be indicated by null values (\000 or ^@). The function currently uses code like:
writeChar(rawToChar(as.raw(0)), con)
where con is a connection to the file. Previous to version 2.8.0 this worked fine. With 2.8.0 it still works, but I get a warning
2009 Jul 29
1
Add a line in a Pairs2 and mark the axis length
Hi,
I have finally installed TeachingDemos trough zip file and installed on
lbrary.
One new question:
I want to draw a line (like abline) on diagonal or the result of running a
ols.
How can I do it.
On the other hand, I want to mark the length on each sub plot y axis.
It is possible?
My function is
sca<-function(){
z2<-read.table("Ase.txt",header=T)
2007 Dec 26
2
Reminiscing on 20 years using S
I realized earlier this year (2007) that it was in 1987 that I first
started using an early version of S (it was ported to VMS and was called
success). That means that I have been using some variant of S (to
various degrees) for over 20 years now (I don't feel that old).
Since things are a bit slow this time of year I thought I would take a
few minutes and reminisce on some of the changes
2012 Jan 07
2
glm or transformation of the response?
Hi Dr. Snow,
I am a graduate student working on analyzing data for my thesis and came
across your post on an R forum:
The default link function for the glm poisson family is a log link, which
means that it is fitting the model:
log(mu) ~ b0 + b1 * x
But the data that you generate is based on a linear link. Therefore your
glm analysis does not match with how the data was generated
2011 Sep 24
1
help
Mathew Brown
Institute of Bioclimatology
University of G?ttingen
B?sgenweg 2
37077 G?ttingen, Germany
t: +49 551 39 9359
mathew.brown at forst.uni-goettingen.de
On 9/24/2011 6:00 PM, r-help-request at r-project.org wrote:
> Send R-help mailing list submissions to
> r-help at r-project.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>
2010 Feb 22
1
grid unit bug? (PR#14220)
The following seems to me to be at least a perverse trap, if not an =
outright
bug:
> is.numeric(unit(1,"npc"))
[1] TRUE
> is.numeric(1*unit(1,"npc"))
[1] FALSE
> is.numeric(unit(0,"npc") +unit(1,"npc"))
[1] FALSE
...etc.
i.e. is.numeric() appears to be TRUE for class "unit" but false for =
class
("unit.arithmetic"