Displaying 20 results from an estimated 3040 matches for "holtman".
2010 Aug 24
1
Fwd: [R-sig-hpc] Holtman's levelplot ?
Hello,
As recommended by N. Gunther, I'm writing you because I have some
difficulties to create a script to track computer performance, as done in
Holtman, 2005 (Visualization techniques for analysing patterns in system
performance).
I would like to do a leveplot, with the kind of file here enclosed.
I assume I should create a matrix in R, then use the function 'image'.
As I am not familiar with the lattice package, I have some difficultie...
2016 Apr 24
1
assign color to subsets
...get your subset.
You can use:
df_tq <- subset(df, grepl("t1", Command))
df_t2 <- subset(df, grepl("t2", Command))
# if you want to also get a subset that has both, use
df_both <- subset(df, grepl("t1", Command) & grepl("t2", Command))
Jim Holtman
Data Munger Guru
What is the problem that you are trying to solve?
Tell me what you want to do, not how you want to do it.
On Sun, Apr 24, 2016 at 2:36 PM, <chalabi.elahe at yahoo.de> wrote:
> Thanks Jim,
>
> my problem is that in Command I have 2229 levels and I want to do subset...
2008 May 15
2
Adding columns to dataframe
Hi,
I have a dataframe SDF1 that looks like this:
Char1 Char2 Char 3 W.2007.02 W.2007.09 W.2007.16 W.2008.13
A C1 F1 F2 F3
A C2
F4
B C3 F5
F6
I have another dataframe SDF2 with 163 cols that has the following column
names
Char1 Char2 Char 3 W.2007.02 W.2007.03 W.2007.04
2016 Apr 24
0
assign color to subsets
...;t2", Command))
I use factor to apply the subset to df but then the Command level becomes 0
df_both$Command=factor(df_both$Command)
str(df_both)
$ Protocol : Factor w/ 0 levels:
Do you know what is the reason?
Thanks for replying
On Sunday, April 24, 2016 12:18 PM, jim holtman <jholtman at gmail.com> wrote:
'grepl' returns a logical vector; you have to use this to get your subset. You can use:
df_tq <- subset(df, grepl("t1", Command))
df_t2 <- subset(df, grepl("t2", Command))
# if you want to also get a subset that has both,...
2008 Sep 07
0
Fwd: request: most repeated sequnce
---------- Forwarded message ----------
From: jim holtman <jholtman at gmail.com>
Date: Sun, Sep 7, 2008 at 11:42 AM
Subject: Re: [R] request: most repeated sequnce
To: Muhammad Azam <mazam72 at yahoo.com>
This should do it for you:
> x=c(1,1,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,2,2,2,3,3,0,0,0,0,0,0,0,0,0,0,1,1,1,2,2,3,3,3,4,4,4,0,0,0,...
2010 May 24
5
Means do not tally
Hi all,
here is my situation
In my experiment, I expose 10 subjects to 24 different conditions of
stimuli. Each condition is exposed to the same subject 3x.
This would make each subject have 24x3=72 data points. All the subjects
combined would have 72x10=720 data points with each condition having 30
datapoints.
To find the grand average of each condition, I find the average of all the
2005 Dec 13
5
getting faster results
Hey,
Can anyone answer this question. I am working with really large datasets and most of the programs I have been running take quite some time.
I heard that R may be faster in Unix. I sthis true and if so can anyone reccomend which system and requirements may allow things to go faster for?
Thanks!!
Elizabeth Lawson
---------------------------------
[[alternative
2010 Feb 20
3
aggregating using 'with' function
Hi All,
I am interested in aggregating a data frame based on 2
categories--mean effect size (r) for each 'id's' 'mod1'. The
'with' function works well when aggregating on one category (e.g.,
based on 'id' below) but doesnt work if I try 2 categories. How can
this be accomplished?
# sample data
id<-c(1,1,1,rep(4:12))
n<-c(10,20,13,22,28,12,12,36,19,12,
2013 Sep 15
1
Data labels in R
I need to put labels in plot in R. Can someone please help? The labels are
in the excel file and loaded into "lables"
library(xlsx)
library(zoo)
fPTAnalysis<-"Input.xls"
data<-read.xlsx(fPTAnalysis,9)
lables<-subset(data, select=c(Labels))
data<-subset(data, select=c(Date,col1, col2 ))
data<-read.zoo(data)
plot(data)
--
Regards,
Ankur Seth
[[alternative
2012 May 15
1
Master data frame or so
...;, "X")
$Muscle("", "X", "X","")
I have no idea how to make such a file. I have been reading about matrices,
data.frames, S4-objects, but I don't know how to do it. Can anyone help me
with this?
Many thanks in advance!
Kind regards,
Inge Holtman
2006 Feb 22
3
multinomial test
Hi All,
What is the R function for computing multinomial distribution, e.g. f(2,1,3; 2/9, 1/6, 11/18, 6)?
That is, a total of 6 trials, event 1's p1=2/9, x1=2, event 2's p2=1/6, x2=1, and event 3's p3=11/18, x3=3.
thanks,
Johnny
[[alternative HTML version deleted]]
2008 Aug 12
2
Multiple column/row names?
Hi all,
I wonder if there is a way to create a matrix with two (or even more)
column/row names? Thank you very much.
Have a nice day.
--
??? Hesen Peng
http://hesen.peng.googlepages.com/
2004 Sep 24
3
Error with repeat lines() in function
I have a function that does some plotting. I then add lines to the
plot. If executed one line at a time, there is not a problem. If I
execute the function, though, I get:
Error in ans[[1]] : subscript out of bounds
This always occurs after the second lines command, and doesn't happen
with all of my data points (some do not have errors). Any ideas?
Thanks,
Sean
2010 Jun 26
2
Recoding dates to session id in a longitudinal dataset
Hi,
I'm fairly new to R but I have a large dataset (300000 obs) containing
patient material. Some patients came 2-9 times during the three year
observation period. The patients are identified by a unique idnr, the
sessions can be distinguished using the session date. How can I recode the
date of the session to a session id (1-9). This would be necessary to obtain
information and do some
2003 Jun 19
1
Problem reading a PDF output
...0.000 RG
0.75 w
[] 0 d
Is this breaking some limit in PDF?
I am running:
platform i386-pc-mingw32
arch i386
os mingw32
system i386, mingw32
status
major 1
minor 7.1
year 2003
month 06
day 16
language R
__________________________________________________________
James Holtman "What is the problem you are trying to solve?"
Executive Consultant -- Office of Technology, Convergys
james.holtman at convergys.com
(513) 723-2929
--
"NOTICE: The information contained in this electronic mail tran... {{dropped}}
2010 Feb 03
3
diagnostic plots
Dear all,
does anybody ever encountered the problem with diagnostic plots?
x<-rnorm(100)
y<-rnorm(100)
plot(lm(x~y))
It gives the following message "Waiting to confirm page change..." and
nothing happens.
Thanks a lot!
[[alternative HTML version deleted]]
2009 Jul 18
7
(-8)^(1/3) == NaN?
Why does the expression "(-8)^(1/3)" return NaN, instead of -2?
This is not answered by http://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-are-powers-of-negative-numbers-wrong_003f
Thanks,
Dave
[[alternative HTML version deleted]]
2005 May 25
3
Rounding fractional numbers to nearest fraction
Hi all,
I've got a matrix of fractional data that is all positive and greater than
zero that I would like to "loosely" classify, for lack of a better word. It
looks something like this :
1.07 1.11 1.27 1.59 0.97 0.76
2.23 0.98 0.71 0.88 1.19 1.02
What I'm looking for is a way to round these numbers to the nearest 0.25,
i.e. the above matrix would be
2011 Mar 23
4
Modifying a particular column in a tab-delimited file
Hello R users,
Good day!!
I was wondering if there is a way in R to read in a particular column from a tab-delimited file, edit it and write it back into the file with all other columns intact. When I say edit I mean just replacing all the values in that column.
I know to read a particular column from a file using colClasses option in read.delim() function.
Is there any such option to write out
2007 Jan 19
3
Problem with loading tkrplot
...rror.
On 1/18/07, Luke Tierney <luke@stat.uiowa.edu> wrote:
> Looks like tcl can't find the dll or something along those lines. As
> this is windows you'll have to ask someone who uses that platform
> to help figure out why.
>
> luke
>
> On Thu, 18 Jan 2007, jim holtman wrote:
>
> > I was trying to use the teachingDemos package and was getting an error
> > trying to load tkrplot.
> >
> > I downloaded the latest copy and here is what I am getting on the
> console.
> > You were mentioned as the maintainer on the manual page. Do y...