Displaying 20 results from an estimated 8000 matches similar to: "summary[["r.squared"]] gives strange results"
2000 Apr 10
2
Newbie: how to calculate group averagege?
Dear R-List,
I?m new in R, so I hope my question is not to primitive, but I haven?t
found a solution in the R-help. I?ve got a datatframe with 3 factors,
called xf (9 levels), yf (9 levels), zf (3 levels) and one variable
(rt):
> xf yf zf rt
> 1 1 1 67
> 1 1 1 56
> 1 1 1 60
[...]
> 1 1 2 58
> 1 1 2 61
[...]
> 9 1
2014 May 06
3
Mapa de quantiles con spplot
Hola,
El problema con la propuesta de Olivier es que los intervalos son
diferentes para cada variable.
La forma sencilla y rápida es:
spplot(zm["part88"], col.regions=plotclr, at=class$brks)
Pero para que quede más elegante hay que dar algunos pasos más:
## Intervalos en forma character
op <- options(digits=4)
tab <- print(class)
options(op)
intChar <- names(tab)
## Indice
2014 May 05
3
Mapa de quantiles con spplot
Hola, no me funciona:
Te contesto lo mismo que le contesté a otro compañero de la lista, espero ser más claro.
Les comparto la carpeta con la capa y los datos que estoy usando.
https://www.dropbox.com/s/umy0evt3qm1wr4d/dissolve.zip
Esto es lo que estoy haciendo:
library(rgdal)
library(maptools)
library(sp)
library(classInt)
library(RColorBrewer)
zm <- readOGR(?.?, ?zmdis?)
data <-
2014 May 03
2
Mapa de quantiles con spplot
Hola,
Intento representar en un mapa participaciones porcentuales de los sectores económicos y no logro hacerlo con spplot.
He intentado con spplot(zm, c(?part88?, ?part93?), cuts=4, col.regions=brewer.pal(4, ?Set3?))
Lo pude hacer utilizando el base graphics de R, definiendo:
> plotvar88 <- zm$part88
> nclr <- 8
> plotclr <- brewer.pal(nclr, "PuOr")
> plotclr
2010 Jul 27
0
3d topographic map [SEC=UNCLASSIFIED]
Hi Sherri,
There are examples of topographic maps which you have been pointed to, however, I suspect that you want to know where you can obtain topographic data from rather than a canned example.
There are quite a few intricacies to the process so I will go through them for you.
(1)
Topography files can be found in the geomapdata library. You will probably want to use the maps package too (if
2006 Feb 08
3
print formula on plot
I estimate some parameters and I want to print them (pretty) on my plot:
# somehow estimated parameters
z<-c(1.543523e+00, 1.23453e+00, 3.454000e+00)
x<-seq(-1,1,length=100)
plot(x,z[3]*x^2+z[2]*x+z[3],type="l", main="My nice plot of the
estimated function")
zs<-format(z,digits=4,scientific=FALSE,trim=TRUE)
text(-0.9,7,expression(1.54*x^2)) # is
2014 Mar 12
3
Sobreponer dos mapas
Hola,
Estoy tratando de sobreponer un mapa sobre otro, uno que sirva de ?background? y otro con datos. Mi primer intento lo hice usando el paquete PBSmapping.
Aquí lo que hice:
library(PBSmapping)
estados <- importShapefile(?Entidades_2013.shp") #Aquí cargamos las entidades federativas (32 entidades)
zonas <- importShapefile(?zm.shp?) #Aquí cargamos las zonas metropolitanas del país
2011 Oct 25
1
regression using GMM for mulltiple groups
Inthe code below I was trying to to obtain the GMM estimates for CAPM
(REGRESSION) for 36 stocks each have 180 observations,however it only gives
me one output rather than 36.
In SAS i would just put in a *By statement*. I have a variable TICKER that
categorize them into 36 groups.
*How can I obtain all 36 output instead of just one.*
**
2019 Jul 24
2
Altering the return address , for a function with multiple return paths
On 7/23/19 8:42 PM, John McCall via llvm-dev wrote:
>
> On 21 Jul 2019, at 12:29, James Y Knight via llvm-dev wrote:
>
> Yes, indeed!
>
> The SBCL lisp compiler (not llvm based) used to emit functions
> which would
> return either via ret to the usual instruction after the call, or
> else load
> the return-address from the stack, then jump 2
2009 Jul 23
1
[PATCH server] changes required for fedora rawhide inclusion.
Signed-off-by: Scott Seago <sseago at redhat.com>
---
AUTHORS | 17 ++++++
README | 10 +++
conf/ovirt-agent | 12 ++++
conf/ovirt-db-omatic | 12 ++++
conf/ovirt-host-browser | 12 ++++
2006 Oct 11
1
during fitting of successive datasets, stall crashes iterations
Hi all,
I am trying to do fitting of large sets of timeseries data, and error
messages derail the process when I encounter a dataset that doesn't fit. I'd
like to ignore those "misfits" and try another equation or move to the next
dataset. Any ideas? (piece of code below)
Thanks, --Warren
##The code looks something like this:
attach(zf)
x <- hours
2012 Apr 23
2
zipfR help
Hi,
I have a question on generating random variables based on zipf-mandelbrot
distribution.
So when I execute the following lines:
ZM = lnre ("zm", alpha = 2/3, B=0.1)
zmsample = rlnre (ZM, n =100)
zmsample
It generates 100 random values based on a zipf-mandelbrot distribution as
below. But how do I make sure the generated random number is within the
range of 1 - 6000 only? Can I
2020 Feb 27
2
[PATCH] Update the 5 year logo to 10 year logo
Already outdated, but rounded ;)
I literally just opened the 5yrs logo, changed the text and then done:
inkscape -z -o logo/fish-10yrs.{png,svg}
cp {logo,website}/fish-10yrs.svg
and then updated the rest of the files.
Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
---
Makefile.am | 2 +
logo/fish-10yrs.png | Bin 0 -> 65790 bytes
logo/fish-10yrs.svg |
2012 Feb 25
1
Unexpected behavior in factor level ordering
Hello, Everybody:
This may not be a "bug", but for me it is an unexpected outcome. A
factor variable's levels
do not retain their ordering after the levels function is used. I
supply an example in which
a factor with values "BC" "AD" (in that order) is unintentionally
re-alphabetized by the levels
function.
To me, this is very bad behavior. Would you agree?
#
2018 Feb 15
0
llvm-6.0.0rc2: fatal error: clang/Basic/Version.h: No such file or directory
On 15 Feb 2018, at 15:45, Siegmar Gross via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>
> today I've tried to build llvm-6.0.0rc2 using Cmake on my "SUSE Linux
> Enterprise Server 12.3 (x86_64)" with the following commands (gcc-6.4.0
> is necessary for CUDA-9.0).
>
>
> wget http://prereleases.llvm.org/6.0.0/rc2/llvm-6.0.0rc2.src.tar.xz
> wget
2020 Mar 26
0
[PATCH nbdkit 9/9] tests/old-plugins: Add plugin from nbdkit 1.18.2.
This is significant because it's a plugin which was from the last
stable release containing undefined symbols (in the internal plugins).
$ ldd -r tests/old-plugins/x86_64/Linux/v1.18.2/nbdkit-file-plugin.so
linux-vdso.so.1 (0x00007ffe86cdd000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f551b3e5000)
libc.so.6 => /lib64/libc.so.6 (0x00007f551b21b000)
/lib64/ld-linux-x86-64.so.2
2010 Jan 07
3
tar exclude command
Hi
I have problem in tar command
Can you help?
tar -cv --exclude /var/named/chroot/proc/* -zf backup.tar.gz /var/named
/var/named/chroot/proc/net/route
/var/named/chroot/proc/net/udp
/var/named/chroot/proc/net/tcp
tar: Error exit delayed from previous errors
Thank you
Send instant messages to your online friends http://uk.messenger.yahoo.com
2007 Aug 11
1
Artifacts in pdf() of image() (w/o comments)
Dear r-helpers,
In my previous message there were comments in the code that may have
made cutting and pasting awkward. Here it is w/o them.
I have two questions:
(1) The following produces a pdf with artifacts. How do I prevent them?
require(grDevices)
imSize <- 200
lambda <- 10
theta <- 15
sigma <- 40
x <- 1:imSize
x0 <- x / imSize -.5
freq = imSize/lambda
xf = x0 * freq *
2007 Apr 24
1
read.table
sorry,
I don't undersatnd what happens
Annee_O;Id_Essai;Id_Rep;Id_Geno;Id_Cult;Lib_Geno;St_Cult;Id_Par;X_Par;Y_Par;Id_Cara;Surf_O;Val_O;Ori_O;Stade_O;Date_O;Id_Bloc;Id_TrT1
2004;1006003;1;55094;1012988;XF 338/1;;1;1;1;137;;9.4;P;;09/09/2004;1;0
2004;1006003;1;55094;1012988;XF 338/1;;1;1;1;193;;189;P;;01/01/2004;1;0
2004;1006003;1;55094;1012988;XF 338/1;;1;1;1;103;14.95;85;P;;09/09/2004;1;0
2018 Feb 15
4
llvm-6.0.0rc2: fatal error: clang/Basic/Version.h: No such file or directory
Hi,
today I've tried to build llvm-6.0.0rc2 using Cmake on my "SUSE Linux
Enterprise Server 12.3 (x86_64)" with the following commands (gcc-6.4.0
is necessary for CUDA-9.0).
wget http://prereleases.llvm.org/6.0.0/rc2/llvm-6.0.0rc2.src.tar.xz
wget http://prereleases.llvm.org/6.0.0/rc2/cfe-6.0.0rc2.src.tar.xz
wget