Displaying 20 results from an estimated 5000 matches similar to: "array question"
2009 Jul 27
3
numbers on barplot
Hello all,
I have this simple barplot code:
ifn <- "id.dat"
dat <- read.table(ifn)
ofn <- "id.png"
bitmap(ofn, type = "png256", width = 30, height = 30, pointsize = 30, bg =
"white",res=50)
par(mar=c(5, 5, 3, 2),lwd=5)
par(cex.main=1.6,cex.lab=1.6,cex.axis=1.6)
names(dat)<-c("NumberOfPeople","Average")
2006 Sep 27
2
Histogram
Dear all,
I want to design a histogram and I need to have the frequency at certain
points. For example I have the following 2 columns:
*X Y*
0.1 25
0.4 22
0.45 11
0.55 21
I want the chart to have 4 columns. First column is from 0.0-0.1 (on X) and
frequency is 25. Next colum is wider and form 0.1-0.4 with 22 frequency.
Next column is narrow with 11 frequency and the last column is
2009 Aug 13
1
reading a string
Hello All:
I am having the following data file named "data.dat"
Number of people
Number of pets
Age of trees
ifn <- "data.dat"
dat <- read.table(ifn)
colnames(dat)<-c("Variables")
I want R to read all these in a string but when I ask R to read these,
it gives me error because there more than one word in each line. Any
comments to solve this problem?
2009 Aug 06
2
Ylim
Hello All:
Can anybody tell me what is the problem with my program please. I have an
error message as appears below.
My program is:
ifn <- "Jul08_09.LM"
data <- read.table(ifn)
ofn <- "Jul.png"
bitmap(ofn, type = "png256", width = 30, height = 30, pointsize = 30, bg =
"white",res=50)
par(mar=c(5, 5, 3, 2),lwd=5)
2006 Oct 02
5
Barplot
Hello,
I have used the following data to draw my barplot:
BL LR Q
36.35 1.00 1.92
36.91 4.00 0.00
25.70 6.00 0.00
34.38 3.00 1.92
05.32 0.50 0.00
BL<-c(36.35, 36.91, 25.70, 34.38, 05.32)
LR<-c(1.00, 4.00, 6.00, 3.00, 0.50)
Q<-<(1.92, 0.00, 0.00, 1.92, 0.00)
barplot(dt$LR, main='LR Value', col='orange', border='black',
2010 May 12
2
plot error
Hello All:
I am having the following error message when I increase the resolution
("res=30" to "res=350") of my graph:
Error in plot.xy(xy, type, ...) : ignoring SIGPIPE signal
Calls: plot -> plot.default -> plot.xy
Execution halted
Here is the code:
ofn <- "MAY11.png"
bitmap(ofn, type = "png256", width = 21, height = 30, pointsize = 30, bg =
2009 Jul 30
1
reading a file
Hello there,
I have the following info in MyData:
01 0.40
02 0.40
03 0.40
04 0.35
05 0.34
06 0.33
I want to read them using the following code:
ifn <- "MyData"
dat <- read.table(ifn)
names(dat1)<-c("Code","M")
names(dat2)<-c("Code","M")
I want to have the first three lines in
2010 May 13
1
ESP Ghostscrip ...
Hello All:
Could anybody tell me please what is the meaning of this error message:
ESP Ghostscript 815.02: Unrecoverable error, exit code 1
Error in plot.xy(xy, type, ...) : ignoring SIGPIPE signal
Calls: plot -> plot.default -> plot.xy
Execution halted
My code has to go to 18 loops for three times and in each loop it has to
read a file which is 100-300 Megs. It always crashes at loop 14
2007 Feb 23
2
Wrinting integers in a matrix faile
Hello everyone,
I am using the following program to get the p-value of some numbers
(column 'LR' of the data.dat file). I want to write the 1st and 2nd
column of the output file (data.out) as an integer while the program
change them to double. Could anybody please tell me how I can write
the code which writes the values of the first two columns as integer?
Thanks
library ('MASS')
2010 Oct 01
1
mhtplot?
Hello All:
I was wondering why many plot options are not working with mhtplot. I could
not find much info about this function on the web too. Any comments, any
detailed manual ...
Thanks,
MJK
[[alternative HTML version deleted]]
2007 Feb 21
1
Chi-Square test
Hello all,
I am doing a Likelihood Ratio (LR) test in my simulation and I have a vector
LR values (each with 1 degree of freedom) at the end of my simulation.
Can anybody tell me how I can write a 'R' code which gives me the p-value
for each of those LR values.
Thanks
[[alternative HTML version deleted]]
2010 Sep 29
1
graph margins
Hello All,
I am drawing a graph having 18 small graphs inside using par(mfrow = c(6,3))
command. My problem is how to specify the margins of the whole 18 graphs. I
used par(mar=c(6.5, 6.5, 1.5, 1.5)) for each graph separately already but it
does not left any margins for the 'mtext()' for the margins of the whole 18
graphs. Any comments please.
Thanks,
MJK
[[alternative HTML version
2013 Jan 03
2
Sas by function in R
Hello,
It's an alternative to use SAS by function in R?
I want to plot d histograms by plot.from example bellow:
Thank you!
plot d
1 1 16.3
2 1 25.0
3 1 57.8
4 1 17.0
5 2 10.8
13 2 96.4
17 3 76.0
18 3 32.0
19 3 11.0
20 3 11.0
24 3 106.0
25 3 12.5
21 4 19.3
22 4 12.0
26 4 15.0
27 5 99.3
32 7 11.0
36
2007 Feb 25
1
Writing integers in "write.matrix" function
Hello everyone,
I am using the following program to get the p-value of some numbers
(column 'LR' of the data.dat file). I want to write the 1st and 2nd
column of the output file (data.out) as an integer while the program
change them. Could anybody please tell me how I can write
the code which writes the values of the first two columns as integer?
For your convenience, I have attached the
2012 Nov 14
2
aggrete data from combination
Dear R users,
A have a dataframe (matrix) with two collumns (plot, and diameter (d)). I
want all diameters values for different combination of plots.
For example I want all d values for all posible combination, 100C2 (all d
values for plot 1 with all d values in the plot 2.......with all d values
from plot 1 with all d values from plot 100, ...... with all d values from
plot 99 with all d values
2017 Jul 11
1
Problem with download from local mirror
Thanks for consideration
I use this command for update my repo
rsync -avzH --delete-after centos.mirror.angkasa.id::centos
/home/centos/ --log-file=/var/log/rsync/rsync.log.$(date +%Y%m%d%H%m%S)
Best Regard
Mohsen
On Mon, Jul 10, 2017 at 11:32 PM, Marcelo Roccasalva <
marcelo-centos at irrigacion.gov.ar> wrote:
> On Mon, Jul 10, 2017 at 3:49 PM, mohsen Abbaspour
>
2007 Aug 04
4
syslinux & booting linux from USB
Dear all,
I wanna create a GNU/Linux that it boots from USB.
I don't any idea on that.
Can you introduce me a doc that i can use it & i can solve my problem?
Cheers,
--
-------------------------
Mohsen Pahlevanzadeh
email address : mohsen at pahlevanzadeh.org
web site : http://pahlevanzadeh.org
IRC IM : m_pahlevanzadeh
yahoo IM : linuxorbsd
----------------------------
2009 Jun 28
1
Join to Linux domain
Dear all,
I create a PDC.
But when i use :
join rpc join mylove.com -U mohsen -I 127.0.0.1
i get following error:
debian:/home/mohsen# net rpc join mylove.com -U mohsen -I 127.0.0.1
Enter mohsen's password:
[2009/06/28 11:12:31, 0]
utils/net_rpc_join.c:net_rpc_join_newstyle(259)
could not open domain: NT_STATUS_ACCESS_DENIED
Unable to join domain WORKGROUP.
My /etc/samba/smb.conf is :
2004 Feb 14
2
SOS
Hi,When i run "service dovecot start",I receive
following line:
Starting IMAP daemon (dovecot): Fatal: Can't use SSL
key file /usr/share/ssl/private/dovecot.pem: No such
file or directory
[FAILED]
Please guide me until i can make a key file....
Yours,Mohsen.
=====
---------DIGITAL SIGNATURE-------------------
2008 Aug 05
3
Yum
Dear All,
When i install CentOS, it doesn't install yum package.
How i do it?
when i haven't yum, it is like that i haven't apt-get.
Please help me....
Yours,
Mohsen