similar to: simple problems

Displaying 20 results from an estimated 800 matches similar to: "simple problems"

2002 Dec 13
2
how to get Residual Standard Error
Hi, I use lm or loess to make smoothing. After smoothing I need "Residual Standard Error" in my script. Could you please tell me how can I get this information? Thanks,
2002 Jun 26
1
Bug? (PR#1710)
Hi, I tried to do a multiple linear model from the example dataset Formaldehyde. However, the function lm() did not estimate the coefficient of the term carb^2. The same problem occurred with the (nlme)dataset Pixel with both function lme() and lm(). I am using the windows version of R 1.5.1 Lauri Mehtatalo The Formaldehyde example: > data(Formaldehyde) >
2005 Apr 02
2
An exercise in the use of 'substitute'
I would like to create a method for the generic function "with" applied to a class of fitted models. The method should do two things: 1. Substitute the name of the first argument for '.' throughout the expression 2. Evaluate the modified expression using the data argument to the fitted model as the first element of the search list. The second part is relatively easy. The
2004 Nov 03
4
Newbie question: plotting regression models
Greetings. Is there any way to get R to take a regression model object and draw a plot of the regression function? How about overlaying that plot over a scatterplot of the actual data? Thanks in advance for any help anyone can provide. Aaron ----- Aaron Solomon?? (??ben Saul Joseph??) ??Adelman E-mail??: ??adelmaas at musc.edu Web site??: ??http??://??people.musc.edu??/??~adelmaas??/??
2007 Nov 07
2
dates
Dear R users, I am just starting with R and am currently needing a lot of help! Sorry if I disturb you and thank you for your answers!!! Here goes my question: How do I make R reconize my date columns as dates? When I "summary" my table, the levels of my date column are completely out of order. Thank you again for this tip, Marcia -- View this message in context:
2008 Jul 11
3
Start preferred RGui
Dear R users, I have been having a problem since I installed the new versions of TinnR and R on my computer (1.19.4.7 and 2.6.0 respectively). I used to open R by the command "start preferred RGUI", on the "R" tab of TinnR's menu. But now, since I updated both softwares (which was necessary for some compatibility issue with Windows Vista), the path for my preferred RGui (
2008 Jan 16
2
R and Vista
Hello R users, I have been using R for a while on xp and have just updated my system to vista. Have encountered some problems... First and main problem is that i cannot make R recognize my own written functions by coping them into the Rprofile.site on the etc folder. For some reason, this very useful tool seems not to be working anymore. Could someone help?? Any other suggestion to make R start
2007 Nov 30
1
main plot title
Dear R users, I am having a problem with the main title of a plot. I have written a function returning a plot and I would like that the main title of this plot shows actually the name of the dataset I have used. So, for instance: if my dataset is called Chl, I would like that my plot to be entitled : "Raw periodogram of Chl". I know the function "paste". I suppose I would be
1997 Dec 02
1
R-alpha: NextMethod in 0.50-a4
I am encountering difficulty with NextMethod in 0.50-a4. We created a class of groupedData objects which are data.frames with additional attributes. The most important attribute is a formula describing roles of some of the variables in the experimental design. The class of such objects ends in "groupedData", "data.frame". The print method for the groupedData class simply
2008 Aug 19
1
jpeg, dev.off() inside function
Dear all, I am trying to plot and save the plots. I have written a small function for that in which I use the jpeg and dev.off() commands. Strangely, when these commands are inside the function, they are not working anymore. For instance: dataframe<- data.frame (x=c(1:20),y=seq(0,9.5, length=20)) for (i in seq(0,15, length=4)){ setwd ("C:/R") jpeg(filename =
1998 Feb 24
2
Representation of data in libraries
At present the example data sets in R libraries are to be given as expressions that can be read directly into R. For example, the acid.R file in the main library looks like acid <- data.frame( carb = c(0.1, 0.3, 0.5, 0.6, 0.7, 0.9), optden = c(0.086, 0.269, 0.446, 0.538, 0.626, 0.782), row.names = paste(1:6)) This is great when you have only a few observations. I have one example data
2000 Dec 30
0
editor in Windows doesn't like a data frame with row names (PR#797)
The editor in R version 1.2.0 returns an error after editing a data frame that has row names. This is on a Windows 2000 system, but I've encountered the same problem under Windows 95. Here's a simple example: ------------------------------------------------------------------------------------ R : Copyright 2000, The R Development Core Team Version 1.2.0 (2000-12-15) R is free
2000 Dec 31
0
editor in Windows doesn't like a data frame with row names (PR#798)
On Sun, 31 Dec 2000 jfox@mcmaster.ca wrote: > The editor in R version 1.2.0 returns an error after editing a data frame > that has row names. This is on a Windows 2000 system, but I've encountered > the same problem under Windows 95. Here's a simple example: Actually, that's not where the error is. If you use traceback() you will see it is in edit.data.frame. That tries
2009 Dec 17
2
mantel test and NAs
Dear R users, I am having a problem performing the mantel test (both with functions mantel {vegan} and mantel.test {ape}) due to I believe the presence of NAs on my distance matrices, which look like e.g.: NA 1 2 1 2 3 NA 4 5 6 and 1 1 2 2 3 4 5 6 7 8 Would any of you have a solution for that? Thank you for much for your help! Marcia Rocha -- View this message in
2006 Apr 11
3
model classes in different folders
Hello, I have the following structure: - app - controllers - helpdesk - call_controller.rb (Helpdesk::CallController < ApplicationController) - models - employee.rb - department.rb (Department < ActiveRecord::Base) - helpdesk - call.rb - call_history.rb (Helpdesk::CallHistory < ActiveRecord::Base) Is it possible to have a relationship between
2007 Jan 04
3
TC again - now working on VPN traffic
Hi! It''s me again bothering you guys, what I want to do is to give full bandwidth to VPN traffic and limit the rest to 30KB/s (kilobytespersecond), ok? Here''s what I have: tcclasses ################################## eth0 1 1kbps 70kbps 1 eth0 2 1kbps 30kbps 2 default eth1 3 15kbps 10000kbps 1 eth1 4
2006 Apr 28
1
rails + iis + virtual directory = desperation
Hello, I''m getting crazy trying to configure a rails application under IIS in a virtual directory. I have climbed highest mountains, I have run through the fields, I have visited rails forums all over the world and I still haven''t found what I''m looking for :( I know this question has already had been posted here before, but I''m desperate. Does anybody
2003 Dec 11
1
packaging standards for rda files?
Dear everybody: We used the fine foreign library to bring in an SPSS dataset that was about 9 megabytes and I can squeeze it into a much smaller R object using compression with save(ndat, file="NatAnnES2000.rda", compress=T). I can use load() to get the "ndat" dataframe back, that's all good as far as I can see. If I put that file in the data subdirectory, then the
2011 Feb 03
3
interpret significance from the contr.poly() function
Hello R-help I don’t know how to interpret significance from the contr.poly() function . From the example below : how can I tell if data has a significant Linear/quadratic/cubic trend? > contr.poly(4, c(1,2,4,8))               .L         .Q          .C [1,] -0.51287764  0.5296271 -0.45436947 [2,] -0.32637668 -0.1059254  0.79514657 [3,]  0.04662524 -0.7679594 -0.39757328 [4,]  0.79262909 
2013 Jun 25
1
F statistic in add1.lm vs add1.glm
Should the F statistic be the same when using add1() on models created by lm and glm(family=gaussian)? They are in the single-degree-of-freedom case but not in the multiple-degree-of-freedom case. MASS:addterm shows the same discrepancy. It looks like the deviance (==residual sum of squares) gets divided by the number of degrees of freedom for the term twice in add1.glm. Using anova() on the