similar to: remove columns containing all zeros (or other value)

Displaying 20 results from an estimated 3000 matches similar to: "remove columns containing all zeros (or other value)"

2009 Jan 06
1
R SEM package
Does anyone know if the sem package in R can implement a stacked model comparison, for example as in LISREL or AMOS? Thanks, Anthony -- Anthony Steven Dick, Ph.D. Post-Doctoral Fellow Human Neuroscience Laboratory Department of Neurology The University of Chicago 5841 S. Maryland Ave. MC-2030 Chicago, IL 60637 Phone: (773)-834-7770 Email: adick at uchicago.edu Web:
2009 Jan 26
1
sem package: start values
Hello- If I input a variance-covariance matrix and specify NA for start values, how does sem determine the start value? Is there a default? Anthony -- Anthony Steven Dick, Ph.D. Post-Doctoral Fellow Human Neuroscience Laboratory Department of Neurology The University of Chicago 5841 S. Maryland Ave. MC-2030 Chicago, IL 60637 Phone: (773)-834-7770 Email: adick at uchicago.edu Web:
2010 May 25
1
SEM interaction
Hello all, This is a general stats question--I realize it is an R help list, so tell me to go away if it is inappropriate. I have a 2 X 2 design, and I have specified four identical path models (one for each level of each factor). I want to test for an interaction at each path--essentially (A1 - A2) - (B1 - B2) != 0. I was thinking of computing a contrast for each path of interest, such that
2009 Feb 02
1
sem package and AMOS
Hello- I am using R to build my initial models, but need to use AMOS to compare the models of two groups (adults vs. kids). The problem is I am getting different results with R and AMOS for the initial models of the separate groups (and the R results make more sense). The parameter estimates (path coefficients and variances) from both programs are nearly identical, but the model chi-squares
2009 Jan 10
0
RMySQL CREATE TABLE error
Hi all- I am stumped. The code in A. returns errors at lines 14 and 15 and fails to load series1 and series2. However, in B., if temp1 and temp2 are called again (which returns a "Table exists" error; see lines 14-17 in B.) series1 and series2 load correctly. Any ideas? Also-I am open to any suggestions to improve the code as I am a horrific programmer. Thanks A. 1 >
2011 Feb 24
1
parallel bootstrap linear model on multicore mac (re-post)
Hello all, I am re-posting my previous question with a simpler, more transparent, commented code. I have been ramming my head against this problem, and I wondered if anyone could lend a hand. I want to make parallel a bootstrap of a linear mixed model on my 8-core mac. Below is the process that I want to make parallel (namely, the boot.out<-boot(dat.res,boot.fun, R = nboot) command).
2007 Mar 25
1
for loop help
Hello- I have a script which steps through a series of subjects, and for the subjects I remove outlying values. After removing these outliers, I specify a cutoff, keeping only values over a certain value (e.g., 1.96). I want to populate a matrix with a statistic of the values that make the cutoff (for example, the mean). However, in some subjects, after outliers and the cutoff are specified,
2012 Aug 09
0
RMySQL dbConnect issues
Hello, I have access to my database via command line and through workbench, and have access on the grant tables: mysql> SELECT host,user,password,select_priv,insert_priv FROM user; +------+-------+-------------------------------------------+-------------+-------------+ | host | user | password | select_priv | insert_priv |
2011 Feb 23
0
parallel bootstrap linear model on multicore mac
People of R(th), I have been ramming my head against this problem, and I wondered if anyone could lend a hand. I want to parallelize a bootstrap of a linear model on my 8-core mac. Below is the process that I want to parallelize (namely, the m2.ph.rlm.boot<-boot(m2.ph,m2.ph.fun, R = nboot) command). This is an extension of the bootstrapping linear models example in Venables and Ripley to
2004 Jan 26
5
Samba 3.0.2 and Windows 2003 ADS.
Hi. I have installed samba 3.0.2 in my redhat 7.3, and Kerberos 1.2.4 I can make my Linux act as ADS Domain Membership whit out any problem, When I made this command: /usr/local/samba/bin/net ads join "Computers" -U<usuario>%<clave> I get this message that tell me that everything is ok. Using short domain name -- DOMAIN2003 Joined 'PROTON' to realm
1999 Apr 27
1
An even more strange win95 browsing problem
Hi, I posted a few messages a couple of days ago about a strange windows 95 browsing problem with samba-2.0.2, 1.9.17p4 that none of our Windows 95 users can see our Linux shares, but all NT users can see the Linux shares, and all 95 and NT users can see AIX shares. All of our Linux and AIX use the save version of samba (I tested 2.0.2 and 1.9.17p4). Yesterday, I tried to down grade the version
2007 Oct 27
1
Package Installer Fails in OSX 10.5 Leopard
Hello all, I apologize in advance if this is not the correct list to post these sorts of issues. When attempting to install the latest stable build of R (2.6) or the most recent nightly build from R.research.att.com, the installer disables the ability to actually install R or any of the other bundled frameworks (i.e. the list is unchecked and grayed out). Before I start trying to either coerce the
2005 Jan 12
3
Win2K. Raw CUPS printing, driver download
Using Debian Sarge, samba, CUPS, and an HP G85 mutifunction with HPOJ to use the G85 USB connection, I've been able to get raw printing to work, and Point 'n' Print driver download to work, but not at the same time. The driver download was a chore, because of HP's proprietary install program. Had to install the driver locally to get the needed files and copy them manually to the
2004 Feb 11
6
Unable to join ADS domain
I've installed Samba 3.0.2 (from the source) on a SuSE 8.2 system with MIT Kerberos 1.3.1 (I uninstalled the Heimdal code) and the OpenLDAP 2.1.27 development libraries installed on it. I want to make this system a domain member of a Win2K native-mode ADS domain but can't get "net ads join" to work. I've run "kinit myid@MYDOMAIN.COM" and I get at ticket, but when
2023 Apr 03
4
Simple Stacking of Two Columns
Hi R-Helpers, Sorry to bother you, but I have a simple task that I can't figure out how to do. For example, I have some names in two columns NamesWide<-data.frame(Name1=c("Tom","Dick"),Name2=c("Larry","Curly")) and I simply want to get a single column
2023 Apr 04
1
Simple Stacking of Two Columns
Just to repeat: you have NamesWide<-data.frame(Name1=c("Tom","Dick"),Name2=c("Larry","Curly")) and you want NamesLong<-data.frame(Names=c("Tom","Dick","Larry","Curly")) There must be something I am missing, because NamesLong <- data.frame(Names = c(NamesWide$Name1, NamesWide$Name2)) appears to
2023 Apr 03
1
Simple Stacking of Two Columns
Hi, You were on the right track using stack(), but you just pass the entire data frame as a single object, not the separate columns: > stack(NamesWide) ? values ? ind 1 ? ?Tom Name1 2 ? Dick Name1 3 ?Larry Name2 4 ?Curly Name2 Note that stack also returns the index (second column of 'ind' values), which tells you which column in the source data frame the stacked values originated
2010 Nov 17
3
How to stop automount
I just put a USB hard drive into service, but find that unless the drive is connected to my PC the machine won't boot and drops to a shell. Below is the line I added to fstab. I thought that the option "noauto" would prevent the machine from trying to mount the drive /dev/sdb /usbdrive ext3 user,noauto,rw 0 2 What am I doing wrong? Any advice is
2023 Apr 04
1
Simple Stacking of Two Columns
I may be missing something but using the plain old c() combine function seems to work fine: df <- data.frame(left = 1:5, right = 6:10) df.combined <- data.frame(comb = c(df$left, df$right)) df left right 1 1 6 2 2 7 3 3 8 4 4 9 5 5 10 df.combined comb 1 1 2 2 3 3 4 4 5 5 6 6 7 7 8 8 9 9 10 10 -----Original
2006 Jan 27
8
ror/lighttpd - HTML files via port 80 become application/octet-stream?
Hi everybody I am trying to get RoR to work with lighttpd. Nearly there, but I am stuck with a strange phenomenon. If I configure lighttpd to serve pages on say port 2000, I can get at my testapp fine and see the "Welcome aboard" page. However, if I configure lighttpd to use port 80, I get a download prompt from my browser. If I access my URI like