Hi Mike,
Depending upon the flavor of Linux (looks like it's in the RedHat
family) it will usually start by running the command "R" in a
terminal. What does:
which R
say? Then look in the startup file (often in /usr/local/bin) for the
R_HOME directory.
Jim
On Tue, Sep 20, 2016 at 9:38 AM, Mike
I have successfully installed R on my AWS EC2 r3.8 box running Linux with
>sudo yum install -y R
However, I cannot find R anywhere (which I want for the sake of tar'ing it up
and decompressing to make future installations easier.) For example,
> rpm -ql R
Says there is nothing to show.
Does a
Hi, all
I am just beginner to use R.
I am working with TIF image file, and the information about the raster is
following:
class : RasterLayer
dimensions : 11150, 21808, 243159200 (nrow, ncol, ncell)
resolution : 30, 30 (x, y)
extent : 569685, 1223925, 1513995, 1848495 (xmin, xmax,
What do you think?
This is covered in the Introduction to R document that comes with R.
--
Sent from my phone. Please excuse my brevity.
On September 19, 2016 8:37:30 PM PDT, John wrote:
>Hi,
>
> I have the following dataframe:
>
>> temp<-data.frame(a=c(1,1,2), b=2:4, c=1:3)
>> row.names(temp)
Hi,
I have the following dataframe:
> temp<-data.frame(a=c(1,1,2), b=2:4, c=1:3)
> row.names(temp)<-c("D", "E", "F")
> temp
a b c
D 1 2 1
E 1 3 2
F 2 4 3
I would like R to tell me which rows has value "a" equal to 1. The
answer is the first row and the second row, or row D and row E. Whi
On Mon, 19 Sep 2016 12:25:08 +
"Muhammad Kashif" wrote:
> Dear Ellison
>
> yes its working but if i want to replaced the any value in the the
> output . e.g i want to replace 0.65 with 10. then what i do
>
Save the data as a CSV file. Edit the file with a basic ascii text
editor (these da
> How can I get the axis numbering and labels to not overlap? I could also
Try specifying las=2 in your plot command?
See ?plot.default and ?par
S Ellison
***
This email and any attachments are confidential. Any use...{{dropped:8}}
Hi mviljamaa,
Have a look a the twoord.plot function in the plotrix package.
Jim
On Tue, Sep 20, 2016 at 1:50 AM, mviljamaa wrote:
> I'm trying to plot two data sets on the same plot by using par(new=TRUE).
>
> However this results in the axis numbering and labels being plotted twice as
> seen
> On Sep 19, 2016, at 8:50 AM, mviljamaa wrote:
>
> I'm trying to plot two data sets on the same plot by using par(new=TRUE).
>
> However this results in the axis numbering and labels being plotted twice as
> seen in the following picture:
>
> http://i.imgur.com/4b1sNIc.png
>
> How can I get
This looks like homework. We don't do homework here (if we can avoid
it). Ask your prof/TA for help.
Cheers,
Bert
Bert Gunter
"The trouble with having an open mind is that people keep coming along
and sticking things into it."
-- Opus (aka Berkeley Breathed in his "Bloom County" comic strip )
Input1: A list of distinct numbers,L1
Input2: A single number, T
Output all combinations of L1 that can yield T using +,-,*,/.
eq:
L1=[4,5,2,3] and T=6. Output: [2*3],[2+4],[5+3-2],[3*4/2] . all other
combinations.
[[alternative HTML version deleted]]
___
Take a look at what
plot(1:10, yaxt='n', xaxt='n')
does. Then study the help page for the par function, i.e.,
?par
See also
?axis
-Don
--
Don MacQueen
Lawrence Livermore National Laboratory
7000 East Ave., L-627
Livermore, CA 94550
925-423-1062
On 9/19/16, 8:50 AM, "R-help on behalf o
You desperately need to read the Posting Guide mentioned at the bottom of every
posting on this list. Avoid attachments (your code did not come through), keep
sample data size minimal, don't reply to other topic messages (start a fresh
email thread so your message doesn't get buried in other peo
I'm trying to plot two data sets on the same plot by using
par(new=TRUE).
However this results in the axis numbering and labels being plotted
twice as seen in the following picture:
http://i.imgur.com/4b1sNIc.png
How can I get the axis numbering and labels to not overlap? I could also
manag
> yes its working but if i want to replaced the any value in the the output .
> e.g i
> want to replace 0.65 with 10. then what i do
Read "An introduction to R" in your R help system (help.start() if you cannot
find the menu item). Section 2 and particularly 2.7 is essential reading for
what yo
Oh yes, completely forgot about partial parsing. One possible (quick)
solution:
txt <- "print(2); bar <- \"don't ; use semicolons\"; foo <- '3;4'; ls("
sf <- srcfile("txt")
tryit <- tryCatch(parse(text = txt, srcfile = sf), error = identity)
gpd <- getParseData(sf)
pos <- c(0, gpd$col1[gpd$token =
> Do you mean that the red line is a regression line?
> Why is the regression (line) weighted?
I suggest you look up 'locally weighted regression' to find out why that is
useful and what it is for.
***
This email and any attachmen
Hi,
I'm Najad, a student at the University of Glasgow. I really need help with a
script of mine to plot density plot for my data. I kept on having an error
saying need at least 2 points to select a bandwidth automaticallyI've tried to
replace the NaN in my data to zero but still the same. I'm no
Hi
> -Original Message-
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of
> Muhammad Kashif
> Sent: Monday, September 19, 2016 2:25 PM
> To: S Ellison ; r-help@r-project.org
> Subject: Re: [R] add outlier in data set
>
> Dear Ellison
>
> yes its working but if i want to rep
Do you mean that the red line is a regression line?
Why is the regression (line) weighted?
On 2016-09-19 14:41, S Ellison wrote:
What are the red line and cut line in lm's Residuals vs Fitted plot?
The dotted line is at 0 and the red line is a locally weighted
regression calculated using lowess
Dear Ellison
yes its working but if i want to replaced the any value in the the output . e.g
i want to replace 0.65 with 10. then what i do
From: S Ellison
Sent: Monday, September 19, 2016 5:15:20 PM
To: Muhammad Kashif; r-help@r-project.org
Subject: RE: add out
> Heyy I want to apply LASSO method in AFT model. So can you guys please help
> me by sending R code for that.
Try
help.search("LASSO")
or
RSiteSearch("LASSO")
or Google "LASSO method in AFT using R"
There are leads in both.
S Ellison
*
On 19/09/2016 7:59 AM, Adrian Dușa wrote:
On Sun, Sep 18, 2016 at 12:34 AM, Peter Langfelder <
peter.langfel...@gmail.com> wrote:
> On Sat, Sep 17, 2016 at 2:12 PM, David Winsemius
> wrote:
> > Not entirely clear. If you were intending to just get character output
> then you could just use:
> >
> I have one question that how we add one or more outliers in the data set.
See ?c to add values to a vector.
S Ellison
***
This email and any attachments are confidential. Any use...{{dropped:8}}
__
dear r users
I have one question that how we add one or more outliers in the data set.
For example if we generate data set from Weibull distribution using function
n=10
k<-rweibull(n, shape=2.5, scale = 1.3)
k
the output is
> k
[1] 0.6507619 0.6229385 1.6838931 1.1661324 0.4907947 1.341
On Sun, Sep 18, 2016 at 12:34 AM, Peter Langfelder <
peter.langfel...@gmail.com> wrote:
> On Sat, Sep 17, 2016 at 2:12 PM, David Winsemius
> wrote:
> > Not entirely clear. If you were intending to just get character output
> then you could just use:
> >
> > strsplit(txt, ";")
>
> You would want t
Dear members of the R-project
I am doing a mixed stock analysis with the Mixstock Package in R, at the end of
the analysis I would summarize all my results (mean, standard deviation,
median, percentile, etc...) using the mysum(x, name=NULL) function, but I don't
understand which is the correct
Dear all,
for a project I want to calculate cancer incidence rates by decades
(0-20,20-30,30-40,..,70-80).
I have left truncated data, my Surv object has the form
Surv(time=age,time2=age2, event, type="counting").
I tried different ways to get results for n, events, and person-years, but the
r
Hi,
for my question please browse below url,thanks in advance .
url :
http://community.plot.ly/t/how-to-plot-and-present-the-multiple-values-whenever-user-placed-mouse-on-point-it-using-plotly-and-ggplot2/2139?u=manohar
Manu.
[[alternative HTML version deleted]]
__
> What are the red line and cut line in lm's Residuals vs Fitted plot?
The dotted line is at 0 and the red line is a locally weighted regression
calculated using lowess and plotted using panel.smooth.
See ?panel.smooth and ?lowess for details
The main clue to this is in the arguments to ?plot.l
30 matches
Mail list logo