Displaying 20 results from an estimated 7000 matches similar to: "subset: evaluating expressions missing? (PR#6937)"
2004 Jun 02
2
Bug with date 1970-01-01 on Windows (PR#6929)
Full_Name: Martin Lenze
Version: 1.8.0 alpha (2003-09-18)
OS: Microsoft Windows 2000 [Version 5.00.2195], SP4
Submission from: (NULL) (82.82.76.131)
Seems to be related to PR#1332...
Hello,
I get:
> Sys.getlocale()
[1] "LC_COLLATE=English_United States.1252;LC_CTYPE=English_United
States.1252;LC_MONETARY=C;LC_NUMERIC=C;LC_TIME=English_United States.1252"
>
2001 Aug 05
2
xtabs, drop.unused.levels (PR#1041)
Full_Name: Martin Lenze
Version: 1.3.0 22.06.2001
OS: win32,x86
Submission from: (NULL) (194.221.251.1)
As a newbie I'm not sure, whether this is a bug, but I don't know how to get
around this behaviour:
> x <- list("A"=rep(c(1:5),30),
+ "B"=c(rep(letters[1:3],30),rep(letters[2:4],20)))
> y <- as.data.frame(x)
> xtabs(~A+B,y)
   B
A   a  b  c d
  1 6 10
2004 Sep 06
4
substitution in expression
I have been struggling with this problem for a while and I hope someone
could help me. Or if someone could point me to a section in the manual I
would be grateful.
 x <- "my"
 plot(1:10, main=expression(paste( x, Delta, "values" )))
Q : How do I get the title to say "my (triangle symbol) values" ?
The following trial-and-error produced mainly errors :
2010 Apr 16
2
how to change the position of xlab in truehist?
Hi,
I'm wondering how can I change the position of xlab in truehist. For example, the following code creats a histogram with 4 bins for my discrete data. I want each bin to be labelled as 0, 1, 2, or 3 in the middle, so that it's clear each bin corresponds to each of the discrete case. 
I was thinking of first delete xlab and then add marks myself, but it doesn't look like it's
2006 Sep 29
2
X-axis labels in histograms drawn by the "truehist" function
Hi,
 
I have a simple problem that I would appreciate getting some tips.  I am
using the "truehist" function within an "apply" call to plot multiple
histograms.  I can't figure out how to get truehist to use the column names
of the matrix as the labels for the x-axis of the histograms.  
 
Here is a simple example:
 
 
X <- matrix(runif(4000),ncol=4)
colnames(X)
2009 Apr 28
3
truehist and density plots
Hi,
I wanted to plot the histogram of a vector and then, plot the density function of subsets of the vector on the histogram. So I use truehist in MASS package and lines(density) as follows:
length(b) = 1000
truehist(b)
lines(density(b[1:100]))
however the density plot of the first 100 points exceeds the max of y axis (see attached). how is it possible to make a graphics so that the density plot
2007 Mar 20
1
truehist bug?
Hi,
Is this a bug in truehist()?
 > library(MASS)
 > x <- rep(1, 10)
 > truehist(x)
Error in pretty(data, nbins) : invalid 'n' value
Thanks,
Gad
 > R.version
platform       i486-pc-linux-gnu
arch           i486
os             linux-gnu
system         i486, linux-gnu
status
major          2
minor          4.1
year           2006
month          12
day            18
svn
2007 Mar 20
1
truehist bug?
Hi,
Is this a bug in truehist()?
 > library(MASS)
 > x <- rep(1, 10)
 > truehist(x)
Error in pretty(data, nbins) : invalid 'n' value
Thanks,
Gad
 > R.version
platform       i486-pc-linux-gnu
arch           i486
os             linux-gnu
system         i486, linux-gnu
status
major          2
minor          4.1
year           2006
month          12
day            18
svn
2004 Nov 26
2
hist and truehist
Hello!
Up to now I have been using hist() to display the distributions. 
Howevere, I noteiced strange numbers on y (vertical) axis, if I used 
probability = T or freq = F option. I thought it is a bug and launched 
the R-bug system and found some posts on that matter. Brian Ripley 
responded to one, that one should look at truehist() for that. Ok I can 
use truehist() if I want to see the ratios
2003 May 03
1
can't plot ylab in graph
Dear People,
I am sure I am missing something obvious as usual, but in the following
graph I can't plot ylab.
Ignoring unimportant details, I am plotting one instance of truehist() and
one instance of curve() on the same graph. Truehist() won't let me pass
the ylab argument. It gives me the error
Error in plot.default(xlim, c(0, ymax), type = "n", xlab = xlab, ylab =
2004 Sep 09
1
man page of hist points to truehist, which can't be viewed without loading a library?
rdevel from yesterday, also in 1.9.1 (Debian, -3).
The man page of 'hist' (from the graphics package, obtained by
"?hist") suggests 'truehist' under "see also", but 'truehist' isn't
loaded by default (a sensible "of course"), so that "?truehist" fails.
One can do help.search(), of course, which points what to do, but
leads to my
2007 Sep 24
2
truehist?
Hello,
After a long time, I needed the truehist function, but my system
couldn't found it. I tried to install the package MAAS, but I couldn't
found it! Something happened?
Carlos
-- 
+-----------------------------------------------------------+
              Carlos Henrique Grohmann - Guano
  Visiting Researcher at Kingston University London - UK
  Geologist M.Sc  - Doctorate Student at
2003 Apr 18
3
superimposing graphs
Dear People,
I have a data set of data x from a probability distribution, and I have a
function, mydensity, of the pdf of that distribution.
I'm asking for help in superimposing the histogram of x and the plot of
mydensity.
In the function below, I call truehist and curve, but these are plotted in
different figures.
I'd like them to be plotted on the same figure, and to use common
2020 Apr 07
3
fail2ban ban not working
I have fail2ban on my mail server monitoring Dovecot and Exim.
I have noticed that it has stopped banning IP's.  I have seen in /var/log/fail2ban.log:
2020-04-07 09:42:05,875 fail2ban.filter         [16138]: INFO    [dovecot] Found 77.40.61.224 - 2020-04-07 09:42:05
2020-04-07 09:42:06,408 fail2ban.actions        [16138]: NOTICE  [dovecot] Ban 77.40.61.224
2020-04-07 09:42:06,981
2004 May 25
1
FYI: Cisco firmware 7.1 released
Cisco has version 7.1 of their SIP firmware for the 79x0 phones.  They
advertise "no new software features", but it does include bugfixes for a
number of things.  I know there was a discussion about the 0.4sec delay,
which is said to be resolved in this firmware (CSCed48311: Media takes 0.4
sec to be set up)
Steve
2004 Aug 17
1
subset and missing value indexing
Out of curiosity, is this a bug or a feature or "==" ?
m <- matrix( 1:12, nc=4 )
f <- c("A", NA, "B", "A")
f == "A"
[1]  TRUE    NA FALSE  TRUE
m[ , f == "A"]         # equivalent to m[ , c(1, NA, 4) ]
     [,1] [,2] [,3]
[1,]    1   NA   10
[2,]    2   NA   11
[3,]    3   NA   12
m[ , which(f == "A")]
     [,1] [,2]
2005 Jul 25
5
passing formula arguments cv.glm
I am trying to write a wrapper for the last example in help(cv.glm) that
deals with leave-one-out-cross-validation (LOOCV) for a logistic model.
This wrapper will be used as part of a bigger program. 
Here is my wrapper funtion :
   logistic.LOOCV.err <- function( formu=NULL, data=NULL ){
     cost.fn <- function(cl, pred) mean( abs(cl-pred) > 0.5 )
     glmfit <- glm(
2002 Mar 23
1
Normal behavior or bug?
>selectiris<-sample(1:5, 150, replace=T)
 > hist(selectiris, plot=TRUE) #freq=TRUE, breaks=5, etc all do the same thing
 >truehist(selectiris)
Is the behavior of "hist" in this sample of code correct.  On my system 
(Windows 2K, SP2) the first and second bars are pushed together, while the 
3rd, 4th, and 5th bars are correctly positioned.
The function "truehist"
2013 Jan 14
1
Wrong bin count number with hist() ?
Hi there,
# Consider the following example:
A = 19
B = 20
A< B
A==B
hist(c(1:15,B,50),breaks=c(0,15,A,50),plot=F)$count
hist(c(1:15,A,50),breaks=c(0,15,B,50),plot=F)$count
# I was expecting the same results with the following values of A and B:
A = 19.6019203953960
B = 19.6019204365543
A< B
A==B
hist(c(1:15,B,50),breaks=c(0,15,A,50),plot=F)$count# wrong
2001 Aug 28
1
Axis labels
Hi,
I am trying to label the x-axis of some histograms with the units of
measurement.
However, when I use, for example:
> truehist(Ca, prob=FALSE, col="gray", xlab=expression(paste("Calcium
(", mu, eq^-1, ")")))
I get the following message:
Error in eval(expr, envir, enclos) : Object "mu" not found
Could someone let me know what I'm doing wrong?