Displaying 20 results from an estimated 10000 matches similar to: "lattice: problem with cex argument."
2011 Sep 09
2
get and save
I have a data frame 'tmp' and a vector 'name' containing 'd2'.
I want to save 'tmp' under the name hidden in 'name', and the file must have
the same name, plus the extension '.rda'.
So I try
> tmp
x y
1 1 3
2 2 4
> name
[1] "d2"
> assign(name, tmp)
> summary(get(name))
x y
Min. :1.00 Min. :3.00
1st
2012 Feb 17
1
basic help: graph multivariate analysis.
Hey guys, I'd really appreciate any help.
I have a multivariate analysis done, the output of which is:
> GraphData <-read.table("eigen.coa")
> GraphData
V1 V2 V3 V4
1 1 0.371970 0.8552 0.8552
2 2 0.061785 0.1420 0.9972
3 3 0.001211 0.0028 1.0000
4 4 0.000000 0.0000 1.0000
> summary(GraphData)
V1 V2 V3
2004 Dec 28
1
RandomFields: Controling seed with GaussRF
Hi,
I'm using RF to simulate a correlated variable with GaussRF
set.seed=1
GaussRF(sim.kfinegrid, grid=F, model="exponential",
param=c(0,0.5,0,0.2))
However when I simulate again using the same random seed I get different
results.
> set.seed=1
> summary(GaussRF(sim.kfinegrid, grid=F, model="exponential",
param=c(0,0.5,0,0.2)))
Min. 1st Qu. Median Mean 3rd
2007 Aug 22
3
tackle memory insufficiency for large dataset using save() & load()??
Hello List, i have been agonizing over this for days, any reply would be greatly appreciated!
Situation:___________________________________
My original dataset is a .csv dataset (w/ 2M records) with 4 variables:
job_id (Primary key, won't be used for analysis, just used for join tables),
sector_id (categorical variable, for 19 industry sectors),
sqft (con't variable for square
2012 Jun 13
1
How to calculate the statistcs for extracted region?
I have a binary file(a) with size of (360 720 )for the globe.I wrote the code
given below to read and extract an area (south america)from that file. when
I use summary for the whole file I got:
summary(a, na.rm=FALSE)
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
0.00 1.00 3.00 4.15 7.00 20.00 200083 .
But when I used summary for the region(b) which I extracted, I got
2011 Jan 28
1
Problems making subsets with [] or "subset"
Hi,
I'm trying to make a model in order to know wich factors got?s influence in
the intensity of a infection, but just in the individuals who's got this
infection. In my data I've got a variable called "prevalence" with 2 levels:
1.- Infected individual
0.- Non infected
So what i'm trying to do is a subset in a model like this,
2018 Dec 17
1
Unnecessary apostrophe in English base::summary() NA count output?
Hello, this is quite a minor issue but as summary() is in all likelihood
one of the most widely used functions in R I decided to email this list.
When producing a count of missing values, summary() in English generates an
unnecessary and grammatically incorrect apostrophe (NA's rather than NAs)
in its table header. For example:
> summary(c(1,2,NA,3,4,NA))
Min. 1st Qu. Median Mean
2005 Dec 20
3
Overlaying lattice plots
Hillary, Richard M wrote:
> Morning chaps, I have a little question for your capable minds... Say
> I have an observed and predicted set of quants (in my case, length
> frequencies by year and age/length), is there a way to use lattice
> plots to plot the observed and predicted data together, panel by panel?
> Obrigado/gracias (thankyou in Galego is?...)
> Rich
Hi Richard,
If
2005 Dec 20
3
Overlaying lattice plots
Hillary, Richard M wrote:
> Morning chaps, I have a little question for your capable minds... Say
> I have an observed and predicted set of quants (in my case, length
> frequencies by year and age/length), is there a way to use lattice
> plots to plot the observed and predicted data together, panel by panel?
> Obrigado/gracias (thankyou in Galego is?...)
> Rich
Hi Richard,
If
2005 Dec 05
1
Changing strip var.name value on lattice::xyplot
Hi,
I want to use a different text for the strips of my xyplot but I'm
failing to do it. Can someone check on the following and comment ?
Thanks
EJ
xyplot(rnorm(100)~1:100|factor(rep(c(1,2),50)),
strip=strip.custom(var.name=c("M","F")))
2009 Aug 30
2
error with summary(vector)??
Hello,
I get
> summary(E)
level nodes ave_nodes time
Min. : 1 Min. : 1.00 Min. : 10.71 Min. : 0.0000
1st Qu.: 237414 1st Qu.: 2.00 1st Qu.: 19.70 1st Qu.: 0.0100
Median : 749229 Median : 3.00 Median : 27.01 Median : 0.0100
Mean : 767902 Mean : 49.85 Mean : 98.89 Mean : 0.2296
3rd
2002 Nov 27
2
Error message: missing value where logical needed
Dear all,
I often import data sets from other programs that contain user defined
missing values. As an example consider a variable MXPLOCO with a user
defined missing value of as -9.
> summary(MXPLOCO)
Min. 1st Qu. Median Mean 3rd Qu. Max. NA's
-9.000 4.750 5.000 5.349 6.000 8.500 2.000
The following command successfully converts the value -9 to NA. However,
2007 Oct 11
2
R260 cross-compilation
Hi,
I'm trying to cross compile R260 in a ubuntu 6.06 linux. I downloaded
the Makefile for 251 and simply replaced the R version by 260. However
I'm getting an error about mingw.
ernesto at gandalf:~/ipimar/devel/R/ccompile260$ make R
export
2008 Mar 17
1
summary of summaries
Hi,
I have a few hundreds files with numerical information of different length
but with the same column structure. I use the following code to get summary
statistics
fplist <- list.files(pattern=".*analysis")
for (fp in fplist){
x2 <- read.delim(fp)
summary(x2)
}
Summary gives something like:
summary (x2)
V1 V2
2010 Oct 22
1
Problem with Aggregate - Sum, limit on number of criteria
Hello,
It appears there is a limit in the number of criteria that can be put into
the Aggregate sum function. (It looks like it is 32).
My code is;
HSfirst=aggregate(count,
2007 Jan 19
1
hiccup in apply?
Hello, I don't understand the behavior of apply() on the data frame below.
test <-
structure(list(Date = structure(c(13361, 13361, 13361, 13361,
13361, 13361, 13361, 13361, 13362, 13362, 13362, 13362, 13362,
13362, 13362, 13362, 13363, 13363, 13363, 13363, 13363, 13363,
13363, 13363, 13364, 13364, 13364, 13364, 13364, 13364, 13364,
13364, 13365, 13365, 13365, 13365, 13365, 13365, 13365,
2003 May 20
3
a quick Q about memory limit in R
Hello, there,
I got this error when i tried to run " data.kr <- surf.gls(2, expcov,
data, d=0.7);"
"Error: cannot allocate vector of size 382890 Kb
Execution halted"
My data is 100x100 grid.
the following is the summary of "data":
> summary(data);
x y z
Min. : 1.00 Min. : 1.00 Min. :-1.0172
1st Qu.: 26.00
2013 Jul 30
1
Ayuda
Hola colegas:
He estado usando R Studo para obtener unos reportes que espero me ayuden a
comprender un ejemplo que estoy tomando de la red.
Usando sink("Tabla.txt") , al pedir summay(n), obtengo:
sr tl
1 : 1 1: 4
10 : 1 2:13
18 : 1 3:10
30 : 1 4: 4
47 : 1 7: 9
67 : 1
(Other):34
d
Min. : 1.000
1st Qu.: 2.000
Median : 5.000
2008 Aug 26
2
lattice plotting character woes
The following reproducable code shows the setting of my problem:
set.seed(260808)
n = 50
x = rnorm(n)
y = rnorm(n)
z = ceiling(runif(n,0,4))
g = runif(n,0,6)
G = factor(ceiling(g))
xyplot(y ~ x | G)
plsy <- trellis.par.get("plot.symbol")
plsy$pch = z
trellis.par.set("plot.symbol",plsy)
xyplot(y ~ x | G)
plsy$pch = as.character(z)
2007 Jan 29
1
overlay xyplot on contourplot in lattice in R
Hi everybody,
I want to do a contourplot in lattice with my raw data overlaid on it(xyplot)
which seemed to be a very easy thing to do.
I've tried it in many ways, but I haven't succeeded at obtaining it.
let's say x, y, and z as the variables that comes from the data frame ''ex'':
therefore my countourplot is as followed :
contourplot(z ~ x * y, cuts=550)
I