Displaying 20 results from an estimated 1000 matches similar to: "Loading .RData from Internet"
2010 Dec 09
3
hi have a question about merging.
this is the problem:
load this R data frame over the internet and save it to your hard drive.
http://rss.acs.unt.edu/Rdoc/library/twang/data/raceproling.RData
please show how to save a dataset of males only (the variable male=1) to a new dataframe. Then do the same thing for females (male=0). Then show how to recombine the two datasets to belike the original one except that the female
2010 Dec 08
5
Summing up Non-numeric column
Dear All
If I have the following dataset
V1 V2
x y
y x
z b
a c
b j
d l
c o
How do I use R command to get the total number of different letter in column
"V1"
column "V1" has 7 different letters.
Thank you
--
View this message in context: http://r.789695.n4.nabble.com/Summing-up-Non-numeric-column-tp3077710p3077710.html
Sent from the R help mailing list archive
2008 Sep 18
5
propensity score adjustment using R
Hi all,
i am looking to built a simple example of a very basic propensity
score adjustment, just using the estimated propensity scores as
inverse probability weights (respectively 1-estimated weights for the
non-treated). As far as i understood, MLE predictions of a logit model
can directly be used as to estimates of the propensity score.
I already considered the twang package and the
2010 Oct 25
2
.R file
Hello everyone
Can you please teach me how to save my homework as .R file?
I write my code in RGui. When I tried to save my work, the RGui only allows
me to save it as .RData.
By the way, after I save my work as .RData, I cannot reopen it. when I open
it, only one message comes out as following: "ARGUMENT_ignored_."
--
View this message in context:
2010 Oct 25
2
How to save R file into specific type
Hello everyone
Can you please teach me how to save my homework as .R file?
I write my code in RGui. When I tried to save my work, the RGui only allows
me to save it as .RData.
Is there any difference between .R and .RData?
By the way, after I save my work as .RData, I cannot reopen it. when I open
it, only one message comes out as following: "ARGUMENT_ignored_."
--
View this
2006 Jun 29
0
twang - Toolkit for Weighting and Analysis of Nonequivalent Groups
The Toolkit for Weighting and Analysis of Nonequivalent Groups (twang
1.0) has been released to CRAN. The package collects functions useful
for computing propensity score weights for treatment effect estimation,
developing nonresponse weights, and diagnosing the quality of those
weights. The package includes a vignette containing some basic theory
and walks through two examples. It is available by
2011 Aug 12
1
sapply to bind columns, with repeat?
Hi R-help,
I am working with US COOP network station data and the files are
concatenated in single rows for all years, but I need to pull these
apart into rows for each day. To do this, I need to extract part of
each row such as station id, year, mo, and repeat this against other
variables in the row (days). My problem is that there are repeated
values for each day, and the files are fixed width
2009 Mar 29
1
DCT function?
Looking for the DCT function, but don't see it in the signal pkg.
http://rss.acs.unt.edu/Rdoc/library/signal/html/signal.package.html
http://rss.acs.unt.edu/Rdoc/library/signal/html/00Index.html
As I understand it, the 'signal' functions are ports of the corresponding matlab/octave code, where the DCT exists. Did I miss it (different name?) or is someone working on a port for
2009 Jul 15
1
FW: Package submission to CRAN
Please Note: Email below was bounced back (rejected by the Packages email list moderator), so please do not ask me to submit to r-packages@r-project.org<mailto:r-packages@r-project.org>.
Members,
I recently submitted my first package to the submissions ftp site on CRAN (7.3.09). The package has remained on the server since with no action? Do package review/updates occur monthly? When I
2011 Aug 15
3
how can I read a xlsx file
Hello,
How can I read a xlsx file using xlsx package?
Thanks
Albert
[[alternative HTML version deleted]]
2003 Oct 16
0
AW: summary with names
As I read this, my answers to the other guys don't seem to be
delievered to the list, although I sent them nearly 4 hours
ago. I fear, I only sent them to the posters and not to the
list ... I try to correct this! Sorry!
Axel Benz schrieb:
> Which name do you want?
> varA1
This one resp. the corresponding one in this way (varA2 etc.).
> or
> fb.12.unt[varA1]
> or even then
2003 Apr 23
3
Changing the size of the bounding box
Greetings all:
I have to create a graph that has very specific dimensions for
publication purposes. The graph is a semilog scaled graph and the
axes must range from 1 to 1,000,000 on the y axis and 0 to 100 on the
x axis. The x axis should be exactly 8 inches and the y axis should
be exactly 5.25 inches. I've been able to set the plot area to 8 x
5.25 using the par(pin=c(8,5.25)). The
2010 Nov 08
1
Exponent of sqr symmetric matrix
Dear R experts,
I really have difficulty when I try to deal with this question.
suppose X is a square symmetric matrix. The exponent of X is defined by the
matrix limit as following:
exp(X) = lim (I + X/n)^n, note: the limit is from n to infinite.
How can I write R function for the above?
Thank you very much
--
View this message in context:
2011 May 04
1
Str info. Thanks for helping
It looks from str(SA) that Response IPS1 is a data.frame of class "anova", which probably cannot be coerced to vector.
Maybe you can use unlist() instead of as.vector()
Or something like
SA[["Response IPS1"]]["as.factor(WSD)",] ## to select the first row only, even maybe with unlist()
Without a better REPRODUCIBLE example, I cannot tell more (maybe some others
2003 Oct 16
4
summary with names
Hi,
how can I tell 'summary' to print the name of the summarised
variable? This is probably an awkward newbie question but I
didn't find an answer in the Docus, the FAQ and maillist archive.
I want a summary for about 250 variables and realise it
the following way (I know, that I shouldn't use iterations
that way in R; but at the moment it's the easiest way for me):
2011 Apr 20
2
user input
Dear users,
I have looked on different sources and found different functions to
prompt the user to provide input. However, I couldn't find one that does
exactly what I'm looking for.
select.list() and menu() are nice because a graphic window appears to
prompt the user. However, the user can only choose from a predefined
list of choices. readline() and scan() are more free in the
2011 Jun 27
2
Add use of dput() to the instructions at bottom of post?
It's often difficult to figure out what a problem data set looks like when someone pastes a mess of output from R into an e-mail. The dput command, used judiciously?I would hope no one would send a 1 M data set?can make life much easier.
I wonder if it would be useful to add a hint in the instructions at the bottom of the posting page, where the list asks for self-contained reproducible
2006 Nov 15
3
Dotmatrix Plots
Hi all,
Does anyone know what happened to the dna library or the dotmatrix
function? For the life of me, I can't find it anywhere with the
exception of this reference:
http://rss.acs.unt.edu/Rdoc/library/dna/html/dotmatrix.html
Thanks!
Jeff.
http://www.nd.edu/~jspies/
[[alternative HTML version deleted]]
2010 Nov 09
2
Help with Iterator
Dear Experts,
The following is my "Iterator". When I try to write a new function with
itel, I got error.
This is what I have:
> supDist<-function(x,y) return(max(abs(x-y)))
>
> myIterator <- function(xinit,f,data=NULL,eps=1e-6,itmax=5,verbose=FALSE) {
+ xold<-xinit
+ itel<-0
+ repeat {
+ xnew<-f(xold,data)
+ if (verbose) {
+ cat(
+
2010 Dec 13
7
descriptive statistics
Hi. In a data set I have a variable that takes values from 1 to 14. For each
subgroup of values of this variable, I would like to obtain some descriptive
statistics of other variables present in the data set. I've been trying with
a "for" loop but I couldn't get nothing. Could you please suggest me some
lines?
--
View this message in context: