Displaying 20 results from an estimated 10000 matches similar to: "Lattice Package..."
2004 Jun 07
1
Xtable giving an interesting problem
I'm using the current version of xtable for 1.9.0 and I have an
interesting error:
Error in match.names(clabs, names(xi)) : names don't match previous
names:
F value, Pr(>F)
In addition: Warning message:
longer object length
is not a multiple of shorter object length in: clabs == nmi
This is produced in the following manner:
>data.trans <-
2004 Feb 04
5
Date Time Conversion problems...
At one time (version 1.7), the code below used to work for converting and
extracting based on the Date Time. In version 1.8.1, something changed I
know, but I cannot for the life of me figure out what...
Data:
UserName,RequestDate,PO,OrderDate,ExpDelivDate,Vendor,Total
"Woody, Jim",12/19/2002,AP15063,1/7/2003,2/10/2003,Ames ,8570
"Harrold,
2003 Jun 26
2
Plots using POSIX
Is there a reason that the bottom axis changes color when POSIX data is used
in plot function?
For example:
> timedata <- c("2/3/2003","3/4/2003","5/4/2003")
> timedata2 <- strptime(timedata,format="%m/%d/%Y")
> numdata <- c(2,3,4)
> plot(as.POSIXct(timedata2),numdata,col="red",type="o")
As compared to:
>
2005 Mar 24
1
Error bars for Lattice Plots
Has anyone found a method for creating error bars in lattice plots?
________________________________
"Policies are many, Principles are few, Policies will change, Principles
never do."
-John C. Maxwell
________________________________
Shawn Way, PE Tanox, Inc.
Engineering Manager 10301 Stella Link
sway at tanox.com Houston, TX 77025
________________________________
Note:
2004 Oct 14
1
FW: Maps and plotting
Thanks for the help on the translucent dots. What would be the best
method for creating a map of the facility? I looked into map* in the
libraries and didn't find anything on creating the maps, just using
them.
Thanks again...
Shawn Way, PE
Engineering Manager
sway at tanox.com
-----Original Message-----
From: Prof Brian Ripley [mailto:ripley at stats.ox.ac.uk]
Sent: Thursday, October
2008 May 06
2
Lattice problems / cannot load lattice
Hi,
My problem is simple: since having updated the lattice package, I cannot
load lattice anymore. If I type in the command 'library(lattice)' the
loading fails with the following message:
--- cut here ---
Error in library.dynam(lib, package, package.lib) :
shared library 'lattice' not found
In addition: Warning messages:
1: In loadNamespace(package, c(which.lib.loc,
2006 Mar 16
3
lattice tick marks
Hi,
why doesn't this work properly when 'positions' is a vector of strings? All
the data sets get totally mixed...
positions <- rep ( c("1","2","3","4","5","6","9","10","11","12","13","14",
"error", "no trial"), 45 )
compound <- matrix(
2004 Apr 15
1
residuals
I'm trying to determine the lack of fit for regression on the following:
data <- data.frame(ref=c(0,50,100,0,50,100),
actual=c(.01,50.9,100.2,.02,49.9,100.1),
level=gl(3,1))
fit <- lm(actual~ref,data)
fit.aov <- aov(actual~ref+Error(level),data)
According to the information I have, the lack of fit for this regression is
the
2005 Aug 20
1
plot(type="h") equivalent in Lattice?
I tend to prefer doing graphics in R using the lattice library. I'm
"porting" some old scripts. Is there a nice way to get in lattice the
equivalent of the plot(type='h'), which is the high-density
lines/histogram plot in base graphics package? I tried doing this
with barchart(), but with limited success... the fact that I have
~1000 datapoints/bars causes problems, in
2003 Oct 15
3
Design and Hmisc
I'm looking for design and hmisc version 2.0 for R 1.8 for windows. I've
found design 2.0 in the downloads for R1.7 but not hmisc.
I've also checked Dr. Harrell's site and it only goes to 1.6 for windows.
Any thoughts?
Shawn Way
2005 May 05
6
Need some quick help with lattice - barchart
For the following code below, the x-axis ticks are 1,2,3,4,5,6,7 when I was expection them to be 1,2,8,9,10,11,12. Please help me figure out where is the mistake.
library(lattice)
testdata <- as.data.frame(t(structure(c(
1,2005,9.24,6.18,634,
2,2005,8.65,6.05,96,
8,2004,6.81,6.51,16,
9,2004,9.0,7.29,8,
10,2004,8.84,6.18,524,
11,2004,8.54,6.35,579,
12,2004,9.97,6.3,614,
12,2005,8.75,5.84,32,
2003 May 16
1
Images Import and Analysis
I'm starting a time study on an area. To determine if an individual has
entered the area, we are having timed photographs taken of the area. What I
want to do is import the image files (either one at a time or
simultaneously), convert it to a density image, take the density at multiple
points in the image and determine if they are over an area average
(indicating someone or something is in
2009 Feb 11
2
changing settings on a barchart (lattice)
Hello!
I apologize - I never used lattice before, so my question is probably
very basic - but I just can't find the answer in the archive nor in
the documentation:
I have a named numeric vector p of 6 numbers (of the type 6 numbers
with people's names to whom those numbers belong). I want a simple bar
chart.
I am doing:
library(lattice)
trellis.par.set(fontsize=list(text=12)) #
2004 Oct 13
3
Maps and plotting
At our facility we have multiple sample points that are sampled on any
given day. What I would like to do is create a map of the facility with
the sample points (and point labels) and when we have out of
specification results, place a transparent dot over the area on the map.
As the number of OOS results builds up, I envision the dot getting
darker.
Are there any packages out there that can aid
2005 Jan 14
1
XML
I thought I would take a look at the StatDataML package for some work
I'm doing, but I receive the following error when starting:
> version
_
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 2
minor 0.1
year 2004
month 11
2010 Jul 19
1
pcaMethods and Lattice help.
I've been using the pcaMethods to develop a scores matrix
=======================================
data(iris)
pcIr <- pca(iris[,1:4], method="nipals", nPcs=3, cv="q2")
test <- scores(pcIr)
========================================
What I'm looking to do is to use lattice's barchart to plot the scores
something like below, but expanded to all the scores
2001 Nov 13
1
RODBC
I'm tryuing to get the RODBC package to work with a MS Sql database
(Wonderware's InSQL). I'm able to connect to the database using the
following:
version
_
platform i386-pc-mingw32
arch x86
os Win32
system x86, Win32
status Under development (unstable)
2005 Dec 15
2
Lattice graphics with combined plot types
The data is of two forms, ie one numeric and another ordinal ie 1.5 and
<.5. The X Value is a factor.
I'm trying to create a lattice conditioned plot with the following
characteristics:
1) The plot is conditioned using the form (Conductivity~Day|Valve)
2) The plot should use a barplot for the ordinal (<.5) and dots for the
numeric (1.5)
3) A line should be created specifying a
2003 Apr 25
2
Posix data in Lattice
I have a number of plots that I'm trying to do using the lattice package,
unfortunately, they involve Posix values.
A small sample of the data is as follows:
Time TC.1 <Snipped>
1 2003-04-24 13:29:15 26.61
2 2003-04-24 13:29:30 26.48
3 2003-04-24 13:30:00 26.53
4 2003-04-24 13:30:30 27.85
<Snipped>
where
str(data)
`data.frame': 415 obs. of
2001 Sep 12
1
Analysis of Varience question.
I'm trying to use R for some of the analysis shown in Box, Hunter and Hunter
(1979, I believe) using the aov function. I'm using the first example in
chapter 6, where they are determining the analysis of varience between 4
treatments.
In this example, the are determineing the analysis between and within
treatments, which I can get by
aov(response~treatment+Error(treatment))
Where