similar to: Datasets in R

Displaying 20 results from an estimated 2000 matches similar to: "Datasets in R"

2008 Oct 27
1
Problem with script
Hello :-) I am trying to run the next script, it generates "random areas" inside a map of the american continent, and then plot it, it?s suppose that every frame gives you the evolution of the program but at some point it stops with the weirdest of the errors I?ve ever seen in R, I don?t even have a line like that :-| Error in if (random_matrix[x_list[random_sq] - 1,
2011 Nov 03
2
variable transformation for lm
Hello, I am doing a simple regression using lm(Y~X). As my response and my predictor seemed to be skewed and I can't meet the model assumptions. Therefore I need to transform my variables. I wanted to ask what is the preferred way to find out if predictor and/or response needs to be transformed and if yes how (log-transform?). I found a procedure in "A modern approach to Regressoin in
2009 Jul 30
1
Logistic regression and R
Hello everybody :-) I have some data that I want to model with a logistic regression, most of the independent variables are numeric and the only dependent is categorical, I was thinking that I could apply a logistic regression using glm but I wanted to deepen my knowledge of this so I tried to do some reading and found the "iris" dataset, now I would like to ask two things, first
2009 Aug 12
2
10x slower merge in mac 2.9.1 vs. 2.9.0 (PR#13890)
Full_Name: Rick Stahlhut Version: 2.9.1 OS: os x 10.5.7 Submission from: (NULL) (128.151.71.23) I upgraded to 2.9.1 today from 2.9.0. I work with large CDC (center for disease control) datasets and start, frequently, with a series of 23 large-ish merges to create the final dataset I work on. I do this each time because (a) R is fast. why not? and b) the datasets occasionally get updated by
2005 May 27
1
Testing Nonlinear Restrictions
Dear all, I'm interested in testing 2 nonlinear restrictions on coefficients of a nls object. Is there a package for doing this? Something in the lines of `test(nls object, res=c("res 1","res 2"),...)' I only found the function delta.method in the alr3 library that calculates the se of a singleton nonlinear restriction of a nls object using the delta method. Thanks in
2009 Jun 21
2
Help on qpcR package
I am using R on a Windows XP professional platform. The following code is part of a bigger one CODE press=function(y,x){ library(qpcR) models.press=numeric(0) cat("\n") dep=y print(dep) indep=log(x) print(indep) yfit=dep-PRESS(lm(dep~indep))[[2]] cat("\n yfit\n") print(yfit) yfit.orig=yfit presid=y-yfit.orig press=sum(presid^2)
2010 Apr 30
6
addListener
I am trying to use the marker method addlistener(). A simplified version of what I''m trying to do: var map; var marker; map = new mxn.Mapstraction(''myMap'',''google''); map.setCenterAndZoom(new mxn.LatLonPoint(45.559242,-122.636467), 15); marker = new mxn.Marker(new mxn.LatLonPoint(45.559242,
2008 Mar 30
1
Second & subsequent calls to function fails. Please help debug.
Dear R-helpers, I'm running Sweave() on a file. First run: > Sweave('20080331.Rnw') Writing to file 20080331.tex Processing code chunks ... 1 : term hide (label=setup) 2 : echo term verbatim (label=oatvar) 3 : echo term verbatim (label=oatvar1) 4 : echo term verbatim (label=oat2wt) 5 : echo term verbatim (label=oat2wt) 6 : echo term verbatim (label=lm) 7 : echo term
2011 Aug 22
1
d, p, q, r - What are the math relations with each other of this functions?
Hi all, Using the exponential distribution to exemplify: The dexp function is the PDF (1) and pexp is the CDF (2), that is obtained integrating the PDF. How can I get the qexp and the rexp? Considering that I have the PDF, how this two are mathematically related to the PDF? (1) ke^{-kx} (2) 1-e^{kx} Thanks in advance.
2010 Jul 26
0
version 2.0-0 of the car package
Dear all, Sandy Weisberg and I would like to announce version 2.0-0 of the car package, now on CRAN. We've released this major revision of the package in anticipation of the publication of An R Companion to Applied Regression, Second Edition (Sage, in press), co-authored by us, which should be available before the end of the year. The new version of the car package has a number of new
2010 Jul 26
0
version 2.0-0 of the car package
Dear all, Sandy Weisberg and I would like to announce version 2.0-0 of the car package, now on CRAN. We've released this major revision of the package in anticipation of the publication of An R Companion to Applied Regression, Second Edition (Sage, in press), co-authored by us, which should be available before the end of the year. The new version of the car package has a number of new
2008 Nov 03
2
standard errors for predict.nls?
Dear all, Is there a way to retrieve standard errors from nls models? The help page tells me that arguments such as se.fit are ignored... Many thanks and best wishes Christoph -- Dr. rer.nat. Christoph Scherber University of Goettingen DNPW, Agroecology Waldweg 26 D-37073 Goettingen Germany phone +49 (0)551 39 8807 fax +49 (0)551 39 8806 Homepage http://www.gwdg.de/~cscherb1
2005 Dec 16
3
Help with data.frame and lapply
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hello: I'm having problems with this line of code: X.lm <- lapply(names(d), function(x) lm(d["cls"] ~ d[x], data=d)) d[x] is what is giving trouble here, but I don't know exactly how to solve it. What I'm trying to do is to create a linear model from each column of the data frame 'd' to apply ANOVA later. Thanks
2010 May 21
7
Provider API versioning
Hi folks, Wondering whether I can get a quick show of hands from those of you who use OpenLayers. The latest version of the API has some refinements for adding the OSM layers which it would be good to take advantage of. If anyone who uses OpenLayers is planning to upgrade from Mapstraction v1 to v2 would it be acceptable to have to upgrade OpenLayers too? That''s assuming you
2003 Mar 13
2
subdirectory of home
Hi. Sorry: my level of english is not enough good. I hope you understand what I mean. My question is: it's possible to share a subdirectory (and only one subdirectory for every user) in the section [homes]? The version of samba which i'm working is 2.2.7a, over Solaris 8. Thanks in advance. --
2012 Mar 09
2
(Fisher) Randomization Test for Matched Pairs: Permutation Data Setup Based on Signs
Hi, I am currently attempting to write a small program for a randomization test (based on rank/combination) for matched pairs. If you will please allow me to introduce you to some background information regarding the test prior to my question at hand, or you may skip down to the bold portion for my issue. There are two sample sizes; the data, as I am sure you guessed, is matched into pairs and
2018 May 23
2
Pasar palabras de una lista a una variable del dataframe
Muchas gracias Carlos, Me da error al hacerlo. Mi variable donde quiero que localice las palabras de la lista tiene más de una palabra, no se si puede ser por eso. Gracias El Mar, 22 de Mayo de 2018, 20:15, Carlos Ortega escribió: > Hola, > > Aquí tienes un ejemplo (reproducible)... > > #----------------------- >> # Generar nombres de mujer >> library(randNames)
2009 Aug 24
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week New packages ------------ Updated packages ---------------- New reviews ----------- This email provided as a service for the R community by http://crantastic.org. Like it? Hate it? Please let us know: cranatic at gmail.com.
2009 Jan 29
2
Concurrent POP3 Sessions Issues
Hi, I have problems with dovecot + ldap + nfs, we could't have more than 20 concurrent sessions of pop3, when user 21 comes, the auth process takes more than 1 sec and is incresing (while most users arrives, more delay in autenticacion exists) and my customers complaint about the service. We need support about 200 concurrents pop3 users, here is my details Front Internet 1 Load Balancer
2009 Nov 29
4
sequence of commands in R
Dear all, I would like to know how could I execute a sequence or orders with just a function, i.e, that just typing the function name, R gives me all the parameters I want (for instance, if I want to see the summary, the standard deviation, the number of valid cases, etc of a dataframe just with one function). I have tried with the following, but just compute the second argument of the body, i.e.,