similar to: finding out more about an object, e.g. lm

Displaying 20 results from an estimated 9000 matches similar to: "finding out more about an object, e.g. lm"

2006 May 11
4
data input strategy - lots of csv files
Good morning, I have currently 63 .csv files most of which have lines which look like 01/06/05,23445 Though some files have two numbers beside each date. There are missing values, and currently the longest file has 318 rows. (merge() is losing the head and doing runaway memory allocation - but thats another question - I'm still trying to pin that issue down and make a small repeatable
2009 Jul 22
3
How to list R object properties & save workspace?
Hi, I am new to R and have a couple of questions. I know how to list all objects (with ls()), but how to list all properties of them? For instance, I found function object.size(), but I would also like to know whether one object is a dataset or just one vector (variable) or even only one value, etc... And another question - how to save workspace to a custom location while running R? Is there
2007 Sep 09
1
fitdistr()
I am trying to fit the chi-squared distribution to a set of data using the fitdistr function found in the MASS4 library, the data set is called ONES3, I have loaded it using the command ONES3<-read.table("ONES3.pdf",header=TRUE,na="NA") I print out the dataset ONES3 to the screen to make sure it has loaded Then I try to fit this data using the command
2012 Mar 14
2
Moore-Penrose Generalized determinant?
Is there a function in R to calculate the generalized determinant of a singular matrix? - similar to the ginv() used to compute the generalized inverse. I can't seem to find any R related posts at all. Thanks in advance, Sean O'Riordain Trinity College Dublin -- View this message in context: http://r.789695.n4.nabble.com/Moore-Penrose-Generalized-determinant-tp4471629p4471629.html Sent
2003 Oct 15
3
r-ish ? how can i improve my code?
Hi Folks, I'm trying to learn R. One of my intentions is to do some Monte-Carlo type modelling of road "accidents". Below, to simplify things, I've appended a little program which does a 'monte-carlo' type simulation. However, it is written in a way which seems a bit un-natural in R. Could someone help me make this a bit more R-ish please? Or is there a
2010 Jan 07
2
table() and setting useNA to be there by default?
Good morning, Is there a way to get table() to default to including NAs - as in... table(..., useNA='ifany') or table(..., useNA='always') or table(..., exclude=NULL) ? I can't see a way under table() or options() or searching the archives (probably using the wrong keyword?). > t1 <- c(1,2,3,3,3,2,NA,NA,NA,NA) > table(t1) t1 1 2 3 1 2 3 I keep forgetting to
2006 May 21
3
Unreadable labels
Playing around with examples from MASS4, I found a font problem in the mosaicplot in R-2.3.0. It doesn't happen in other plots. Running this example from MASS4, page 326... library(MASS) caith1 <- as.matrix(caith) names(dimnames(caith1)) <- c("eyes", "hair") mosaicplot(caith1, color = TRUE) ...I get an image as attached. The column and row labels are unreadable. It
2008 Dec 01
1
trivial spelling correction
Good evening, Spotted a very minor spelling mistake in the source for the grep help. And thanks to R-Core for all their work - it's a tribute to R-Core, that these sort of "problems" are rare indeed. Best regards, Sean O'Riordain Dublin sean at sean7:~/R/RSVN/R/trunk/src/library/base/man$ svn diff Index: grep.Rd
2011 Apr 25
1
possible minor doc clarification?
Good afternoon, As a clarification does it make sense to remove the second 'not' in the 'See Also' documentation for file_test ? Kind regards, Sean O'Riordain ----- Index: src/library/utils/man/filetest.Rd =================================================================== --- src/library/utils/man/filetest.Rd (revision 55639) +++ src/library/utils/man/filetest.Rd
2013 Apr 10
1
Issue with Control-Z in a text file on Windows - readLines() appears to truncate
Working on Windows I have had to deal with CSV files that, unfortunately, contain embedded Control-Zs, i.e. ASCII character 26 in decimal, and the readLines() function in R on Windows (2.15.2 and 3.0.0) appears to truncate at the control-Z. There is no problem at all on Ubuntu Linux with R 3.0.0. Am I mistaken or is this genuine? # Create a small file with embedded Control-Z h3 <-
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
2006 Sep 18
1
uniform integer RNG 0 to t inclusive
Good morning, I'm trying to concisely generate a single integer from 0 to n inclusive, where n might be of the order of hundreds of millions. This will however be used many times during the general procedure, so it must be "reasonably efficient" in both memory and time... (at some later stage in the development I hope to go vectorized) The examples I've found through searching
2002 Aug 29
2
Factor Analysis in MASS4
Hi, I had a look at the MASS4 scripts in the MASS package, in Ch 11.3 Factor Analysis, there is a section of codes like: data(ability.cov) ability.FA <- factanal(covmat = ability.cov, factors = 1) ability.FA (ability.FA <- update(ability.FA, factors = 2)) #summary(ability.FA) round(loadings(ability.FA) %*% t(loadings(ability.FA)) + diag(ability.FA$uniq), 3)
2003 Jun 17
1
help.start
Dear R experts, I would greatly appreciate your help with R's hypertext online documentation, which I can pass on to our system manager. We are running version 1.7 on sparc-sun-solaris2.9 using netscape7 browser for displaying the help. The system is working, but there are a few frustrating details that I hope might be fixed. Here are three problems we are having: 1. When the R session
2002 Oct 12
6
Learning R: which book to choose?
I am new to R. I am going to by one of the following book: 1. William N. Venables and Brian D. Ripley. Modern Applied Statistics with S-Plus. Third Edition. Springer, 1999. ISBN 0-387-98825-4. 2. The Fourth Edition of the book from point 1. 3. `S Programming' by W. N. Venables and B. D. Ripley Springer. ISBN 0-387-98966-8, 2000. I can only by one of the above books. Q1. I have found
2006 May 20
1
merge problem... extra lines appear in the presence of NAs
Good morning! I've searched the docs etc... Am I doing something wrong or is this a bug? I'm doing a merge of two dataframes and getting extra rows in the resulting dataframe - the dataframes being merged might have NAs... count <- 10 nacount <- 3 a1 <- as.data.frame(as.Date("2005-06-01")+0:(count-1)) names(a1) <- "mdate" a1$value <- runif(count)
2008 Mar 19
1
running balance down a dataframe referring back to previous row
Good morning, I've searched high and low and I've tried many different ways of doing this, but I can't seem to get it to work. I'm looking for a way of vectorising a "running balance"; i.e. the value in the first row of the dataframe is zero, and following rows add to this running balance. This is easy to write in a loop, but I can't seem to get it working in
2008 Mar 28
1
cpu usage high with windows change dir / winDialogString (PR#11045)
Good afternoon, This is possibly a windows only bug, definitely of comparatively low importance - but for the sake of completeness here we go. I've searched http://bugs.R-project.org/ etc., but can find no mention. For RGui.exe, the CPU usage goes to 100% for certain dialog boxes for the duration that the dialog box is visible, e.g. * check CPU usage is low * On the RGui.exe menu chose
2006 Jan 27
1
about xyplot in lattice
Hi all, I am using xyplot (lattice) to generate a figure like Figure 4.18 in MASS4, but I have the following two questions (1) how to change the font of x(y)lab? (2) how to plot the panels for each level of the conditional variable (a factor in my data set) in the order as occurred in the data.frame rather than in the order of the levels of the conditioning variable? Thanks Jin
2003 Jan 08
1
Searching for glmmNQ
I cannot find the glmmNQ function in the MASS package (or anywhere else I have tried) mentioned on page 296 of MASS4. I would appreciate directions. Thanks -- Ross Darnell