Displaying 7 results from an estimated 7 matches for "calibration2".
Did you mean:
calibration
2011 Aug 21
1
Dot plot with two grouping variables concurrently
...9;Commodity' but would like
have different symbols to refelect a second variable called 'Year' (say
square, triangle and circle for different years).
My code so far is as follows:
## initalise
library("lattice")
##read the data to a variable
Cal_dat <- read.table("Calibration2.dat",header = TRUE,sep = "\t",)
## set up plotting colours for the fills
col.pat<-c("violet","cyan","green","red","blue","black","yellow")
##set up the plot key to be inside the plot
plot.key<-list(
corn...
2011 Sep 01
1
Background fill and border for a legend in dotplot
...ut not
sure how the syntax works in this case
###### initalise
library("lattice")
library(latticeExtra) # for mergedTrellisLegendGrob()
##read the data to a variable
#----------------------------------------------------------------------------------------
Cal_dat <- read.table("Calibration2.dat",header = TRUE,sep = "\t",)
## set up plotting colours
#----------------------------------------------------------------------------------------
col.pat<-c("violet","cyan","green","red","blue","black","yellow&qu...
2011 Sep 10
0
Mutiple vertical reference lines with a dotplot
...or any pointers
MarkM
(current code below and data attached)
library("lattice")
library(latticeExtra) # for mergedTrellisLegendGrob()
##read the data to a variable
#----------------------------------------------------------------------------------------
Cal_dat <- read.table("Calibration2.dat",header = TRUE,sep = "\t",)
## set up plotting colours
#----------------------------------------------------------------------------------------
# Colours for the six commodity
col.pat<-c("violet","cyan","green","red","blue",...
2011 Aug 19
2
Auto key legend does not match plot
...ranked dotplot and am colour coding the dots by
a variable called "Commodity". However when i use autokey to make a legend
the size (cex) and symbol (pch) do not match what is on the dotplot.
Code is below and image attached
library("lattice")
Cal_dat <- read.table("Calibration2.dat",header = TRUE,sep = "\t",)
dotplot(reorder(Label.yr, Resc_Gt)~ Resc_Gt,groups=Commodity,
data=Cal_dat,cex=1.5, pch=19,aspect="xy",
auto.key=list(space="right",title="Commodity"))
Any assistance appreciated
http://r.789695.n4.nabble.com/file/n375...
2011 Aug 25
1
Sorting order of reorder with multiple variables
...(Data file is attached)
(out of interst this code also has a very neat solution for plotting two
different keys - code by Deepayan Sarkar)
## initalise
library("lattice")
library(latticeExtra) # for mergedTrellisLegendGrob()
##read the data to a variable
Cal_dat <- read.table("Calibration2.dat",header = TRUE,sep = "\t",)
## set up plotting colours
col.pat<-c("violet","cyan","green","red","blue","black","yellow")
sym.pat<-c(19,20,21)
#list(levels(Cal_dat$Year)
##set up the plot keys
key1 <...
2011 Sep 15
1
Colour code y-axis labels on a dot plot
...ce")
library(latticeExtra) # for mergedTrellisLegendGrob()
# set size of the window
windows(height=10, width=7,rescale=c("fixed"))
##read the data to a variable
#----------------------------------------------------------------------------------------
Cal_dat <- read.table("Calibration2.dat",header = TRUE,sep = "\t",)
## set up plotting colours
#----------------------------------------------------------------------------------------
# Colours for the six commodity
col.pat<-c("violet","cyan","green","red","blue",...
2005 Apr 19
3
Help with predict.lm
Hi
I have measured the UV absorbance (abs) of 10 solutions of a substance at
known concentrations (conc) and have used a linear model to plot a
calibration graph with confidence limits. I now want to predict the
concentration of solutions with UV absorbance results given in the new.abs
data.frame, however predict.lm only appears to work for new "conc" variables
not new "abs"