too large for all labels to display given the large number of
bars. The cex* family of graphic parameters can be helpful. See the arguments
in ?barplot and in ?par for more information.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSU
- seq(from = -5, to = 5)
barplot(z, col = ifelse(z > 0, "brown", "green"))
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE d
function call.
However, the true source code is available via the package source tarball
(.tar.gz file) on CRAN:
https://cran.r-project.org/web/packages/jvnVaR/index.html
The tarball will include any comments/annotations in the code and the source
for any compiled code t
present, there is no indication that 3.3.1 is in the R build queue, which
can be viewed at:
https://bodhi.fedoraproject.org/updates/?packages=R
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat
Hi,
Just to augment Bert's comments, I presume that you are aware of the relevant R
FAQ:
https://cran.r-project.org/doc/FAQ/R-FAQ.html#Why-doesn_0027t-R-think-these-numbers-are-equal_003f
That you had an expectation of the difference being 0 suggested to me that you
might not be, but my
ight try to select a different CRAN mirror, including one that is not
secure http (regular http:// URL) to see if that works.
Also, note that the version of R that you are running (3.0.2) is from Sep of
2013, so quite dated. The current version is 3.3.1, which was just released
this month.
Regards,
Marc S
order, column types), it may be prudent to do your own pre-allocation of a data
frame that is the target row total size and then "insert" each "sub" data frame
by using row indexing into the target structure.
Regards,
Marc Schwartz
> On Jun 27, 2016, at 11:54 AM,
splay by the associated print method for the
object class, you can modify things to fit your need by creating, if need be,
your own functions to modify the required part or parts of the object itself
and then output them.
If you want to understand what summary.glht() is doing, take
ccordingly. Would really appreciate
> your help on this. Thanks in advance
> --
> Syeda Sana Fatima
Hi,
Shiny is a third party application that has its own dedicated support vehicles
at:
http://shiny.rstudio.com/help/
You should leverage
edition on Amazon.com
would suggest that it was removed for the second edition.
Regards,
Marc Schwartz
> On Jun 21, 2016, at 8:29 PM, Ashim Kapoor <ashimkap...@gmail.com> wrote:
>
> I am reading the book An R and S plus companion to Applied Regression and I
> f
l/r-help/2009-January/378521.html
If memory serves, that code has made its way into one or more packages on CRAN
but I don't recall which at the moment.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https
package and is not indicated as being a dependency
for aplpack.
Regards,
Marc Schwartz
> On Jun 9, 2016, at 9:00 AM, Tom Wright <t...@maladmin.com> wrote:
>
> Assuming you are on a mac this link may be of assistance:
> http://tips.tutorialhorizon.com/2015/10/01/xcrun-error-invali
s that the combination of CustId and CustName are
uniquely associated with each other.
Regards,
Marc Schwartz
> On Jun 8, 2016, at 8:55 AM, g.maub...@weinwolf.de wrote:
>
> Hi Petr,
>
> thanks for your reply.
>
> I prepared little example for you:
>
> -- cut --
>
1, 20)
[1] 2.9995559
> (3/10) / 0.1 == 3
[1] FALSE
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-p
ther one.
You should be posting to R-SIG-Fedora:
https://stat.ethz.ch/mailman/listinfo/r-sig-fedora
Please re-post there as both RH/Fedora users and the RH RPM maintainers read
that list, should there be issues with the EPEL RPMs relative to dependencies.
Regards,
Marc Schwartz
__
b).
Your ability to upgrade on Debian is not relevant to his issue, as a completely
different infrastructure (RPM based repositories) is required for RHEL if one
wishes to install pre-compiled binaries, as opposed to building from source,
which is also an option if one wishes.
Regards,
Marc
EL-2016-6fc2c863b0
So for now, it would be available via the EPEL testing repos.
Otherwise, you can wait until it is available via release in the next day or
so, or download the RPMS directly here:
http://koji.fedoraproject.org/koji/buildinfo?buildID=762521
Regards,
Marc Schwartz
__
n, if that might result in problems in
whatever result your function is intended to generate.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting g
ject.org/koji/packageinfo?packageID=1230
It would appear that Tom is in the process of preparing a 3.3.0 release, but I
would defer to him on the time frame for release, which generally requires that
testers provide the requisite feedback to increase the "ka
be
coerced to numeric due to the commas:
> as.numeric("100,2")
[1] NA
Warning message:
NAs introduced by coercion
> as.numeric("100.2")
[1] 100.2
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNS
ect to not pursue the CRAN path
formally, would be via your own servers, R-Forge, github or similar vehicles.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
P
still the possibility of a
multi-modal distribution and the nuances of which kernel is used, etc., etc.
Food for thought.
Regards,
Marc Schwartz
> On Apr 19, 2016, at 7:07 PM, Bert Gunter <bgunter.4...@gmail.com> wrote:
>
> Well, instead of your functions try:
>
> Mode
ep. See
?str. Somewhere along the way, it becomes a factor instead of numeric.
If you imported it via something like read.table() from an external data file,
check to see what the result of that operation is, as non-numeric values in
that column can result in the entire column being coerced to a fa
> On Mar 21, 2016, at 6:44 AM, Felix Töpfer wrote:
>
> Dear R-Team,
>
> I am a scientist actually working in parallel as data analyst for an
> advertisment auditing company. Therefore i would use your software for
> commercial reasons right now. Is this allowed, o rare
nal details so that folks can provide better assistance, subscribe to
and post to R-package-devel for further discussion.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinf
-inflated
models with non zero-inflated models.
Regards,
Marc Schwartz
> On Feb 25, 2016, at 2:48 PM, Bert Gunter <bgunter.4...@gmail.com> wrote:
>
> You can re-set the contrasts for the factor, though whether this is
> "easier" is a matter of personal preferenc
ve to look at each, to get a sense for any issues
there.
There are also two Mac specific resources that you should be aware of, if not
already:
R for Mac OS X FAQ:
https://cran.r-project.org/bin/macosx/RMacOSX-FAQ.html
R-SIG-Mac:
https://stat.ethz.ch/ma
, data=mydata)
> family(someobject)
Family: gaussian
Link function: identity
someobject<- glm(admit~gre+gpa, data=mydata, family="binomial")
> family(someobject)
Family: binomial
Link function: logit
So, you could feasibly use:
family(someobject)$family
family(someo
2-04
Median :19059230 Median :1920-09-10
Mean :18988523 Mean :1923-04-12
3rd Qu.:19255701 3rd Qu.:1941-01-17
Max. :19691228 Max. :1969-12-28
NA's :1 NA's :3
So summary does support the reporting of NA's for Dates, using summary.Date().
Regards,
Marc S
> On Feb 8, 2016, at 12:45 PM, Göran Broström <goran.brost...@umu.se> wrote:
>
> Thanks Marc, but see below!
>
> On 2016-02-08 19:26, Marc Schwartz wrote:
>>
>>> On Feb 8, 2016, at 11:26 AM, Göran Broström <goran.brost...@umu.se> wrote:
>>&
Ted and José,
The FSF has a blog post here that might provide some insights:
http://www.fsf.org/blogs/licensing/time-to-act-on-tpp-is-now-rallies-against-tpp-in-washington-d-c-november-14-18
That is from last November, but the relevant passage, perhaps in a temporal
vacuum, seems to be the
is where you will want an IP lawyer to get involved as the nature of such
bundling (e.g are you actually interfacing with the package via compiled code
that is linked to a binary?) will be relevant to determining if your code would
need to be licensed with a compatible open source license.
Regards,
> On Jan 20, 2016, at 12:26 PM, Bert Gunter wrote:
>
> Could someone please explain to me my mal-understanding of the
> following, which I expected to give the same results without errors.
>
> TIA.
>
> -- Bert
>
>> z <- list(x=1)
>> z[[2]] <- 3
>> z
> $x
> [1] 1
>
>
>cannot append data to an existing worksheet.
The 'append = TRUE' argument enables you to add a new worksheet to an existing
Excel file, as opposed to creating a new Excel file or overwriting an existing
Excel file.
It appears that the addDataFrame() function might support the approach o
is really what you want to do and whether or not there is a
solution to your problem that does not involve using Excel as the end result.
Regards,
Marc Schwartz
> On Jan 13, 2016, at 12:16 PM, Jeff Newmiller <jdnew...@dcn.davis.ca.us> wrote:
>
> There is no such thing as a "
h to look
at ?list.files to fetch a listing of file names by pattern into the CSVFiles
vector rather than creating it manually as above.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/list
Hi,
You appear to have downloaded and attempted to install the '.zip' version of
the package, which is the pre-built Windows **binary** version of the package.
As Harrie noted below, you want to download the '.tar.gz' version of the
package, which is the "source" version.
Rega
0 0 0 0 0 0 1
[4,] 0 0 0 1 0 1 0 0
[5,] 0 1 0 0 1 1 0 0
[6,] 0 0 1 0 0 0 1 0
See ?row
Regards,
Marc Schwartz
__
R-help@r-proj
> On Dec 15, 2015, at 9:55 AM, Martin Maechler
> wrote:
>
>
>
> []
>
>> You are missing the closing bracket on the boxplot()
>> command. Just finish with a ')'
>
> Hmm... I once learned
>
> '()' =: parenthesis/es
> '[]' =: bracket(s)
>
> On Dec 12, 2015, at 11:32 AM, Ranjan Maitra <maitra.mbox.igno...@inbox.com>
> wrote:
>
> On Sat, 12 Dec 2015 10:51:16 -0600 Marc Schwartz <marc_schwa...@me.com> wrote:
>
>>
>>> On Dec 12, 2015, at 10:47 AM, Ranjan Maitra <maitra.mbox.igno...@i
to download the tarball and
> install locally?
>
> Best wishes,
> Ranjan
plotmath is not a package, it is a function:
?plotmath
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.
> On Dec 12, 2015, at 12:33 PM, Ranjan Maitra
> wrote:
>
>> A couple of things:
>>
>> First, there is a SIG list specifically for R on Fedora and RHEL
>> distributions and their derivatives:
>>
>> https://stat.ethz.ch/mailman/listinfo/r-sig-fedora
>>
>>
("\\{[[:alnum:]]+\\}", x))
[[1]]
[1] "{0}" "{1}" "{a2}" "{12}"
The gsub() replaces the returned braces.
You could invert the result of regmatches() to get:
> regmatches(x, gregexpr("\\{[[:alnum:]]+\\}", x), invert = TRUE)[[1]
Hi,
Needless to say, Jeff's solution is easier than my second one. I was wrestling
in dealing with the greedy nature of regex's and so shifted to thinking about
the use of the functions that I proposed in the second scenario.
Also, I was a bit hypo-caffeinated ... ;-)
Regards,
Marc
> On
may, in some fashion, be related to the dependency of pbkrtest on lme4.
The ?sigma for lme4 shows the following in Examples:
methods(sigma)# from R 3.3.0 on, shows methods from pkgs 'stats' *and* 'lme4'
So there may be a package namespace/export issue at play here...
Regards,
Marc Schwartz
Hi,
For clarification, the rcpp support list is the recommended location for
RInside support:
http://lists.r-forge.r-project.org/mailman/listinfo/rcpp-devel
Regards,
Marc
> On Dec 10, 2015, at 11:30 AM, Bert Gunter wrote:
>
> Wrong list!. This is about
ncountered in the source data frame. This is a
parallel to the same argument in ?write.table.
Regards,
Marc Schwartz
___
R-packages mailing list
r-packa...@r-project.org
https://stat.ethz.ch/mailman/listinfo/r-packages
__
with Sweave itself, there are a variety of supporting packages
on CRAN that have related functionality (e.g. formatted LaTeX output) that are
worth knowing about and are included in the Reproducible Research task view:
https://cran.r-project.org/web/views/Reproducibl
repeated characters in the prior alphanumeric character group
of at least 3 repeats and return just the unique character.
The returned expression:
\\1\\1\\1
says repeat the unique character 3 times.
See ?gsub and ?regex for some additional information.
Regards,
Marc Schwartz
__
Hi Rolf,
See below.
> On Nov 2, 2015, at 5:40 PM, Rolf Turner <r.tur...@auckland.ac.nz> wrote:
>
>
> Thanks for the reply, Marc.
>
> On 03/11/15 12:09, Marc Schwartz wrote:
>
>
>
>>
>> Rolf,
>>
>> What do:
>>
> On Nov 2, 2015, at 4:36 PM, Rolf Turner <r.tur...@auckland.ac.nz> wrote:
>
>
> On 03/11/15 01:41, Marc Schwartz wrote:
>
>>
>>> On Nov 2, 2015, at 6:00 AM, John Kane <jrkrid...@inbox.com> wrote:
>>>
>>> A rather silly q
t will
include mirrors that support HTTPS. The last entry on the list should be (HTTP
mirrors). Click that and it will bring up a list of additional mirrors,
including Canadian locations, that support HTTP.
Regards,
Marc Schwartz
__
R-help@r-project.org ma
nality in R.
>
> Thanks,
>
> --
> *Xu Tian*
Rather than pasting a large amount of code into the terminal, put the code into
a text file (e.g. MyCode.R) and use ?source i your terminal session, to read in
the file to then be parsed and run.
Regards,
Marc Schwartz
___
> On Oct 29, 2015, at 10:43 AM, Marc Schwartz <marc_schwa...@me.com> wrote:
>
>
>> On Oct 29, 2015, at 10:16 AM, Victor Tian <tianx...@gmail.com> wrote:
>>
>> Hi there,
>>
>> Often times, I would run R in the terminal when the task is computa
' vector for the source response
variables, or consider:
> as.character(formula(MODS[[1]]))
[1] "~" "log(Sepal.Length)"
[3] "Petal.Width + Species"
> sapply(MODS, function(x) formula(x)[[2]])
[[1]]
log(Sepal.Length)
[[2]]
log(Sepal.W
ch it *displays* numeric values.
If you want to affect the display of values in routine output, see ?options and
note 'digits' and 'scipen'.
Also see ?print.default.
Those approaches do not affect the precision of calculations on the *stored*
values.
For fractions, see:
requir
bove takes the two components, before and after the first '.', adds the
"|" as a character in between, to then be used in strsplit():
> strsplit(gsub("^([[:alpha:]]+)\\.(.*)$", "\\1|\\2", test), split = "\\|")
[[1]]
[1] "aaa" "bb.cc"
https://stat.ethz.ch/pipermail/r-help/2015-October/432752.html
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-pro
t; "384723" "4395843" "398374"
or
> sub("^3([0-9]{6})$", "\\1", a)
[1] "593857" "384723" "4395843" "398374"
If the source begins with a 3 followed by 6 digits only from 0 to 9, it will
return the 6 digits
t (x, seq(0, ceiling(max(x)), by = 1), label=FALSE)
[1] 1322 1175 1155 1149 1295 1173 1289 1197 1356 1129
Both of the above approaches will increment the sequence 0:max(x) to 1356:
> range(seq(0, max(x) + 1, by = 1))
[1]0 1356
> range(seq(0, ceiling(max(x)), by = 1))
[1]0 1356
R
our recommended vehicles for focused community support for
R.
Thank you,
Marc Schwartz
On Behalf of the R Foundation for Statistical Computing
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r
e a number of them to *read* xport files.
Thus, one commercial (not free) conversion application that is independent of
SAS is StatTransfer, which may be worth your investment if you are doing this
quite a bit:
http://www.stattransfer.com
Regards,
Marc Schwartz
___
rd Czerminski
> 508-358-6328
> rysz...@czerminski.net
> LinkedIn.com/in/Ryszard.Czerminski
Did you actually install pandoc?
As per the page that you link to above:
"Please follow the instructions on the Pandoc website to install it."
The link in the above sentence is:
http:/
if there is
any guidance provided for students regarding the crediting of software used in
this manner, especially if that guidance is at no cost to you.
Regards,
Marc Schwartz
> On Sep 22, 2015, at 11:01 AM, Bert Gunter <bgunter.4...@gmail.com> wrote:
>
> 1. It is highly u
cessary to know exactly what sources
> the text is claimed to be plagiarized from and/or what parts of the text that
> are being matched by Urkund. If it turns out that Urkund is generating false
> positives, then this needs to be pointed out to them and to the people basing
> decisio
> On Sep 16, 2015, at 1:06 PM, Bert Gunter wrote:
>
> Yikes! The uniform distribution is a **continuous** distribution over
> an interval. You seem to want to sample over a discrete distribution.
> See ?sample for that, as in:
>
> sample(1:4,100,rep=TRUE)
>
> ## or for
ter
>>
>> "Data is not information. Information is not knowledge. And knowledge
>> is certainly not wisdom."
>> -- Clifford Stoll
>>
>>
>> On Wed, Sep 16, 2015 at 1:28 PM, Marc Schwartz <marc_schwa...@me.com> wrote:
>>>
>>
A C D D D B B D
[100] C C B B D C A A B D C D C B B A A C A B C D B B A D B C A A C C A
[133] A C D C C C D C C C A B C B A C A D C C B B C A C A B A B D B D D
[166] B A B C B C D D B B D C C C D B A D C D A D C D C C B A D B C A D
[199] B D
Levels: A B C D
Here, the result is
’ e-mails to be completely intercepted (without
notice to the sender).”
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http:
quot;, "67", "68", "69",
"70", "71", "72"))
# Modify the ?boxplot example
bymedian <- with(DF, reorder(interaction(spray, op), count, median))
> bymedian
[1] A.op1 A.op1 A.op1 A.op1 A.op1 A.op1 A.op2 A.op2 A.op2 A.op2 A.op2
[12] A.op2
ersion incompatibility issue, where you are running a version of
R built for F20 on F22.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting
]
and use combinations of the two approaches as well.
You can also negate the selection by using:
select = -c(…)
That avoids having to worry about using integer indices.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE
!
:-)
Regards,
Marc Schwartz
If you have not seen it, you may find Bob Muenchen's pdf and/or the expanded
book R FOR SAS AND SPSS USERS (
https://science.nature.nps.gov/im/datamgmt/statistics/R/documents/R_for_SAS_SPSS_users.pdf
) useful.
It is very easy to create the data set you
in advance.
Best,
Jinsong
write.csv(x)
,A,B,C
a,1,3,5
b”,2,4,6
write.table(x, sep = ,, qmethod = double, col.names = NA)
,A,B,C
a,1,3,5
b”,2,4,6
Read the section on CSV files in ?write.table
Regards,
Marc Schwartz
__
R-help@r-project.org
Hi,
As Sarah noted, there are a variety of ways in R to accomplish this, such as:
DF - data.frame(var1 = c(0, 0, 1, 1), var2 = c(0, 1, 0, 1), freq = c(11, 12,
13, 14))
xtabs(freq ~ var1 + var2, data = DF)
var2
var1 0 1
0 11 12
1 13 14
See ?xtabs
Regards,
Marc Schwartz
0.5. You may
need to refresh yourself on the definition of median survival.
Plot the curves to visually confirm.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
In addition, there are documents here:
https://www.r-project.org/certification.html
that cover R’s SDLC (Software Development Life Cycle) that may be helpful.
Regards,
Marc Schwartz
On Aug 5, 2015, at 12:19 PM, Martin Morgan mtmor...@fredhutch.org wrote:
On 08/05/2015 10:08 AM, Jeff
, due to my own curiosity, led me
to:
https://cran.r-project.org/web/packages/rriskDistributions/index.html
which you may find of value.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch
://www.r-project.org/certification.html
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
, try it to see what happens.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
compilation, I would check your configure and build logs for
warnings/errors. It is possible that you are missing an X11 header or lib
someplace.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https
]])
Basically, subset() is returning a data frame where Year does not equal 2014
and G. is equal to 1. The select argument is only returning the Yds column,
which would otherwise be a list, so the [[1]] only returns a vector, which is
passed to mean().
Regards,
Marc Schwartz
Hi,
In addition to Terry’s great comments below, as this subject has come up
frequently over the years, there is also a great document by Bill Venables that
is valuable reading:
Exegeses on Linear Models
http://www.stats.ox.ac.uk/pub/MASS3/Exegeses.pdf
Regards,
Marc Schwartz
On Jul
] I like google
[[2]]
[1] Hi Google google
[[3]]
[1] what's up”
sapply(Tweets, function(x) grepl(google, x, ignore.case = TRUE))
[1] TRUE TRUE FALSE
sum(sapply(Tweets, function(x) grepl(google, x, ignore.case = TRUE)))
[1] 2
Regards,
Marc Schwartz
for the July 3,
2015 dated file versions. So something happened over the weekend on the main
CRAN server it would seem, depending upon the regen cycle timing.
I tried two different browsers, with refreshes, in case there was a caching
issue of sorts.
Regards,
Marc Schwartz
(mat), , drop = FALSE]
[,1]
[1,]1
[2,]2
[3,]3
[4,]4
[5,]5
[6,]6
[7,]7
[8,]8
[9,]9
[10,] 10
[11,] 11
# This is a matrix
str(mat[-nrow(mat), , drop = FALSE])
int [1:11, 1] 1 2 3 4 5 6 7 8 9 10 …
Regards,
Marc Schwartz
P.S. are you restricted
your vector is very large, I suspect the performance gain may be
minimal in real time.
Regards,
Marc Schwartz
On Jun 18, 2015, at 3:07 PM, Bert Gunter bgunter.4...@gmail.com wrote:
Your **is** the coolest and most efficient way to do this. It's
vectorized -- apply() stuff is not.
Cheers
-November/423169.html
which also raises the issue of why SPSS is requiring such an old version of R.
As to how to accomplish what Peter references, a Google search is likely to be
enlightening.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing
On Jun 10, 2015, at 2:21 PM, Marc Schwartz marc_schwa...@me.com wrote:
On Jun 10, 2015, at 7:39 AM, Liz Hare dogg...@earthlink.net wrote:
Hi R-Experts,
I have a data.frame like this:
head(map)
chr snp poscm posbpdist
1 1 M1 2.99043 3249189 NA
2 1 M2 3.06457
,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained
can remove the white
spaces, but that may be somewhat inconvenient.
Thanks for any help.
Wade
See ?shQuote
shQuote(string2)
[1] “\This doesn’t\
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
, pattern = .Rd),
showNonASCIIfile)
See ?list.files and ?showNonASCIIfile
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide
Hi,
Given that a data frame is a list:
unlist(mydata[, 1:3])
For example:
all(unlist(iris[, 1:3]) == do.call(c, iris[, 1:3]))
[1] TRUE
Also, note that the returned result in both cases above retains names:
unlist(iris[, 1:3])
Sepal.Length1 Sepal.Length2 Sepal.Length3
it is in namespace:base.
See ?get
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide
=, center, \n, MAD=, spread, \n)
}
result - list(center=center,spread=spread)
return(result)
}
Presumably ‘nonparametric’, since median()/mad() is used in lieu of
mean()/sd(), if npar = TRUE.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing
for you:
http://cran.r-project.org/web/views/HighPerformanceComputing.html
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http
! - Story of happiness: Part 2.
[2] What a nice day today: Story of happiness (Part 2)”
Also, possibly:
http://cran.r-project.org/web/packages/stringdist
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https
of barplot() for your own use and/or
consider that there might be a logical CRAN package for graphics extensions
where it could be included as an add-on function.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
TRUE TRUE TRUE TRUE
[12] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
[23] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
[34] TRUE TRUE TRUE TRUE TRUE TRUE TRUE TRUE
Regards,
Marc Schwartz
__
R-help@r
requires a full date, with a month, day and year.
You might look at the 'zoo' package on CRAN, which has a yearmon() function.
Regards,
Marc Schwartz
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo
201 - 300 of 1726 matches
Mail list logo