in another software.
Best regards
Marcel
Le 2021-01-27T23:14:36.000+01:00, Bill Dunlap
a écrit :
> I tried the following change, that adds quotes if the argument does
>
> not include ">".
-f code.R --args "~/file.txt" 1> "~/log.txt" 2>&1".
The issue is that the log.txt file is not created when running R
4.x.x. The same code works perfectly fine with R 3.6.x.
Any idea what's going wrong as of version 4? Regards Marcel
something has changed in R 4.* that could cause this issue?
Thanks for your help. Happy to do a Skype/Teams/Zoom session anytime!
Best regards
Marcel Baumgartner
[[alternative HTML version deleted]]
__
R-help@r-project.o
the R squared change value, which
gives me the effect size of the interaction effect. Any advice on this would be
much appreciated.
Best,
Marcel
Reference:
Hayes, A. F., & Matthes, J. (2009). Computational procedures for probing
interactions in OLS and logistic regression: SPSS and SAS imple
78.5333, 865.5467, 820.8561,
779.8348, 813.4988,
784.0798, 781.3917)
Any comments would be much appreciated.
Best,
Marcel
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https:
Dear R developers,
i have rather a developer question.
>From an external application (different programming language) i contact R
>through pipes (process pipes -> exec).
On Linux i use the R (bash) script to start the R process which will be
available in a custom shell.
If i pipe a
Thank you for the fast reply!
Best regards
Marcel
Gesendet: Donnerstag, 09. Oktober 2014 um 13:54 Uhr
Von: "Frederic Ntirenganya"
An: "Duncan Murdoch"
Cc: "marcel Austenfeld" , r-help@r-project.org
Betreff: Re: [R] Event after a package is loaded
I don't
Hello,
i would like to call a self defined R function after a package (not a specific
one - library (anyAvailablePackage)) has been loaded into the R environment.
I there a general method available in R which can be used for that?
Any help is appreciated.
_
Thank you very much. Exactly the information i needed. I always tried
"quote(if (x > 10) browser())"
and not
"tracer=quote(if (x > 10) browser())"
as the argument.
Now it works.
__
R-help@r-project.org mailing list
https://stat.ethz.ch
nk in advance for any help
Marcel
References
1. http://www.stats.uwo.ca/faculty/murdoch/software/debuggingR/debug.shtml
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http:/
Thank you, this works very well. My only remaining question about this is
about how ifelse is working; I understand the basic syntax (df$condition2
gets assigned the value *runif(nrow(df1[df1$condition1<=1,]),0,1)* or the
value *df$condition1* depending on whether or not df$condition1 meets the
cri
I spent some time on this simple question, also searched the forum,
eventually hacked my way to an ugly solution for my particular problem but I
would like to improve my coding:
I have data of the form:
df <- expand.grid(group=c('copper', 'zinc', 'aluminum', 'nickel'),
condition1=c(1:4))
I would
Hi
I have data for events in rows, with columns for person and date. Each
person may have more than one event;
tC <- textConnection("
Person date
bob 1/1/00
bob 1/2/00
bob 1/3/00
dave1/7/00
dave1/8/00
dave1/10/00
kevin 1/2/00
kevin 1/3/00
kevin 1/4/00
")
data <- rea
/legend for the subplots. It seems that the title is called for each
datapoint, and then printed one below the other in the plot. Is there any
way at all to get a specific legend/title/text on each subplot?
Marcel
--
View this message in context:
http://r.789695.n4.nabble.com/Loop-for-multiple-plots
This solution works really nicely & I learned much by working through it.
However but I am having trouble with subplot formatting; setting
main=d$Subject results in the correct title over each plot but repeated
multiple times. Also I can't seem to format the axis labels and numbers to
reduce the sp
Hello, I have longitudinal data of the form below from N subjects; I am
trying to create figure with N small subplots on a single page, in which
each plot is from only one subject, and in each plot there is a separate
curve for each value of param1.
So in this case, there would be four plots on t
Hello,
use the rJava library to execute R code from Java or transfer values from
Java to R:
http://www.rforge.net/rJava/ http://www.rforge.net/rJava/
--
View this message in context:
http://r.789695.n4.nabble.com/HOW-TO-PASS-MY-JAVA-ARGUMENT-INTO-RSCRIPT-FILE-tp3889327p3889457.html
Sent fr
Hello,
i think you are speaking of a general workflow environment which can execute
R methods and arrange
different statistical methods in a flow (graph).
Here is a list of links of such (OpenSource) programms.
*Knime:*
http://www.knime.org/ http://www.knime.org/
*RapidMiner*
http://rapid-i.
not sure how to handle the dates in order to have the first day for
each person be time = 0, and the remaining dates to be handled as days since
time 0. Also, is there a way to add the resulting slopes to the data set as
a new column?
Thanks,
Marcel
--
View this message in context:
http://r.78969
I have a figure with a lattice plot and a basic plot. Is there a way to
select the color and line width of the surrounding boxes?
# Data
tC <- textConnection("
Time Type1 Type2 Type3
1.3 .50 .10 .40
4.5 .45 .20 .35
5.2 .40 .30 .30
")
data1 <- read.table(header=TRUE, tC)
data2 <- data.frame(Time=r
This solution worked well, and the key section under ?xyplot was very helpful
in adjusting lots of details in the key, including position and even the
distance between text and key symbols, using "between". One thing I didn't
see described very well was how to toggle from a transparent key symbol t
I am making final adjustments to a multi-plot figure using basic and lattice.
In the lattice plot, I would like to include a legend that matches the
format of the legends in the other plots, which consist of appropriately
colored squares (pch 22) followed by text. In lattice, I was able to get a
le
Thank you, this works well - overall, I now have pretty good control over the
appearance of the L-hand side of the plot and relative distance between axis
line, ticks, tick labels and axis title by adjusting pad1, pad2 and the plot
position in the print statement. I am sure it is not the best code,
Hi, I am doing fine editing on a lattice plot, now have the Y-axis title in
the correct position, but the tick labels are too far from the axis line. I
looked at the help documentation but could not find how to change this. This
seems to be easy to do in basic plots with "at=c(value1, value2, value
Got it working using "layout.widths = list(ylab.axis.padding = 0.5)))" and
adjusting the print position in "print(plot1,
position=c(-0.018,0.221,0.741,0.466))". Thx
--
View this message in context:
http://r.789695.n4.nabble.com/Lattice-distance-of-Y-axis-label-from-plot-tp3686855p3688172.html
Working! Many thanks, good solutions
--
View this message in context:
http://r.789695.n4.nabble.com/Lattice-place-ticks-only-on-y-axis-tp3684094p3688167.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
Basic question: I looked around quite a bit, still having a little trouble
manipulating the distance between the Y-axis label and the plot. In this
case, I would like to move the Y axis title closer to the plot.
# Data
tC <- textConnection("
Time Type1 Type2 Type3
1.3 .50 .10 .40
4.5 .45 .20 .35
I notice that with this solution there are still y-axis tick marks on both
sides of the plot. Is there a way to remove the ones on the right side?
--
View this message in context:
http://r.789695.n4.nabble.com/Lattice-place-ticks-only-on-y-axis-tp3684094p3686638.html
Sent from the R help mailing
Works perfectly, thank you.
--
View this message in context:
http://r.789695.n4.nabble.com/Lattice-place-ticks-only-on-y-axis-tp3684094p3685625.html
Sent from the R help mailing list archive at Nabble.com.
__
R-help@r-project.org mailing list
https://s
I am using lattice for a bar plot, having a little trouble removing ticks,
tick labels from x-axis, but keeping them on the y-axis. I looked around
quite a bit (http://tolstoy.newcastle.edu.au/R/e7/help/09/06/1733.html, help
pages, etc), tried variations of "scales = list(alternating = c(0,0)",
"sc
o be vertically aligned, one above
the other on the same figure. Is this possible? Thanks for all of your
thoughts.
Marcel
Marcel
--
View this message in context:
http://r.789695.n4.nabble.com/Stacked-bar-plot-of-frequency-vs-time-tp3659715p3669311.html
Sent from the R help mailing list archive
d of some kind
lviewport(x=unit(1, "npc") - unit(1, "inches"), y=0.5, width=0.2,
height=0.5, just=c("right", "centre")))
print(plot3, position=c(0.01, 0, 1, 0.5))
Any thoughts about how to put the last pieces together would be very much
appreciated.
Marcel
=FALSE, panel=panel.barchart, ylim=c(-0.05,1.05), xlim=c(0,6)))
Is there any way around this problem?
Marcel
--
View this message in context:
http://r.789695.n4.nabble.com/Plot-command-overwrites-existing-plot-in-multiple-figure-plot-tp3661245p3661245.html
Sent from the R help mailing list arch
ns on the x-axis is irregular. Is
this possible in R?
Many thanks,
Marcel
--
View this message in context:
http://r.789695.n4.nabble.com/Stacked-bar-plot-of-frequency-vs-time-tp3659715p3659715.html
Sent from the R help mailing list archive at Nabble.com.
___
subject
separately. It seems like I should be able to use the tapply function as you
do for simple operations (like finding a mean of var1 for each subject), but
I am not sure of the correct syntax for this. Is there a way to do this?
Many thanks, Marcel
--
View this message in context:
http://r
p would be appreciated!
Thank you,
Marcel
Am 2011-03-05 15:23, schrieb Jannis:
I would guess it works the same as for standard trellis graphs.
Googleing:
trellis R change panel background
gives you links to some discussions about these issues.
HTH
Jannis
On 03/05/2011 01:06 PM, Marce
Hi!
How does one change the background color of the map-panel in spplot()?
Example:
library(sp)
data(meuse.grid)
gridded(meuse.grid) = ~x+y
spplot(meuse.grid, "part.a")
How would I get another background-color for the map-panel (but not for
the whole plot) here?
Thank yo
27;t look too
good. Although I assign 100 factors, I want just a few ticks in the
legend (and also just a few labels).
How can this be achieved?
Thank you!
Marcel
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
27;t look too
good. Although I assign 100 factors, I want just a few ticks in the
legend (and also just a few labels).
How can this be achieved?
Thank you!
Marcel
__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
the changing sign of the
coefficients when I change the reference level. This would imply that
females always prefer the opposite of males. Clearly, this cannot be. I
imagine that I am misinterpreting this issue and I would be grateful for
any help on this.
Best regards,
Marcel
--
Marcel Gerds, M
a 6 is
labeled as "agri".
My problem is that I cannot find a test which I can use for that purpose.
I would really appreciate any help on that subject. Thank you.
Best regards
Marcel Gerds
__
R-help@r-project.org mailing list
https://st
d.table("myfile")
I think I first have to use "hist" to get the frequencies of each, and I
have figured out how to use breaks to make bins;
> bins=seq(0.5,6.5,by=1)
>hist(data$A, header=T, sep="\t", breaks=bins)
Lots of trouble from then on, though, and I just ca
Thanks for the input
Adding "print" took care of the first problem. The output looks like what I
would expect, so I think the code is doing what I would like it to for the
first 44 observations.
> print(results.df)
DR D.1 R.1 V1V2dif V1V4dif
1 68.92500 75.00
So, not sure why my results dataframe seems to only include a small fraction
of the data, or why the write commands are ignored when embedded in the code
and called by "source("etc"
CODE
rm(list = ls(all = TRUE))
alldata
<-read.table("/Users/marcel/Desktop/V1V2
ot;)
I have spent an absurd amount of time trying to sort this out with the
manual and forum searches. Any suggestions appreciated.
Marcel
--
View this message in context:
http://r.789695.n4.nabble.com/while-loop-until-end-of-file-tp2399544p2399544.html
Sent
done with the R packages I checked so far.
Does any of you know about a package which provide such a functionality or can
give some hints about programming it?
Thanks in adavance.
Regards
Marcel
--
__
R-help@r-project.org mailing list
https://st
umber of digits reported for R^2
3. reduce the large number of empty spaces between "R^2' and value.
I searched a lot but could not find much on this. Any help on these specifics
or general comments on formatting numerical output greatly appreciated.
thanks,
Marcel
__
Hi, my name is Marcel R. Lopes. My problem is,
I made a code to calculate the estimates of a Cox model with random effects.
Used to optimize the R command for this. The estimates were calculated
correctly, but the Hessian matrix does not have good values. The same thing
was done in SAS and gave
of the whole dataset with the slope of a
subdataset consisting of the maximum values of 10 equal x-axis classes.
any suggestions?
Thanks
Marcel
__
Marcel Sandow
Leibniz Institute of Marine Sciences - IFM-Geomar
Michael,
I look at it.
Thanks for this first path.
Pierre-Olivier
_
l
[[alternative HTML version deleted]]
__
R-help@r-project.org mailing list
https://s
Hello,
I would like to estimate a logit with aggregated data. Each line
describes an observation with the following fields :
- share of choice A
- share of choice B
- share of choice C
- Var.A1 (specific to choice A)
- Var.A2 (specific to choice A)
- Var.B1 (specific to choice B)
- Var.B2 (specif
] axis title on
two linesAn: Marcel Sandow , [EMAIL PROTECTED]> You might want to replace the
xlab with mtext? > > aa <- 1:10> plot(aa, xlab='')> mtext("label one \n label
number two" , side=1,> line=3)> > > --- Marcel Sandow wrote:> > >
estions.ThanksMarcel
__
Marcel Sandow
Leibniz Institute of Marine Sciences - IFM-Geomar
Experimental Ecology: Foodwebs
Düsternbrooker Weg 20
24105 Kiel
Germany
Fon: +49-431-600-4404
Fax: +49-431-600-1515
Homepage: http://www.ifm-geomar.de
E-ma
___> R-help@r-project.org mailing
list> 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, reproducible code.>
_
54 matches
Mail list logo