similar to: rcorr in Hmisc

Displaying 20 results from an estimated 2000 matches similar to: "rcorr in Hmisc"

2002 Apr 29
2
append with write.table()
Dear list, I get the following message while trying to append an object to a file. In addition it is not appended. Do you know why? > write.table(PoxAv, "/home/uleopold/lsk_PoxAv", append=TRUE , quote=FALSE, sep="\t") Warning message: appending column names to file in: write.table(PoxAv, "/home/uleopold/lsk_PoxAv", append = TRUE, Regards, Ulrich --
2002 Mar 20
1
Installing GRASS_0.1-4.tar.gz on RedHat7.1 Linux
Dear list, I have a problem to install the GRASS_0.1-4.tar.gz on RedHat7.1 Linux. The gmake5 is missing. But I am not quite sure what it is? Is it a gnu version of MAKE? I could not locate it on my system and I do not know what is really meant. Any experience? I get the following message: ---------------------------------------------------- bash-2.04$ R CMD INSTALL -l
2002 Sep 11
1
axis with negative values
How can I extend the axis of truehist with negative values. I need to plot residuals from a stepwise regression. Ulrich -- __________________________________________________ Ulrich Leopold MSc. Department of Physical Geography Institute for Biodiversity and Ecosystem Dynamics Faculty of Science University of Amsterdam Nieuwe Achtergracht 166 NL-1018WV Amsterdam Phone: +31-(0)20-525-7456
2002 Sep 12
4
normal score transform
Dear list, could someone point me to the normal score transform and it's use in R? I would like to transform my data with normal score transform, do some geostatsitical predictions and would like to transform the estimated values back including the estimation variance. Any suggestions? Ulrich -- __________________________________________________ Ulrich Leopold MSc. Department of
2002 Jun 26
2
change column name in a function
Hi, I have the following function: TEST <- cbind(Pox0t30.stone.1990.2000, sqrt(apply(Pox0t30.stone.1990.2000[,2:11], 1, var))) In rhe resulting Object TEST the added column is titled: sqrt(apply(Pox0t30.stone.1990.2000[,2:11], 1, var) I would like to change it to a sensible variable name like PoxMean. How can I incorporate this into the above function? Ulrich --
2002 Mar 20
1
cannot open file .RDataTmp
Dear list, since I have installed GRASS_0.1-8.tar.gz (devel) with R 1.4.1 on RedHat7.1 Linux I get the following message when I want to save the workspace image: -------------------------------------------------- Save workspace image? [y/n/c]: y Error in file(file, "wb") : cannot open file `.RDataTmp' ------------------------------------------------- Where can I find the
2002 Apr 09
0
couldn't find function "nclass.fd"
Dear list, I get the following message while computing truehist in R 1.4.1 on Redhat Linux 7.1: > truehist(lsk$Pox, nbins = "FD" , prob = TRUE, xlab = "Pox [mmol/kg]") Error in switch(casefold(nbins), scott = nclass.scott(data), "freedman-diaconis" = , : couldn't find function "nclass.fd" Maybe the "nclass.fd" should be
2002 May 27
1
sub functions
Dear list, how can I write the following two lines in one function: > Pox2 <- ave(lsk0t50$Pox2, lsk0t50$ProfN, Fun=is.na(lsk0t50$Pox2)) > Pox2 <- data.frame(Pox2) The following does not work: > Pox2 <- data.frame(Pox2 <- ave(lsk0t50$Pox2, lsk0t50$ProfN, Fun=is.na(lsk0t50$Pox2))) > names(Pox2) [1]
2003 Sep 04
5
subtract 2 columns in a data.frame
Dear list, could someone point me to the right command to subtract 2 columns in a data.frame. Might be a bit embarrassing question. But I cannot figure out how to do this simple command in R. Thanks, Ulrich -- __________________________________________________ Ulrich Leopold MSc. Department of Physical Geography Institute for Biodiversity and Ecosystem Dynamics Faculty of Science University
2002 Jul 11
0
missing links in GRASS package for R
Dear list, I get the following error message when installing the package GRASS. missing link(s): interp.new missing link(s): vgram Krig predict.Krig predict.se.Krig See also below for the full installation message. What does this mean exactly? Regards, Ulrich ------------------------------------------------------------------ > R CMD INSTALL
2004 May 06
1
X11 fonts cannot be loaded - SuSE Linux solution
Dear list, I would like to make a comment how to solve the X11 font problem under SuSE Linux (9.0) when you get the message: "X11 font at size 16 could not be loaded". After having modified /etc/X11/XF86config as root (see below) you have to run 'SuSEconfig' as root as well else nothing might be changed in the X-Server. After that no further messages should appear. HTH,
2004 May 05
5
syntax error in function 'for'
Dear list, I get a syntax error for the following function: for(na.omit(sqrt(D))>2) {na.omit(A)-(na.omit(B)+(na.omit(sqrt(C))))} Any idea what is wrong? I am using R 1.8.1 on Linux, Kernel 2.4.21-i686. Regards, Ulrich -- __________________________________________________ Ulrich Leopold MSc. Computational Bio- and Physical Geography (CBPG) Institute for Biodiversity and Ecosystem
2011 Aug 19
1
Hmisc::rcorr on a 'data.frame'?
Dear all ?Hmisc::rcorr states that it takes as main argument "a numeric matrix". But is it normal that it fails in such an ugly way on a data frame? (See below.) If the function didn't attempt any conversion to a matrix, I would have expected it to state that in the error message that it didn't accept 'data.frame' objects in its input. Also, I vaguely remember having used
2011 Mar 01
1
which does the "S.D." returned by {Hmisc} rcorr.cens measure?
Dear R-help, This is an example in the {Hmisc} manual under rcorr.cens function: > set.seed(1) > x <- round(rnorm(200)) > y <- rnorm(200) > round(rcorr.cens(x, y, outx=F),4) C Index Dxy S.D. n missing uncensored Relevant Pairs Concordant Uncertain 0.4831 -0.0338 0.0462 200.0000
2004 Feb 11
1
Erro in loadNamespace
Dear list, Iget the following error message: > help.search("omit.na") Error in loadNamespace(name) : package 'tools' does not have a name space I do not quite understand what it means in this case. Is something corrupt in the installation? I run R-1.8.1 in Linux RedHat 9 with kernel 2.6.2 on Intel P4. Regards, Ulrich --
2011 May 22
1
How to calculate confidence interval of C statistic by rcorr.cens
Hi, I'm trying to calculate 95% confidence interval of C statistic of logistic regression model using rcorr.cens in rms package. I wrote a brief function for this purpose as the followings; CstatisticCI <- function(x) # x is object of rcorr.cens. { se <- x["S.D."]/sqrt(x["n"]) Low95 <- x["C Index"] - 1.96*se Upper95 <- x["C
2006 Sep 18
2
problems in sourcing R script
Dear list, First my information: platform i386-pc-linux-gnu arch i386 os linux-gnu system i386, linux-gnu status major 2 minor 3.1 year 2006 month 06 day 01 svn rev 38247 language R version.string Version 2.3.1 (2006-06-01) Now my question: How is it possible that a command in an R script is not
2012 Sep 12
1
digit precision in p value of rcorr
Hi all, Sorry about posting a really novice question. I was able to run rcorr after converting the list to a matrix by your help. I'm though wondering if there is any way to find out an exact p value as the output only gave me 0 for P value as shown below. I've added options(digits=10), which doesn't seem to help at all. Any help would be appreciated. P D Prime T
2008 Feb 15
0
Error RODBC: Random termination of R
Dear list, I get random terminations of R-2.6.2 when using RODBC-1.2_3 and a remote PostgreSQL-8.2.6 database, unixodbc-2.2.11-16, odbc-postgresql-1:08.01.0200-2.1 on Ubuntu Linux 7.10. The exact messages can be seen below. It seems that there is some memory corruption going on. But it seems random to me and can neither be related to addPK=T/F or fast=T/F. It happens for all possible
2008 Jul 31
0
Sperman Correlation with rcorr (Hmisc)
Hello R-User! I have a data.frame with 82 variables (columns) and 290 rows. The variables are set to classes factor, ordered factor and numeric. I used the following code Matrix.My.data<-as.matrix(Df.My.Data[2:82]) Matrix.My.data.rcorr<-rcorr(Matrix.My.data, type="spearman") and got the following message: Fehler in storage.mode(x) <- if (.R.) "double" else