similar to: apply on logical data frame together with all (PR#6560 )

Displaying 20 results from an estimated 10000 matches similar to: "apply on logical data frame together with all (PR#6560 )"

2004 Feb 09
0
apply on logical data frame together with all (PR#6560
Wrap your data frame in data.matrix() and you should be fine; e.g., apply(data.matrix(df), 1, all) Don't think this qualifies as bug... Andy > From: roland.puntaier@chello.at > > Full_Name: Roland Puntaier > Version: 1.8.1 > OS: Windows XP > Submission from: (NULL) (62.99.238.78) > > > I have a data frame with some columns being logical. > I wanted to
2004 Feb 09
2
apply on logical data frame together with all (PR#6560)
Full_Name: Roland Puntaier Version: 1.8.1 OS: Windows XP Submission from: (NULL) (62.99.238.78) I have a data frame with some columns being logical. I wanted to calculate a column that is an AND combination of the other logical columns. I tried to use apply(df,1,all) It did not work because of the implicit string conversion. So I made the functions All<-function(...)
2010 Jul 12
0
Error in storage.mode(test) <- "logical"
Hi There, I get the following error from the code pasted below: Error in storage.mode(test) <- "logical" : object 'HGBmt12_Natl_Ave_or_Facility' not found library(RODBC) library(car) setwd("c://temp//cms") a07.connect <- odbcConnectAccess2007("DFC.accdb") sqlTables(a07.connect) ##provides list of tables## dataset <-
2011 Oct 23
0
code review: is it too much to ask?
Hello all, I really appreciate how helpful the people in this list are. Would it be too much to ask to send a small script to have it peer-reviewed? to make sure I am not making blatant mistakes? The script takes an experiment.dat as input and generates system Throughput using ggplot2. It works now ... [sigh] but I have this nasty feeling that I might be doing something wrong :). Changing
2013 Feb 14
2
Plotting survival curves after multiple imputation
I am working with some survival data with missing values. I am using the mice package to do multiple imputation. I have found code in this thread which handles pooling of the MI results: https://stat.ethz.ch/pipermail/r-help/2007-May/132180.html Now I would like to plot a survival curve using the pooled results. Here is a reproducible example: require(survival) require(mice) set.seed(2) dt
2010 Jun 08
2
how to ignore rows missing arguments of a function when creating a function?
Hi, I am relatively new to R; when creating functions, I run into problems with missing values. I would like my functions to ignore rows with missing values for arguments of my function) in the analysis (as for example is the case in STATA). Note that I don't want my function to drop rows if there are missing arguments elsewhere in a row, ie for variables that are not arguments of my
2012 Jul 25
2
reshape -> reshape 2: function cast changed?
Hi, I used to use reshape and moved to reshape2 (R 2.15.1). Now I tried some of my older scripts and was surprised that my cast function wasn't working like before. What I did/want to do: 1) Melt a dataframe based on a vector specifying column names as measure.vars. Thats working so far: dfm <- melt(df, measure.vars=n, variable_name = "species", na.rm = FALSE) 2) Recast the
2004 Aug 06
0
Subject: Question regarding ACLs
Received: from motherfish.xiph.org ([207.181.249.22]) by uis.umassp.edu (Netscape Messaging Server 3.6) with ESMTP id AAA7324 for <ptomb@email.umassp.edu>; Fri, 15 Jun 2001 07:12:33 -0400 Received: by motherfish.xiph.org (Postfix) id 72E6D18D023; Fri, 15 Jun 2001 03:02:25 -0700 (PDT) Delivered-To: icecast-outgoing@xiph.org Received: by motherfish.xiph.org
2008 Jul 20
1
[LLVMdev] generating a shared object from a single *.ll (LLVM) source?
Hello (my machine is a Debian/Sid/x86-64/Core2) Assuming I have one C source file chello.c, to compile it into a dynamically loadable thru dlopen shared object, I can run gcc -fPIC -shared -O chello.c -o chello.so I thought that, assuming I have one llvm source ehello.ll, the equivalent would be llvmc2 -opt ehello.ll -o ehello.so but it is not that simple. Any clues ? May I also
2005 Apr 08
0
Using Flexible Discriminant Analysis (fda) in mda
Greetings everyone, I was wondering if anyone had experience in using fda (flexible discriminant analysis) in the mda package. Specifically, I can run the model but I cant locate/produce much of anything beyond the predicted values and confusion matrix. I've been searching for more examples or documentation but cant seem to locate any specific to the program itself. I need to be able to find
2012 May 22
1
iterate over vector with "range vector" inside
Hello, Have anybody a hint, how I could iterate over the vector below. So I'll wish only 8 iterations. Put the "range vector" in c() didn't help. for(i in c(1,2,3,4,5,11:20,21:50,51:100)) { sum(dfc[i,"cnt"]) # or similar actions } Thanks in advance Christian
2004 Jan 31
1
problems with wine on laptop
I can't get anything to run using wine on my new laptop. I have slackware 9.1, kernel 2.6.0, and XFree86 4.4 RC2. I am running 2 programs on my desk top machine that won't run on the laptop. THe desktop has slackware 9.0, kernel 2.4.22 and XFree86 4.3.0. Can anybody help? Also the laptop has an installation of windows xp which is not found by the wineinstall script. Thanks, Tom
2004 Aug 06
1
Problems with ices
Hi, I compiled the latest version of ices from cvs, but I have some problems with it. When I start it up, I only get the error "Failed to read config file "/usr/local/icecast/etc/ices.conf"" My /usr/local/icecast/etc/ices.conf looks like this: <?xml version="1.0"?> <ices:Configuration xmlns:ices="http://www.icecast.org/projects/ices">
2002 Oct 16
0
Get your Website seen locally and globally
Leading web authority (UK) "85% of internet users use search engines to find the sites they want" Georgia Institute of Technology "Search engine listings are the number one way to generate traffic on websites" - WebCMO, "169,400,000 people in the US access the internet. 92% of these people query search engines" Nielsen-Netratings "The internet is an
2003 May 09
0
Problems with German Keyboard
I have a german keyboard (being in Austria). IT is defined as "de" with variant "nodeadkeys" in /etc/X11/XF86Config and works fine under gnome in x windows, but when wine runs it says something: "keyboard not recognized using closest match German nodeadkeys". Well that is okay, but it doesn't work right. Under wine I can't get any of the characters that are
2003 Oct 08
0
Troble installing MotoCalc_7
I am trying to install a new version of MotoCalc, a model airplane calculation program.The printout is below. I am used to the keyboard error, but German with no dead keys is correct and I never had it stop a program from working before. Can someone shed some light on this? Thanks, Tom Corner --------------------------------------------------------------------------------
2013 May 27
1
[LLVMdev] C++ into C code conversion
Dear Mr. Chisnall! thank you for you help V Nedeľa, 26. máj 2013 o 15:33 +0100, David Chisnall napísal(a): > On 26 May 2013, at 14:42, Peter Fodrek-CHELLO <peter.fodrek at chello.sk> wrote: > > > We have same problem that we are to port third party C++ user space code > > into Linux kernel code where is only available to use C source code. > If you want to get your
2012 Feb 29
0
Centos 6.x and Freenx issue..Solved!!
Thanks much to* Christoph *for pointing me in the right direction, appears to be an issue with the latest Vmware -tools, not sure I did a clean install with the opensource ones to see if they had the same issues but applying both of the fixes in the link post solves the problem with running the latest freenx and nx rpms found in the repo. Thanks again :) On Tue, Feb 28, 2012 at 5:36 AM,
2010 Dec 25
0
For sale Yamaha DGX-640 Grand Piano Keyboard for $450USD
We are wholesale supplier of DJ equipment here in Taiwan.We have various model in stock such as Guitar,Amps/Effects,Bass,Drums,Keyboards,Live Sound in stock.interested buyers should contact us at the below address yangmiaofenggear at yahoo.com yangmiaofenggear at hotmail.com Pioneer DJM 909 ...................$500USD PIoneer DJM 700 ...................$450USD Pioneer DJM 800
2012 Feb 20
1
apply with as function ifelse with 2 logical conditions
Hi all, I have a question concerning using several conditions in an ifelse function used as the function in apply. I want to create a new value with the function ifelse ? object which can be coerced to logical mode ?test[n,] >1 & test[n-1,]==0? With n I mean the row. I don?t know how I could do this without a loop. I want to avoid the usage of loops and was thinking about apply. This