Displaying 20 results from an estimated 4000 matches similar to: "help page for a function"
2002 Jul 03
2
operating on a subset of a dataframe
Hi everyone,
I've got a dataframe with columns of different types. A certain number
of columns in the dataframe hold the results of a series of Likert-type
items. I've got a function that will print a simple table of frequencies
and I want to apply that function to those columns of the dataframe
only. What's the best approach?
-Tim
--
Tim Wilson | Visit Sibley online: |
2002 Aug 20
2
weighting means
Hi everyone,
I've got a dataframe called 'faculty'. I want to do a weighted mean on
the column called 'Q8' weighted by the contents of column 'CETP'. In
addition, I need to operate on the result of splitting 'faculty'
according to the contents of a column 'FACULTY'. For example
> lapply(split(faculty$Q8, faculty$FACULTY), mean)
$"1"
[1]
2002 Jul 26
3
Fisher r-to-z transformation
Hi everyone,
I want to use the Fisher r-to-z transformation as part of a hypothesis
test of r. I can't find an R function that can do that. Am I missing
it?
-Tim
--
Tim Wilson | Visit Sibley online: | Check out:
Henry Sibley HS | http://www.isd197.org | http://www.zope.com
W. St. Paul, MN | | http://slashdot.org
wilson at visi.com | <dtml-var
2002 Aug 22
1
combining output from several operations
Hi everyone,
I wonder if there's a patient soul out there who has a minute to look at
the following.
I've got a set of summary statistics I need to perform many times.
Naturally, I've looked at writing a function to automate the process as
much as possible. (These are the data I mentioned recently in my
question about weighted means.) I'm having trouble figuring out the
proper
2002 Aug 07
3
Forcing integers to be nominal
Hi everyone,
I've got a problem with an analysis of variance where it appears that my
independent variable is being treated as an integer when it should be
nominal.
The data are being loaded from an SPSS file and the independent variable
'YearColl' corresponds (surprisingly enough) to a student's year in
college. :-) The integers 1-4 are used in the dataset for this purpose.
My
2002 Aug 03
2
smcc/ make failure/ R CMD INSTALL package
Software information:
R Version 1.5.1 (2002-06-17)
ESS 5.1.20
Emacs 21.1.1
Mozilla 1.0
Linux Mandrake 8.2
Colleagues
I am having a little trouble installing packages. Having downloaded the
gzipped tarball of a package, put it in a /tmp directory, and using this
command:
[root at localhost /]# R CMD INSTALL -l 'usr/lib/R/library/'
'/home/smc/tmp/sgeostat_1.0-18.tar.gz'
I
2002 Jun 28
4
R for simple stats
Hi everyone,
I'm taking a course in statistics as part of my doctoral program in
education at the U. of Minnesota, USA. I found R via Rpy, a python
module that makes it possible to use R from python scripts.
The instructor refers to SPSS a lot and that seems to be the standard
stats tool around here. But being more of a Unix guy and not intimidated
by programming, I'd like to see if I
2003 Apr 02
4
Multivariate Time series
Dear R People:
Is there a library for Multivariate time series, please?
For some reason, I'm thinking that Dr. Paul Gilbert may have one?
R Version 1.6.2 (i've updated!) for Windows
Thanks so much!
Sincerely,
Erin Hodgess
University of Houston - Downtown
mailto: hodgess at uhddx01.dt.uh.edu
2003 Jun 12
3
breaks
Dear R People:
I have a question about a "sorting" problem, please.
I have a vector xx:
> xx
[1] -2.0 1.4 -1.2 -2.2 0.4 1.5 -2.2 0.2 -0.4 -0.9
and a vector of breaks:
> xx.y
[1] -2.2000000 -0.9666667 0.2666667 1.5000000
I want to produce another vector z which contains the number of the class
that each data point is in.
for instance, xx[1] is between xx.y[1] and
2002 Feb 22
3
Cent. Mov. Ave
Dear R People:
Here is an interesting question(I think)
Suppose I want to calculate Centered Moving Averages; i.e.
x[1] <- ( sum(y[1:12]) )/12
x[2] <- ( sum(y[2:13]) )/12
and so on.
Of course, this is easily done through loops. However, I have
been trying to do this more elegantly, but have failed. I have
tried things like
j1 <- 1:109
j2 <- 12:120
x[1:109] <- ( sum( y[j1:j2])
2002 Mar 11
3
Crime Time Series
Can anyone please recommend a good site for
crime related time series?
Thanks!
Erin
mailto: hodgess at uhddx01.dt.uh.edu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To:
2001 Jun 21
2
Durbin Watson stat for ser. corr
Dear R People:
Do any of the linear model or regression function calculate the
Durbin-Watson test statistic for serial correlation, please?
I found the hat matrix, studentized residuals, and so on,
but no D-W.
Thanks so much!
Sincerely,
Erin M. Hodgess, Ph.D.
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
One Main Street
Houston, TX 77002
2000 Jul 12
1
function via source or fix
Hello R People:
Suppose I create a function, x.e, via the fix command:
> x.e <- fix(x.e)
When I type in x.e, the function code appears, along
with the name/number of the environment.
However, if I create a function, y.e, and source it in, when
I type in y.e, the function code only displays(no
environment).
Why is this, please? (It's not a bug....I just wondered).
I am using
2000 Aug 31
3
make problem
Dear R People:
I have the source for R version 1.1.1
on a UNIX system alpha-dec-osf4.
The ./configure works fine.
When I do the make, it works fine until it tries to build the
package tcklc.
I get an error of
Tk_Saf_Init not identified
Then it kicks out.
Any suggestions, please?
Thanks!
Sincerely,
Erin M. Hodgess, Ph.D.
Associate Professor
Department of Computer and Mathematical Sciences
2002 Oct 28
1
Nonlinear time series
Dear R People:
Is there code for nonlinear time series available, please?
I'm looking for something that could also provide a model for
forecasts.
This is for R V1.5.1 on a PC.
Thank you very much in advance!
sincerely
Erin Hodgess
mailto: hodgess at uhddx01.dt.uh.edu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read
2003 Jan 05
1
Long memory ts
Dear R People:
Where is the command for long memory time series, please?
In S, it's arima.fracdiff
Is there something like that in R? If so, which library has it, please?
Version 1.5.1 for Windows
Happy new year
Thanks so much!
Sincerely,
Erin Hodgess
mailto: hodgess at uhddx01.dt.uh.edu
2002 Oct 01
1
High Frequency Time Series
Dear R People:
I have a weekly time series. How do I put this into the
ts command, please?
That is, what do I use for frequency, please?
R version 1.5.1 for Windows.
Thanks in advance.
Sincerely,
Erin
mailto: hodgess at uhddx01.dt.uh.edu
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
2000 Oct 26
3
Tick marks for abline
Dear R People:
I am drawing graphs for a College Algebra class. I would like to have
the x and y axes, along with the lines that I am plotting. So I leave
off the axes, and use xlim and ylim. Then I add my abline(v=0).
However, I would like to have tick marks on the abline. How would I do
that, please?
Thanks in advance!
Sincerely,
Erin M. Hodgess, Ph.D.
Associate Professor
Department of
2002 Apr 19
2
exponential smoothing
Dear R People:
Is there a function for exponential smoothing, please?
R version 1.4.1 for Windows.
Thanks in advance! Have a great weekend!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
1 Main Street
Houston, TX 77002
mailto: hodgess at uhddx01.dt.uh.edu
2002 Aug 10
2
fractals
Dear R People:
Does anyone have any code for Fractals, chaos,
or anything like that, please?
This is strictly for demo purposes...decorative only.
This is R version 1.5.1 for Windows.
Thank you in advance!
Have a great weekend!
Sincerely,
Erin Hodgess
Associate Professor
Department of Computer and Mathematical Sciences
University of Houston - Downtown
1 Main Street
Houston, TX 77002