Displaying 20 results from an estimated 1000 matches similar to: "Frequency ploygon help"
2004 Mar 24
0
dots in function names
Typing
> plot
shows the source which shows that plot uses UseMethod -- thus
its an S3 generic. Knowing that, issuing:
> methods(plot)
gives a list of methods.
Date: Tue, 23 Mar 2004 18:07:45 -0600
From: Robert W. Baer, Ph.D. <rbaer at atsu.edu>
To: <r-help at stat.math.ethz.ch>
Cc: Paul Murrell <p.murrell at auckland.ac.nz>
Subject: [R] dots in function
2006 May 25
4
Does TMail support Nested Multipart Messages? (Repost)
Hi,
does anybody know if TMail supports nested multipart messages? I read
a changelog that indicates so
(http://dev.rubyonrails.org/svn/rails/trunk/actionmailer/CHANGELOG), but
I haven''t been able to get it working so far.
Maybe I am doing something wrong here?
I attached the sample mail. Here is the code to parse it:
require File.dirname(__FILE__) +
2013 Aug 27
1
[plyr] Moving average filter with plyr
Dear all,
I'm stuck with a problem using plyr to process a rather large junk of data. What I'm trying to do is applying a moving average to all the subparts of the dataframe (the example data can be found here https://dl.dropboxusercontent.com/u/2414056/testData.Rdata).
require(plyr)
load("testData.Rdata")
applyfilter<-function(x){
return(filter(x,rep(1/5, times=5)))
}
2007 Feb 21
3
Examples on how to READ/WRITE to database using R-Project
Hi,
We are working on a project on forecast modeling and would like to know if
there are any examples on how to READ/WRITE to a database (e.g. PostgreSQL)
using R-Project. I do have a sample R Script which takes input as files from
a directory and writes back output files to a directory. I would like to
convert this script to read from a database and write back the output to a
database.
2004 Nov 25
0
Installing gregmisc under windows 2000
If I'm not mistaken, "bundle" is really only useful as a concept for
distribution and installation. You distribute and install a bundle, but
load the individual packages when you want to use them. Once you install
the bundle, you won't see the name of the bundle in the list of installed
packages, but you see the constituent packages, and those are what you load
when you want to
2010 Mar 10
1
expression(), mixed symbols and evaluated objects
Is it possible to mix symbols and evaluated objects inside the expression()
function ?
The following example shows what I am trying to achieve:
for (m in 1:3) {
plot(1:10); #just a place holder for the real plots
title(expression(y = m * lambda));
}
I want to actually evaluate the variable m but keep lambda as a symbol in
the title.
I tried to wrap an eval() around various subparts of
2009 Oct 10
7
SPSS long variable names
Hello guys I am new to this list and for R too.
I am wondering if there is a patch for the SPSS reading code on the
foreign package, in order to be able to read long variable names.
Right now read.spss() just trunc the names to 8 characters.
Or if someone could help me on other way:
I have to process everyday a lot of SPSS Syntax Files and Dat files
that come from one system that can only export
2008 Jan 18
3
Wishlist- Windows Gui (PR#10589)
Full_Name: Robert Baer
Version: 2.6.1
OS: Windows XP
Submission from: (NULL) (198.209.172.95)
It would be wonderful if the CRAN mirror had an easy way to set a "default CRAN
mirror".
Current behavior is to have to choose a CRAN mirror the first time a package is
installed in a session. The closest mirror site is always the same for me, and
I wouldn't wish to change it unless it
2017 Mar 12
1
. Possible issue with R-tools on Windows
I encountered this issue a couple of months ago and resolved it by installing Rtools in the default directory
C:\Rtools, see below for details. I didn't have time to prepare a proper error report and in fact suspected that I may be messing up something.
I tracked down the error by installing from the command line, rather than with install.packages().
On Windows I keep multiple versions of
2011 May 20
5
regression coefficient for different factors
Dear R-helpers,
In my dataset I have two continuous variable (A and B) and one factor.
I'm investigating the regression between the two variables usign the command
lm(A ~ B, ...)
but now I want to know the regression coefficient (r2) of A vs. B for every factors.
I know that I can obtain this information with excel, but the factor have 68 levels...maybe [r] have a useful command.
Thanks,
2012 Oct 09
2
RMySQL install on windows
I have been trying to install RMySQL on Windows 7 following the
procedure at:
http://biostat.mc.vanderbilt.edu/wiki/Main/RMySQL
I think I have properly installed RTools and created a proper
Renviron.site file saying:
MYSQL_HOME="C:/Program Files/MySQL/MySQL Server 5.5"
When I try to install the packages from source, I get warnings that
suggest I'm still not quite "with the
2008 Nov 20
2
[Obo-relations] Discussion summary on "original" biological parts
mejino at u.washington.edu wrote:
>
>
>>> A canonical human body will have canonical parts and those canonical
>>> parts will
>>> have canonical subparts and so on.
>>
>> ... and?
>>
>>> Can't think of anyone who would fit that
>>> description.
>>
>> is this considered an argument for that there cannot possibly an
2009 Dec 02
1
polygon graph
Hi all,
I have a matrix dd with dates and data. i WANT to create a grpah with shade
between the line and the zero axis. I?m trying to use polygon but something
doesn? t work
Imagine.
I want to plot
g<-read.table("dd.txt", col.names=c("fecha","DP"))
g$fecha <- as.Date(g$fecha, format="%d/%m/%Y")
t<-g$fecha
st<-length(g$DP)
2011 Apr 06
1
corSpatial and nlme
I noticed that ?corClasses in package nlme does not list corSpatial among the standard classes. This might either be intentional because corSpatial is not "standard" , or it might be simply an oversight that needs correcting.
------------------------------------------
Robert W. Baer, Ph.D.
Professor of Physiology
Kirksville College of Osteopathic Medicine
A. T. Still University of
2011 Mar 09
1
state.x77 dataset
I tried:
> data(state.x77)
Warning message:
In data(state.x77) : data set 'state.x77' not found
data(iris) seems to work fine, but the other state datasets (which I haven’t every tried before) don’t seem to be available
on my windows 7 running R 2.12.2 installation.
?state brings up the state help page page which suggest the dataset should still be there. In help there still seems to
2017 Sep 30
1
Converting SAS Code
> On 30 Sep 2017, at 14:22 , Robert Baer <rbaer at atsu.edu> wrote:
>
>
>
> On 9/29/2017 3:37 PM, Rolf Turner wrote:
>> On 30/09/17 07:45, JLucke at ria.buffalo.edu wrote:
>>
>> <SNIP>
>>
>>>
>>> The conceptual paradigm for R is only marginally commensurate with
>>> that of
>>> standard statistical
2018 Jul 16
2
persp command
Dear R-devel mailing list,
I am wondering whether the "theta" and "phi" parameters of the "persp"
function
in the graphics commands are named in error (the names seem to have been
swapped). Also, in the documentation to "persp", reference is made to
"colatitude"
when the effect in the image is actually that of "latitude".
Thank you,
2008 Apr 13
1
SPSS to R Data file conversion
I wrote a little routine to convert multiple spss data files (as data frames) to R data files. The code is as follows:
#
list=dir(pattern=".sav")
library(foreign)
for (i in 1:length(list)){
# The saved data frame will be dat
dat=read.spss(list[i],to.data.frame=TRUE)
name=substring(list[i],1,nchar(list[i])-4)
rname=paste("../R/",name,".rda",sep="")
# This
2016 Feb 26
1
Displaying mountables in the error output of guestfish etc
Cédric pointed out this problem we have:
$ guestmount -a /var/lib/libvirt/images/sles12sp1-pv.img -m '/dev/sda1:/:subvol=.snapshots/2/snapshot:btrfs' /mnt
libguestfs: error: mount_vfs: /dev/sda1 on / (options: 'subvol=.snapshots/2/snapshot'): mount: mount(2) failed: No such file or directory
guestmount: '/dev/sda1' could not be mounted.
guestmount: Check mount(8) man page
2011 May 03
3
Watts Strogatz game
Hi,
I have a erdos-renyi game with 6000 nodes and probability 0.003.
g1 = erdos.renyi.game(6000, 0.003)
How to create a Watts Strogatz game with the same probability.
g1 = watts.strogatz.game(1, 6000, ?, ?)
What should be the third and fourth parameter to this argument.
--
View this message in context: http://r.789695.n4.nabble.com/Watts-Strogatz-game-tp3491922p3491922.html
Sent from the R