Displaying 20 results from an estimated 700 matches similar to: "Replacing plot symbols w/ subject IDs in xyplot()"
2008 Feb 26
2
Subsetting within xyplot()
All,
I'm having problems w/ a simple attempt to subset an xyplot.
The first plot below is a plot of y versus x for certain values of a third
categorical variable z. Now I'd like to further restrict this to certain
values of variable y. Neither of the two attempts below work. Any
suggestions much appreciated. (note: I don't want to merely use ylim since
I have a loess plot and I
2008 Mar 04
1
(x,y) coordinates for grid.text()
All,
When using grid.text it seems my supplied (x,y) coordinates are being
plotted only in npc (normalized parent coordinates) where (.5,.5) is the
center of the graph. How do I allow (x,y) to be coordinates corresponding
to the (x,y) values in the graph? The examples in ?grid.text seem to do
this. (I think the problem lies in how x and y are defined with respect to
unit ). Any help much
2013 Feb 21
2
ggplot2, geomtile fill assignment
Dear R help,
I have some readings in three dimensions (x, y, z) and an amplitude for
each. I'd like to visualize the data using ggplot, using tile plots, as I
have some additional point data I would like to eventually overlay on the
tile plots.
I would like to subset the data by sections, slices if you will, in the z
dimension, and plot the data for that slice.
I can do all of this, but am
2006 Jun 14
3
appending
All,
In the function below I have 24 individuals and 6 calculations per
individual.
The 6 calculations are collected each time in a 1:24 loop when
calculating "delta".
I'd like to collect all 144 = 24*6 calculations in one vector
("delta.patient.comb").
The function works as is via indexing, but is there an easier way to
collect the measurements via appendinng the 6
2012 Mar 30
1
avoiding expression evaluation when calling a function
Another question on functions - I have something that looks like
plotter<-function(i){
temp.i<-rwb[rwb$vector1 <=(i*.10),]
with(temp.i, plot(vector2, vector3, main=(i*.10),))
mod<-lm(vector3~vector3-1,data=temp.i)
r2<-summary(mod)$adj.r.squared
rsqrd[i]<-r2
legend("bottomright", legend=signif(r2), col="black")
abline(mod)
rsqrd<<-rsqrd
}
I'd
2009 Jun 14
6
Access to Server frm authorized range of IPs only
Guys,
i know i saw this somewhere but i cant seem to locate that info now...
Scenario:
...............
I have a simple two interface firewall. The firewall machine also provides some services to the LAN and to the NET.
What i would like to do is allow only a particular range of IPs frm the internet to access those services.
What do i need to do with my ''rules'' file. Ideally
2006 Jun 08
1
BN8S0 problem - Extension can never match, so disconnecting
hi
i've configured a Beronet BN8S0 Card with misdn beronet utility.
the card is configured with all lines in TE and P2P mode, and it is
connected with the special cable with an ISDN connection.
i've turned on debugging to level 4, this is the output from the
asterisk cli when i receive a call:
P[ 5] MGMT: Short status dinfo 1000001
P[ 5] MGMT: SSTATUS: L1_ACTIVATED
P[ 5] handle_frm:
2025 Mar 30
1
[External] Creating model formulas programmatically
As always, I would like to thank all who responded for their insights and
suggestions. I have learned from them.
Thus far, my own aesthetic preference -- and therefore not to be considered
in any sense as a "best" approach -- is to use Duncan's suggestion to
produce the call directly with call() rather than substitute in my simple
for() loop; i.e.
somenames <-
2010 Dec 29
6
icon for an R package
I'm looking for an icon to represent an R package. Perhaps something like
http://cdn2.iconfinder.com/data/icons/DarkGlass_Reworked/128x128/apps/package.png
but with the R logo rather than KDE.
--
Michael Friendly Email: friendly AT yorku DOT ca
Professor, Psychology Dept.
York University Voice: 416 736-5115 x66249 Fax: 416 736-5814
4700 Keele Street Web:
2025 Mar 30
1
[External] Creating model formulas programmatically
I am confused. Richard's answer that Bert did not like did not use parse explicitly. Richard pasted together a string that a function like lm() will have to parse to run the analysis. However, the answers so far do not use parse(). In the reply to Richard, Bert indicated we cannot use strings. Even if I pass a vector where R can assume that the first variable is the dependent variable and all
2007 Dec 30
2
refering to variable names in lm where the variable name is in another variable
I am trying to refer to a variable name in a lm regression where the variable name is in another variable, but it does seem to work. Here is an example:
y<-rnorm(10)
dat<-data.frame(x1=rnorm(10),x2=rnorm(10),x3=rnorm(10))
nam<-c('x1','x2','x3')
library(gtools)
com<-combinations(3,2,1:3)
mod<-lm(y~nam[com[1,1]],data=dat)
#error in model frame....:variable
2006 Mar 15
4
misdn problem
I am trying to use misdn insted of zaphfc to drive two billion isdn cards
zaphfc is ok, but the problem with cdr and the fact tha you always have to
wait the bristuffed version of asterisk took me to
try another way.
so I downloaded the misdn installation script from beronet for the last
version ( I am using asterisk stable 1.2, so now is 1.2.5)
wget
2014 Feb 13
2
MySQL Can't create file '/tmp/#sql2e0_98_0.frm' (errno: 9) problem
Hi.
I have a strange problem.
I installed cacti, and set it up.
When I click on the Plugins Management, I noticed Error
"FATAL: Database or Table does not exist"
Further testing revealed that at the moment MySQL can not create
temporary files in /tmp. It is same for ANY database!
SELinux is disabled.
I logged to mysql as root and error is same.
Command used is:
CREATE TEMPORARY
2008 Oct 24
1
Repetitive correlation test
Dear all,
Through the following code, I wanted to perform correlation test repetedly (through loop) on different combinations of variables of a data set.
Code:
x=read.table("sample.txt",header=T,sep="\t")
out="corout.txt"
sink(out)
nm = names(x)
print(nm)
nvr=3
# nvr=Total no. of variables in the input data file
for (i in 1:(nvr-1))
{
for(j in (i+1):nvr)
{
frm=
2007 Jan 24
1
Query Failed because: Incorrect information in file: './asterisk/sip.frm'
Hi,
I have a working asterisk 1.4.0 with Mysql Realtime configuration, and today
I encountered this error.
Now, I have no acces to any information in mysql realtime, so nothing work
now !!!!!
[Jan 24 10:32:40] DEBUG[31070] res_config_mysql.c: MySQL RealTime:
Everything is fine.
[Jan 24 10:32:40] DEBUG[31070] res_config_mysql.c: MySQL RealTime: Retrieve
SQL: SELECT * FROM extensions
2010 Jun 02
2
pdf function, resize xyplot plot automatically
All,
When saving plots to a pdf file via the pdf function, I would like to be
able to automatically expand the graphics device to achieve the same result
as when one does this manually (e.g., clicking the green expand button on
the upper left of the graph on Mac OS). Consider simple example below:
library("lattice")
foo.frm = data.frame(Subject = rep(c(1:4), each = 9), Y =
2010 Jan 28
1
rails files are missing
I''ve built the slackware packages of rails.
rails path is: /frm/ruby/1.8.6/lib/ruby/site_ruby/1.8
RUBYLIB : /frm/ruby/1.8.6/lib/ruby/site_ruby/1.8:/frm/ruby/1.8.6/lib/
ruby/site_ruby/1.8/i686-linux/
I could created the rails application, but files are missing.
Config
- boot.rb, database.yml, environment.rb and routes.rb
Public
-
2004 Oct 28
3
ifelse() question
Hi
I have a data.frame with dim = 18638 (rows) 6 (cols)
names(dat)
[1] "id" "long" "lat" "species" "type" "size"
Variable "species" and "type" are factors. Species has 5 levels "BOV" "CAP"
"CER" "OVI" "POR"
Variable "type" has 11 levels
2008 Jun 18
4
clear search box the first time it's selected
Hi - I''m trying to implement a search box that has a pre-filled
message "enter search text." The first time it''s selected, I''d like
it to clear out, but after that, I''d like it to remain. I imagine
lots of people have done this, any ideas how to accomplish this?
Thanks,
Dino
--~--~---------~--~----~------------~-------~--~----~
You received this
2004 Apr 21
2
Resizing a ListCtrl
Hi Guys,
I''m having serious troubles resizing a dialog with a ListCtrl. The ctrl
will not resize horizontally no matter what I''m doing. I''ve attached a
sample code below. Any help will be greatly appreciated, as I really
like wxRuby :)
I''ve also tried to copy from the example from listtest.rbw, but that
also doesn''t seem to work.
Another thing