Displaying 20 results from an estimated 500 matches similar to: "question about date's"
2005 Oct 20
5
search a value in variables dataset
Dear R-list,
I have a dataset, say (the real dataset is 20 columns,110200 rows).
 > my.reducedID
       V1 V2 V3 V4 V5 V6 V7  V8  V9
  [1,]  1  0  0  1 14  3  1   0   2
  [2,]  2  0  0  1 14  3  1   0   2
  [3,]  0  1  0  1 14  2  1   0   2
  [4,]  0  0  1  1 14  3  1   0   2
  [5,]  0  1  1  0 14  2  1   0   2
  [6,]  0  0  0  1 14  3  1   0   2
  [7,]  0  0  0  1  0  3  1   0   2
  [8,]  0 
2005 Oct 12
1
arima with R
Hi,
I'm using R for some arima models. In the past I used for arima models Rats and Tsp. Using the R arima function, I get only the statistics sigma^2 and log likelihood; with Rats and Tsp it is possible to obtain more statistics, such as R, R square, Durbin Watson, standard error, etc. 
Is it possible using R to have the statistics mentioned?
My best regards,
                                 
2005 Oct 23
1
factorizing many columns of a dataframe
Hi guys,
 
I have a large number of columns of a dataframe that I want to apply a common factorization to; the columns are all numeric and the factorization collapses some of these values into common groups (labels). How can I do this systematically?
Is there an analog to sapply that can pass columns as vectors to FUN?
 
Thanks in advance,
Gregory Gentlemen
		
---------------------------------
2005 Oct 20
2
information about Loess
Hello,
I'm currently using a tool that provides a Loess fitting, but I obtained results that are slightly different from those provided by R implementation of the Loess. That's why I would like to know if you could give me a source (bibliography or web) that explains in a clear way each step of the algorithm, with the possible options to choose, etc.. in order for me to understand those
2005 Jul 27
2
logistic regression: categorical value, and multinomial
I have two questions:
1. If I want to do a binomial logit, how to handle the
categorical response variable? Data for the response
variables are not numerical, but text.
2. What if I want to do a multinomial logit, still
with categorical response variable? The variable has 5
non-numerical response levels, I have to do it with a
multinomial logit.
Any input is highly appreciated! Thanks!
Ed
2005 Dec 06
7
R is GNU S, not C.... [was "how to get or store ....."]
======= 2005-12-06 22:16:17 伳侜佋佢伬伌佇伵佒佇佇伌伒伬仯伜=======
>Martin Maechler a 侀crit :
>
>> please, please,  these trailing ";"  are  *so* ugly.
>> This is GNU S, not C (or matlab) !
>> 
>> but I'll be happy already if you could
>> drop these ugly empty statements at the end of your lines...
>
>May I disagree ?
>I find missing ";" at
2005 Jul 26
3
text on some lines
Hi,
 
I would like to write text on 2 lines for example.
For example, if you have a long sentence and you want to cut it at the 45 caracter and put the continuation underneath!
Is it possible?
 
Thanks
 
Sabine
		
---------------------------------
	[[alternative HTML version deleted]]
2005 Oct 07
3
index question
All,
I'm having a problem selecting directly from a vector.  I've written ways to do this
indirectly, but I'd rather do it directly and didn't see this in the manual.
Essentially, I have:
> group.label.new
 [1]  7  9  6  1 10  4  8  3  2  5
> junk
[1] 1 2
> group.label.new[junk && 8:10]
 [1]  7  9  6  1 10  4  8  3  2  5
I'd like to select the elements
2005 Oct 16
3
Sorting a data frame by one of the variables
Dear all,
I have a date frame like this:
X   Y   Z
22	24	4.3
2.3	3.4	5.3
.....
....
57.2	23.4	34
What my purpose is: to sort the data frame by either X, Y or Z.
sample output is (sorted by X) :
X   Y   Z
2.3  3.4  5.3
.....
......
22 24  4.3
...
57.2  23.4  34
I have no idea how to use sort, order or rank functions. Please help me out.
Thanks!
Leaf
2005 Aug 03
1
abline and linearity over groups
Dear R users, please can you help me understand the behaviour of abline using function lm.
I'm trying to learn linearity over groups. So I make three groups with 10 values each:
test=data.frame(cbind(
l=c(rnorm(10,0,30),rnorm(10,100,30),rnorm(10,200,30)),
t = c(rep(0,10), rep(1,10), rep(2,10))
))
when I do: 
plot(test$l~test$t)
abline(lm(test$l~test$t))
the abline is a straight line
2005 Jul 28
4
Running Internet Explorer from Withing R
Good morning,
Is it possible to open an html file using IE but from within R?  I wrote a small function to generate tables in html but I'd like to write another function to call IE and open the html file.
Thanks,
Walt Paczkowski
________________________
Walter R. Paczkowski, Ph.D.
Data Analytics Corp.
44 Hamilton Lane
Plainsboro, NJ  08536
(V) 609-936-8999
(F) 609-936-3733
2005 Oct 15
2
batch file execution
I am new to R and really like to get a handle of basics in short period of
time. What I am trying to do is get myself a list of must-do's (read in
data, batch execution, delimiters, basic modeling commands) in R as in Stata
or SAS. I am just wondering how to execute a R batch file in RGui. Suppose I
have a script file (like do file in stata, or sas file in SAS) under
c:\whatever.R, how can I
2005 Aug 03
3
prcomp eigenvalues
Hello,
Can you get eigenvalues in addition to eigevectors using prcomp?  If so how?
I am unable to use princomp due to small sample sizes.
Thank you in advance for your help!
Rebecca Young
--
Rebecca Young
Graduate Student
Ecology & Evolutionary Biology, Badyaev Lab
University of Arizona
1041 E Lowell
Tucson, AZ 85721-0088
Office: 425BSW
rlyoung at email.arizona.edu
(520) 621-4005
2005 Oct 24
2
GAM and AIC: How can I do??? please
Hello,  I'm a Korean researcher who have been started to learn the "R"
   package.
   I want to make gam model and AIC value of the model to compare several
   models.
   I did the GAM model, but there were error for AIC.
   SO, how can I do? pleas help me!!!
   I did like below;
   > a.fit <- gam(pi~ s(t1r), family = gaussian(link="log"))
   >
2005 Nov 21
5
SPSS and R  do they like each other?
Hi,
I wonder how well SPSS and R communicate, because I
need SPSS but would like to do some data manipulations
in R. However I am very afraid of never ending
import-export-complications ? especially with all
those labels and extra information my SPSS files
contain. My data come from SPSS and have to be
exported to SPSS again (because I need to produce
special output tables, which would be hard to
2005 Oct 18
6
p-value calculation
hello everybody
i'm very new at using R so probably this is a very stupid question.
I have a problem calculating a p-value. When i do this with excel i
can use the method CHIDIST for 1.2654 with 1 freedom degree i get the
answer 0.261
i just want to do the same thing in R but i can't find a method.
can somebody help me
friendly regards
richard
2005 Nov 27
4
Counting the occurence of each unique "charecter string"
LS,
  
  I would really like to know how to count the frequency/occurrence of  chachters inside a dataset. I am working with extreemly large datasets  of forest inventory data with a large variety of different species  inside it. 
  Each row inside the dataframe represents one individual tree and the simplified dataframe looks something like this:
  
  num species dbh   
  1        sp1          
2005 Nov 27
4
Counting the occurence of each unique "charecter string"
LS,
  
  I would really like to know how to count the frequency/occurrence of  chachters inside a dataset. I am working with extreemly large datasets  of forest inventory data with a large variety of different species  inside it. 
  Each row inside the dataframe represents one individual tree and the simplified dataframe looks something like this:
  
  num species dbh   
  1        sp1          
2005 Oct 20
4
creating a derived variable in a data frame
Hello,
I have read through the manuals and can't seem to find an answer.
I have a categorical, character variable that has hundreds of values.  I want to group the existing values of this variable into a new, derived (categorical) variable by applying conditions to the values in the data.
For example, suppose I have a data frame with variables: date, country, x, y, and z.  
x,y,z are
2005 Jun 13
5
slow loading with lme4
it takes a long time to load the lme4 package.anyone else encounter this problem?
> system.time(library(lme4))
佋佖伻侂佇佽佉仾伒伳伋佁伡伃伆侟仯伜Matrix
佋佖伻侂佇佽佉仾伒伳伋佁伡伃伆侟仯伜lattice
[1] 19.90  0.30 25.56    NA    NA
> version
         _              
platform i386-pc-mingw32
arch     i386           
os       mingw32        
system   i386, mingw32  
status   Patched        
major    2              
minor