Displaying 20 results from an estimated 1000 matches similar to: "Plotting with direction of axes reversed."
1999 Oct 21
1
left.solve
I have sort of an emergency question for the list. One of my professors
for an S-Plus intensive class distributed a function to produce partial
regression plots. I need to run it under R, because I'm doing the
homework on my home computer with a modem; hence I don't have the speed
required to emulate X-Windows and run S Plus off one of the campus
servers. Bottom line: I'm using R.
2020 Jan 18
1
How to get an object name from C?
(earlier I sent it as html by mistake).
Hi,
How can I get from C an object name used as a function argument? I
have sample code in C that gives me access to the name of the function
being called:
SEXP xname(SEXP x)
{
const char *fun_name = CHAR(PRINTNAME(CAR(x)));
x = CDR(x);
const char *arg_name = isNull(TAG(x)) ? "" : CHAR(PRINTNAME(TAG(x)));
2015 Feb 11
2
[PATCH] Fix for client certificate validation does not work
Hi all,
As I reported earlier (with a typo in the work [BUG]) client
certification validation *does not* work even if you do everything
exactly according to all documentation and attempts at helpful advice.
I have seen this issue with both startssl.com and self-signed
certificates, and based on what I've seen from searching the web, this
is a problem that has gotten little attention because
2013 Nov 01
1
Package(s) for making waffle plot-like figures?
Dear all,
I am trying to make a series of waffle plot-like figures for my data to
visualize the ratios of amino acid residues at each position. For each one
of 37 positions, there may be one to four different amino acid residues. So
the data consist of the positions, what residues are there, and the ratios
of residues. The ratios of residues at a position add up to 100, or close
to 100 (more on
2005 May 13
0
randomForest partialPlot x.var through function
All,
I'm trying to set up a function which calls the partialPlot function but
am getting an error that I can't seem to solve. Here's a simplified
version of the function and error...
> pplot <-
function(rf,pred.var){partialPlot(x=rf,pred.data=acoust,x.var=pred.var)}
>
> attach(acoust)
> acoust.rf <-
2009 May 28
0
R-help Digest, Vol 75, Issue 28
> >> From: Jeff Newmiller <jdnewmil at dcn.davis.ca.us>
> >> To: "R Heberto Ghezzo, Dr" <heberto.ghezzo at mcgill.ca>
> >> Date: Wed, 27 May 2009 09:00:44 -0700
> >> Subject: Re: [R] R in Ubunto
> >> R Heberto Ghezzo, Dr wrote:
> >>
> >> ? ?Hello , I do not know anything abount Ubunto, but I found a Portable
2009 Feb 27
0
help with correct use of function lsfit
To the purpose of fitting a 2nd order polynomial (a + b*x + c*x^2) to the chunk of signal falling in a 17 consecutive samples window
I wrote the following very crude script. Since I have no previous experience of using Least Square Fit with R I would appreciate
your supervision and suggestion.
I guess the returned coefficients of the oolynomial are:
a = -1.3191398
b = 0.1233055
c = 0.9297401
2002 Feb 27
1
Bug in glm.fit? (PR#1331)
G'day all,
I had a look at the GLM code of R (1.4.1) and I believe that there are
problems with the function "glm.fit" that may bite in rare
circumstances. Note, I have no data set with which I ran into
trouble. This report is solely based on having a look at the code.
Below I append a listing of the glm.fit function as produced by my
system. I have added line numbers so that I
2004 Dec 21
0
Fwd: problems with limma
On Wed, December 22, 2004 12:11 am, r.ghezzo at staff.mcgill.ca said:
> ----- Forwarded message from r.ghezzo at staff.mcgill.ca -----
> Date: Mon, 20 Dec 2004 15:45:11 -0500
> From: r.ghezzo at staff.mcgill.ca
> Reply-To: r.ghezzo at staff.mcgill.ca
> Subject: [R] problems with limma
> To: r-help at stat.math.ethz.ch
>
> I try to send this message To Gordon
2006 Jul 03
1
xlab, ylab in balloonplot(tab)?
I'm not understanding something.
I'm trying to add xlab & ylab to a balloon plot of a table object. From docs
I thought following should work:
require(gplots)
# From balloonplot example:
# Create an example using table
xnames <- sample( letters[1:3], 50, replace=2)
ynames <- sample( 1:5, 50, replace=2)
tab <- table(xnames, ynames)
balloonplot(tab)
2005 Jul 17
1
printing the name of the arguments passed to a function
R2.1.1
Win 2k
I have a function, B, within a function, A.
I would like to have B print the name of the argument passed to it (not
the value of the arguments).
i.e.,
A<-function()
{
B<-function(x,y)
{
fit1<-lm(y~x,data=jo)
print(summary(fit1)
I want B to print the string "age" and the string "height".
}
B(age,height)
}
2001 Oct 23
0
problems with postscript device
Hola!
I am producing postscript output from R (windows 98), both using firts
the windows devicd and then " copy to postscript", or using the
postscript device directly. The problem shows up equally both ways.
The function producing the plot is given below. The only difference I
can see with this function and other I have producing plots, is that
this uses split.screen(). I include the
2011 Sep 14
1
substitute games with randomForest::partialPlot
I'm having trouble calling randomForest::partialPlot programmatically.
It tries to use name of the (R) variable as the data column name.
Example:
library(randomForest)
iris.rf <- randomForest(Species ~ ., data=iris, importance=TRUE, proximity=TRUE)
partialPlot(iris.rf, iris, Sepal.Width) # works
partialPlot(iris.rf, iris, "Sepal.Width") # works
(function(var.name)
2012 May 03
1
deparse(substitute(x)) on an object with S3 class
Dear list,
can someone explain to me why deparse(substitute(x)) does not seem to work
when x is of a user-defined S3 class?
In my actual problem, my print method is part of a package, and the method
is registered in the NAMESPACE, if that should make a difference.
> print.testclass <- function(x,...){
xname <- deparse(substitute(x))
cat("Your object name
1998 Jun 25
0
security hole in mailx
Hi there.
I''ve discovered a rather serious security hole in mailx, the good
old Berkeley mail program. It''s somehow present at least in the
last versions I''ve checked (mailx-8.1.1 in Linux, mailx 5.0 in
Solaris). The bug is an exploitable buffer overflow (using the
HOME environment variable) that allows any local user to acquire
the privileges under which the program
1998 Dec 07
0
R for WINDOWS (was R-0.63.1 is released)
> To: "Heberto Ghezzo" <heberto at MEAKINS.Lan.McGill.CA>
> Subject: Re: [R] R-0.63.1 is released
> From: Peter Dalgaard BSA <p.dalgaard at biostat.ku.dk>
>
> "Heberto Ghezzo" <heberto at MEAKINS.Lan.McGill.CA> writes:
>
> > Sorry for a silly question but. . .
> > why the new version is 'bdr0631' ? what is the
2001 Oct 26
1
postscript problem (PR#1147)
I reported this earlier, and have got reports that others have the same
promlem on UNIX machines, so it is not only a windows problem
S I file a bug report.
The function (boot.stat) given at the end produces a postscript file,
which cannot be included correctly in LaTeX. Specifically,
the image in LaTeX (when translated by dvips to postscript)
becomes very small, not using the bounding box, and
2019 Oct 01
1
Improvement in hist command documentation
Hi all,
In the histogram created with the `hist` command, the label of the y axis reads "Frequency ?.
Finding that the ylab key is used to change (localize) that word may seem difficult for people
who are beginners either in R or in english.
I suggest very minor modifications of the file hist.Rd at https://svn.r-project.org/R/trunk/src/library/graphics/man/hist.Rd.
1) make the default value
2010 Aug 18
4
Using objectname in function
Is there anyway I can convert a vectors objectname to a string to be used in
fx:
Monkey<-c(0,0,0,1,1,1)
Wax<-c(1,0,1,0,1,0)
f<-function(x,y){ table(x,y) }
f(Monkey,Wax)
so that the printout is not
y
x 0 1
0 1 2
1 2 1
but
Wax
Monkey 0 1
0 1 2
1 2 1
--
View this message in context:
2014 Jun 12
1
do.call Error for Function Not Present When Manually Called
Hello,
The e1071 function naiveBayes gives an error when called by do.call, although it doesn't give any error if I call it manually.
Browse[1]> trainParams at classifier
function (x, ...)
UseMethod("naiveBayes")
<environment: namespace:e1071>
Browse[1]> trained <- do.call(trainParams at classifier, paramList)
Error in names(dimnames(tables[[i]])) <- c(Yname,