Hello, Gregory,
for your first data set see
?read.table
and for you second
?read.fwf
may help solving your problem.
Hth -- Gerrit
On Thu, 3 Mar 2011, Gregory Ryslik wrote:
Hi,
I seem to be having somewhat of an unusual data input problem with some
of the data sets I'm working with
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org]
On Behalf Of P Ehlers
Sent: Wednesday, March 02, 2011 10:29 PM
To: LouiseS
Cc: r-help@r-project.org
Subject: Re: [R] Creating a weighted sample - Help
LouiseS wrote:
Hi
I'm new to R
Hi,
Trying to create a POSIXct index for an xts object that will display the
POSIXct index as HH:MM:SS.MMM.
First of all, I am trying to get the as.POSIXct to work with format...
as.POSIXct(paste(2011-03-02 09:00:00.000, sep=), tz=EST,
format=%H:%M:%OS3)
[1] NA
Why is this returning NA ?
I
The y object within the loop returns a list and you are trying to put the
first row of the 2nd column of the list (which refers to a vector of length 1
to i) into the object z, which is vector. I am not sure at all what you are
trying to end up with.
Scott
On Wednesday, March 2, 2011 at 9:19
Hi R-helpers,
I have saved my kmeansModel as a pmml using the PMML package in R using the
following commands.
library(pmml)
pmml(kmeansModel)
I have to import this saved pmml model and save it in a kmeansModel again.
Can you please let me know the R commands to do that?
Thanks,
Raji
--
View
On Sat, 26-Feb-2011 at 08:46AM -0800, Ridgeway, Greg wrote:
| I have heard about this before happening on other
| platforms. Frankly I'm not positive how this happens. My best guess
| is that there's a tiny bit of numeric instability in the 9+ decimal
| place so that on a given iteration a one
On 03/03/2011 01:13 AM, Laura Clasemann wrote:
Hi,
I have a table in R with data I needed and need to create a contingency table
out of it. The table I have so far looks like this:
Binger
r
DietType No Yes
Dangerous 15 12
Healthy52 9
None 134
Hi R users,
I request members of the R community to consider filling a short survey
regarding the use of R.
The survey can be found at http://goo.gl/jw1ig
Please accept my apologies for posting here for a non-technical reason.
The data collected will be suitably analyzed and I'll post a link to
On Wed, Mar 2, 2011 at 11:04 PM, rivercode aqua...@gmail.com wrote:
Hi,
Trying to create a POSIXct index for an xts object that will display the
POSIXct index as HH:MM:SS.MMM.
First of all, I am trying to get the as.POSIXct to work with format...
as.POSIXct(paste(2011-03-02 09:00:00.000,
Dear Community,
For my masters thesis I need to perform a multivariate granger causality
test. I have found a code for bivariate testing on this page
(http://www.econ.uiuc.edu/~econ472/granger.R.txt), which I think would not
be useful for the multivariate case. Does anybody know a code for a
Hi,
I wish to develop a web crawler in R. I have been using the functionalities
available under the RCurl package.
I am able to extract the html content of the site but i don't know how to go
about analyzing the html formatted document.
I wish to know the frequency of a word in the document. I am
Dear R helpers,
I know R language at a preliminary level. This is my first post to this R
forum. I have recently learned the use of function and have been successful
in writing few on my own. However I am not able to figure out how to apply
the function to multiple sets of data.
# MY QUERY
Can anyone help?
Thanks in advance Emma
--
View this message in context:
http://r.789695.n4.nabble.com/more-boa-plots-questions-tp3330312p016.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
Dear R users.
In a loop, I set the title of my graph with :
mytitle = expression(paste(delta^13,'C Station ', i)
title(mytitle)
However, instead of using value of i, it will literally use i character.
Any one know the way to concatenate the value of i to the mathematical
Hi
Thanks for responses. The sample I have taken is a random sample from H, I,
J and K. The further analysis I want to do is all around bad debt rates so
it could be (H/H+I)*100 = Bad rate percentage also population stability
calculations that are all related to credit scoring. I want to be
Good day to the R community,
I am interested to run the plot.count() function in the untb package.
My script is as follows:-
library(untb)
Community1 -
structure(c(371,167,119,78,74,53,50,31,28,25,20,19,19,17,13,12,12,10,
Perl seems like a 10x better choice for the task, but try looking at the
examples in ?strsplit to get started.
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of antujsrv
Sent: Thursday, March 03, 2011 4:23 AM
To:
Can anyone confirm the formula for the m out of n bootstrap variance
estimator? rq.boot applies a deflation factor directly to the
bootstrap estimates. Presumably, the SE of the estimate of interest
is then taken to be the SD of the deflated estimates. I have read
Bickel's and others' papers on
On Mar 3, 2011, at 4:22 AM, antujsrv wrote:
I wish to develop a web crawler in R.
As Rex said, there are faster languages, but R string processing got better due
to the stringr package (R Journal 2010-2). When Hadley is done with it, it
will be like having it all in R!
-- Alexy
mytitle = parse(text=paste(expression(paste(delta^13,'C Station ',,i,
title(mytitle)
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Filoche
Sent: Thursday, March 03, 2011 8:16 AM
To: r-help@r-project.org
Subject: [R] Greek
Harsh, Suitably analyzed for whose purposes? One man's suitable is
another's outrageous. That's why people want to see the gowns at the Oscars.
Under what auspices are you conducting this survey? What do you intend to do
with it? You don't give any assurance that the results you post won't
Dear Hazzard I. Petzev,
you might find causality() in the package vars useful.
Best,
Bernhard
-Ursprüngliche Nachricht-
Von: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] Im Auftrag von hazzard
Gesendet: Donnerstag, 3. März 2011 10:07
An: r-help@r-project.org
Dear all,
I've used RODBC a lot to read in files created in MS excel and access but
found a strange problem today: a variable in my data file contained both
numbers and text; sqlFetch would set text within a row of numbers to NA; but
if first 5 or 6 rows would be text then all numbers would be
Hi Kenn,
This is discussed in the package vignette, section 7.
Best,
Ista
On Thu, Mar 3, 2011 at 2:55 PM, Kenn Konstabel lebats...@gmail.com wrote:
Dear all,
I've used RODBC a lot to read in files created in MS excel and access but
found a strange problem today: a variable in my data file
Hallo everyone,
I want to evaluate the change of the distribution for several size classes.
How can i order these separate histograms with the same y-axis along a
common x-axis according to their size classes. It would like it to look a
bit like this
Dear all,
I am a newbie in R and could not find help on this problem. I am trying to
plot an histogram with probabilities in the y axis. This is the code I am
using:
#TLC uniform
n=30
mi=1; mx=6
nrep=1000
xbar=rep(0,nrep)
for (i in 1:nrep) {xbar[i]=mean(runif(n,min=mi,max=mx))}
Date: Thu, 3 Mar 2011 01:22:44 -0800
From: antuj...@gmail.com
To: r-help@r-project.org
Subject: [R] Developing a web crawler
Hi,
I wish to develop a web crawler in R. I have been using the functionalities
available under the RCurl package.
I am able to extract the html content of
Hi Rex and useRs,
The purpose of the survey has been mentioned on the survey link goo.gl/jw1ig
but I will also reproduce it here.
- Geographical distribution of R users
- Application areas where R is being used
- Supporting technology being used along with R
- Academic background distribution of
Hi,
I have a very similar problem...
In some sites, counts data0
In the other sites, counts = 0
I already applied zero inflated models with the zero-trick (Martin et al
2005 in Ecology letters), but I would like to use truncated distributions
(Poisson and negative binomial) to model my counts in
Hi and ty for the answer.
However, it's not working. It will print expression(d13C Station 1).
Thank for any help,
Phil
--
View this message in context:
http://r.789695.n4.nabble.com/Greek-character-and-R-tp304p467.html
Sent from the R help mailing list archive at Nabble.com.
Hi,
It might not be the best approach, but here is what I would do.
##
1) If you have your data in 3 different data.frames:
#create a named list where each element is one of your data.frame
list_df - vector(mode=list, length=3)
names(list_df) - c(Bank, Corporate, Sovereign)
On 11-03-03 8:15 AM, Filoche wrote:
Dear R users.
In a loop, I set the title of my graph with :
mytitle = expression(paste(delta^13,'C Station ', i)
title(mytitle)
However, instead of using value of i, it will literally use i character.
Any one know the way to concatenate the
Eval it. This works at my house:
plot(0)
title(eval(parse(text=paste(expression(paste(delta^13,'C Station ',,i,))
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of Filoche
Sent: Thursday, March 03, 2011 9:39 AM
To:
Just out of curiosity : It is possible to get name, employer name, location,
usage information and academic background details when searching for R users on
LinkedIn and the many R related groups there.
Does this also provide potential opportunities for misuse and outrageous
analyses, since
If you read ?hist, you will answer your own question.
The issue in your code is the parameter prob = T, which does nothing. By
default, hist reports density.
--
Jonathan P. Daily
Technician - USGS Leetown Science Center
11649 Leetown Road
Kearneysville WV,
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org] On Behalf Of Duncan Murdoch
Sent: Thursday, March 03, 2011 7:30 AM
To: Filoche
Cc: r-help@r-project.org
Subject: Re: [R] Greek
Hi
Does anybody know anything about an implementation of an AHP in R or
any other open source tool?
I googled but could not find anything
Thanks,
Rainer
--
NEW GERMAN FAX NUMBER!!!
Rainer M. Krug, PhD (Conservation Ecology, SUN), MSc (Conservation
Biology, UCT), Dipl. Phys. (Germany)
Our New York City course: Advanced Statistical Modelling in R/S-PLUS
is coming up on March 14-15
http://www.xlsolutions-corp.com/coursedetail.asp?id=13
by XLSolutions Corp
Email s...@xlsolutions-corp.com
Regards -
Sue Turner
Senior Account Manager
XLSolutions Corporation
North
On Mar 3, 2011, at 8:03 AM, jpmaroco wrote:
Dear all,
I am a newbie in R and could not find help on this problem. I am
trying to
plot an histogram with probabilities in the y axis. This is the code
I am
using:
#TLC uniform
n=30
mi=1; mx=6
nrep=1000
xbar=rep(0,nrep)
for (i in 1:nrep)
Hi Josh,
Thanks for your reply. You're right about letting R's method dispatch system
choose the method for summary and inserting more spaces in the code. I was just
messing around with the code in the former case and forgot to change it back.
As far as not having enough whitespace goes, I've
Dear community,
I'm doing a lm. In the independent variables I've got a categorical one.
Here is its histogram:
http://r.789695.n4.nabble.com/file/n638/altitude.png
I did this regression:
lmeo2.52f - lm(dat82$IncAltuDom ~ dat82$hdom2+log(dat82$CV)+ dat82$CA+
dat82$FCC+
You could get close with the ggplot2 package using the function facet_grid or
facet_wrap, but each histogram would be on a separate x-axis
Scott
On Thursday, March 3, 2011 at 8:00 AM, djbirdnerd wrote:
Hallo everyone,
I want to evaluate the change of the distribution for several size
Dear R- Community,
to learn i reanalysed some data provided and analysed by Zuur et. al. in
their book Mixed effect models and Extensions in Ecology with R. When
i run the last command i get a warning message i dont understand.
Loyn- read.table(file = loyn.txt,header = TRUE)
Loyn$L.AREA-
Beware that causality can only be inferred using information that extends far
beyond the data at hand.
Frank
-
Frank Harrell
Department of Biostatistics, Vanderbilt University
--
View this message in context:
Hi
The book whose companion website is here
http://www.linguistics.ucsb.edu/faculty/stgries/research/qclwr/qclwr.html
deals with many of the things you need for a web crawler, and
assignment other 5 on that site
(http://www.linguistics.ucsb.edu/faculty/stgries/research/qclwr/other_5.pdf)
is a web
On Thu, 3 Mar 2011, Timothée wrote:
Hi,
I have a very similar problem...
In some sites, counts data0
In the other sites, counts = 0
I already applied zero inflated models with the zero-trick (Martin et al
2005 in Ecology letters), but I would like to use truncated distributions
(Poisson and
or even without using 'paste'
plot(1,1,main=bquote(delta^13~'C Station'~.(i)))
Am 03.03.2011 16:45, schrieb William Dunlap:
Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com
-Original Message-
From: r-help-boun...@r-project.org
[mailto:r-help-boun...@r-project.org]
Dear David,
Thanks for your prompt reply.
I see your point. But how can I get a histogram with relative frequencies? If I
use
plot(xhist,yhist)
I get absolute frequencies in the Y axis.
Best,
Joao
From: David Winsemius [via R]
[mailto:ml-node+619-1272092771-215...@n4.nabble.com]
Hi,
I am calling a function with different arguments to read different files and
want the results to be stored in
different matrices.
Ex:
cData1 = NULL
cData2 = NULL
readData = function(cData, start, end)
{
cData = //reads from the file
}
I am calling the functions using
On Mar 3, 2011, at 10:12 AM, kparamas wrote:
Hi,
I am calling a function with different arguments to read different
files and
want the results to be stored in
different matrices.
Ex:
cData1 = NULL
cData2 = NULL
readData = function(cData, start, end)
{
cData = //reads from the
On Mar 3, 2011, at 10:29 AM, jpmaroco wrote:
Dear David,
Thanks for your prompt reply.
I see your point. But how can I get a histogram with relative
frequencies? If I use
plot(xhist,yhist)
I get absolute frequencies in the Y axis.
I do not know of any simple setting to do what you
On Mar 3, 2011, at 10:29 AM, jpmaroco wrote:
Dear David,
Thanks for your prompt reply.
I see your point. But how can I get a histogram with relative
frequencies? If I use
plot(xhist,yhist)
I get absolute frequencies in the Y axis.
In my earlier reply I meant to type yaxt=n.
--
Hi,
Does
xx = rnorm(100)
hist(xx,freq=FALSE)
curve(dnorm,add=TRUE)
give you what you want?
Martyn
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On
Behalf Of David Winsemius
Sent: 03 March 2011 17:00
To: jpmaroco
Cc: r-help@r-project.org
Hi:
You need the second variable in D1 to be named fGRAZE - the variable names
in the newdata data frame (D1) have to be the same as the variable names on
the RHS of the model formula, in this case L.AREA and fGRAZE.
HTH,
Dennis
On Thu, Mar 3, 2011 at 7:43 AM, Heike Schmitz
Dear R help list,
I have a plot with two different vertical scales that I want to display
on either side of the plot. It's quite similar to the
Fahrenheit-Centigrade example in the examples section of the
documentation for axis.default.
The right-side axis is clipped off, though, and I
print(my_plot(example_data, ylab.right=expression(e==mc^2)),
position=c(0,0,.95,1))
You will need a recent R version for the ylab.right argument.
On Thu, Mar 3, 2011 at 12:52 PM, Timothy W. Hilton hil...@meteo.psu.eduwrote:
Dear R help list,
[[alternative HTML version deleted]]
Hi:
Here's an example:
x - rnorm(300)
hist(x, breaks = 15, yaxt = 'n', ylab = 'Relative frequency')
axis(2, at = seq(0, 50, by = 10), labels = round(seq(0, 50, by =
10)/length(x), 3))
HTH,
Dennis
On Thu, Mar 3, 2011 at 8:29 AM, jpmaroco jpmar...@gmail.com wrote:
Dear David,
Thanks for your
Many thanks, Richard -- the position argument does exactly what I
needed. I'm not having any luck with the ylab.right argument. My R and
lattice are up to date (below); is there something else I should check?
Thanks for the help,
Tim
sessionInfo()
R version 2.12.2 (2011-02-25)
Platform:
--
Gul dusununen gul bahcesi, diken dusunen dikenlik olurMevlana
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On Behalf Of LouiseS
Sent: Thursday, March 03, 2011 5:21 AM
To: r-help@r-project.org
Subject: Re: [R] Creating a weighted sample - Help
Hi
Thanks for responses. The sample I have taken
Jon,
if I did understand you correctly the problem is that you did not
specify the newdata argument in posterior() correctly. You need to
specify it in way such that evaluating the formula uses the correct
object. If you have a matrix as dependent variable, you have to use a
list which
Hello,
I have a question about the y-axis of plots. Actually I had about 60
values. About 80 percent of these values are less than 0.2, then the other
20 percent values are more than 4,max is 10. So when I plot these values
together, the y-axis's range will go 0 to 10, and my major values (80%
What you might need to do is create a character string with your formula in it
(looping through pairs of variables and using paste or sprint) then convert
that to a formula using the as.formula function.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
You probably want to use the gap.plot function in the plotrix package.
--
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111
-Original Message-
From: r-help-boun...@r-project.org [mailto:r-help-bounces@r-
project.org] On
Dear expeRts,
How can I increase the space between the ticks and the labels in the wireframe
plot
below? I tried some variations with par.settings=list(..) but it just didn't
work.
Many thanks,
Marius
library(lattice)
u - seq(0, 1, length.out=20)
grid - expand.grid(x=u, y=u)
z -
On Thu, Mar 3, 2011 at 4:09 PM, yan liu yanliu...@gmail.com wrote:
Hello,
I have a question about the y-axis of plots. Actually I had about 60
values. About 80 percent of these values are less than 0.2, then the other
20 percent values are more than 4,max is 10. So when I plot these values
The merge command is creating duplicate column names in a dataframe
that is the result of the merge. The following is the 'merge'
command:
x - merge(invType
, allocSlots
, by.x = 'index'
, by.y = 'indx'
, all.x = TRUE
)
The 'invType' dataframe was the result of a previous
On Mar 3, 2011, at 1:49 PM, Kumaraguru Paramasivam wrote:
Hi,
I tried this approach.
cdata_1_1_3 - readData(cData1,1,3)
cdata_2_4_7 - readData(cData2,4,7)
Its still not working. The result I get is NULL.
Then the function (which you have not provided) is faulty, but there
is not way we
Em 3/3/2011 12:00, djbirdnerd escreveu:
Hallo everyone,
I want to evaluate the change of the distribution for several size classes.
How can i order these separate histograms with the same y-axis along a
common x-axis according to their size classes. It would like it to look a
bit like this
Hi, I have multiple (6) data sets which I would like to plot together on one
scatter graph. The reason they are all separate is that I require a
different symbol to be plotted for each set. Could somebody advise on how to
do this?
Many thanks,
Joe
--
View this message in context:
I'm trying to do something very simple...
I wan to plot a histogram where the y axis represent the percentage of the
total sample that each bin represents.
I know how to plot a histogram with the counts and density... but can't find
anything that gives me perenct of sample on the y axis.
Any
On 03/03/2011 08:07 AM, Mike Marchywka wrote:
Date: Thu, 3 Mar 2011 01:22:44 -0800
From: antuj...@gmail.com
To: r-help@r-project.org
Subject: [R] Developing a web crawler
Hi,
I wish to develop a web crawler in R. I have been using the functionalities
available under the RCurl package.
Hello,
I have seen instructions on how to embed Latex Computer Modern fonts into R,
but these are the default serif fonts. I am trying to embed the default font
used for Latex beamer (theme Warsaw), which is a sans serif font and may be the
default LateX Computer Modern sans serif font.Does
Hi Martin,
No, I get frequencies greather than 1.
See the code:
#TLC uniform
n=30
mi=1; mx=6
nrep=1000
xbar=rep(0,nrep)
for (i in 1:nrep) {xbar[i]=mean(runif(n,min=mi,max=mx))}
hist(xbar, freq=FALSE)
#hist(xbar,prob=TRUE,breaks=Sturges,xlim=c(1,6),main=paste(n =,n),
xlab=Média,
On Mar 3, 2011, at 12:44 PM, leinwand wrote:
I'm trying to do something very simple...
I wan to plot a histogram where the y axis represent the percentage
of the
total sample that each bin represents.
I know how to plot a histogram with the counts and density... but
can't find
anything
Hi,
I tried this approach.
cdata_1_1_3 - readData(cData1,1,3)
cdata_2_4_7 - readData(cData2,4,7)
Its still not working. The result I get is NULL.
Thanks,
Kumar
On Thu, Mar 3, 2011 at 9:50 AM, David Winsemius dwinsem...@comcast.netwrote:
On Mar 3, 2011, at 10:12 AM, kparamas wrote:
Hi,
Hello,
my question is triggered by an actual model I am running, but I will
pose it as a very general question with a hypothetical example.
Take the following regression model:
I have a binomial dependent variable Happiness, whose two values are
0 (=unhappy) and 1 (=happy). My two independent
Could you please take my email off the help center? Thank you very much.
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Hi R helpers,
I'm trying to create a count in R , but as there is no retain function like
in SAS I'm running into difficulties.
I have the following :
Date_var and wish to obtain Date_var
Count_var
01/01/2011
I've got some data in proportional format which has a set maximum value of
0.5 and I want to know how to normalise it.
I've calculated a lateralisation index to determine whether an organism
deviates from an equal number of left and right turns within a trial (as
opposed to measuring the
I am running a PCA, but would like to rotate my data and limit the
number of factors that are analyzed. I can do this using the
principal command from the psych package [principal(my.data,
nfactors=3,rotate=varimax)], but the issue is that this does not
report scores for the Principal
You need to unsubscribe using the same method you use to subscribe
go to the webpage for the list and log in with the password you set.
If all you wnat to stop is the mailing, you can do so without
unsubscribing.
On Mar 3, 2011, at 3:09 PM, Bobby Lee wrote:
Could you please take my
Thanks greg,
that formula was exactly what I was looking for. Except now when I
run it on my data I get the following error:
Error in model.matrix.default(mt, mf, contrasts) : cannot allocate
vector of length 2043479998
I know there are probably many 2-way interactions that are zero so I
Use cumsum() to count the change points:
Date_var - as.Date(rep(c(2011-02-04,2011-02-07,2011-01-29),
c(2,3,1)))
data.frame(Date_var, count=cumsum(c(TRUE,
Date_var[-1]!=Date_var[-length(Date_var)])))
Date_var count
1 2011-02-04 1
2 2011-02-04 1
3 2011-02-07 2
4 2011-02-07 2
5
Thanks for getting back to me so quickly greg. Im not quite sure how
to do what you just said, is there an example that you can show?
I understand how to create the string with a formula in it but im not
sure how to loop through the pairs of variables? How do I first get
these 2way interaction
Hi Joe,
The easiest option will be to combine all 6 datasets (at least the
variables you want to use in your scatter plot), and then create
another variable that indicates to which group the observations
belong. Here is a small example of what you might do once your data
are all together
On Mar 3, 2011, at 3:58 PM, JonC wrote:
Hi R helpers,
I'm trying to create a count in R , but as there is no retain
function like
in SAS I'm running into difficulties.
Your data is not cut-pastable as presented but this should work:
dfrm$count_var - ave(as.numeric(dfrm$Date_var),
You can probably simplify this if you can assume that the dates are in sorted
order. Here is a way of doing it even if the days are in arbitrary order. The
count refers to the number of times that this date has appeared so far in the
sequence.
con - textConnection(
01/01/2011
01/01/2011
I also would like to stop the mailing, without unsubscribing myself from the
help center.
How can I proceed?Thanks
Lorenza
Da: r-help-boun...@r-project.org [r-help-boun...@r-project.org] per conto di
David Winsemius [dwinsem...@comcast.net]
Inviato:
Hi,
I am plotting degree distribution of a graph using the function,
library(igraph)
dd1 = degree.distribution(G)
plot(dd1, xlab = degree, ylab=frequency)
I would like to plot the mean of the distribution as a vertical line in the
attached plot.
Please let me know how to do this.
Thanks,
To clarify the trouble I'm having with ylab.right, I am not getting an
error message; the right-side label just does not appear on the plot.
-Tim
On Thu, Mar 3, 2011 at 1:50 PM, Timothy W. Hilton hil...@meteo.psu.eduwrote:
Many thanks, Richard -- the position argument does exactly what I
why didn't work? What was the error, or why did you assume there was an error?
Can you clarify.
Sent from my iPad
On Mar 1, 2011, at 17:50, Tamas Barjak tamas.barja...@gmail.com wrote:
Yes, the format is incorrect. I have already tried the write.table, but it
didn't work.
2011/3/1
Marius Hofert wrote:
Dear expeRts,
How can I increase the space between the ticks and the labels in the wireframe
plot
below? I tried some variations with par.settings=list(..) but it just didn't
work.
Marius,
I tried setting the 'distance' parameter, but that was less
than satisfactory.
Timothy W. Hilton wrote:
To clarify the trouble I'm having with ylab.right, I am not getting an
error message; the right-side label just does not appear on the plot.
Maybe this is mac-specific. On Windows, the label shows up
just fine. You might be able to make it appear by adjusting
the
Hi Shari,
Yes, please look at the documentation for principal. You can access
this (assuming you have loaded psych) by typing at the console:
?principal
note the logical argument scores.
Here is a small example:
##
require(psych)
require(GPArotation)
dat -
I went to try your suggestion, and the label appeared without the vjust
argument. I usually run R within emacs using ESS; I happened to restart
my emacs earlier today. That's the only thing I can think of that I
changed. Next time I'll try running R outside of emacs before asking
for help.
No. That's not answering the question. ALL surveys are for collecting
information.
The substantive issue is what purpose do you have in seeking this information
in the first place and what are you going to do with it when you get it?
Do you have some commercial purpose in mind? If so, what
Perhaps somebody could clarify for me if the following is a floating
point matter or otherwise, and how am I to correct for it?
floor(100*.1)
[1] 10
100*(1.0-.9)
[1] 10
floor(100*(1-0.9))
[1] 9
Thanks!
Michael
___
Michael Folkes
Salmon
Bill, I addressed the first issue with the data frames and length(x). But my
loops still isn't working. More importantly, you commented that I should be
using if(...) ... else ... rather than ifelse(.,.,).
Please help me understand the difference. I thought ifelse was just a faster
way of doing
library(igraph)
G - erdos.renyi.game(1000, 1/1000) # a random graph
dd1 = degree.distribution(G)
plot(dd1, xlab = degree, ylab=frequency)
abline(h = mean(dd1)) # the mean would be a horizontal line
On Thursday, March 3, 2011 at 4:43 PM, kparamas wrote:
Hi,
I am plotting degree
1 - 100 of 113 matches
Mail list logo