are terrified of anything that doesn't look like a Microsoft
OS.
The only caveat is the disk space utilization. Having a complete OS
image for every student for every class could eat up terabytes of space.
But heck, terabyte RAID arrays are readily available these days.
Fred
Hi
thank you for talking the time to help me with this.
I have a sequence of numbers in a file and an equal sequence of various
character, say(a b c d) each occurs more than once. I need to plot the numbers
so that numbers corresponding to a in the other sequence would have green dots,
those
by Ronggui.
The Kendall package solution is certainly also valuable but less direct
(in my newbie opinion) : in fact x and y are extracted from a
contingency table and I should use replace() to substitute double NAs
to double zeros
Thanks again
--
Fred
__
R
goal ?
(I'm sure you do : it's a newbie's program actually)
--
Fred
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Dear R users
I need to auto scale the left y axis in the code below, so that when
I scroll left or right the left y-axis scale changes to accumulate the
range of the displayed data with in the max hight of the y-axis.
also how can I make the crosshair horizontal since it is only
Dear R users
I am having a problem unable to open connection and don't know why.
using debian testing, R Version 2.2.1
[EMAIL PROTECTED]:~/R$ ls -l
-rwxr-xr-x 1 fred fred 11599 2006-04-13 02:12 r.R
getwd()
[1] /home
are the only lacking from what I see from -rwxr-xr-x
Duncan Murdoch [EMAIL PROTECTED] wrote: On 4/12/2006 12:40 PM, Fred J. wrote:
Dear R users
I am having a problem unable to open connection and don't know why.
using debian testing, R Version 2.2.1
[EMAIL PROTECTED]:~/R$ ls -l
-rwxr-xr-x 1
aha, thank you, I added ../ or ~/ before the path and it fixed it.
Duncan Murdoch [EMAIL PROTECTED] wrote: Fred J. wrote:
Duncan
what does the permission needs to look like in your opinion?
the way it is now, on both the data file and the R batch file r.R
seem to have all the read
Dear R users
a problem I encountered while installing fMultivar, I would appriciate any
help with this.
install.packages (fMultivar, dependencies=TRUE)
Warning in install.packages(fMultivar, dependencies = TRUE) :
argument 'lib' is missing: using /usr/local/lib/R/site-library
Dear R users,
this line below is not painting the background black but it is still white.
plot(x,y[x], type='s', bg='black', col='yellow', ylim=range(y))
I am running R 2.2.1
thanks
-
[[alternative HTML version deleted]]
Dear R users
given a numeric array (a sequence of reals), I am interested in
finding the subsets of sequences (each with start and end index) which match a
given sd range.
I read the docs on match and which and the see also but could not come up
with a way. I could loop with a stepping
Dear R users
I have read somewhere which I don't remember that some variable names
are not to be used for conflict avoidance. and those were (c, q, T, F,
T)
I ran this
conflicts(detail=TRUE)
$.GlobalEnv
[1] ts
$package:methods
[1] body-
$package:stats
[1] ts
$package:base
Ph.D.
Statistical Data Center
Intermountain Healthcare
[EMAIL PROTECTED]
(801) 408-8111
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Fred J.
Sent: Monday, March 27, 2006 1:05 PM
To: r-help@stat.math.ethz.ch
Subject: [R] graphing and scrolling
in regards to the dynamic resizing, one would think that commands like
plot.default {package:graphics} does it, as I am exploring other
commands from graphics it seams like tkrplot may not be needed, I am
not sure as I just started with graphics in R, maybe a better way to
go is call TclTk
Dear R users.
is there an easy way to make R in ESS put out the line number of an error, or
even to jump to, some old posts about this question here, but one day in IT
worth a thousand years.
I am using ESS and C-c C-l but that is asking to open a file, when given the
source it will then
I've been trying to find out from the package docs how to place a cross hair
mouse with values of the intercept of it and the graphs.
I would appriciate any hint.
Gregory Snow [EMAIL PROTECTED] wrote: thanks
that was very helpful.
i have been reading and trying to modify the code
Dear R users
I am trying to sum selective elements of a vector but my solution
is not cutting it.
Example:
g - 1:5;
from - 1:3;
to - 3:5;
from to
1 3
2 4
3 5
so I expect 3 sums from g
1+2+3 that is 1 to 3 of g
2+3+4 that is 2 to 4 of g
3+4+5 that is 3
Dear R users
graphing with plot(x) seams to work for a small length(x), when length(x) is
too large it seams to clutter the display, a solution would be to display
subsets of x at a time, yet a better way which I hope R supports is to place a
sliding bar on the display window to control
Dear R users
I looked around for a package which can help me with the task of binary
arithmetic, the closest I found is sfsmisc with digitsBase function, which may
help a little in this task, but still wondering how to get this problem solved.
example:
given the addition operation of 2
dear R users
I am having a problem with the output of diff for a numeric vector
which has the values (2,4,6,7), one expects to get 2 2 1 but I am
getting 4 6 7, here is the setup.
info - with(rle(x),
data.frame(value = values,
start = cumsum(lengths)-lengths+1,
dear R users
I need to modify values in a vector, the modification needs to be based on a
matrix which define the from_index, to_index and a value.
example:
x - c(1, 0, 6, 3, 8, 9, 4, 3, 0)
m
from to value
1 2 3 5
2 5 7 8
3 9 9 11
expected:
dear R users
I have been trying a lot to get this task accomplished but need your help.
input:
x - c(3,3,4,4,4,4,5,7,7,0,1,1,2,2,2)
desired output
3 1 2
4 3 6
7 8 9
...
which means,
3 is repeated at index 1:2
4 is repeated at index 3:6
...
my effort has not been that good.
a -
Philippe Grosjean [EMAIL PROTECTED] wrote: What Fred is looking for is local
minima/maxima, also known as turning
points, or pits/peaks in a series. You can look at ?turnpoints in
pastecs library.
x - c(1:4,0:5, 4, 11)
x
[1] 1 2 3 4 0 1 2 3 4 5 4 11
tp - turnpoints(x
Hi
I just started using RGui.exe under widnows.
I have a text file containing date arranged in columns and rows, each column
has the same format, each row with different formats. 3 of the columns are
something like this 1/12/2006 3:59:45 PM
I need to calculate the different in seconds
Hi
I have a list of 12000 rational numbers as inputs, running some of R functions
will surly accumulate some round-off errors, Is there a way to have R do its
calculations using rational numbers as input to minimize the round-off error?
thanks
Hi
Is there a function which determines the location, i.e., index of the all
minimums or maximums of a numeric vector.
Which.min(x) only finds the (first) of such.
x - c(1:4,0:5, 4, 11)
x
[1] 1 2 3 4 0 1 2 3 4 5 4 11
which.min(x)
[1] 5
which.max(x)
[1]
Hello
after reading few nodes from the info docs. I am not
sure if this task can be done using R:
the density function f(x,y) = 12xy(1-y) for
0x1, 0y1
the condition of inequality (x-y) (1/2)
what if the limits of integration are functions of the
variable I am integrating over.
is this somthing
, but with
a steady change of colours, and not by a stepwise change (if posible).
Many thanks again,
Fred
Jim Lemon wrote:
Fred Hattermann wrote:
Dear R-user,
I am a R beginner, and therefore my questions are very basic.
I have a simple problem: I would like to plot 100 time series each
containing 55
thanks in advanced,
Fred
__
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Dear R users,
I want to know, given a curve f in d-dimensional space,
It is possible to keep the curves shape and size unchanged by
an arbitrary dxd orthnormal matrix A?
That is, the new curve g = A*f is still the same shape and size as f?
Thanks for your advices and answers.
Fred
to calculate it using the values of a, b, and c?
Thanks for any point or help on this.
Fred
[[alternative HTML version deleted]]
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Thanks a lot, Spencer
Fred
- Original Message -
From: Spencer Graves [EMAIL PROTECTED]
To: Fred [EMAIL PROTECTED]
Cc: 'R-help' [EMAIL PROTECTED]
Sent: Friday, July 02, 2004 5:18 PM
Subject: Re: [R] How to get the normal direction to a plane?
While we need 3 points to determine
Dear All
Do you know some functions that can perform
the PRINCIPAL SURFACE estimation?
Please give me a hint.
Thanks for your help in advance.
Fred
[[alternative HTML version deleted]]
__
[EMAIL PROTECTED] mailing list
https
) to be used for Principal Surface.
Thanks for your help.
Fred
[[alternative HTML version deleted]]
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R
.
Does anyone has tried this method or knows more details on this?
Thanks for your point.
Fred
[[alternative HTML version deleted]]
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
Thanks, Prof Ripley
However, I searched some references on scree plot
On deciding the number of dominant eigenvalues, and
Found that this is still a subjective method.
That is, no explicit way or formulation to choose
the number from the 2-D scree plot.
Am I right?
Fred
-Original Message
I want to get linearly independent vectors, not orthogonal ones.
The functions eigen, svd, I think it may provide orthogonal
vectors which are not what I expect.
- Original Message -
From: Liaw, Andy [EMAIL PROTECTED]
To: 'Jonathan Baron' [EMAIL PROTECTED]; Fred
[EMAIL PROTECTED]
Cc: R
on this problem?
Thanks for your comments or advice.
Fred
[[alternative HTML version deleted]]
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org
Hello
I am trying to generate data in say 2D x,y for a
circle. grid.circle {grid} does not do. any ides is
appreciated.
Thanks
F.J.
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
Hello
I need to plot the least squares fit and get the slope
of the line that best fit the data. after reading lm
and lsfit, since not being able to understand the use
of the second argument y for the lsfit, I am giving
the lm a go, but know not why the code below does not
draw the line on the
Hello
is there a function in R to generate Hankel Matrix?
thanks
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Hello
could you please tell me what is the function to get
the absolute value of the real or complex number.
most of other languages it is abs(x) , what is it in
r?
I did few searhces in the help docs for no avail.
thanks
F.J
__
[EMAIL PROTECTED]
before sending them to as.svyrepdesign() with type=BRR.
Thanks again.
Thomas Lumley [EMAIL PROTECTED] wrote:
On Mon, 19 Apr 2004, Fred Rohde wrote:
Is there a way to create a BRR svrepdesign from a survey design when the
number of PSUs is odd in one or more stratum? Creating a JKn
svrepdesign
-number of PSUs. This worked okay.
svr - as.svrepdesign(sd, type=JKn).
Thanks.
Fred
-
[[alternative HTML version deleted]]
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch
-number of PSUs. This worked okay.
svr - as.svrepdesign(sd, type=JKn).
Thanks.
Fred
-
[[alternative HTML version deleted]]
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch
what is fdim()?
a package from CRAN which calculate the fractal
dimension of datasets.
once you have it installed do
library(fdim)
help(fdim)
thanks
fdim
Error: Object fdim not found
Please, consider to follow the posting guide and
help the readers of
this list to easily
Thanks for the explanation. And for all your work on this package.
Thomas Lumley [EMAIL PROTECTED] wrote:On Wed, 14 Apr 2004, Fred Rohde wrote:
I wasn't sure if JRR or BRR methods were valid for quantiles?
BRR is valid, as is Fay's method, a smoothed version. The jackknife
methods probably
running the procedure again on the same dataset will produce the same
variance.
Fred
Thomas Lumley [EMAIL PROTECTED] wrote:
On Mon, 12 Apr 2004, Fred Rohde wrote:
Thanks. I'll update the survey package. Sudaan does the standard
errors on quantiles using Taylor series. If I can hunt down
I wasn't sure if JRR or BRR methods were valid for quantiles?
I meant to say earlier, survey is a really great package, much better than anything
out there. Thanks for developing it.
Thomas Lumley [EMAIL PROTECTED] wrote:
On Wed, 14 Apr 2004, Baskin, Robert wrote:
This method is basically
/papers/1991_005.pdf
Point estimation (section 1 of this reference) is already implented in R; variance
estimatation for quantiles is presented in the last part of section 3. Can you make
sense of it? It's beyond me.
Fred
Fred Rohde [EMAIL PROTECTED] wrote:
Thanks. I'll update the survey package
Is that how you got your data or are
you using real data?
I am using some synthatic data I happend to have.
argument X is to be a dataframe
not a matrix (mat??). Could that be giving you
problems? Do you get
better results with as.data.frame(mat)?
no, even with data.frame, it gives the
Browse[1] Lframe
v v v v v v v v
1 8 7 6 5 4 3 2 1
2 9 8 7 6 5 4 3 2
3 10 9 8 7 6 5 4 3
4 11 10 9 8 7 6 5 4
5 12 11 10 9 8 7 6 5
6 13 12 11 10 9 8 7 6
7 14 13 12 11 10 9 8 7
8 15 14 13 12 11 10 9 8
Browse[1] fdim(Lframe,q=2)
Error in slopeopt(AllPoints, Alpha) :
.
Fred
-
[[alternative HTML version deleted]]
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Hello
I am getting this
Error in slopeopt(AllPoints, Alpha) : Object LineP
not found
when the dim(data.frame) of the data matrix for
which the fdim is being calculated hits a certain
values depending on the data set. e.g
print(dim(mat))
fd - fdim(mat,q=2)
[1] 27432
[1] 27423
[1] 27414
Thanks. I'll update the survey package. Sudaan does the standard errors on quantiles
using Taylor series. If I can hunt down the formula it uses, could you add that to
svyquantile?
Fred
Thomas Lumley [EMAIL PROTECTED] wrote:
On Mon, 12 Apr 2004, Fred Rohde wrote:
Hello,
Is there a way
Hello
getdata - function(p){
fname - NULL; dl - list()#build the sturcture
builddl - function(q,s){
fname - c(fname,s) #where s is a string
dl - list( dl, dt2)
}
list(names = fname, data = dl)
}
data - getdata(c:\somepath)
data
$names
[1] fname
$data
$data[[1]] --- since there is no
--- Uwe Ligges [EMAIL PROTECTED]
wrote:
Fred J. wrote:
Hello
getdata - function(p){
fname - NULL; dl - list()#build the sturcture
builddl - function(q,s){
fname - c(fname,s) #where s is a string
dl - list( dl, dt2)
Fred J. alias phddas, you are really not going
Hello
getdata - function(p){
fname - NULL; dl - list(NULL)#build the sturcture
dt - read.csv(file.path(d,i),header=F) #data frame
ret - builddl(dt,s) #where s is a string
}
how can I get this following function to use fname and
dl from the above function without passing them down
the
Hello
I need some help in figuring Bravingtons debugger
out.
Ok
I have 2 functions, fun1 and fun2 saved in a ASCII
file say filename is funs.
Fun1 has a loop which calls fun2, fun2 has a loop
which fails and I need to find out the value of the
variables of the fun2 and fun1 loops at the specific
Hello
right, I need a good book to help me with R.
background, programming in matlab, perl, visualBasics.
os windows and Linux. some good books to match the
need would be appreciated.
Thanks
__
[EMAIL PROTECTED] mailing list
Hello
the maunal states When the if statement is not in a
block the else, if present, must appear on the same
line as statement1. Otherwise the new line at the end
of statement1 yields a syntactically complete
statement that is evaluated.
well, what is wrong with this if structure? I am
getting an
Hello
I am trying for an hour now,
p - c:/data/
or
p - c:/data/abc.hig
d - sub((.+/.+?/)(.+),\\1,p,perl=TRUE)
f - sub((.+/.+?/)(.+)?,\\2,p,perl=TRUE)
if (exists(f)){ #why this gives TRUE no mater what?
do this with d and f
} else {
do that with d
}
thanks
Hello
I need help, few days tying to work this out but
unable to find examples. alos would appricate
direction on how to find exmples
getting the file name without the extension into a
character vector.
for (i in dir(c:/data/)){
filename - c(filename,sub(([^.]+)(\\..+),\\1,
i))
}
Error: Object
Hello
I could use some help here with trying to use perl
stype regex to extract the first group of letters
before a ( . )
so if I have a sting AACEE.adiid and wanting AACEE
i - AACEE.adiid
grep(.+\..?+,i,perl=T)
I must be doing somthing wrong but don't know what it
is?
thanks
Hello
is there a way to time how long it takes to run a code
in R. somthing like tic toc in matlab as such?
help.search(timing) put out nothing.
and while I got you, debugging the code, is there a
step through and the rest of the debugging tools
working with ESS.
thanks
Hello
when I close and reopen R it gives back a different wd
than what I used in setwd. how can I get it to
permenently use dirname in setwd(dirname) and not
the other name it keeps defaulting to?
I am using W2K and ESS
thanks
__
[EMAIL PROTECTED]
Hello
I have data in many files in a directory, how can I
loop through the files in a given dir in-order-to
build a data.frame?
thanks
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
d - dir(c:/data)
for (i in d){
dt - read.csv(c(c:/data/,i),header=FALSE)
}
wouldn't work because c(c:/data,i) puts out string
string where both strings need to be one string.
how can I combinde both in one string, c:/data/i like
the good old perl I wish.
thanks
file.path and paste.
thanks
as a R starter, how could I have found out without
posting a question. is there a way I could have
searched the help files for a keyword or somthing?
thanks
__
[EMAIL PROTECTED] mailing list
Hello
I have a data frame with many col.s and rows
V4 V5 V6 V7
3 4 5 6
1 4 4 1
2 4 4 1
4 0 5 1
since the data has the middle 2 rows with V5 and V6
are equal, I need to produce
V4 V5 V6 V7
3 4 5 6
this line removed and the value V7 = 1 is
added to
Is there an R equivalent to SAS's proc gremove? You would use this procedure to
combine the units on an existing map, for example to build a map of Metropolitan
Statistical Areas (MSAs) from the [US] counties dataset where the internal boundries
surround the MSAs (which are groups of counties)
Hello
I am wondering, how do I find if R has a certain
funciton to do a given task. do I just type
help.search(rate).
I am just trying to find a function to calculate the
rate of change for a variable. I could come up with
one if there isn't any allready builtin.
thanks
packages through the menu system (Packages-Install
package(s) from CRAN..). Failing that, please tell
us more about what the error was.
Regards,
Andrew C. Ward
56 Azalea Crescent
Fitzgibbon Qld 4018
[EMAIL PROTECTED]
On Saturday, March 06, 2004 3:47 PM, Fred J.
[SMTP:[EMAIL PROTECTED
yes, I loged in as admin. and that fixed the problem,
but when I type ?fdim I don't get the help docs, why?
even though I have all the htmls under
C:\Program Files\R\rw1081\library\fdim\html
thanks
--- Duncan Murdoch [EMAIL PROTECTED] wrote:
On Sat, 6 Mar 2004 13:30:25 -0800 (PST), you wrote:
Hello
Does any one know what is the complexity scale of fdim
fractal calculation function, I need to find O(N)
function to do fractal calculation.
Thanks a lot
__
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
Hello group.
I am trying to install fdim on my win2000 os. this
command is giving error and I feel I am not using it
correctly, could some one show me why.
install.packages(fdim,
C:\Program Files\R\rw1081\library ,
CRAN = http://cran.r-project.org;,
internal,
available = NULL,
destdir =
Hey David,
Sorry about that, the server runs MySQL 3.2.39.
Thanks a lot,
Fred
On Mon, 17 Mar 2003, David James wrote:
Hi,
Could you tell us what version of MySQL you're running?
--
David
Fred Gerson wrote:
Hey all,
I asked my server administrator to install the RMySQL package
77 matches
Mail list logo