Displaying 20 results from an estimated 1000 matches similar to: "Jitter in xYplot?"
2008 Aug 05
1
Labeling lines in xyplot
Hello,
I apologize in advance as this example seems really elementary. Below I
have created a simple scatterplot with lines. I would like to label
each line with the name of the village, instead of using a legend. Can
someone please let me know how to do it.
Thanks in advance -- John
Pop=c(1406,1862,2333,2664,2685,2521,2726,0,0,0,0,214,289,365,900,952,1002,1205,1041,942,1004,
2008 Oct 25
1
Filling symbols in xyplot
Hello,
I am using xyplot and am happy with my graph, *except* that I cannot get
the symbols to be filled. I tried using
bg=c("red3","red","black","lightgrey")) in both the key and the xyplot
function, that that was obviously not the answer. I would like the
sybols to be filled with the same colors as the lines.
Does anybody have an answer? In case
2008 Nov 10
4
Labeling points with xYplot
Hello R-Users,
I am trying to label points on an xYplot. I can label the points, but
then I lose the error bars. I suspect that I should be using
panel.xYplot rather than panel.xyplot, but that didn't work either...
Can anybody help me out? Example code is below. First xYplot has error
bars, second tries to label the points and the bars disappear.
Thanks,
John
a=c(1:4)
2009 Feb 08
5
glmmBUGS: logistic regression on proportional data
Hello,
I am trying to run a logistic regression with random effects on
proportional data in glmmBUGS. I am a newcomer to this package, and
wondered if anyone could help me specify the model correctly.
I am trying to specify the response variable, /yseed/, as # of successes
out of total observations... but I suspect that given the error below,
that is not correct. Also, Newsect should be a
2009 Jan 23
1
plotting curve in xYplot -- using panel.curve
Hello,
I am trying to plot a curve over points plotted with se's in xYplot (see
example below). I can get Figure 1 below to plot the data with error.
However, I keep getting a the error message
"Error using packet 1 object "y" not found"
Can anyone see what I am doing wrong?
Thanks!
John
-------------------------------
a=0.002; b=31.7; c=0.51
2008 Oct 15
3
Removing characters and periods from character strings
Hello R-users,
I have code that gives me the important variables from an analysis. I
need to input these variables into a different analysis. To do this, I
need to modify them slightly... 1) remove all numbers at the end of the
variables, 2) remove all periods.
I tried to do it with the awkward code below. It works to remove all
the numbers, but when I try to remove the period everything
2011 Feb 10
2
Calling symbols from dataframe for xyplot
Hello,
I am trying to make a xyplot plot with points that are different symbols. I want to call the symbol type (pch) from a column in my dataframe. Here is a simplified example. In my real example I also have groups, which I have not included here. This example doesn't change the symbols or colors.
Any help you can provide would be appreciated.
Thanks,
John
x<-c(1:12)
2011 Mar 03
1
vector("integer", length) : vector size specified is too large
Good day to the R community,
I am interested to run the plot.count() function in the "untb" package.
My script is as follows:-
> library(untb)
> Community1 <-
> structure(c(371,167,119,78,74,53,50,31,28,25,20,19,19,17,13,12,12,10,
> 9,9,8,8,7,7,7,7,6,6,6,6,5,5,5,5,4,4,4,3,3,3,2,2,2,2,2,2,2,1,1,1,1,1,
> 1,1,1,1,1,1,1,1), .Dim = 60, .Dimnames =
2004 May 11
2
Fitting data from a spectrophotometer.
Dear R-list,
It is not uncommon for laboratory equipment (e.g. spectrophotometers) to have a linear response in a certain interval and then go into saturation. I wonder if there is an R-function that models this; for instance by estimating the breakpoint and fitting a line below the breakpoint and a constant above.
Best regards
Thomas Poulsen
--
Thomas Poulsen Research Scientist. PhD,
2009 Apr 27
1
Changing color of points in violin plot
Hello,
I am trying to graph a violin plot like the example in
panel.violin(lattice) with the singer data - see below
Does anyone know how to change the color of the boxplot on the graph
from blue to green? I tried a number of changes, but to no avail.
Thanks for your help,
John
bwplot(voice.part ~ height, singer,
panel = function(..., box.ratio) {
2004 May 28
3
Converting data frame to array?
Dear List,
Please bear with a poor newbee, who might be doing everything
backwards (I was brought up in pure math).
I want to make a simple multi-linear regression on a set of
data. I did some expreiments, and if X is a 4 by 2 array and Y is a 4 by
1 array, I can do a linear regression by lm(y~x).
Now I have a tab-delimited text file with 10 rows of 300
measurements and an other file with
2010 Apr 21
1
Degrees of Freedom Not Allocated to Residuals in Reduced Model
##I am trying to test for fixed factor main effects in an unbalanced mixed effects model but when I fit the reduced model for "mic" factor effects, the extra degrees of freedom are being allocated to a nested term rather than the residuals. The model has inc, mic and spp are independent variables and vial nested within spp. inc and spp are already coded as factors since they were
2004 Jul 07
8
VoIP hackers gut Caller ID
The Register is carrying a article written by Kevin Poulsen of
Securtiy Focus, calling asterisk "..the most powerful tool for
manipulating and accessing CPN data.."
> http://www.theregister.co.uk/2004/07/07/hackers_gut_voip/
I hope NuFone doesn't drop asterisk-set-able callerid's after this
article; i've been wanting that feature from voicepluse for a long
time.
2008 Feb 08
1
Can I index a dataframe with a reference from/to a second dataframe?
Hello,
I am unable to figure out how to code a new column in a data frame based
on an existing column that matches a column in a reference data frame,
in a relational-db fashion. I would like this to maintain a minimum set
of reference tables that may be reused over several similar datasets.
Specifically, I have two data frames as listed below, 'Bos' and 'tree.'
For each case in
2008 Dec 09
2
assign()ing within apply
Hello,
I'm trying to convert a character column in several dataframes to lower
case.
###
#
# Sample data and 'spp' column summaries:
# dput(ban.ovs.1993[sample(row.names(ban.ovs.1993), 20), 1:4])
ban.ovs.93 <- structure(list(oplt = c(43L, 43L, 38L, 26L, 35L, 8L, 39L,
1L,
34L, 50L, 10L, 29L, 31L, 24L, 18L, 12L, 27L, 49L, 28L, 51L),
rplt = c(NA_integer_, NA_integer_,
2003 Nov 12
1
"/" operator in model formula
Dear R-help folks,
Can someone guide me to a source where I can learn more about the / operator
in model formulae? I found a reference to it in Venables and Ripley's MASS,
p. 142, where it says, in reference to ANCOVA: "Terms of the form a/x,
where a is a factor, are best thought of as 'separate regression models of
type 1 + x within the levels of a.'..."
This seems
2005 Nov 15
0
plots in a matrix
Hi,
consider the following example:
I have a matrix like this:
spp.mds$points
[,1] [,2]
CLAP0 1.79703164 -11.66716182
CLAP30 3.87034797 -7.48168377
YBI0000 10.27538316 -3.32226184
YBI0100 0.58463806 -1.25748701
hir10000 5.82907036 -4.09695960
hir10016 -2.22113472 -4.86563557
gyn30000 5.14643671 -3.58706541
gyn30032 2.99552434 -6.21815132
...
2009 Mar 30
1
Warning messages in Splancs package :: no non-missing arguments to min; returning Inf
Hi,
I would need some help with the splans package in R.
I am using a Shapefile (downloadable at)
http://rapidshare.com/files/215206891/Redlands_Crime.zip
and the following execution code
setwd("C:\\Documents and
Settings\\Dejan\\Desktop\\GIS\\assignment6\\DataSet_Redlands_Crime\\Redlands_Crime")
library(foreign)
library(splancs)
auto_xy<-read.dbf("Auto_theft_98.dbf")
2007 Oct 26
1
2-way Factorial with random factors
Hello:
I am using R mainly on windows XP, version 2.5. I?m a biologist,
with a medium level statistics background. I have a problem stating a
two-way factorial design where both factors are random. I?m using the
lmer() function implemented in the Matrix package version 0.99.
My design is as follows: Two species were randomly selected from a
total of 4 species. This species are present
2004 Sep 20
2
Voicemail Directory
Hi All-
I am running into a small problem trying to implement voicemail
Directory(). I'm sure it is a simple thing, but I can't figure out
where the problem lies.
I can get into the directory without a problem and can look up users
by their last names, however I hit a snag when asterisk says "if this
is the person you are looking for press 1 now". When I hit 1, the
attendant