Displaying 20 results from an estimated 1000 matches similar to: "saving plots"
2004 Aug 27
1
ANCOVA
Dear R-help list,
I am attempting to understand the proper formulation of ANCOVA's in R. I
would like to test both parallelism and intercept equality for some data
sets, so I have generated an artificial data set to ease my understanding.
This is what I have done
#Limits of random error added to vectors
min <- -0.1
max <- 0.1
x <- c(c(1:10), c(1:10))+runif(20, min, max)
x1 <-
2009 Jun 26
3
changing default arguments of a function and return the modified function as a result
Dear R-users,
I am trying to develop a function that takes another function as an argument,
changes its default values and returns a list of things, among which the
initial function with its default arguments changed. An example of what i
will like to obtain below:
## initial function
myfun <- function(x, a=19, b=21){ return(a * x + b) }
## this is the function i will like to create
##
2003 Jan 30
2
nearest neighbour interpolation
Dear Help List,
My name is Matt Oliver. I have been using R for about a year and find it very
helpful. However, I have a need for a function that I cannot find. I am not very
good at programming so I thought I would ask the group.
I have an irregular grid of data (x = Longitude, y = Latitude). Each pair of my x,y
has a categorical value. Obviously linear or any other numerically based
2007 Apr 24
1
Importing a CSV file
Hi,
I'm trying to load .csv file into R (3790 by 30). I'm having an odd
difficulty. After I type:
read.csv("niwage.csv", header = TRUE)
the data appears on the screen. The last thirty or so observations appear
on the screen and they have been read in correctly.
However, when I type:
dim(data)
I see:
NULL
This seems odd to me--R seems to be recognizing the data but not
2001 May 11
1
lsoda
I am running R 1.2.3 with ESS5.1.18 with Windows 98.
I am trying to use lsoda in the odesolve apckage and am having problems.
Question:
The return value of the function of the system of ode's has to be a list
that includes first, the ode's and second, "a vector
(possibly with a `names' attribute) of global values that are
required at each point in `times'."
I
2016 Aug 29
2
Publication
Hi,
Can you add the following two publications from our group to the LLVM
publications page.
-
*Alive-FP: Automated Verification of Floating Point Based Peephole
Optimizations in LLVM [pdf]
<http://www.cs.rutgers.edu/~santosh.nagarakatte/papers/alive-fp-sas16.pdf>
*David
Menendez, Santosh Nagarakatte, and Aarti Gupta
*To Appear in the Proceedings of the 23rd Static Analysis
2011 Jun 16
1
Merging yields "Error: unexpected input ..."
I am new to R and am having difficulty merging 2 data sets, both of which have the same 30 variables and about 2,000 records. I've looked high and low—Paul Johnson's help page, through some of the 5,420 (yikes!) results for “merge” on the R list archives, and google searches—and I'm getting nowhere, so I thought I'd ask.
When I try to merge by the ID variable:
>
2010 Mar 09
4
Scripts from The Elements of Statistical Learning book
Anyone know if it is possible to get the R scripts used in the "The Elements
of
Statistical Learning" book? It is a great book but sometimes some help would
be useful to replicate the results presented in the book and so, understood
things better.
Thanks
Manuel
--
View this message in context:
2010 Feb 02
2
barplot y axis too short
Hello,
The function barplot automatically creates a y-axis that doesn't necessarily
cover the range of y-values to be plotted. I know how to manually create my
own y-axis so that it does cover the range, but I was wondering if there is
some parameter to change so that the scale of the y-axis is automatically
taller than the tallest bar.
I thought setting xpd=F would do it, since it says that
2013 Nov 11
1
r package to solve for Nash equilibrium
Is there an r package out there that solves for pure strategy* Nash
equilibrium of a two-person game*? A search for Nash equilibrium in r
provides a link to the *GNE* package which solves for the Generalized Nash
equilibrium. But what I would like to solve is a pure strategy Nash
equilibrium.
[[alternative HTML version deleted]]
2017 Jun 27
5
Nash equilibrium and other game theory tools implemented in networks using igraph or similar
Does anyone know of some code, and examples that implement game theory/Nash
equilibrium hypothesis testing using existing packages like igraph/statnet
or similar?
Perhaps along the lines of this article:
Zhang, Y., Aziz-Alaoui, M. A., Bertelle, C., & Guan, J. (2014). Local Nash
Equilibrium in Social Networks, *4*, 6224.
Best,
Chris Buddenhagen
cbuddenhagen at gmail.com
[[alternative HTML
2013 Sep 24
1
recordPlot() on non-interactive graphics device?
Hi.
Q. Is there a way to record a plot using grDevices::recordPlot()
without opening an interactive (=visible GUI window) graphics device
(not even for a flash of a second)?
Related: help("recordPlot", package="grDevices") says:
"These functions record and replay the displaylist of the current
graphics device."
Is the intention that recordPlot() should be able to
2017 Jun 28
0
Nash equilibrium and other game theory tools implemented in networks using igraph or similar
Hello Chris,
I was implying you are capable enough to implement it, while you have
already identify a research paper. If there is no package out there,
uploading to CRAN would help future user too. I am more than happy to
help if you want to implement from scratch.
Best,
Mehmet
On 27 June 2017 at 17:45, Chris Buddenhagen <cbuddenhagen at gmail.com> wrote:
> Does anyone know of some
2013 Oct 18
1
R packages in Fedora 18 and 19
I thought that Fedora 18 and Fedora 19 included packages for R.
But now I find that yum reports nothing available:
# yum install R-devel R
Loaded plugins: auto-update-debuginfo, langpacks, refresh-packagekit, versionlock
No package R-devel available.
No package R available.
So I went to check manually in the download directory, e.g.
2017 Jun 28
2
Nash equilibrium and other game theory tools implemented in networks using igraph or similar
I don't think OP asked an unreasonable question at all.
Civility!
> On Jun 27, 2017, at 2:00 PM, Suzen, Mehmet <mehmet.suzen at gmail.com> wrote:
>
> Why don't you implement and uplad the package to CRAN?
>
> On 27 Jun 2017 17:45, "Chris Buddenhagen" <cbuddenhagen at gmail.com> wrote:
>
> Does anyone know of some code, and examples that
2010 Dec 11
2
Predator Prey Models
Dear R-users,
I am currently modifying a previously developed predator prey model and
was curious if there was a way to add in a disturbance to the model (let's
say at time t=100). The disturbance can be the introduction of 40 prey
(N=40) and 10 predators (Pred = 10). I would like to see my model go from a
state of equilibrium (up to t = 99), show this disturbance (at t = 100) and
then
2006 Jan 08
9
URL/Site structure
Greetings,
I''m fairly noob with rails and making my first DB driven site with it.
I''m using the scaffold generator to develop the admin side of my site
(admin_controller)
I have three sections that I want to have the administrator edit, and I
want to call these from the admin controller that has a layout with
navigation to these three sections.
When using the scaffold
2017 Jun 28
4
Nash equilibrium and other game theory tools implemented in networks using igraph or similar
I responded to the unhelpful suggestion "Why don't you implement and uplad the package to CRAN?" No mention of a search engine. Is this what you are commenting on Jeff?
> On Jun 28, 2017, at 5:41 AM, Jeff Newmiller <jdnewmil at dcn.davis.ca.us> wrote:
>
> In what way does reminding people that packages exist because others just like them contributed something
2000 Jun 22
1
R 1.1 congrat; undocumented behaviour of recordPlot
Hello,
first, I'd like to congratulate the core team to the new R version 1.1. I
think it's a great update, with glimpses into an even greater future
(tcltk!).
While playing around with the new functions (on Win 95), I found the
following:
As the documentation states, when I generate a plot and save it with
recordPlot, I can regenerate it by printing the variable:
> plot(1:10)
>
2001 May 03
1
dataframe behavior
Windows98, Emacs20.7, ESS5.1.18
I recently constructing a data.frame "belle" that now does not spew its
contents when I type the name on the command line (see errors below). It
will only do so if I specify columns. Incidently, plot(belle) displays the
pairs plot of all variables.
> belle
Error in as.data.frame.default(x[[i]], optional = TRUE) :
can't coerce array into a