Displaying 20 results from an estimated 390 matches similar to: "histogram error: 'x' must be numeric"
2010 Dec 18
1
Can I make my colnames bold?
Hello forum! As the subject indicates, I am trying to make a barplot and
would like my column names to be in bold. Is this possible in R without
having to make my column names in mtext? Any help would be much
appreciated. The code I am using is as follows.
par(mar=c(3,8,2,2))
par(adj=.5)
par(font=2)
par(oma=c(3,3,3,3))
par(xpd=TRUE)
Blot<-matrix(c(25.2995, 0.7625, 25.6135, 36.5770,
2005 Nov 08
2
question about R graphics-example plot attached
---------- Forwarded message ----------
From: jia ding <dingjia at gmail.com>
Date: Nov 2, 2005 4:03 PM
Subject: question about R graphics-example plot attached
To: r-help at lists.r-project.org
Suppose I have the data set like this:
A 1
3
7
10
B 5
9
13
The numbers here actually is A or B's occurence positions.So it means,
position 1,3,7,10 is A;position 5,9,13 is B's occurence.
I
2005 May 20
0
Asterisk RealTime & asterisk configuration files through DBMS
Hi I'm a new user with Asterisk Realtime. I'm trying to write a web
application in PHP that will show me asterisk *conf files configuration
and that can help me to add/remove users/peers etc... I know that from
asterisk 1.0.7 on (with cvs upload) asterisk configuration files can be
managed trough aDBMS in my case Mysql. I'd want to know if someone knows
how can I "map"
2006 Feb 22
3
2 barplots in the same graph
Hello,
I have a very simple question about "2 barplots in the same graph".
It seems quite easy, but I searched google for long time, haven't find
solution.
For example, I want one graph like:
x1=seq(0,2,by=0.3)
x2=seq(3,0,by=-0.1)
barplot(x1,col="red")
barplot(x2,col="green")
It means if it's on the same graph, some bars are overlaped.
So if the bars are
2006 Oct 30
2
anti ex-girlfriend
Hi Dear
I want to use asterisk(1.2.7.1) as a router by caller
id.
I have only a DID number, I want to map this number to
some ip-phones , base on received Caller-id.
it is my database's view:
456 | DID | 14193016880 | 2 | hangup |
|
455 | DID | 14193016880 | 1 | Dial |
H323/1169#989181310524@66.152.61.66|60 | didx.org for
2004 Nov 29
2
proper way to process dataframe by rows
This is a best practices / style question.
The way I use RODBC is I something like this:
> foo <- sqlQuery(db, "select * from foo")
> apply(foo, 1, function{...})
That is, I use apply to iterate over each result -- row -- in the
RODBC-produced dataframe. Is this how one generally wants to do this?
My concern is that when apply iterates over the rows, it uses
as.matrix()
2013 Jun 03
1
Is uniqueid/sequence a safe CDR table primary key ?
Hi,
When dealing with CDR SQL tables, I always added an auto-incremented cdr_id
key as a primary key, just in case provided uniqueid key went wrong.
Now I'm facing a situation where I need to insert into a database's table
and from the dialplan, a reference to the CDR record which is currently
processed.
So my questions are:
1. Can uniqueid/sequence (or uniqueid/sequence/calldate)
2007 Apr 13
1
MySQL query and character set
Hi!
I retrieve data from a MySQL Database, containing special characters
(german umlaute - ???).
rs<-dbSendQuery(con,statement=paste("SELECT ...")
The query itself works without problem, but displaying the data
generates an error at the first line containing such characters.
data<-fetch(rs,n=-1)
data[x]
Whereas the following command works fine:
>
2005 Nov 09
1
accident modified dataset. How can I recovery it?!
I first try these command, it works quite well.
library(lattice)
data(cuckoos)
levnam <- strsplit(levels(cuckoos$species), "\\.")
BUT, i want to try :
levnam <- strsplit(levels(cuckoos$species), ".")
to see the difference.
They maybe I modified the data file, because when I try again, it says:
> data(cuckoos)
Warning message:
data set 'cuckoos' not found in:
2007 Jul 12
5
In creating a Windows binary package (zip), how do I make the installation configurable
I would like to create a binary package for Windows which when
installed will give the user an option of whether to install
one version or another.
Here is the problem, I have a package 'FAME' that can run
in two different modes on Windows. An old mode that uses
R to connect to a remote linux machine and a new way that
uses a locally installed database.
I would allow this decision to be
2016 Mar 12
2
Questions about GSoC project: Speed up the Test Suite
Hi,
My name is Luo Zengbo, a student from Zhejiang University, China. As
I mentioned in IRC before(my IRC nick name is poe_), I am interested in
GSoC project: Speed up the Test Suite. After discussed with Olly, I think
this project can be divided into three steps:
Step 1:
Rewrite every call of the function get_writable_database(). I will
pass writable database's name with
2005 Mar 05
0
Processed: reassign syslog file handling
Processing commands for control at bugs.debian.org:
> clone 296096 -1
Bug#296096: logcheck shows the same month old logs again and again
Bug 296096 cloned as bug 298206.
> reassign -1 syslog-ng
Bug#298206: logcheck shows the same month old logs again and again
Bug reassigned from package `logcheck' to `syslog-ng'.
> severity -1 minor
Bug#298206: logcheck shows the same month
2004 Dec 29
3
why dovecot try to access the uses's home?
hi,
after i try to use dovecot with ldap i configure dovecot as:
------------------------
first_valid_uid = 499
last_valid_uid = 499
first_valid_gid = 499
last_valid_gid = 499
default_mail_env = maildir:/home/mail/%d/%n
auth_userdb = static uid=499 gid=499 home=/home/users/%d/%n
auth_passdb = ldap /etc/dovecot-ldap.conf
------------------------
but after this i've got the error in imap.log:
2008 Jun 18
1
Histogram inset into another histogram
Dear R users and helpers,
I'm trying to find an example of a histogram plot as an inset (upper
right or left corner) of another histogram.
Anyone has an example of that?
Thanks for your help,
V?ctor.
--
-----------------------------------------------------------------------
V?ctor Homar Santaner
Grup de Meteorologia
Edif. Mateu Orfila Tel: +34 971 17 1376
2010 Feb 17
1
function to display histogram fails to do so when histogram is not the last expression in the function
TestHistogram_A is a function that plots a histogram, then returns 3. For
me it fails
to display the plot, at least in the order given below.
TestHistogram_B is a function that plots a histogram, then exits. The only
difference between
the 2 functions is that B does not return 3. It displays the plot.
This problem does not occur when histogram is replaced by boxplot
Their use
2005 Mar 06
3
Bug#298291: logcheck-database: Printer out-of-paper reported
Package: logcheck-database
Version: 1.2.34
Severity: minor
I have parallel port attached printer and kernel reports whenever
printer is out of paper:
Mar 6 12:38:50 host kernel: lp0 out of paper
However, this is not a situation that should be reported by default
(IMHO) by logcheck sending report email. Thus I propose adding
following line to ignore.d.workstation/logcheck (possibly to .server
2006 Apr 04
1
DISPLAYING A HISTOGRAM + finding NAs
I have a vector of values (about 8000 obs between 0 and 1). I want to
display a histogram as follows:
value of vector
( bw 0 and 1) |
|
|
|
|
|______________________________________
all 8000 obs.
So that each section of the x axis corresponds
2009 Sep 06
1
using histogram to find cdf
Dear all,
How can I use the histogram density estimate (hist) to find the value of the cdf at a certain point?
Thanks
Maram
[[alternative HTML version deleted]]
2008 Jun 10
1
Histogram of gaps
Hi
I consider myself not a complete beginner in R, however an elegant
solution to this problem stumps me. I have a fairly long time series of
60000 or so points, I need to gather the data to create a histogram of
the length of continuous zero periods in a data set.
So image the data looks like this (where as a pre-condition all numbers
are single digit so assume commas if you which, I have the
2012 Jun 13
1
histogram fill lattice
Dear all,
I would like to change the "fill" pattern of a histogram using histogram() in the lattice package. I know how to do so using hist(), but would prefer to stay within lattice.
dt1 <- rnorm(100,0,1)
hist(dt1, density=3, angle=45)
library(lattice)
histogram(dt1,
xlab = "Histogram of rnorm(0,1)",
type = "count",