Displaying 19 results from an estimated 19 matches similar to: "Problem in while loop"
2009 Jan 27
1
Plotmath and line breaks in long annotations for plots
I'm trying to combine multi-line text and math annotations on a plot
and am not having much luck. I looked at various suggestions in the
archives, but I cannot coerce any of them to do what I want. I'm
beginning (finally?!) to think that there is an entirely better
approach than the one I have tried.
The essential problem is that line breaks (\n) don't seem to behave
the way I
2009 Mar 31
1
Selecting Bootstrap Statistics in the boot package
Dear all,
Let's say I have the following:
# Loading the boot package
# install.packages(boot)
library(boot)
# Generating data
set.seed(123)
x <- rnorm(100)
# Bootstrap for the sample mean
bmean <- boot(x, function(x,d) mean(x[d]), R=1000)
bmean
#
#ORDINARY NONPARAMETRIC BOOTSTRAP
#
#
#Call:
#boot(data = x, statistic = function(x, d) mean(x[d]), R = 1000)
#
#
#Bootstrap Statistics :
#
2004 Jul 24
0
rbind()
hi. I'm merging two datasets.
one of them is 51 rows, and a typical row looks like this:
midwar[midwar$dispnum==89,]
dispnum synch sanum saname sbnum sbname year1 yearn ainit binit fatala
158 89 0 220 FRN 230 SPN 1822 1823 1 1 4
fatalb key1 keyn warnum year1.war yearn.war awon
158 5 2202301822 2202301823 1 1823 1823
2006 Jan 03
1
Summary functions to dataframe
I have written a few different summary functions. I want to calculate
the statistics by groups and I am having trouble getting the output as a
dataframe. I have attached one example with a small dataset that
calculates summary stats and percentiles, I have others that calculate
upper confidence limits etc. I would like the output to be converted to
a dataframe with one of the columns as the
2012 Aug 05
1
trouble with looping for effect of sampling interval increase
I've looked everywhere and tinkered for three days now, so I figure asking
might be good.
So here's a general rundown of what I am trying to get my code to do I am
giving you the whole rundown because I need a solution that retain certain
ways of doing things because they give me the information i need.
I want to examine the effect of increasing my sampling interval on my data.
Example:
2012 Mar 27
1
Rgdal package - get information
>
> Hi,
>
> I used
> GDALinfo("MOD13Q1.A2001049.h13v11.005.2007002215512.250m_16_days_EVI.tif") and
> got the results:
>
> rows 10
> columns 11
> bands 1
> origin.x 150701.4
> origin.y 7744897
> res.x 250
> res.y 250
> ysign -1
> oblique.x 0
> oblique.y 0
> driver GTiff
>
2010 May 13
2
Simple question on binning data
Hello everyone,
I have a data set, and I need to bin my data using a bin width of say g(n).
Would anyone be willing to tell me how to do this in R?
Thanks
--
View this message in context: http://r.789695.n4.nabble.com/Simple-question-on-binning-data-tp2202644p2202644.html
Sent from the R help mailing list archive at Nabble.com.
2004 Apr 27
4
Problems raised to 1/3 power and NaN
I am debugging some code and found a function that returns and error most of the time. I have issolated the problem to when it raises an argument to the 1/3 power but for the life of me I can not figure out why it is not working. i have gone through the FAQs and have found nothing (not to say I might have missed something). I am highly embarrased with my inability find the problem (my face is
2008 Feb 23
1
print.logLik
I have a vector of logLik values that I'd like to return and it would
be nice
if the the print method didn't run them together. Could I make a plea
for
using sep = " ", rather than sep = "" in print.logLik?
url: www.econ.uiuc.edu/~roger Roger Koenker
email rkoenker at uiuc.edu Department of Economics
vox: 217-333-4558
2009 Jul 31
2
[LLVMdev] llvm-gcc build of inferno/plan 9 'mk' fails
hello,
I'm attempting to build the inferno source tree using either of native
LTO or jit'd bins and having no obvious luck.
im using macports (current as of this email) llvm-2.5 and llvm-gcc on
a macbook pro (x86)
following the inferno directions verbatim will use 'cc' as the
compiler and just works.
the build tools are different from the naive build tools as follows:
2019 Mar 12
2
RFC: changing variable naming rules in LLVM codebase
Thanks very much for all the feedback. I've tried to collect the information into a proposal for a transition plan: https://reviews.llvm.org/D59251.
-Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190312/8c8a6961/attachment.html>
2004 Mar 10
3
Center labels on a boxplot
Suppose that I have data on three species for a variable and datasets
from two time periods. I want to make a boxplot of the first dataset and
then add the second using 'at = ' and 'add = T' as in the example for
'boxplot.'
Since the boxes are paired by species, I want to do is have the x labels
be centered between the boxes. I'm doing this now with mtext and
entering
2010 Jun 30
1
evaluate a string variable
Hello,
I was wondering how to evaluate a string variable in R.
eg.
> avar <- "getwd()"
> eval(avar)
gives:
[1] "getwd()"
but I would like to see:
[1] "/home/myhomedir"
Thanks,
Jeremiah
2010 Aug 17
0
[LLVMdev] clang: call extern function using JIT
On Aug 17, 2010, at 1:56 PM, gafferuk wrote:
>
> hi, im creating a music application(image below).
>
> At the moment im using tcc compiler but im moving across to clang because of
> the improved compiler warnings.
> Can anyone please explain and show code so I can use clang's JIT to call
> functions in my application?
You'll probably want to take a look at the
2010 Aug 17
4
[LLVMdev] clang: call extern function using JIT
hi, im creating a music application(image below).
At the moment im using tcc compiler but im moving across to clang because of
the improved compiler warnings.
Can anyone please explain and show code so I can use clang's JIT to call
functions in my application?
Thanks.
http://old.nabble.com/file/p29449300/51709341.jpeg
--
View this message in context:
2018 Dec 11
0
Libreoffice on 7.6
When I try to run libreoffice on CentOS 7.6 for a slide show (using my
macro that I have always used since CentOS 6.0) I get a runtime error that
"Presentation is not found". I updated then to the current download 6.1.2
and tried again - I get the same error.
If I go back to a 7.5 machine - same macro - it works just fine. This
happens on any of my CentOS 7.6 machines.
Any idea why
2004 Nov 24
2
Files being corrupted on export, md5sums don't match.
(smb.conf attached)
When i mount the exported shares on my computer on either it or
another machine they get damaged during transfer, for example i made a
file in my shared folder with the contents "this is a test", mounted
that folder at /mnt/losmb/, resaults below:
$ cat /home/share/test
this is a test
$ cat /mnt/losmb/test
J?SMB.?$
$ md5sum /home/share/test && du -s
2015 Apr 16
8
Dovecot 2.2.16: disappearing messages, mismatched summaries, duplicated messages, excessive full re-downloads
My Dovecot 2.2.16 server is interacting poorly with a variety of mail
clients. The symptoms include disappearing messages, mismatched summaries,
duplicated messages, and excessive full re-downloads.
Dovecot 2.2.16 on FreeBSD 10.1-release r280247M ZFS is interacting
suboptimally with various email clients. Output of "dovecot -n" further
down.
*Client Artifacts*
Thunderbird 31.6
2010 Jul 18
6
CRAN (and crantastic) updates this week
CRAN (and crantastic) updates this week
New packages
------------
* allan (1.0)
Alan Lee
http://crantastic.org/packages/allan
Automates Large Linear Analysis Model Fitting
* andrews (1.0)
Jaroslav Myslivec
http://crantastic.org/packages/andrews
Andrews curves for visualization of multidimensional data
* anesrake (0.3)
Josh Pasek
http://crantastic.org/packages/anesrake
This