Displaying 20 results from an estimated 24 matches for "matstat".
Did you mean:
mathstat
2018 Apr 25
0
Can't Get Lattice Histogram Minor Tick Marks to Work
Per the Posting Guide, why didn't you post the reproducible R code example?
On April 24, 2018 8:22:15 PM PDT, Donald Macnaughton <donmac at matstat.com> wrote:
>I'm drawing a paneled histogram using the lattice package. I've
>succeeded in
>adding minor tick marks to the vertical axis, but I can't get the
>desired
>number of minor tick marks between the major tick marks.
>
>I've attached a self-contained...
2018 Apr 25
3
Can't Get Lattice Histogram Minor Tick Marks to Work
I'm drawing a paneled histogram using the lattice package. I've succeeded in
adding minor tick marks to the vertical axis, but I can't get the desired
number of minor tick marks between the major tick marks.
I've attached a self-contained program to illustrate the problem.
Thanks for your help,
Don Macnaughton
Here's my sessionInfo:
R version 3.4.3 (2017-11-30)
Platform:
2018 Apr 25
1
Can't Get Lattice Histogram Minor Tick Marks to Work
...# The yscale.components.subticks function in the latticeExtras package
# has arguments to contol the minor tickmarks, but I can't get them to work.
# How can a get a single minor tickmark between the major tickmarks on
# the vertical axis?
# Thanks for your help,
# Don Macnaughton donmac at matstat.com
# Generate data in an 20 x 2 matrix for left panel. In my real application
# the data file contains many more rows, but that's not necessary here.
for (i in 1:20) {
if (i == 1) {pmat = c(0.045,0)} else {
pmat = rbind(pmat,c(i*0.05-0.001,0))}
}
# Gene...
2005 Feb 16
0
Depends, require(), autoload() and "side effects"?
...0.tar.gz
* Installing *source* package 'R.matlab' ...
** R
** inst
** preparing package for lazy loading
Error in eval(expr, envir, enclos) : couldn't find function "appendVarArgs"
Execution halted
ERROR: lazy loading failed for package 'R.matlab'
** Removing '/usr/matstat/hb/R/R_LIBS/sunos/library/R.matlab'
** Restoring previous '/usr/matstat/hb/R/R_LIBS/sunos/library/R.matlab'
appendVarArgs() is defined in R.oo.
I tried to add a require(R.oo) (in 000.R) and it does work perfectly. So do
also autoload("appendVarArgs", package="R.oo"...
2017 Jun 13
3
How Can I Execute a String Expression?
I have the string ggstr that I've built with string manipulation:
ggstr = "ggplot(df1, aes(x,y)) + geom_smooth(se=FALSE, span=0.01)"
Assuming df1 is properly defined, this string will execute properly if I
submit it manually without the quotes. How can execute the command as a
string, so that I can run it repeatedly (with minor modifications) in a
loop? Presumably, it would be
2002 Jan 06
1
How to get setGeneric() to work?
...miss something, but what?
Thanks
Henrik Bengtsson
Dept. of Mathematical Statistics @ Centre for Mathematical Sciences
Lund Institute of Technology/Lund University, Sweden (+2h UTC)
Office: P316, +46 46 222 9611 (phone), +46 46 222 4623 (fax)
h b @ m a t h s . l t h . s e
http://www.maths.lth.se/matstat/staff/hb/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-requ...
2001 Nov 12
3
histogram question
hist(rbinom(1000,10,0.5),col=2,xlim=c(0,10),ylim=c(0,300))
gives a histogram with "touching bars"
hist(rbinom(100000,10,0.5),col=2,xlim=c(0,10),ylim=c(0,30000))
gives a histogram with space between the bars.
is there a way to control the space betweent he bars easily?
--
Erich Neuwirth, Computer Supported Didactics Working Group
Visit our SunSITE at http://sunsite.univie.ac.at
2002 Jan 24
3
Best way to check/assert a certain version of or a package
...N file and
parse it?
Thanks a lot
Henrik Bengtsson
Dept. of Mathematical Statistics @ Centre for Mathematical Sciences
Lund Institute of Technology/Lund University, Sweden (+2h UTC)
Office: P316, +46 46 222 9611 (phone), +46 46 222 4623 (fax)
h b @ m a t h s . l t h . s e
http://www.maths.lth.se/matstat/staff/hb/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-requ...
2001 Sep 10
3
Offline change detection methods?
...plementations that I could port?
Thank you
Henrik Bengtsson
Dept. of Mathematical Statistics @ Centre for Mathematical Sciences
Lund Institute of Technology/Lund University, Sweden (+2h UTC)
Office: P316, +46 46 222 9611 (phone), +46 46 222 4623 (fax)
hb at maths.lth.se, http://www.maths.lth.se/matstat/staff/hb/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-req...
2002 Feb 06
4
Weighted median
...happy to hear about it.
Thanks
Henrik Bengtsson
Dept. of Mathematical Statistics @ Centre for Mathematical Sciences
Lund Institute of Technology/Lund University, Sweden (+2h UTC)
Office: P316, +46 46 222 9611 (phone), +46 46 222 4623 (fax)
h b @ m a t h s . l t h . s e
http://www.maths.lth.se/matstat/staff/hb/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-requ...
2002 Jan 09
0
methods: Extending classes
...d argument(s) ( ...)
A bug or me?
Henrik Bengtsson
Dept. of Mathematical Statistics @ Centre for Mathematical Sciences
Lund Institute of Technology/Lund University, Sweden (+2h UTC)
Office: P316, +46 46 222 9611 (phone), +46 46 222 4623 (fax)
h b @ m a t h s . l t h . s e
http://www.maths.lth.se/matstat/staff/hb/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-requ...
2001 Dec 27
1
Binaries of R-1.4.0 for Windows
A binary distribution of R-1.4.0 to run on Windows 95, 98, NT4.0, 2000
and XP on Intel/clone chips is available at
http://sirio.stat.unipd.it/RWin
It will be mirrored at a CRAN site near you in a couple of days.
See http://sirio.stat.unipd.it/RWin/CHANGES for a list of
Windows-specific changes.
guido masarotto
2001 Dec 27
1
Binaries of R-1.4.0 for Windows
A binary distribution of R-1.4.0 to run on Windows 95, 98, NT4.0, 2000
and XP on Intel/clone chips is available at
http://sirio.stat.unipd.it/RWin
It will be mirrored at a CRAN site near you in a couple of days.
See http://sirio.stat.unipd.it/RWin/CHANGES for a list of
Windows-specific changes.
guido masarotto
2001 Nov 16
0
Best/safest way to use UseMethod()?
...safe strategy, but I am not sure.
Cheers
Henrik Bengtsson
Dept. of Mathematical Statistics @ Centre for Mathematical Sciences
Lund Institute of Technology/Lund University, Sweden (+2h UTC)
Office: P316, +46 46 222 9611 (phone), +46 46 222 4623 (fax)
hb at maths.lth.se, http://www.maths.lth.se/matstat/staff/hb/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-req...
2001 Sep 24
3
Trailing "/" makes file.exists() return FALSE (PR#1098)
Full_Name: Henrik Bengtsson
Version: 1.3.1
OS: WinMe
Submission from: (NULL) (130.235.2.229)
I found the following bug on WinMe (I call it a bug, since the behavior is
different on WinMe than for instance Sun Solaris):
When calling file.exists() with an existing directory name ending with a "/"
(slash) [R] on WinMe will return FALSE, but when doing the same without the
ending
2002 Feb 04
2
ASCII characters: from decimal code to R octal?
Is there a straightforward way to convert character information from
decimal representation to the octal one used by R?
I'd like something like a function ascii(number,base=10), such that
> ascii(91)
[1] "\133"
I can easily do the mapping from 91 to 133, but what is a good way to
operate on 133 to deliver "\133"?
Would a lookup table be a better solution?
David
2002 Jan 18
3
readline() to vector
Hi!
I'm trying to use readline() to ask for xlim() and ylim() values
for a subsequent plot. I'm doing:
lim <- readline("Enter xlim and ylim values: ")
then would like to use the values in lim for a plot:
plot(etc, xlim=lim[1:2],ylim=lim[3:4])
The problem is that lim is a character,i.e.,
"10,20,-10,50"
or
"c(10,20,-10,50)"
depending on the input to
2002 Jan 23
1
Question about substitute (and eval, parse and deparse)
...?
I really appreciate your help!
Henrik Bengtsson
Dept. of Mathematical Statistics @ Centre for Mathematical Sciences
Lund Institute of Technology/Lund University, Sweden (+2h UTC)
Office: P316, +46 46 222 9611 (phone), +46 46 222 4623 (fax)
h b @ m a t h s . l t h . s e
http://www.maths.lth.se/matstat/staff/hb/
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-req...
2002 Jan 18
2
easier way to update packages i'm developing?
I'm frightfully new at developing r packages. I'm developing an econometrics
package, and each time I update my beta package, I close R, delete the
package dir in the library dir, rebuild the zip file, rerun R, reinstall the
package and run the functions. Is there a more efficient way?
Jeff.
Jeff D. Hamann
Hamann, Donald & Associates, Inc.
PO Box 1421
Corvallis, Oregon USA 97339-1421
2001 Aug 02
4
pictex driver and bargraph shading
I'm trying to use the pictex driver for bargraphs, and the shading isn't
showing up. Is there any way to get some sort of shading in the plots? A
hatch or stipple would be fine, too; just some way to differentiate the
bars.
The postscript driver won't do, since I'm trying to embed this in a LaTeX
document which I'll use pdflatex on and \includegraphics for pdftex doesn't