similar to: Several PCA questions...

Displaying 20 results from an estimated 200 matches similar to: "Several PCA questions..."

2011 May 29
1
Oddity: I seem to have a variable in a dataframe that doesn't show in colnames() - can anyone advise?
I may be being dopey, I surely am, but I'm baffled by this. I've been working, on and off for a few days in R version 2.13.0 (2011-04-13) i386-pc-mingw32/i386 (32-bit) working it through ESS. I've got a dataframe created a couple of days back, during the session: > dim(AllDat) [1] 27270 94 I came back this morning and misremembered my variables and thought I had a variable
2011 Sep 13
1
Deleting Rows based on Factor and Time Period
Hi All! I have been messing around with this problem for about a week but to no avail! The following data has been cut down in order to make my question reproducible. The alldat data frame includes 2 columns: 1 date column and 1 factor column (equity names)).
2011 Dec 22
1
ff object in lapply function
Hello. I'm using as.ffdf(mydataframe) to create ffdf objects inside an lapply loop and returning that. I then use crbind to combine the lapply results into allData. So...simplified flow looks like this. res <- lapply(1:nchunks, function(n) { blah blah with nth chunk mydataframe <- data.frame(blah blah) dat <-
2011 Jul 15
1
combining elements in a data frame
Hi all, I have 2 data frames the first contains a list with repeats of words and an associated response time (RT) measure for each word. The second is a tabulation of each unique word and other information such as the amount and of responses for each word. I need to determine the mean RT for each word and add that as a column in the second data frame. Any help would be appreciated Cheers
2023 Jan 05
1
R 'arima' discrepancies
Rob J Hyndman gives great explanation here (https://robjhyndman.com/hyndsight/estimation/) for reasons why results from R's arima may differ from other softwares. @iacobus, to cite one, 'Major discrepancies between R and Stata for ARIMA' (https://stackoverflow.com/questions/22443395/major-discrepancies-between-r-and-stata-for-arima), assign the, sometimes, big diferences from R
1999 Aug 19
2
OT: PSTOWMF
Hallo, I've produced via R-0.62 several Life-tables 50*6 (mfrow=c(2,3)) as postscriptgraphs. The phd student, who asked for this, use word for windows--therefore i converted the whole stuff with pstoimg to gifs. Unlikly the result is not sufficient (I was told)... Is there a tool to convert ps to wmf/emf ? I looked for it but haven't found anything... Thanks for an answer Peter
2017 Aug 06
3
SPSS R Factor v2.4.2
I am not an R-Head, hence I use nice utilities that integrate R into SPSS I have SPSS v24, R3.20 and R3.40 I have run IBM SPSS R Integration which requires linking to R3.20 I have installed R Factor v2.4.2 This package requires 'polycor' library Unfortunately, 'polycor' does not exist in R3.20 DATASET ACTIVATE DataSet1. *M?rio Basto, Jos? Manuel Pereira, IPCA *Required: SPSS 21
2010 Oct 17
1
yum install - not working for installing R on Linux
I am trying to install R on Linux (Redhat 4). But 'yum' does not seem to work... thanks for your help/hints/suggestions in advance! ------------ $ sudo cat /proc/version Linux version 2.6.34.6-54.24.amzn1.i686 (mockbuild at build-31003.build) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-48)) #1 SMP Fri Sep 17 23:13:59 UTC 2010 $ sudo yum install
2012 Mar 26
2
SPSS R-Menu for Ordinal Factor Analysis
Dear all, I am trying to conduct an enhanced version of factor analysis with a SPSS interface that allows to use R. This approach has been suggested in the recent article: Basto, M. and J.M. Pereira An SPSS R-Menu for Ordinal Factor Analysis. Journal of Statistical Software 46, pp. 1-29. My variables are ordinal-type and the tool of Basto allows to run polychoric correlations in the SPSS
2008 Nov 20
1
pdf device: rasterize portions of the plot to reduce file size
Dear list, My favorite output format is usually pdf. I can include the graphics in pdflatex documents and benefit from the scalable nature of vector graphic formats. However, I recently had to generate high-res 2D levelplot graphics as in the example below, N <- 100 # N <- 1000 # slow to diplay xy <- expand.grid(x=seq(0, 10, length=N), y=seq(0, 10, length=N)) xy <- within(xy,
2008 May 07
1
R (statistics package) on CentOS-5 ?
Dear all, the statistics package R (www.r-project.org) was available for CentOS-4, but I need it for CentOS-5 (64bit). RPMforge has R-2.5.1 for CentOS-4, so I thought I'd try to install that on CentOS-5. However, yum complains about missing ggv, and the specfile indeed says that R requires ggv, which is not in CentOS-5 (it has kghostview). I could probably install with "rpm -Uvh
2010 May 05
2
[LLVMdev] How to cast an integer array to an integer pointer? (user question)
I am new to LLVM and couldn't find any llvm-user list, so I am posting my user question here, sorry. I am trying to create a simple "puts" call accepting the static string, with the code below. The last line (CallInst::Create) fails with an assert: "Calling a function with a bad signature!" Because the type of function is void(u8*) and the argument supplied is:
2005 Mar 30
2
PDF and PS output
I'm using R 2.0 on Redhat Linux 9. When I try to produce PDF or PS output, the files are corrupted -- they won't open in Acroread, xpdf, ggv, and on attempting to convert to PNG, I get message "This file has corrupted %%EOF marker." Perhaps I am just doing something wrong. I did: > pdf() > hist(unlist(foo.bar)) I have no trouble viewing the output in Xwindows. Thanks,
2017 Aug 06
0
SPSS R Factor v2.4.2
> On Aug 5, 2017, at 7:02 PM, Gavin Brown <gt.brown at auckland.ac.nz> wrote: > > I am not an R-Head, hence I use nice utilities that integrate R into SPSS > I have SPSS v24, R3.20 and R3.40 > I have run IBM SPSS R Integration which requires linking to R3.20 > I have installed R Factor v2.4.2 > This package requires 'polycor' library > Unfortunately,
2011 Jan 17
3
to append a column to a data frame, has I use loop/if in my case?
days=Sys.Date()-1:70 price=abs(rnorm(70)) regular=rep(c(0,0,0,0,1,0,1,0,0,1),c(7,7,7,7,7,7,7,7,7,7)) y=data.frame(cbind(days,price,regular)) y is like days price regular 1 14990 0.16149463 0 2 14989 1.69519358 0 3 14988 1.57821998 0 4 14987 0.47614311 0 5 14986 0.87016180 0 6 14985 2.55679229 0 7 14984 0.89753533 0 the output I want:
2006 May 15
1
PDF viewer?
Hi, I'm looking for a usable PDF viewer with CentOS 4.3. On my previous install (Slack running XFCE with a handful of GNOME libs), I used Evince, which is just great. Looks like this is an Achilles' heel in CentOS, as I tested three available PDF viewers (ggv, gsview, acroread) with various PDF documents downloaded from the internet (which all display perfectly with Evince): either the
2006 Mar 14
1
Printing problem
Hi. I've been running CentOS 4 since it was released (since 4.0). I did a fresh install and have kept it updated using up2date and yum so at present my system is running CentOS 4.2. I mostly use my system as a super-user and so I can mostly do everything without worrying too much about permissions. Not too long ago I created a "general" user account which is automatically logged
2006 Mar 13
1
Printing from apps as a regular user...
Hi. I mostly use my system as a super-user and so I can mostly do everything without worrying too much about permissions. Not too long ago I created a "general" user account which is automatically logged in after a few seconds for others to have (limited) access to the system. Mostly everything works (ie. CD/DVD writing, sound, floppy access, etc.) But when it comes to printing, only
2005 Jan 24
1
R 'postscript' plot - not a valid postscript (PR#7559)
Full_Name: Mr. Daniel Murray Bolser Version: R 2.0.0 (2004-10-04) OS: Linux beagle 2.4.20-31.9 #1 Tue Apr 13 17:38:16 EDT 2004 i686 athlon i386 GNU/Linux Submission from: (NULL) (193.60.81.207) Trying to execute the following code produces a 'not a valid postscript' error from various postscript readers (gv, ggv, ghostscript). A very similar code works fine. <CODE> postscript()
2007 May 04
1
Help Installing R
I have unzipped the R-2.5.0.tar.gz gzip -dc R-x.y.z.tar.gz | tar xvf - 2. then #./configure 3. ./configure checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu loading site script './config.site' loading build specific script './config.site' checking for pwd... /bin/pwd checking whether builddir is srcdir... yes checking for