Displaying 20 results from an estimated 4000 matches similar to: "help with legend()"
2002 Nov 06
1
tcltk package under Windows
Hello,
Based on reading the Windows FAQ and searching the list archives, I
gather that in the past, Active Tcl 8.3.x has been required in order to
use the tcltk package under R for Windows. Apparently Active Tcl 8.4.1
is now stable, and I was wondering whether this newer release of Tcl can
be used with R under Windows? I've not used Tcl/Tk before but I am
considering using it for some
2013 Jul 09
1
[off topic] [research] Interviews for contributors over 50 for Oregon State University research
Hello,
Researchers at Oregon State University are striving to conduct
research to learn more about the free/open source software community
landscape as it relates to older adults. We have identified you as a
leader for a free/open source software community. If you?re
interested, we will either do an in-person interview (if you are local
to the Corvallis or Portland area), or an interview over the
2006 Sep 12
4
variables in object names
Is there any way to put an argument into an object name. For example,
say I have 5 objects, model1, model2, model3, model4 and model5.
I would like to make a vector of the r.squares from each model by code
such as this:
rsq <- summary(model1)$r.squared
for(i in 2:5){
rsq <- c(rsq, summary(model%i%)$r.squared)
}
So I assign the first value to rsq then cycle through models 2 through
2006 Oct 18
2
Nested source() errors
Does anyone know of any issues with nesting source() calls within
multiple scripts? I have at least one script which always finds errors
when I source it but runs fine when run on its own. It containd source()
calls to other scripts and it seems to fail during the first nested
source() command.
Ken
Kenneth B. Pierce Jr.
Research Ecologist
Landscape Ecology, Modeling, Mapping and Analysis
2010 Oct 07
2
How do I set the dispersion parameter in poisson glm?
Dear R users,
I would like to fit a glm with Poisson distribution and log link with a known dispersion parameter. I do not want to estimate the dispersion parameter. I know what it is, so I simply want to fix it at a constant for this and other models to follow. My simple, no covariate model is:
Tall.glm<-glm(Seedling~1,
family=poisson,
offset(log(area)),
data=tallPSME.df)
I want to
2006 Sep 20
1
problem coercing truncated character vector to levels
Dear R wizes,
I have a data.frame of species abundances with column names consisting
of 4 letter codes then an underscore and a number like this:
abco_1, abco_2, abco_3, psm_1, psme_2, psme_3, etc.
I would like to get an identifier for all the abco, and psme and other
species etc.
I used
spec.fact<-substring(names(spec.count),1,4)
To make a vector of the first 4 letters of
2007 Sep 07
2
Running a PERL script from R
Is there a way to run a simple perl script from R?
Kenneth B. Pierce Jr.
Research Ecologist
Landscape Ecology, Modeling, Mapping and Analysis Team
PNW Research Station - USDA-FS
3200 SW Jefferson Way, Corvallis, OR 97331
ken.pierce@oregonstate.edu
541 750-7393
http://www.fsl.orst.edu/lemma/gnnfire
http://www.fsl.orst.edu/R_users/index.php
[[alternative HTML version deleted]]
2010 Dec 15
1
problem with ~/mail/ namespace
We just changed from UW imap last night and one of our bigger problems
right now is that the ~/mail/ compatibility namespace doesn't seem to
work. dovecot 2.0.8
Dec 15 12:01:52 zen.engr.oregonstate.edu dovecot: [ID 583609
mail.warning] imap(tom2): Warning: Subscriptions file
/nfs/rack/u4/t/tom2/mail/.subscriptions: Ignoring invalid entry:
~/mail/foo1/folder1
Dec 15 12:01:52
2005 Jun 15
1
(no subject)
Are there functions available computing the gamma-correlation for ordinal
scaled variables and kappa-accuracy for nominal variables,
thanks, Mark
...........................................................................
Swiss Federal Institute for Forest, Snow and Landscape Research
Zuercherstrasse 111 - 8903 Birmensdorf - Switzerland
e-mail: markus.schwarz at wsl.ch
www:
2007 Dec 05
1
Information criteria for kmeans
Hello,
how is, for example, the Schwarz criterion is defined for kmeans? It should
be something like:
k <- 2
vars <- 4
nobs <- 100
dat <- rbind(matrix(rnorm(nobs, sd = 0.3), ncol = vars),
matrix(rnorm(nobs, mean = 1, sd = 0.3), ncol = vars))
colnames(dat) <- paste("var",1:4)
(cl <- kmeans(dat, k))
schwarz <- sum(cl$withinss)+ vars*k*log(nobs)
Thanks
2007 Jun 14
1
back-transform predictors for x-axis in plot -- mgcv package
My question is related to plot( ) in the mgcv package. Before modelling
the data, a few predictors were transformed to normalize them.
Therefore, the x-axes in the plots show transformed predictor values.
How do I back-transform the predictors so that the plots are easier to
interpret?
Thanks in advance,
Suzan
--
Suzan Pool
Oregon State University
Cooperative Institute for Marine
2014 Apr 17
2
segfault with shared namespace version > 2.1.16
We're currently running 2.1.16. I've been wanting to update to a 2.2.X
version, but have been running into problems, even with the latest
(2.2.12). I'm not sure at what version this issue appeared, but I
believe I've tried 2.2.10, 2.2.11, and now 2.2.12.
We have a shared maildir setup. With that configuration in place and
with a user in the dovecot-acl file, I can do the
2009 May 14
1
Bayesian Model Averaging
Hello R Group,
Below is the code I submit:
library("BMA")
X <- read.table("C:/Documents and
Settings/Administrator/Desktop/coding.txt",header=TRUE)
Y <- read.table("C:/Documents and
Settings/Administrator/Desktop/1DCS.txt",header=TRUE)
IGout<- iBMA.glm(X, Y, glm.family= gaussian(), verbose = TRUE, thresProbne0
= 5 )
summary(IGout)
IGout
I
2004 Jul 22
2
Authentification with PostgreSQL
Hi all,
I found Dag Wieers' Fedora Core 2 rpm on
http://dag.wieers.com/packages/dovecot/ and installed it. Now
dovecot-auth isn't complaining anymore about an unknown userdb type
but I can't get authentication working.
/etc/dovecot.conf
(...)
# Authentication process name.
auth = default
# plain digest-md5 anonymous
auth_mechanisms = plain
auth_userdb = pgsql
2009 Apr 22
2
R-User groups in North America (SF, LA, NYC, Ottawa)
Hi R folks,
I'd like to announce several new R users groups here in SF, LA, NYC,
and Ottawa - as well as their next scheduled event. The goal of these
user groups, besides gently explaining 'drop=TRUE' to the uninitiated,
is to exchange knowledge, promote best practices, and spur the
adoption of R for innovative applications. If I've missed any groups
here, please feel to add on
2007 Aug 20
5
byte-range requests
Hello everyone,
I did some initial tests and it seems that mongrel does not support
byte-range requests. Is this correct?
The reason I ask is that the iPhone requires byte-range requests to
work in order to stream audio or video from a web server.
Thanks in advance,
alan
2004 Sep 23
3
"moving average" method for time series objects
Dear R-Help readers,
I suspect that this question must be a FAQ, but my investigation of the archives has not been very revealing. Is there an R function for calculating moving averages of time series objects?
Thank you for your time and patience.
-Paul
Paul Schwarz, Ph.D.
Associate Director of Methodology
Gartner
Vendor Marketing Solutions, Custom Research
+1 503 241 8036 x186
2001 Mar 25
8
OpenSSh 2.5.2p2 on Linux/Sparc
When doing a simple configure of OpenSSh 2.5.2p2 on a Sparc running
RedHat 6.0 I get:
...
updating cache ./config.cache
creating ./config.status
creating Makefile
sed: file conftest.s1 line 1: Unknown command: ``^''
creating openbsd-compat/Makefile
sed: file conftest.s1 line 1: Unknown command: ``^''
creating ssh_prng_cmds
sed: file conftest.s1 line 1: Unknown command:
2013 Feb 04
1
is it possible to create a trellis object with multiple colorkeys/z-scale axis?
Dear R users-
Do the lattice/latticeExtra packages support multiple tileplots with unique
colorkeys? I am trying to create a visualization of the encounter rate of
certain stocks of salmon across two years. The issue I am having is that
some stocks are encountered at much higher rates than others.the high
encounter rate for one stock washes out the patterns I'm hoping to visualize
across the
2004 Sep 01
2
using hist() with tapply()
Hi,
I've been passing the hist() function to tapply() to quickly generate histograms based on the list of factors supplied to tapply(). However, I have not figured out how to generate titles for each of the histograms, which paste in the unique values of the list factors as part of the histogram title. I'm hoping that someone can tell me how to do this.
Thanks for your time and