similar to: getting documentation on packages

Displaying 20 results from an estimated 10000 matches similar to: "getting documentation on packages"

2009 Jan 29
3
Plot dagger symbol in R
Dear all, I would like to plot the dagger symbol in R (like LaTeX's \dagger). However, I was unable to do so. First, I thought maybe dagger actually exists just like the degree symbol: plot(0:1,0:1, type="n") text(x=0.5, y=0.5, labels=expression(degree)) plot(0:1,0:1, type="n") text(x=0.5, y=0.5, labels=expression(dagger)) However, this was not very successful. New
2009 Jan 18
8
regex -> negate a word
Dear all, let's assume I have a vector of character strings: x <- c("abcdef", "defabc", "qwerty") What I would like to find is the following: all elements where the word 'abc' does not appear (i.e. 3 in this case of 'x'). Since I am not really experienced with regular expressions, I started slowly and thought I find all word were
2013 Apr 19
3
extracting the diagonal of an inverse matrix
Dear R-users, I would like to know whether there is a way to extract a diagonal of an inverse matrix without computing the inverse of the matrix itself. The size of my matrices are really huge and, also using sparse matrix, computing the inverse leads to storage problems and low speed. In other words, given a square matrix A, I aim to know diag(B), where B=solve(A), without computing solve(A).
2013 Feb 05
1
impossible to invert a spam-object, but possible when it's a matrix-object
Dear R-users, a question concerning sparse matrices in package "spam" (spam_0.29-2). On one hand I have a spam object (n X n) from which I cannot compute the inverse. On the other hand, if I convert this object in a plain matrix, I can find the inverse without any problem. Specifically I get the following error message: Error in chol.spam(a, ...) : Singularity problem when
2005 Aug 09
2
connexion problem getHdata (HMisc)
********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. ********************************************************************** Hi Just installing R and some
2004 Jul 13
5
table lookup n R
Hello R helpers! I looked but did not find a table-lookup R-utility. I could use a loop to do the job (old FORTRAN/C habits die hard) but if I have a big table in which I have to search for the values corresponding to a vector, I end up logically with a double loop. Is there already such a utility? Otherwise, is there a way without loops? Thanks as always Anne
2004 Feb 19
6
R for economists (was: Almost Ideal Demand System)
Hi, I did not find any web page about using R in economics and econometrics so far. However, this does not mean that there is none (searching with google for "R" and "economics" gives many pages about economics and a name like Firstname R. Lastname on it ;-)). Does anybody in the list does know such a web page? If not, I will be happy if you, Ajay, could build and
2004 Dec 22
2
RE ordering levels
Sorry, sorry.... of course levels(testf)[c(2,1,3)] will do the job My excuses to all Anne PS I will meditate the following saying "la parole est d'argent et le silence est d'or" BONNES FETES A TOUS SEASONAL GREETINGS ---------------------------------------------------- Anne Piotet Tel: +41 79 359 83 32 (mobile) Email: anne.piotet@m-td.com
2004 Dec 22
4
ordering levels
Hello! I would like to know if there is a simple way to reorder levels of a given factor.Let's say that the vector testf<-factor(c("red","red","red","blue","blue","white")) levels(testf) : blue red white should have reordered levels such as levels(testf) : red blue white (this is for presentation purposes) I guess
2005 Jan 06
2
library vcd for R rw2001
Is there an upgrate of the vcd library (visualisation of categorical data) for the latest R version? Trying to download it from CRAN I get URL /data/WWW/ftp/pub/R/bin/windows/contrib/r-release/vcd_0.1-3.4.zip was not found on this server. googling it, I found it for instance on http://www.sourcekeg.co.uk/cran/bin/windows/contrib/1.9/ but trying to install it gave me the message >
2005 Jan 07
2
help with polytomous logistic regression
Hi! I'm trying to do some ploytomous logistic regression using multinom() in the nnet package, but am a bit confused about interpretation of the results Is it possible to get the following quantities: I: maximum likelihood estimates to test for fit of model and significance of each predictor (I would like to produce a table of the following type) Analysis of Variance: MLE (values are
2009 Mar 02
1
Finding Lambda in Poisson distribution
Hi, I have a dataset. First of all, I know that my dataset shall follow the Poission distribution. Now I have two questions: 1) How can I check that my data follow the Poisson distribution? 2) How can I calculate Lambda of my data? Regards Saeed -- View this message in context: http://www.nabble.com/Finding-Lambda-in-Poisson-distribution-tp22288885p22288885.html Sent from the R help mailing
2009 Apr 02
1
[R} seasonal differencing
Hi all, I was wondering how to construct a seasonal differenced time series variable. I used the following code to construct a 12 span seasonal difference seasonal<-diff(V2, lag=12, differences=1) is this correct? thank you in advance joe [[alternative HTML version deleted]]
2004 Feb 09
2
moments, skewness, kurtosis
I checked the help and the mailing list archives, but I can find no mention of a routine that calculates higher moments like skewness and kurtosis. Of course, these are easy enough to write myself, but I was thinking that they MUST be in here. Am I wrong? Thanks. -Frank
2009 Jan 13
2
Re ad a text file from a directory in which an R script finds itself
Is it possible for an R script to read a text file, say, from the directory in which the script is located ? I don't think I can use setwd(), because I can't specify the directory. -- View this message in context: http://www.nabble.com/Read-a-text-file-from-a-directory-in-which-an-R-script-finds-itself-tp21434236p21434236.html Sent from the R help mailing list archive at Nabble.com.
2004 Aug 13
4
(PR#7163) Install packages does not work on Win2003 serv er
> -----Original Message----- > From: Uwe Ligges [SMTP:ligges@statistik.uni-dortmund.de] > Sent: Thursday, August 12, 2004 5:38 PM > To: Walke, Rainer > Cc: R-devel > Subject: Re: [Rd] (PR#7163) Install packages does not work on Win2003 > server > > Walke, Rainer wrote: > > > >a) It works for me. > > >b) If it works for you on some Windows
2003 Oct 20
3
R 1.8 for debian
Hello, I start running into problems with 1.7. due to packages which are only supported by 1.8., therefore I tried to get 1.8. but synaptic only shows up with 1.7.. Are there already debian 1.8 packages? Another question would be, how I can keep all my previously installed packages. will they be kept in '/usr/local/lib/R/site-library or does the new R overwrite these addional packages?
2009 Jan 19
1
Sweave encoding problem
Hello, Sweave seems to have trouble processing german letters in R. For example, my noweb R-input looks like this. <<>>= Oberfl?chenfehler = c(4, 11, 6, 2, 7, 9) @ If I send it through Sweave, I get the following error message. error: chunk 1 Error in parse(text = chunk) : unexpected input in "Oberfl??" extra: Warning message: In readLines(f[1]) : underfull last line in
2004 Jul 16
3
small problem with predict
hello to all! I have a small problem wit predict() for lm Let's say I have predictors x1 and x2, response y I want to predict for a new ds say dn<-data.frame(x1= seq(min(x1),max(x1),length=10),x2=rep(median(x2),10)) predict(lm(y~x1+x2),dn,se.fit=T) Error message > Error: variables 'x1', 'x2' were specified differently from the fit (I looked in the help and found
2004 Dec 06
3
removing NA as a level
Dear R-helpers, I have a problem which I suppose is trivila, but... I have included NA values as factors ( (to be able to make nice printed summaries with NAs % ba category ) with the following code dat$x.f<-factor(dat$x, exclude=NULL); levels(dat$x.f)<-c("A1","A2","A3","A4","NA"); length(dat$x.f) Now, I want to impute the missing values.