Displaying 20 results from an estimated 1000 matches similar to: "Formatting numeric values in a data frame"
2012 Aug 06
3
test if elements of a character vector contain letters
Dear all
I'm pretty sure that I'm approaching the problem in a wrong way.
Suppose the following character vector:
> (x[1:10] <- paste(x[1:10], sample(1:10, 10), sep=''))
[1] "a10" "b7" "c2" "d3" "e6" "f1" "g5" "h8" "i9" "j4"
> x
[1] "a10" "b7"
2012 Apr 08
2
xyplot() does not plot legends with "relation=free" scales
Hi all,
I have this problem with lattice that xyplot() won't draw some of my axis labels if the type (i.e. the relation argument) of scales is set as free. For example, in the plot below, I would want it to also show:
1. the labels E1,...E6 below the 10th panel (i.e. 3rd row, 2 col)....just as it is now done below the 12th panel....
2. as well as the labels (2,4,6,8) on the top of panels 1
2020 Aug 08
4
User mapping?
On 07/08/2020 22:44, Simon Matthews via samba wrote:
>
>>>
>>>>
>>>
>>> This is where your problems start, you do not have enough lines, I
>>> would expect something like this:
>>>
>>> ??? idmap config * : backend = tdb
>>> ??? idmap config * : range = 100000-9999999
>>> ??? idmap config BLUE : backend = rid
2020 Aug 08
1
User mapping?
On 08/08/2020 19:43, Simon Matthews wrote:
> On 8/8/20 12:21 AM, Rowland penny via samba wrote:
>> On 07/08/2020 22:44, Simon Matthews via samba wrote:
>>>
>>>>>
>>>>>>
>>>>>
>>>>> This is where your problems start, you do not have enough lines, I
>>>>> would expect something like this:
2009 Nov 10
1
standardGeneric seems slow; any way to get around it?
Hi,
I'm running some routines with standard matrix operations like solve() and
diag().
When I do a profile, the lead item under total time is standardGeneric().
Furthermore, solve() and diag() have much greater total time than self time.
???
I assume there is some time-consuming decision going on in the usual
functions;
is there any way to avoid that and go straight to the calculaions?
Thanks
2007 Apr 13
2
R on Solaris 10 x64
Hi R Developers,
Greg is helping me with debugging R on Solaris 10 x64. Please let us
know if you have any thoughts or tips that can help us debug this.
Thanks,
David
************
Using default transfer plist
in vector_io: permuting
About to write
*** caught segfault ***
address e8554000, cause 'memory not mapped'
Traceback:
1: .External("do_hdf5save", call,
2020 Apr 30
2
problem with `viridis` on Ubuntu 20.04
Il 30/04/20 03:39, Dirk Eddelbuettel ha scritto:
>
> On 30 April 2020 at 03:26, Samuele Carcagno wrote:
> | I'm not familiar with the internals of `viridisLite`, so I'm not sure
> | I'd be able to help there. I could open a bug report on the
> | `viridisLite` repo and see if the author has suggestions on how to
> | narrow down the issue.
>
> It would help if
2008 Sep 27
3
Double integration - Gauss Quadrature
Hi,
I would like to solve a double integral of the form
\int_0^1 \int_0^1 x*y dx dy
using Gauss Quadrature.
I know that I can use R's integrate function to calculate it:
integrate(function(y) {
sapply(y, function(y) {
integrate(function(x) x*y, 0, 1)$value
})
}, 0, 1)
but I would like to use Gauss Quadrature to do it.
I have written the following code (using R's statmod package)
2015 May 26
7
Seeking advice about ISDN BRI Cards
Hi,
please whoever has some expertise in choice of BRI ISDN cards,
please restore my faith in community support :)
(on private email I can probably explain more than fits for a public forum)
Most I'd like to ask is about what to choose, out of what is available...
My locality is United Kingdom, lines from British Telecom (BT),
but any advice / pointers (I googled around already) are
2015 May 26
2
Seeking advice about ISDN BRI Cards
Checkout Beronet ISDN cards and Berofix Gateway (appliance or pci card)
Personally for my last installation I chose Berofix card which is rock
solid and reliable, yet easily configurable.
With berofix you don't need telephony drivers on the host system, the isdn
card is detected as a NIC and all configuration is done using a web
interface.
Then you configure FreePBX a new trunk to use the
2007 Nov 29
1
Prorating scale items
Hello,
I am hoping for some advice as to how I can prorate a number of scale
items that comprise a score. At least 69 of 159 cases have at least 1
value missing (65 cases have H7 missing). The maximum number of missing is
5.
I want to compute a total score, a score for the H items, the R items and
C items.
H1, H2, H3, H4, H5, H6, H7, H8, H9, H10, C1, C2, C3, C4, C5, R1, R2, R3,
R4, R5
I am
2001 Nov 14
1
problems with logon scripts for user names longer than 8 characters
I can not get the logon script to run for users with longer than 8
characters on win98/me clients. I get an error when they logon Access
denied Y: access denied jvand~H8.bat. (real file name is jvanderweide.bat)
The permissions are rw for both owner and group in the netlogon share.
Any suggestions to fix this? Other than shorten the username :).
2007 Dec 05
1
[patch] Headers, unresolved footnotes, and fractions
Hi folks, thanks for the useful code!
I've added some functionality to PHP Markdown Extra and PHP
SmartyPants. Diffs attached.
For PHP Markdown Extra:
*A new config option, MARKDOWN_HEADER_BASE, which sets the largest
header level that Markdown can generate and defaults to 1; useful if
you use <h1> for site-wide elements and want Markdown-generated
headers to start at
2006 Jul 05
2
apologes if you already saw this :efficiency question
hi everyone : i'm not sure if my previous mail about
this got sent. i was typing and
erroneosuyl hit a button and lost what i was typing.
anyway, i have the code below ( it works ) in which i run through the rows of a dataframe, taking out the first two
fields which are characters strings ( with some extra spacing so
i yuse gsub) and appending these character strings to a list so that i can
2008 Apr 07
1
9.58 ies4linux busted: Repository with 9.44?
My debian Synaptic just updated me with winelib 9.58, which I should have been looking out for - because winelib 9.58 totally messes up internet explorer's display of pages with fixed backgrounds. (Repeated images, garbles everything). But winelib 9.44 is Ok, so I need to downgrade. Does anyone know of a repository that has winelib 9.44? Thanks.
2010 Oct 27
1
Fwd: as.list
-------- Original-Nachricht --------
Datum: Wed, 27 Oct 2010 15:03:48 +0200
Von: "Sibylle St?ckli" <sibylle.stoeckli at gmx.ch>
An: Rhelp <r-help at r-project.org>
Betreff: as.list
Dear R-users
sorry, here Rcode included (attachment has been removed)
I would like to read a txt file as list, to select rows and columns, and to create barplots.
(1) selection of parameter
2008 Apr 19
1
resampling from distributions
Hello All,
Once again thanks for all of the help to date. I am climbing my R learning
curve. I've got a few more questions that I hope I can get some guidance on
though. I am not sure whether the etiquette is to break up multiple
questions or not but I'll keep them together here for now as it may help put
the questions in context despite the fact that the post may get a little
long.
2015 Jun 09
2
newbie question on installation over existing Linux
On 6/8/2015 6:29 PM, Peter wrote:
> You can thank Fedora for making that rather pointless change and
> breaking that capability.
that 'capability' was a holdover of the 1980s when disks were measured
in megabytes, and memory in kilobytes, so large file systems were
impractical.
--
john r pierce, recycling bits in santa cruz
2013 Feb 03
1
ggplot2 plotting errorbars.
Hi,
i'm using this lines of code:
dodge <-position_dodge(width=0.9)
ggplot(dfm,aes(x = X,y = value)) +
geom_bar(aes(fill = variable), position=dodge, stat="identity") +
geom_errorbar(aes(ymin=value-er, ymax=value+er),width=0.25,
position=dodge,stat="identity")
to plot this data frame
X variable value er
1 A X4 58.74 9.44
2 B X4
2012 Dec 06
1
Can somebody help me with following data manipulation?
Dear all, let say I have following data:
dat <- structure(list(V1 = structure(c(1L, 4L, 5L, 3L, 3L, 5L, 6L, 6L,
4L, 3L, 5L, 6L, 5L, 5L, 4L, 4L, 6L, 2L, 3L, 4L, 3L, 3L, 2L, 5L,
3L, 6L, 3L, 3L, 6L, 3L, 6L, 1L, 6L, 5L, 2L, 2L), .Label = c("C",
"G", "I", "O", "R", "T"), class = "factor"), V2 = c(0L, 0L, 0L,
1L, 1L, 1L, 1L, 0L,