Displaying 20 results from an estimated 1000 matches similar to: "coef names in lm"
2003 Oct 09
1
subsetting objects
I want to be able to exctract a matrix from a data frame that contains repeated measurements for individuals. i.e I want to exctract the second observation for each individual in the study.
Is there a way of doing this?
I guess what I am trying to ask is if there as a multidimensional version of aggregate() as in aggregate(data, list(data[,"ID"]), function(x) x[2,])
but aggregate will
2004 Sep 23
2
gsub
Hi
A while back I used gsub to do the following
temp<-"000US00231"
gsub("something here", "", temp)
"00231"
I think it involved the `meta characters' somehow.
I do not know how to do this anymore. I know strsplit will also work but I
remember gsub was much faster. In essence the question is how to delete
all characters before a particular
2005 Aug 03
4
R CMD build error
Dear list,
I try to update the prabclus package.
R CMD check works nicely, no warnings, good results in all tests.
However, building the package fails:
ginkgo:/disk5/home/chrish/RAusw/libsrc R CMD build prabclus
* checking for file 'prabclus/DESCRIPTION' ... OK
* preparing 'prabclus':
* checking whether 'INDEX' is up-to-date ... OK
* removing junk files
* building
2005 Mar 23
4
non-derivative based optimization and standard errors.
Hi AlL,
I ahve this problem that my objective function is discontinous in the
paramaters and I need to use methods such as nelder-mead to get around
this. My question is: How do i compute standard errors to a problem that
does not have a gradient?
Any literature on this is greatly appreciated.
Jean,
2004 Apr 06
2
percentile-percentile plot
Hi,
Is there a function that does percentile-percentile plot. I do not mean
the qqplot. I need to plot the percentiles rather than points themselves.
I am hoping for a plot that tells me that the x percentile of one data set
corresponds to the y percentile of the other. for example a point on the
plot of (.5, .2) will tell me that the 50th percentile of the first data
and the 20th percentile of
2005 May 20
4
issues with identical()
Hi all, hope you having a nice day,
I ahve this weird results with identical (probably I am not understanding
correctly what it does ...)
I have these two data frames and I issue :
> identical(temp, temp1)
[1] FALSE
However, these data frames are Nx2 and when I issue:
> identical(temp[,2], temp1[,2])
[1] TRUE
> identical(temp[,1], temp1[,1])
[1] TRUE
and the results from str
>
2005 Jan 30
3
trellis graphics in loops
I have this awkward problem with trellis (lattice). I am trying to
generate some plots through loops but the .eps file is empty. When I
generate them in a list and print them outside the loop all is fine. this
is an example below:( nothing shows up in foo.eps, but all show up in
foo1.eps)
R vesion 2.0.1, lattice version 0.10-16, on a debian 2.6.8-1 kernel.
X <- data.frame(x=rnorm(10000),
2003 Jul 08
1
readline and R
Dear R users,
I am trying to install R 1.7.1 on a sparc-sun-solaris2.8 system. although
gnu readline is installed and works fine on the parent directory, R is not
recognizing it.
I get the following in the config.log file.
configure:11627: checking for rl_callback_read_char in -lreadline
configure:11658: gcc -o conftest -g -O2 -L/usr/local/lib
conftest.c -lreadline -ldl -ltermcap -lm
2004 Oct 01
1
dataload for linux
Is there a dataload utility for linux. The link in genstat is down but I
managed to find the utility at:
http://gurukul.ucc.american.edu/econ/gaussres/UTILITYS/DATALOAD.HTM
but this is a dos/windows version.
Thank you
Jean
2004 Feb 05
1
lines and dates
Dear All,
I have the following data.frame
`data.frame': 1563 obs. of 4 variables:
$ Model :Class 'AsIs' chr [1:40] "Astro" "Astro" "Astro" "Astro"
$ Make :Class 'AsIs' chr [1:40] "Chevrolet" "Chevrolet"
$ Production : num 11219 12384 1082 5409 5458 ...
$ date :`POSIXlt', format: chr
2006 Sep 05
4
Ferret 0.10.2 - Index#search_each() and :num_docs
Hi,
I seem to be having trouble getting more than 10 hits from
Index#search_each since upgrading to 0.10.2 (ie, this was working in
0.9.4). Maybe a bug, as the #search_each doesn''t seem to use the options
parameter any more ?
Thanks,
Neville
===========================================
require ''rubygems''
require ''ferret''
p Ferret::VERSION
idx =
2011 Nov 06
1
Deleting rows dataframe in R conditional to “if any of (a specific variable) is equal to”
Dear list,
I have been struggling for some time now with this code... I have this vector of unique ID "EID" of length 821 extracted from one of my dataframe (skate). It looks like this:
> head(skate$EID)
[1] "896-19" "895-8" "899-1" "899-5" "899-8" "895-7"
I would like to remove the complete rows in another dataframe
2010 Mar 02
3
Keeping the order of data set when plotting
I have a data frame with 3 columns and I want to order the entire list by one
column and then plot. I used order() and it does order the data set but when
I plot it is as if the set is as it was originally. I also can't figure out
how to plot two sets of data on the same graph. I have,
Occupation American.Workers Foreign.Workers
Accountant 12 2
Engineer 45 54
Doctor 50 37
I want
2010 Sep 10
3
(no subject)
Hello,
I'm trying to do bar plot where 'sex' will be the category axis and
'occupation' will represent the bars and the clusters will represent
the mean 'income'.
sex occupation income
1 female j 12
2 male b 34
3 male j 22
4 female j 54
5 male b 33
6
2011 Nov 06
1
Combining some duplicated rows & summing one of their column
Dear list,
I have this dataframe:
> names(events)
[1] "EID" "X" "Y" "trip" "tow" "catch" "effort" "depth"
[9] "season"
Where some of my unique ID "EID" appears more than once in 162 cases.
> length(events$EID)-length(unique(events$EID))
[1] 162
I would like to combined
2006 Aug 28
12
Help with Multiple Readers, 1 Writer scenario
Hi,
I''m building a web server application using Ferret [thanks so much
Dave], Mongrel and Camping which works fine servicing one request at a
time, but serialises searches if more than one request arrives, so I''d
like some advice please about the best way to use multiple readers and
one writer.
Some background ... query requests which in my case are always read
only, arrive via
2004 Sep 26
2
help for stata user
Hi,
I'm new to R, and I'm STATA user before, could you help me where I can
get document about comparison command between STATA and R.
Thank you very much,
Best regards,
-iip-
2012 Jul 17
2
Problem creation tensor
Hi guys,
I need some help to analyzing my data.
I start to describe my data: I have 21 matrices, every matrix on the
rows has users and on columns has items, in my case films.
Element of index (i, j) represent the rating expressed by user i about item j.
I have a matrix for each of professions.
An example of a this type of matrix is:
item 1 item 2 item 3 item4
id
2010 Feb 16
2
Random Forest
Hi,
i'm using randomForest package and i have 2 questions:
1. Can i drop one tree from an RF object?
2. i have a 300 trees forest, but when i use the predict function on new
data (with predict.all=TRUE) i get only 270 votes. did i do something wrong?
Thanks
--
View this message in context: http://n4.nabble.com/Random-Forest-tp1557464p1557464.html
Sent from the R help mailing list archive at
2007 Nov 01
2
ploting a comparison of two scores, including the labels in the plot
Hello r-help!
I have data with two kind of ratings on status of 100 occupations. The
first kind of rating is on the percieved "objective" status that these
occupations have in society at large, and the second kind or rating is
on the status that the respondents think that these occuption *should*
have.
The ratings were originally integer values in the rage 1-9, but in the
current data,