Displaying 20 results from an estimated 10000 matches similar to: "Learning R"
2009 Nov 17
3
One basic question - combining two conditions
Dear R helpers
Suppose I want to use two conditions
if (x >= 42) and (x<48)
z = 45
else
if (x>= 48) and (x<60)
z = 14
how do use this "and" operator to combine two conditions.
I am sorry as I know for many of you, this is very basic question but I am new to R and trying to learn it as early as possible.
Extremely sorry for this stupid question.
Please guide
Julia
2013 Feb 07
2
The use of R Commander for beginning students and newbies
Everyone:
In the last few months I've noticed an increasing number of questions to
this list from students who are new to the use of R and who have limited (in
any) local support on R and specifically support for R syntax.
My text
(http://www.springer.com/statistics/social+sciences+%26+law/book/978-1-4614-
2133-7) from last year was specific to the use of R syntax but given recent
2010 Apr 19
2
Truncated Normal Distribution and Truncated Pareto distribution
Dear R helpers,
I have a bimodal dataset dealing with loss amounts. I have divided this dataset into two with the bounds for the first dataset i.e. dataset-A being 5,000$ to 100,000$ and the dataset-B deals with the losses exceeding 100,000$ i.e. dataset-B is left truncated.
I need to fit truncated normal disribution to dataset - I having lower bound of 5000 and upper bound of 100,000. While I
2009 Nov 27
2
Overlapping x - axis lables
Dear R helpers
Suppose I am plotting a simple scatter plot where no of paired observations (x,y) are say 100.
month length
1 10
2 12
3 17
4 21
5 13
..........................
..........................
..........................
100 16
when i run the command
plot(month, length)
2009 Nov 24
1
Old Version of R - packages
Hi!
Unfortunately the version loaded on the office server is 2.6.0 (for some undisclosed so called policy decision by my adamant IT dept. who are not willing to upgrade), I need to use YieldCurve package compatible with this version. On my standalone machine I have R 2.9 loaded and hence I have no problem in using the YieldCurve package.
(a) Kindly guide how do I download the version of
2009 Nov 11
1
Polynomial fitting
Dear R helpers
Suppose I have a following data
y <- c(9.21, 9.51, 9.73, 9.88, 10.12. 10.21)
t <- c(0, 0.25, 1, 3, 6, 12)
I want to find out the polynomial which fits y in terms of t i.e. y = f(t) some function of t.
e.g. y = bo + b1*t + (b2 * t^2) + (b3 * t^3) + ...... and so on.
In Excel I have defined y as independent variable, then defined t, t^2 and t^3 and using
2011 Jul 10
3
change legend character size in image.plot
I'm using the image.plot() function (fields package), but I want to enlarge
the characters of the legend (as they are too small to be read in a combined
figure), but there is no way I can find a command to do this. I can enlarge
the legend bar (with legend.witdh), axis character size (cex.axis) or the
total legend size (legend.shrink), but not the character size of the legend
characters
2016 Aug 05
2
What happened to Ross Ihaka's proposal for a Common Lisp based R successor?
Is it conceivable that Julia could be ported to use R syntax in a way that
would allow the vastly larger numbers of R programmers to seamlessly
switch? Or equivalently, could an iteration of R itself do this?
On Fri, Aug 5, 2016, 9:00 AM Hadley Wickham <h.wickham at gmail.com> wrote:
> When it was being actively worked on, it had the advantage of existing.
>
> Hadley
>
> On
2016 Aug 05
1
What happened to Ross Ihaka's proposal for a Common Lisp based R successor?
But you can easily fall back to R from within Julia; see
http://juliastats.github.io/RCall.jl/latest/
On Aug 5, 2016 1:27 PM, "Hadley Wickham" <h.wickham at gmail.com> wrote:
> No.
>
> Hadley
>
> On Fri, Aug 5, 2016 at 11:12 AM, Kenny Bell <kmbell56 at gmail.com> wrote:
> > Is it conceivable that Julia could be ported to use R syntax in a way
> that
2010 Feb 17
0
R in Institutional Research - Institutional Effectiveness (Higher Education)
Everyone:
If you work in Higher Education, in either an office of Institutional
Research or an office Institutional Effectiveness, I'm keen to hear from you
on how you use R, individually or with colleagues.
Why do you use R? Is the cost savings an issue? Do you also maintain a
license to more established packages (e.g., SPSS, SAS, or Minitab)?
Are you encouraged (allowed?) to
2004 Aug 06
2
Stuttering stream
> > What kidn of files are you streaming?
>
> MP3s and nothing but.
Are they high bitrate? VBR? Do they have id3v2 tags? We could all
guess they were mp3s :)
<p>What version of linux? glibc?
Icecast 1.3.11?
jack.
--- >8 ----
List archives: http://www.xiph.org/archives/
icecast project homepage: http://www.icecast.org/
To unsubscribe from this list, send a message to
2018 Mar 21
1
Request For Opinions: what to do about the synthetic statfvs "tweak"?
Hi list,
We have an ancient hack that fuse not
just passes on the statvfs data it's getting
from the storage, but tweaks it by setting
f_bsize / f_frsize to values of its own
preference. [1]
The supposed advantage is that f_bsize
serves as a hint to applications for the
preferred io size. (And regarding f_frsize --
in Linux it's a historical workaround for
certain bugs in userspace[2]
2018 Sep 26
1
Stability and reliability of R (comment on Re: as.vector() broken on a matrix or array of type "list")
With regard to Martin's comment about the strength of (base) R:
I have R code I wrote 15+ years ago that has been used regularly ever since with only a few minor changes needed due to changes in R. Within that code, I find particularly impressive for its stability a simple custom GUI that uses the tcltk package that has needed no updates whatsoever in all that time.
Such stability and
2016 Aug 05
2
What happened to Ross Ihaka's proposal for a Common Lisp based R successor?
Why is the described system preferable to Julia?
On Fri, Aug 5, 2016, 4:50 AM peter dalgaard <pdalgd at gmail.com> wrote:
>
> On 05 Aug 2016, at 06:41 , Andrew Judson <ajskim at gmail.com> wrote:
>
> > I read this paper
> > <https://www.stat.auckland.ac.nz/~ihaka/downloads/Compstat-2008.pdf> and
> > haven't been able to find out what happened - I
2014 Jun 06
1
Rjulia: a package for R call Julia through Julia C API
hello everyone,recently I write a package for R call Julia through Julia C API
https://github.com/armgong/RJulia
now the package can do
1 finish basic typemapping, now int boolean double R vector to julia 1d-array is ok,and julia int32 int64 float64 bool 1D array to R vector is also ok.
2 R STRSXP to julia string 1D array and Julia string array to STRSXP is written but not sure it is correct or
2016 Jun 22
2
[GSoC 2016] Enabling Polyhedral Optimizations in Julia - Midterm Report
Dear Community,
in an earlier post, students working on LLVM were asked to provide a short
report on
their GSoC project. in the following I want to give an overview on the
current status of my
GSoC project and outline my next planned activities. Since my mentoring
organization is Julia,
I also send this to the according mailing list.
*1. Activities so far:*
As described in my proposal [1], I
2014 Aug 13
2
[LLVMdev] Advice for setting debug locations
Hello,
I'm trying to fix a long standing issue we are having in Julia where
when the file information switched, we weren't recording that
correctly, so line information showed up in the wrong file. Basically
we would always create a scope with the DISubprogram and the given
line number. What I tried was to change the scope to be a DIFile
instead so we'd get the correct file
2010 Jul 01
4
possible to plot number line in R?
Hallo!
Is there a possibility to plot a number line in R?
I would like to display 3 different Intervals on the same number line. Ideally, it would be possible to add a name to each number (e.g. Interval 1, lower cut-off...and so on). I have not found a command for this.
Thank you for your help.
Julia
[[alternative HTML version deleted]]
2013 Nov 21
2
[LLVMdev] Building LLVM with asan
Indeed, removing that flag works fine, the only question is why this is
added in tools/llvm-shlib/Makefile in the first place then and what to do
about it:
ifeq ($(HOST_OS), $(filter $(HOST_OS), Linux GNU GNU/kFreeBSD))
# Don't allow unresolved symbols.
LLVMLibsOptions += -Wl,--no-undefined
endif
On Thu, Nov 21, 2013 at 11:53 AM, Alexander Potapenko <glider at
2014 Aug 13
2
[LLVMdev] Advice for setting debug locations
Sorry, I didn't have a small IR example and I was sure I was just
doing something stupid. Thanks for the help, I'll try it out and
report back. Maybe it would be good to add an assertion or something
that tells people what's wrong in this case, since the generated DWARF
seems to be invalid?
On Wed, Aug 13, 2014 at 5:53 PM, David Blaikie <dblaikie at gmail.com> wrote:
> Use