similar to: Getting variable names from as.matrix

Displaying 20 results from an estimated 2000 matches similar to: "Getting variable names from as.matrix"

2007 Nov 15
1
Moving to a Mac environment - quick question
Hi all, I'm moving to a Mac platform and have installed R and all seems fine. My question concerns moving my R objects over. On my pc, which file contains my R objects and once I copy that, where do I copy it within the Mac? I hope that was clear. Thanks in advance, David -- =============================================================== David Kaplan, Ph.D. Professor
2007 Oct 23
2
A very simple question
Hi all, My apologies for a very simple question. I just downloaded R 2.6.0. I want to bring in all of the objects from 2.5.0 that I see when I type ls(). I have no idea how to do that. Thanks in advance. David -- ======================================================================= David Kaplan, Ph.D. Professor Department of Educational Psychology University of Wisconsin - Madison
2008 Apr 06
1
Error message "got a real'
Hi all, I'm running the program sem on a Mac, but I'm getting a message that I think is quite general. The error reads Error in scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings, : scan() expected 'a real', got '10652)' The 10652 is the sample size coming from a .csv file where I have header = TRUE. Any thoughts would be
2007 Sep 11
2
Missing data
Hi all, I'm looking for a contributed package that can provide a detailed account of missing data patterns and perhaps also provide imputation procedures, such as mean imputation or hot deck imputation and the like. Is there anything out there? Thanks in advance, David -- =========================================================================== David Kaplan, Ph.D. Professor
2006 Nov 13
2
Multivariate time-series
Hi all, I'm looking for R packages that estimate multivariate time-series models or vector-autoregression (VAR) time-series models. Thanks David -- =========================================================================== David Kaplan, Ph.D. Professor Department of Educational Psychology University of Wisconsin - Madison Educational Sciences, Room, 1061 1025 W. Johnson Street Madison,
2008 Feb 12
1
Markov and Hidden Markov models
Hi, Is there a package that will estimate simple Markov models and hidden Markov models for discrete time processes in R? Thanks in advance, David -- =============================================================== David Kaplan, Ph.D. Professor Department of Educational Psychology University of Wisconsin - Madison Educational Sciences, Room, 1061 1025 W. Johnson Street Madison, WI 53706
2007 Apr 26
1
Simple plot question
Hi, I have been searching and can't seem to find a simple command that will allow me to sample from a multivariate normal distribution with known covariance matrix. I am likely missing something. Thanks in advance. David -- =========================================================================== David Kaplan, Ph.D. Professor Department of Educational Psychology University of
2007 Aug 24
1
An issue with White's test in Anova
Hi all, I'm running White's test to correct for non-constant error variance and I am using the Anova function in the package CAR. My command structure is > Anova(scireg3, white.adjust="hc3") where scireg3 is an object from lm. I get the message "Error in SS[i] <- SS.term(names[i]) : nothing to replace with" What does this mean and how do I fix it. Thanks
2007 Oct 27
1
Markov models
Hi all, I'm looking for a package that will estimate Markov models and provide transition probabilities. I'm not speaking of MCMM estimation packages. Thanks in advance, David -- ======================================================================= David Kaplan, Ph.D. Professor Department of Educational Psychology University of Wisconsin - Madison Educational Sciences, Room 1061
2006 Oct 08
2
Generating bivariate or multivariate data with known parameter values
Greetings, I'm interested in generating data from various bivariate or mulitivariate distributions (e.g. gamma, t, etc), where I can specify the parameter values, including the correlations among the variables. I haven't been able to dig anything up on the faq, but I probably missed something. A nudge in the right direction would be appreciated. David --
2007 Nov 12
2
graphical parameters and acf
Hi, I'm plotting 5 autocorrelation plots on one page. Using par(mfrow=c(3,2)) everything comes out fine. However, for each plot, it prints a title on top of each plot that says Series followed by the variable name used in the plot. I want to suppress those titles, but I also want a general figure title on the bottom of the page. I've looked at the Murrell book as well as the acf
2006 Dec 10
3
R and LaTeX
Hi all, I have started using LaTeX for writing papers and I have heard that R works well with LaTeX. I'm specifically interested in how I can have LaTeX read in R generated graphics - for example graphs formed by matplot, or other such processes. Does anyone out there use LaTeX and can point me in the right direction? Thanks David --
2006 Sep 30
1
R 2.3.1 and SPSS 14.0
Hi, Are there any incompatibilities with R 2.3.1 and SPSS 14.0 with regard to the read.spss command? Thanks in advance. David -- ======================================================================== David Kaplan, Ph.D. Professor Department of Educational Psychology University of Wisconsin - Madison Educational Sciences, Room 1061 1025 W. Johnson Street Madison, WI 53706 email: dkaplan
2006 Sep 29
3
What is wrong with this input
I can't seem to figure out why I'm getting this error. The output is copied right off the screen. Notice how in some cases the back slash is missing. In other cases, it can't read a file that I know is there. Thanks in advance > library(foreign) > hrout <- read.spss("c:\\hrab200.sav") Error in read.spss("c:\\hrab200.sav") : unable to open file
2006 Aug 26
2
Permanently changing gui preferences
Greetings, I made changes to my gui preferences and saved them. When I close and then open R, it reverts back to default preferences. How do I permanently change gui preferences? Thanks in advance. David -- ======================================================================== David Kaplan, Ph.D. Professor Department of Educational Psychology University of Wisconsin - Madison
2006 Sep 29
1
time-series packages
Greetings, Are there R packages that perform time-series analyses - particularly estimation of ARIMA models along with unit-root tests? I know that FinMetrics in the S-Plus program will do it, but I'm looking for R packages, as well any reference material for estimating time-series' models in R. Thanks in advance, David --
2006 Oct 05
1
Changes in console preferences won't take
Greetings, I've attempted to change the font size directly in Rconsole as well as through the GUI preferences. Neither seems to take even when I save the preference changes. When I make the change through the gui preference, and click "apply" the change is made, but when I save it, close, and reopen, there is no change. Any thouughts? I'm running R.2.40. David --
2006 Dec 28
1
Error message using normality test in vars
Hi all, I'm running a vector-time series model with the vars package. When I test the univariate and multivariate normality of the residuals using normality(), I get the results, but also this warning Warning messages: 1: longer object length is not a multiple of shorter object length in: b2 - rep(3, 4) 2: longer object length is not a multiple of shorter object length
2007 May 08
1
Looking for a comprehensive descriptive statistics package
Hi all, I'm looking for a package that will give me comprehensive set of descriptive statistics, including skew and kurtosis. Also, is there a similar package that will provide multivariate descriptive statistics as well? Thanks in advance, David -- =========================================================================== David Kaplan, Ph.D. Professor Department of Educational
2007 May 17
1
3d graph question
Hi, this is simple, I've generated a bivariate normal distribution with a known correlation. I want to plot the density function with p(y,x) on the vertical axis and x, and y on the horizontal axes. How is that done? Thanks in advance! library(MASS) mu <- c(0,1) # mean vector sigma <- matrix(c(1,.8,.8,1), ncol=2) tmp <- mvrnorm(1000, mu, sigma) cor(tmp)