Displaying 9 results from an estimated 9 matches for "oldcol".
2020 Mar 05
4
uso de switch o alternativa
Estimados colegas:Tengo un problema que debe de tener una solución simple pero ya me entrampe.tengo un conjunto de valores para ciertos elementos, y se debe asignar un valor ente 1 y 4, según un rango, he estado intentándolo hacer con switch pero no me ha funcionadola idea es la siguiente tengo el elemento 1, y se debe de asignar un valor de acuerdo a la siguiente tabla
| 1 | 2 |
2001 Nov 29
1
rug(x) clip warning incorrect if par("xlog")==TRUE (PR#1188)
...:2,log="x")
> rug(c(0,.1,.2)) # should warn, but does not
>
I believe this fixes the problem:
% diff -c /tmp/orig.rug.R /tmp/cberry.rug.R
*** /tmp/orig.rug.R Thu Nov 29 12:59:00 2001
--- /tmp/cberry.rug.R Thu Nov 29 12:57:50 2001
***************
*** 11,19 ****
on.exit(par(oldcol), add = TRUE)
}
usr <- par("usr")
! usr <- if (side%%2 == 1)
! usr[1:2]
! else usr[3:4]
if (any(x < usr[1] | x > usr[2]))
warning("some values will be clipped")
axis(side, at = x, lab = FALSE, lwd = lwd)
--- 11,25 ----
on.exit(pa...
2010 May 28
4
Matrix interesting question!
hi,
I have been trying to do this in R (have implemented it in Excel) but I have
been using a very inefficent way (loops etc.). I have matrix A (columns are
years and ages are rows) and matrix B (columns are birth yrs and rows are
ages)
I would like to first turn matrix A into matrix B
And then I would like to convert matrix B back again to the original matrix
A. (I have left out details of
2005 Jan 30
1
New user...tips for spdep?
...ve been able
to duplicate the example in the help documentation (e.g.,
http://finzi.psych.upenn.edu/R/library/spdep/html/moran.html), but without
understanding what the commands really do, I'm unable to proceed much
further. How might I figure out the data that gets loaded when I run
'data(oldcol)' for example?
Is there anyone that might be able to give me some tips, or point me in the
right direction?
Thanks in advance for any suggestions.
Mike
[[alternative HTML version deleted]]
2005 May 27
3
Soil texture triangle in R?
Dear R users,
has anybody made an attempt to create the soil texture triangle graph in
R? For an example see here:
http://www.teachingkate.org/images/soiltria.gif
I would like to get the lines in black and texture labels in gray to
allow for plotting my texture results on top.
Any examples or suggestions are very welcome!
Thanks in advance,
Sander.
--
2002 Nov 06
5
"chemical" plot
Hi all,
May be there is a plot which shows 3 variables in a triangle, their sum
being constant. I have forgotten its name, and a search in the engine using
"plot" did not help.
Does anyone know of such a procedure in R or S?
Thank you
--christian
Dr.sc.math.Christian W. Hoffmann
Mathematics and Statistical Computing
Landscape Dynamics and Spatial Development
Swiss Federal Research
2003 Nov 27
1
lagsarlm - using mixed explanatory variables (spdep package)
Hello
I'm very new to R (which is excellent), so apologies if this has already
been raised. In the spdep package, I'm trying to undertake an
autoregressive mixed model using the lagsarlm function. This is working
fine, but there does not appear to be a method of including an explanatory
variable without it automatically being included as a lagged term. I'm
after something along the
2005 Jan 30
1
New user...tips for spdep
[This email is either empty or too large to be displayed at this time]
2008 May 05
3
troubles with R CMD check and examples under Ubuntu gutsy
Dear listers,
I was used to package pgirmess under Windows with everything OK, but,
for the first time, I had a trial this afternoon on Ubuntu 7.10 gutsy (I
have a double boot computer and work more and more under unix) and R
2.7.0. Everything went OK except this:
sudo R CMD check pgirmess
.....
* checking examples ... ERROR
Running examples in 'pgirmess-Ex.R' failed.
The error most