Displaying 20 results from an estimated 100 matches similar to: "Rank Values in a Matrix"
2008 Apr 04
2
Reading an ArcGIS raster file
Dear members,
How can I read and plot an ArcGIS raster file into R ? The file has extension .aux and contains floating point bathymetry data. The purpose is to create a spatial model in R that uses ArcGIS map data. I have managed to read and plot various shape files into my R project, but I am stuck with this now. I am new to this list and also to R, so any help would be much appreciated.
Many
2006 Nov 20
1
Proportional data with categorical explanatory variables
Ein eingebundener Text mit undefiniertem Zeichensatz wurde abgetrennt.
Name: nicht verf?gbar
URL: https://stat.ethz.ch/pipermail/r-help/attachments/20061120/73240e63/attachment.pl
2008 Nov 06
3
unlist & dataframes
Dear all,
I would like to know whether it is possible to unlist elements and keep the
original format of the data.
To make it more clear, let me give an exemple:
I have a list l of dataframes that I created with apply but which looks like
this:
x1=data.frame(Name=LETTERS[1:2],Age=1:2)
x2=data.frame(Name=LETTERS[3:4],Age=3:4)
l=list(x1,x2)
l
[[1]]
Name Age
1 A 1
2 B 2
[[2]]
Name
2008 May 19
2
From strings to numbers
Dear all,
I would like to know if there is an easy to transform a vector of strings to
a vector of integers.
Ex:
("ab","ab","bb","cat","cat","ab") will be
(1, 1, 2, 3, 3, 1)
Thx,
Naira
--
View this message in context: http://www.nabble.com/From-strings-to-numbers-tp17315179p17315179.html
Sent from the R help mailing list archive at
2008 Jul 30
1
problem with nested loops
Dear all,
I have a problem with constructing a nested loop.
I have two matrices:
pnr:
800 rows 14 columns
where rows are 40x20 meaning that 40 rows belong to one of twenty
objects in the matrix pnr
mvp:
20 rows and 14 columns
I want to:
calculate a distance value with the first 40 rows of pnr but 20times
with the 1st row of mvp
then the next 40 rows of pnr and 20times with the second row
2010 Sep 01
2
Legend with fill = gray ?
Hi,
I am facing a problem with the legend, I don?t know how to use the fill
option in the legend in order to achieve the same standard gray levels
that are plotted.
Sorry for this easy one, but I really did not find anything so far.
It works fine with color:
###### C O L O R
mat <- matrix(2,3,rep(2,6))
rownames(mat)<-c("A","B","C")
par(xpd=T,
2005 Aug 22
1
vectors of different length in a matrix
HI!
I?ve 3 vectors of different length (a,b,c) and want to arrange them in a
matrix a,b,c as rows and the figures of these vectors in the columns
(with that matrix i want to calculate a distance between thes vectors -
vegan - vegdist - horn). Is there a possibilty to create such a matrix
and to fill up the missing fields with NA?s automatically????
Thanx
marten winter
--
*Marten Winter*
2013 Jan 22
2
SNPRelate package error
Dear,
I am using the R package SNPRelate but I found an error when I run the
following command. Do you know what might be the problem? Thanks in
advance.
> vcf.fn <- system.file("extdata","str.vcf",package="SNPRelate")
> snpgdsVCF2GDS(vcf.fn,"test.gds")
Start snpgdsVCF2GDS ...
Extracting bi-allelic and polymorhpic SNPs.
2008 Apr 29
2
how to find the minimum
Dear friends:
I am a new R user, and not very good at statistics and maths
I find it difficult to find the minimum of this item:
((p*(b-1)-1)*(p+1)^(b-1)+1)/p^2
It seems that the method optim can find the minimum. I tried several
times , but R constanly tells that " failure to find b or p"
Would you please give some suggestions?
Thanks in advance.
Best
2007 Dec 07
1
paradox about the degree of freedom in a logistic regression model
Dear all:
"predict.glm" provides an example to perform logistic regression when the
response variable is a tow-columned matrix. I find some paradox about the
degree of freedom .
> summary(budworm.lg)
Call:
glm(formula = SF ~ sex * ldose, family = binomial)
Deviance Residuals:
Min 1Q Median 3Q Max
-1.39849 -0.32094 -0.07592 0.38220 1.10375
2001 Nov 14
0
OPEN ssh pkg
Hi,
I have a few corrections for OPENssh-2.9p1 solaris packaging.
I use to configure:
setenv CFLAGS -I/opt/local/include
setenv LDFLAGS "-R/opt/JGMAzlib/lib -L/opt/JGMAzlib/lib"
./configure --prefix=/opt/OPENssh --with-tcp-wrappers --sysconfdir=/etc/opt/OPENssh --localstatedir=/var/opt/OPENssh --with-pid-dir=/var/opt/OPENssh/run --with-ssl-dir=/opt/OPENssl --with-ipv4-default
1997 Feb 05
0
bliss version 0.4.0
[mod: Forwarded by Jeff Uphoff. I tried to mangle the headers that
it appears as the original post: with an invalid return address. -- REW]
A few months back, a very alpha version of bliss got posted. That shouldn''t
have happened, but, it was pretty much ignored so I didn''t worry about it.
But now it seems there''s a bit of a fuss about this. I''ll post the
2006 Feb 06
0
character encodings back and forth
Which is the most transparent way to handle character encodings in
your experience? For a small internal application in Spanish I was
going to go with everything in UTF-8, database and views. Does that
work smooth in your experience? How do you handle the encoding of
input coming from forms?
-- fxn
2006 Sep 25
1
Internal error-Panic
Hi,
We are running a samba server ( Version 3.0.10-1.4E.6.2 ) on a redHat RHEL
release 4 (Nahant Update 3).
We have a lot of errors that occurs when windowsXP clients hosts try to
read from a Samba Export.
We can't upgrade the Samba version because we are blocked by RHEL releases.
This is the log returned by the smb server :
[2006/09/22 13:53:22, 0] lib/fault.c:fault_report(36)
2011 Dec 09
0
Summary model with observations taken out and dummied back in - not working
I have a data set with 35 observations and 4 variables. I have removed 4
observations as they were skewing the data analysis but I want to dummy them
back in, (not entirely sure on the reason, but have been told I should try).
I have used this in order to do it, but I am not getting any statistical
analysis with my dummy it's all NA.
> dummy15=rep(0, times=n)
> dummy15[15]=1
>
2002 May 17
5
Port 32230 anyone?
Greetings,
Yet another strange pattern of traffic is being halted at the shorewall
firewall, but I have no idea what this is. IANA shows the ports
unassigned, and a net search yields only some of the same questions -
what is this port?
There are two machines as SOURCE, on the same class C network, adjacent,
even, sending one connect attempt to TCP port 32230 every five minutes.
I''m
2007 Dec 06
1
logistic regression using "glm",which "y" is set to be "1"
Dear friends :
using the "glm" function and setting family=binomial, I got a list of
coefficients.
The coefficients reflect the effects of predicted variables on the
probability of the response to be "1".
My response variable consists of "A" and "D" . I don't know which level of
the response was set to be 1.
is the first element of the response set
2008 Mar 23
3
newbie install question
I have an ASUS eePC with the default linux installation (Xandros I believe). I would like to install wine to run a custom application. However, I can not figure out which version of wine to download. Will any of them work? If not which one should I use?
Thanks for any and all help.
2007 Dec 11
2
the observed "log odds" in logistic regression
Dear list:
After reading the following two links:
http://luna.cas.usf.edu/~mbrannic/files/regression/Logistic.html
http://www.tufts.edu/~gdallal/logistic.htm
I've known the mathematical basis for logistic regression.However I am
still not so sure about the "logit "
For a categorical independent variable, It is easy to understand the
procedures how "log
2006 Jul 07
1
Newbie questions?
I have the book, "The Official Samba-3 Howto and Reference Guide" and
I'm trying to get 3.0.22 running on Aix 5.2. All I want to do is setup
some file sharing at the moment and map a drive from an XP pc to a
directory on Aix. We have a Windows domain setup, the domain name is
mobot.org. The Aix server is named mobot. I've been searching through
the archives for