Displaying 17 results from an estimated 17 matches similar to: "max row"
2013 Feb 01
29
cumulative sum by group and under some criteria
Thank you very much for your reply. Your code work well with this example.
I modified a little to fit my real data, I got an error massage.
Error in split.default(x = seq_len(nrow(x)), f = f, drop = drop, ...) :
Group length is 0 but data length > 0
On Thu, Jan 31, 2013 at 12:21 PM, arun kirshna [via R] <
ml-node+s789695n4657196h87@n4.nabble.com> wrote:
> Hi,
> Try this:
>
2010 Jul 20
1
p-values pvclust maximum distance measure
Hi,
I am new to clustering and was wondering why pvclust using "maximum"
as distance measure nearly always results in p-values above 95%.
I wrote an example programme which demonstrates this effect. I
uploaded a PDF showing the results
Here is the code which produces the PDF file:
-------------------------------------------------------------------------------------
s <-
2012 Aug 06
1
cannot find function "simpleRDA2"
Hi,
I am trying to run the command "forward.sel.par," however I receive
the error message: "Error: could not find function 'simpleRDA2'." I
have the vegan library loaded. The documentation on "varpart" has not
helped me to understand why I cannot call this function. Maybe I am
missing something obvious because I am still an 'R' novice.
Below is a
2016 Sep 02
1
Segmentation fault in samba_upgradedns - Samba 4.4.5
On 2 September 2016 at 14:51, Rowland Penny via samba <samba at lists.samba.org
> wrote:
>
>
> As I said, I know very little about freebsd, but you should be aware
> that Samba only supports the last three major versions i.e. at the
> moment 4.2.X, 4.3.x and 4.4.x
> They are supported in three ways, the oldest version (now 4.2.x) only
> gets security fixes, the middle
2013 Feb 28
11
new question
Hi,
directory<- "/home/arunksa111/data.new"
#first function
filelist<-function(directory,number,list1){
setwd(directory)
filelist1<-dir(directory)
direct<-dir(directory,pattern = paste("MSMS_",number,"PepInfo.txt",sep=""), full.names = FALSE, recursive = TRUE)
list1<-lapply(direct, function(x) read.table(x,header=TRUE, sep =
2004 Feb 24
0
Delivery Failure: Ziqxzb (PR#6609)
----=_NextPart_ST_21_29_48_Monday_February_23_2004_11097
Content-Type: text/plain;
Your message could not be sent.
A transcript of the attempts to send the message follows.
The number of attempts made: 1
Addressed To: john@spaar.com
Mon, 23 Feb 2004 21:29:47 -0600
(2) Failed to send to identified host,
[10.0.0.2], 550 5.1.1 User unknown [SMTP server error]
--- Message non-deliverable.
2010 Aug 15
2
problems with which
Dear all,
I'm quite new in R and I have a problem with the function which. When I
use it to select a subset of a dataframe it works well but somewhere R
takes trace of the past dataframe and this creates problems with
following operations.
For example:
sentences <- read.xls("frasi.tot.march.3.xls", header=TRUE)
head(sentences)
fam subjID Cond Code reg total first
2013 Sep 02
3
Product of certain rows in a matrix
Hi,
You could try:
A<- matrix(unlist(read.table(text="
1 2 3
4 5 6
7 8 9
9 8 7
6 5 4
3 2 1
",sep="",header=FALSE)),ncol=3,byrow=FALSE,dimnames=NULL)
library(matrixStats)
?res1<-t(sapply(split(as.data.frame(A),as.numeric(gl(nrow(A),2,6))),colProds))
?res1
#? [,1] [,2] [,3]
#1??? 4?? 10?? 18
#2?? 63?? 64?? 63
#3?? 18?? 10??? 4
2014 Mar 07
3
[LLVMdev] [RFC] Add second "failure" AtomicOrdering to cmpxchg instruction
Hi all,
The C++11 (& C11) compare_exchange functions with explicit memory
order allow you to specify two sets of semantics, one for when the
exchange actually happens and one for when it fails. Unfortunately, at
the moment the LLVM IR "cmpxchg" instruction only has one ordering,
which means we get sub-optimal codegen.
This probably affects all architectures which use
1997 Aug 06
0
Redhat Linux and Samba crashing
Hi Folks,
A while back I sent a asked a question about Running the Quakeworld
server and samba together under Redhat Linux 4.2. I was experiencing
complete system lock ups.
Anyway, I think I have narrowed the problem down. It's nothing to do
with the Quakeworld server though.
I can reliably (!?) make my Redhat Linux system crash (totally seize up)
by running this simple batch file below on
2011 Nov 23
6
Incomplete final line (Antonio José Sáez)
Tengo el mismo problema que Eva en cualquier script que defina una
función, pero no en otros que no definen funciones.
Por ahora he tenido que desinstalar la versión 2.14.0.
Os dejo un ejemplo (he simplificado la función, pero he dejado la
estructura fundamental por si ahí está el error): si lanzáis
source("probando.r") veréis que sale el mensaje de error.
Por supuesto, garantizo que
2003 Mar 18
3
Tukey's HSD
Greetings,
I am trying the get the standard errors of multiple comparisons using
Tukey's HSD. These are not reported by the function TukeyHSD. When I apply
the following code to the data, which I store as PROLE4.TXT, several
unexpected things happen. First, the function TukeyHSD works for all the
comparisons but the function simint doesn't. Second, after the application
of na.omit
2013 Feb 15
10
reading data
Hi,
#working directory data1 #changed name data to data1.? Added some files in each of sub directories a1, a2, etc.
?indx1<- indx[indx!=""]
lapply(indx1,function(x) list.files(x))
#[[1]]
#[1] "a1.txt"??????? "mmmmm11kk.txt"
#[[2]]
#[1] "a2.txt"??????? "mmmmm11kk.txt"
#[[3]]
#[1] "a3.txt"??????? "mmmmm11kk.txt"
#[[4]]
#[1]
2013 Sep 13
2
how to get values within a threshold
input:
> values
[1] 0.854400 1.648465 1.829830 1.874704 7.670915 7.673585 7.722619
> thresholds
[1] 1 3 5 7 9
expected output:
[1] 1 4 4 4 7
That is, need a vector of indexes of the maximum value below the threshold.
e.g.
First element is "1", because value[1] is the largest below threshold "1".
Second element is "4", because value[4] is the
2013 Nov 01
17
[PATCH v2 00/14] xen: arm: 64-bit guest support and domU FDT autogeneration
I''ve addressed all (I think/hope) of the review comments.
The main change is to expose the guest virtual platform (e.g. memory
layout and interrupt usage etc) to the toolstack via the public
interface. This is then used during FDT generation. I have just codified
the current defacto standard layout, it''s probably not the best layout
but any change can be a separate patch/series.
2013 Nov 19
23
[PATCH v6 00/16] xen: arm: 64-bit guest support and domU FDT autogeneration
Biggest change is to switch the new DTB node to /xen-core-devices
instead of /xen at Stefano''s request.
I also dropped the few patches title HACK etc which weren''t supposed to
be there and fixed up some bits and pieces which folks commented on.
George, WRT the freeze I think this is functionality which we cannot
ship Xen 4.4 without. The impact is entirely constrained to the
2012 Oct 23
10
How to pick colums from a ragged array?
I have a large dataset (~1 million rows) of three variables: ID (patient's name), DATE (of appointment) and DIAGNOSIS (given on that date).
Patients may have been assigned more than one diagnosis at any one appointment - leading to two rows, same ID and DATE but different DIAGNOSIS.
The diagnoses may change between appointments.
I want to subset the data in two ways:
- define groups