Displaying 20 results from an estimated 900 matches similar to: "problems with plots in loop (corrected Email)"
2011 Jun 14
0
problems with plots in loop
Dear helpers,
In an attempt to use a loop to generate graphs in a for loop in run into
a problem. The plan is to fill each page with eight graphs (mfrow =
c(4,2)) in to two columns. Only the buttom graphs ( meaning every fourth
graph) have tick labels on the x axis to preserve space. I used an if
.... Else statement to achieve that.
The problem is that the first eight graphs are skipped
2008 Mar 27
2
strptime and plot(),lines()
Hello,
Im reading Data out of a Database.
#v+
rs <- dbGetQuery(con,"SELECT * ... )
attach(rs)
#v-
There ist a colum I convert into "Time".
#v+
> zeit<-strptime(datum,format="%Y-%m-%d %H:%M:%S");
> class(zeit)
[1] "POSIXt" "POSIXlt"
#v-
1.
A plot(zeit,money) plots the Data.
All i see on the x-achis are the Days.
I would like to see the
2007 Oct 16
1
library(car): Anova and repeated measures without between subjects factors
Hi,
sorry if this is explained somewhere but I didn't find anything.
How can I use "Anova" from the car package to test a modell without
between subject's factors? Suppose I have the following data
mat.1 mat.2 mat.3 di ex
1 85 85 88 1 1
2 90 92 93 1 1
3 97 97 94 1 1
4 80 82 83 1 1
5 91 92 91 1 1
6 83 83
2007 Apr 25
2
form_remote_for, reloaded
Hi,
being relativly new to RoR, I''m having a problem which I found described
in this forum and somewhere else - but with no solution. I know, that it
may be bad to mix table and form tags, but the first solution of an in
place editing within a table looked nice:
Version using form_for:
<tr>
<%form_for :time_record, :url => { :action => "add_time_record" } do
2007 Apr 19
3
plotting command trouble
Dear R-Experts,
I have the following command lines:
windows()
plot(0:60, 0:0.896, type="n", xlab="Zeit [min]", ylab="Absorptionsmessung
bei 600nm",main="Zellwandstabilit?t" )
dev.off()
Can anyone say me why the plot command does not work and how the correct one should look like?
Important is: x-axis goes from 0 to 60 and the y-axis from 0 to 0.896!
2008 Mar 03
3
Plot using colors
Dear R users,
I have a problem since I try to plot my datas with different colors.
plot(tvar, var, xlab="zeit [s]",ylab="Variation [%]", col = ifelse(var <=
varstability, 'green','red'))
this works well!
But since I add a type="l" to my plot, it will color all the plot with
green!!!
Is there any solution? I avoid to use teachingDemos.
Thanks.
--
2006 Mar 28
3
How to generate a list of lists recursively (for bayesm)
Dear all,
I need to generate a list of lists as required by the bayesm-package. This means in my application that I have to generate a list which consists of 2000 elements, which are lists themselves:
list(list(y1,X1),...,list(y2000,X2000)).
The y are vectors and the X are matrices of different dimensions. I tried to solve this problem iteratively by the following code, but received an error
2007 Nov 13
2
Plot segments with different colors
Hello Everybody,
I'm trying to plot(x,y) using different colors.
I have to cut (x,y) into sub intervals.
And I want to plot this sub intervals using colors. But infortunally I don't
know how to do this with R.
Can any body help me please?
My code is looking like :
x<-c(tvar[1:t0],tvar[t0:(ts)],tvar[ts:n])
F<-c(var[1:t0],var[t0:(ts)],var[ts:n])
plot(x,F,xlab="Zeit
2012 Feb 16
5
Puppet on Windows
Hi,
I want to run Puppet on a Windows 2003 Server. I already have a
working Puppetmaster (Scientific Linux).
I installed Puppet on Windows like shown here:
http://projects.puppetlabs.com/projects/1/wiki/Puppet_Windows
This worked very well.
But when I want to run puppet.
puppet agent --test --debug
I get the following output: (I already tried different ruby and puppet
versions without
2011 Mar 22
3
Accelerating the calculation of the moving average
Dear List,
I have a data frame with approximately 500000 rows that looks like this:
?Date??? time??? value
?
19.07.1956????????? 12:00:00?????????????? 4.84
19.07.1956????????? 13:00:00?????????????? 4.85
19.07.1956????????? 14:00:00?????????????? 4.89
19.07.1956????????? 15:00:00?????????????? 4.94
19.07.1956????????? 16:00:00?????????????? 4.99
19.07.1956????????? 17:00:00?????????????? 5.01
2010 Sep 05
2
Windows 7 64-bit clients with high latency
Hi,
Windows 7 64-bit clients have a very high latency (constantly rising) using of tinc. 32-bit clients are working with normal speed.
Does anyone have a solution for this problem?
Viele Gr??e
Dirk Krause
2003 Feb 25
1
Figuring out name of Kerberos server?
Hi!
I'm on a conquest to get Samba 3.0 to authenticate against an Active
Directory. For this, I need to have Kerberos working. However, I don't
know the name of our Kerberos server.
If I've got a Windows machine which is part of the Active Directory, can
I somehow get it to tell me the name of the Kerberos server?
Or could I use a packet sniffer to get the name of the server?
2006 Mar 05
2
RWeka
Hi,
I downloaded RWeka successfully. (At least I do not see, where I could have made a mistake.) Then I tried to load it by the library-command. To my surprise this did not work. Result:
library(RWeka)
Fehler in .jinit(c(system.file("jar", "weka.jar", package = "RWeka"), system.file("jar", :
Cannot create Java Virtual Machine
Fehler: .onLoad in
2005 Feb 13
2
3.0.11/MirOS password change problem
Hi!
Does this sound familiar, before I try to look deeper into it?
[2005/02/13 20:10:16, 0] /usr/ports/net/samba/w-samba-3.0.11/samba-3.0.11/source/libsmb/smbencrypt.c:decode_pw_buffer(539)
decode_pw_buffer: incorrect password length (1251354155).
2004 Oct 13
1
importing data
Hi all!
I am newcomer to R and I am loborating on this problem:
How do I import data from a CD into R for further evaluation.
Using code "newgotcha <- read.table("e:\\asciiwin\\gotcha.dat") " returmns a list containing an additional column with indices. The command "plot (gotcha)" gives the expected plot. However, the line hist(gotcha) returns the message
2004 Nov 17
1
bioassay, excel
It's not in R, but the system described in the pair of papers our group
published in the Journal of Biomolecular Screening late last year:
http://jbx.sagepub.com/cgi/content/refs/8/6/624
http://jbx.sagepub.com/cgi/content/refs/8/6/634
is based on S-PLUS and StatServer. It was also presented at the Insightful
Tech. Conf. back in 2000.
For Excel/R connection, look for the R-(D)COM server on
2009 Feb 04
0
help with binary outcome
conducted a training with 2 training groups and one control-group (TG: Training Groups 1-3 in my data). After that training I checked every week within 4 weeks (Zeit= 1-4 in my data), if the participants used the training skills (FLEXPV). unfortunately I didnŽt use any real scale for this item, so it´s only binary coded 0/1 0=not put in practice 1=put in practice.
I´m interessted if there are
2005 Jun 22
1
legend
I color some area grey with polygon() (with a red border) and then I
want to have the dashed red border in the legend as well. How do I
manage it?
And I want to mix (latex) expressions with text in my legend.
Just execute my lines below and you know want I mean. Or pass by at
http://de.wikipedia.org/wiki/Bild:GBM.png to see the picture online.
Thomas
bm <- function(n=500, from=0, to=1) {
2010 Sep 14
1
smbclient sending no frames outside local VLAN
[I don't know whether this is the appropriate list, if not please let me know to whom to write. I submitted this as a CUPS bug and they replied by asking me to contact the "Samba folks"? I guess that is you]
Hi,
I'm using a MacBook Pro with MacOS X 10.6.4 and am trying to print on my company's printer accessible via samba.
Whenever I try to access the print server via
2014 May 21
2
issue with parallel package
Dear maintainers of the parallel package,
I ran into an issue with the parallel package in R-3.1.0.
The following code prints the message "NULL!" quite a lot.
library(parallel)
for (n in 1:1000) {
p <- mcparallel(sqrt(n))
res <- mccollect(p, wait=FALSE, timeout=1000)
mccollect(p)
if (is.null(res)) cat(n," NULL!\n")
}
It does not happen in