Displaying 20 results from an estimated 3000 matches similar to: "Change default values of a function"
2004 May 24
2
Metafiiles into Word R 1.9.0
Dear R-helpers,
I recently upgraded to R 1.9.0 in my computer at work and at home:
1.-The computer at home has Windows XP and Office XP and it seems to work
perfectly and I copy-paste graphics perfectly.
2.-The computer at work has Microsoft Windows 2000 (5.00.2195 Service Pack
2) and Word 2000 (9.0.4402 SR-1) I cannot copy-paste windows metafiles into
Office applications in my computer at
2006 Jan 12
1
Equal number of cuts in a contourplot with trellis
Dear R-helpers,
I need some help to produce a set of contour plots that I am
trying to make in order to compare surfaces between the levels of a
factor. For example:
library(lattice)
g <- expand.grid(x = 60:100, y = 1:25, ti = c("a","b","c"))
g$z <-with(g,
(-1e-4*x-1e-3*y-1e-5*x*y)*(ti=="a") +
(1e-2*x-1e-3*y-1e-4*x*y)*(ti=="b") +
2002 Dec 18
1
Windows binary of Dopt library
Dear R-helpers,
Would anybody have a compiled binary version (for Windows) of the Dopt
library that is in the development site?.
best regards,
IOsu
--------------------------------------------------------------
Jes?s Mar?a Fr?as Celayeta
Dublin Institute of Technology
School of Food Sci. and Env. Health.
Cathal Bruha St., Dublin 1. Ireland
Phone: +353 1 4024459 Fax: +353 1 4024495
2004 May 05
0
Reshape of repeated measures data
Dear R-helpers,
I am trying to reshape a data frame that is in a wide format into a long
format one. I have come across the reshape() function, but I have been very
successful using it.
As an example:
ll <-
data.frame(time.1=seq(0.1,1,length=10),L1=rnorm(10),time.2=c(seq(1,7),rep(NA
,3)),R2=c(rnorm(7),rep(NA,3)),time.3=c(seq(1,1.5,length=3)+5,rep(NA,7)),M3=c
(rnorm(3),rep(NA,7)))
which
2005 Mar 16
0
use of covariates with nlmeODE
Dear R-helpers,
I have some problem with a model I am trying to run with nlmeODE. I have a
covariate that I want to include in the model and I can't find in the
documentation how to include it in the model so that it can calculate it.
>formula(trial)
PME ~ time | Ident
abcnoniso <- list(DiffEq=list(
debdt = ~ -ksol*pH*eb ,
desdt = ~
2012 Oct 09
1
how to convert by lists in data.frames
Dear R-helpers,
I’ve got a summary of results from a by() call that I am making with a list
of more than two of factors not very different from the example in the by()
help page
require(stats)
by(warpbreaks[, 1], warpbreaks[, -1], summary)
The result of the command gives a list of the form
wool: A
tension: L
Min. 1st Qu. Median Mean 3rd Qu. Max.
25.00 26.00
2003 Sep 16
2
gnls( ) question
Last week (Wed 9/10/2003, "regression questions") I posted
a question regarding the use of gnls( ) and its dissimilarity
to the syntax that nls( ) will accept. No one replied, so
I partly answered my own question by constructing indicator
variables for use in gnls( ). The code I used to construct
the indicators is at the end of this email.
I do have a nagging, unanswered
2004 Feb 05
2
Savitzky-Golay smoothing for reflectance data
I got a question from a fellow PhD student that work with spectrum
analysis in Excel and now he has lots of spectrums that needs to be
smoothed, which would be nice to be able to do in batch.
Is there an R package that can do:
Savitzky-Golay smoothing for reflectance spectral data
or a function that does something similar.
_______________________________________
Henrik Andersson
2004 Nov 08
2
Nonlinear weighted least squares estimation
Hi there,
I'm trying to fit a growth curve to some data and need to use a weighted least squares estimator to account for heteroscedasticity in the data. A weights argument is available in nls that would appear to be appropriate for this purpose, but it is listed as 'not yet implemented'. Is there another package which could implement this procedure?
Regards,
Robert Brown
2007 Aug 08
2
Backtick Hickup
I'm using Michel Fortin's MDTest cases to rewrite my html2text.php script.
Just now I stumbled upon this bug (in PHP Markdown at least):
# Input:
Backtick: ``\```
# Output:
<p>Backtick: `````</p>
# Should-Be Output:
<p>Backtick: <code>`</code></p>
If you (Michel) are already aware of this, just ignore me ;-)
--
Milian Wolff
2006 Dec 30
4
Escaping inside code blocks?
I am doing unit-tests for Maruku and every once in a while I run into
some doubts.
I am posting a lot to the list, but all of these messages should be
in-topic (tell me if not).
Consider the input:
---
`There is a literal backtick (\`) here.`
`There is a literal backtick (\\`) here.`
``There is a literal backtick (`) here.``
---
The documentation says that line 2 and 3 are equivalent.
2002 Dec 18
4
Running R on a Local Area Network
A couple of months ago I downloaded R 1.6.0's binary for Windows, which I have
since been using without any particular problem, that is on one machine running
Windows 98.
Last week I set up a local network and have since tried to use R remotely, i.e.
R is installed on the previous machine and nowhere else. On the client's side,
the GUI opens correctly and allows me to do simple
2004 Jan 22
4
Fitting compartmental model with nls and lsoda?
Dear Colleagues,
Our group is also working on implementing the use of R for pharmacokinetic compartmental analysis. Perhaps I have missed something, but
> fit <- nls(noisy ~ lsoda(xstart, time, one.compartment.model, c(K1=0.5, k2=0.5)),
+ data=C1.lsoda,
+ start=list(K1=0.3, k2=0.7),
+ trace=T
+ )
Error in eval(as.name(varName), data) : Object
2018 Apr 23
4
R 3.5.0 fails its regression test suite on Linux/x86_64
Hi,
I just tried to upgrade Nixpkgs to R 3.5.0, but unfortunately the new
version fails its regression test suite. We configure the build using
the flags "--without-recommended-packages", in case that's relevant. You
can see a complete build log with all relevant information at [1].
Anyway, the test failures look like this:
| make[3]: Entering directory
2020 Aug 05
4
Deprecation of scp protocol and improving sftp client
It seems that there are a few camps here:
* The scp power users - this camp believes that scp supporting backtick
notation is fine and that running arbitrary commands is a perfectly fine
thing to do.
* The restricted shell users - this camp believes that scp supporting
backtick may not be the best, and there are various restricted shells which
can prevent this. Power users may belong to this
2003 Jan 28
6
reading non-existent files
Dear R-experts
I would like to read all files from a directory, the files have names
"myname0001.txt" etc. I paste the directory plus file names and
use "read.delim()".
My problem is that some file names are missing, so I get an error
and my program stops.
Is there a way to check for a null pointer analogous to C, so that
I can simply skip non-existent filenames?
Please do
2006 Dec 04
1
backticks
I noticed just now that
package.skeleton() produces R files in which
the function names are escaped with backticks.
?Quotes says that "The preferred quote is the backtick (`)",
but I don't understand _why_ this is preferred.
?formula gives some clues but points out that there
are no guarantees that formulae using non-syntactic names such as
`like this` will be accepted.
What
2005 Feb 01
4
Split-split plot ANOVA
Does someone out there have an example of R-code for a split-split plot ANOVA using aov or another function? The design is not balanced. I never set up one in R before and it would be nice to see an example before I tackle a very complex design I have to model.
Thanks,
Mike
Mike Saunders
Research Assistant
Forest Ecosystem Research Program
Department of Forest Ecosystem Sciences
University of
2000 Aug 10
0
help with matrix creation (merging data frames)
> Date: Thu, 10 Aug 2000 15:33:39 -0700
> From: Jesus Maria Frias Celayeta <iosu at bureau.ucc.ie>
>
> hi R-help!
>
> I would like to know a simple and easy way (if posible) to do the
following
> data manipulation. I have a matrix of experimental data (with replicae in
time)
actually, they seem to be data frames.
>
>
2015 Aug 18
2
Markup for commands
Hi,
I just edited http://wiki.centos.org/de/TipsAndTricks/BecomingRoot and
formatted all the commands in section 1.1 as `monospace`. Since the main
font and the monospace font look quite similar, it is sometimes
difficult to see where one ends and the other starts.
Therefore I propose to add the following CSS rule to the whole CentOS wiki:
#page tt.backtick {
background-color: #eee;