Displaying 20 results from an estimated 400 matches similar to: "type of representation"
2003 Jan 03
1
Take care with codes()! (was type of representation)
Ahh yes, sorry about that.
Here's the corrected snippet:
# Create an Example Data Frame Containing Car x Color data
carnames <- c("bmw","renault","mercedes","seat")
carcolors <- c("red","white","silver","green")
datavals <- round(rnorm(16, mean=10, sd=4),1)
data <- data.frame(Car=rep(carnames,4),
2003 Mar 08
0
RE: Text Rotation (was: Take care with codes()!)
I've just uploaded gregmisc_0.8.2.tar.gz to CRAN. It should show up in the
package repository in a day or two.
This version of the gregmisc package provides an enhanced 'balloonplot'
function with 'rowsrt', 'colsrt' arguments to control rotation of the
labels, and 'rowmar', 'colmar' to control the amount of space reserved for
the labels.
Here's
2003 Mar 08
0
RE: Text Rotation (was: Take care with codes()!)
You can use the graphics parameter "srt" to rotate displayed text by a
specified number of degrees, e.g. srt=45 to put it on an angle, srt=90 to
put it vertical.
If you do this, may need to modify the call to text to increase ylim and
change the plot location to give you more room.
I'm working to update the 'balloonplot' function in the gregmisc package now
to handle this
2006 Mar 18
0
No subject
Normally `codes' is not the appropriate function to use with an
unordered factor. Use `unclass' or `as.numeric' to extract the
codes used in the internal representation of the factor, as these
do not assume that the codes are sorted.
and this is one of the `normally' cases. Your code will only work
correctly if the levels are in alphabetical order (in the locale
2003 Dec 30
4
Assignments in loops
Greetings all. Any help with the following would be appreciated.
I want to create a data frame for each file in a directory. The following
code does not work but it may show what I am trying to do:
carmakes <- c('BMW','Chrysler','Citroen','Fiat','Ford','Holden','Honda',
2007 Jan 30
5
how to join two arrays using their column names intersection
Dear all,
I have a problem that may be someone of you can help. I am a newbie and
do not find how to do it in manuals.
I have two arrays, for example:
ar1 <- array(data=c(1:16),dim=c(4,4))
ar2 <- array(data=c(1:16),dim=c(4,4))
colnames(ar1)<-c("A","B","D","E")
colnames(ar2)<-c("C","A","E","B")
> ar1
2007 Feb 14
2
font size in plots
Dear members of the list,
it is likely a stupid question but I cannot find the information neither
in R manuals nor in google.
I am generating a plot (from hclust results) but I cannot see properly
the labels because the default font size is too large. How can I change it?
Thanks!
Federico
2017 Jun 12
1
URGENT: Update issues from 3.6.6 to 3.10.2 Accessing files via samba come up with permission denied
Did the logs provide any hints as to what the issue may be?
Diego
On Sat, Jun 3, 2017 at 12:16 PM, Diego Remolina <dijuremo at gmail.com> wrote:
> Thanks for taking the time to look into this. Since we needed downtime
> due to the gluster update, we also updated the OS, including samba. We
> went from 4.2.x to 4.4.4 and many other packages for CentOS were
> updated as well. OS
2010 Feb 03
3
to convert a character string in time
hi,
I have my data time expressed in character string exple "5:20" (hour:min) and i want to convert these in times recognized by R. I have tried the POSIXct function:
balise07$Hour <- as.POSXIct(balise07$Hour)
but it didn't work.
Do you know why? Do you know how i can convert my string character in a real time?
Thanks
Karine HEERAH
Master 2 mention
2008 May 16
2
How to extract estimates, Std. Error, t Value and Pr(>|t|) from summary
[This email is either empty or too large to be displayed at this time]
2009 Oct 28
1
Is there a faster way to do it?
#Mdarts is a matrix 2343x788
#frequencia is a vector 2343x1
# 9 in Mdarts[fri,frj] stands for my missing values which i want to replace
by the value in the vector frequencia
Mdarts<-t(matrix(scan("C:/GWS/CNB/dartg.txt"),ncol=nindT,nrow=nm, byrow=T))
frequencia <- matrix(scan("C:/GWS/CNB/freq.txt"),ncol=1)
for (fri in 1:nindT){
for (frj in 1:nm){
Mdarts[fri,frj] <- if
2009 Oct 16
1
Breusch-pagan and white test - check homoscedasticity
Hi r-programmers,
I performe Breusch-Pagan tests (bptest in package lmtest) to check the
homoscedasticity of the residuals from a linear model and I carry out carry
out White's test via
bptest (formula, ~ x * z + I(x^2) + I(z^2)) include all regressors and the
squares/cross-products in the auxiliary regression.
But what can I do if I want find coefficient and p-values of variables x, z,
x*z,
2006 Oct 17
4
Merb, Mongrel+Erb
Hey there folks-
I''m happy to announce the first useable release of my new pocket-
framework Merb. Merb is a mongrel handler with built in controller
and view templating with erb. It has a nice routing system similar to
rails but much simpler. It uses some of the code from the camping
handler and the rails handler and then some of its own secret sauce
to form imho a nice fast
2010 Jan 26
2
hdf files
hello,
I have a problem to open an hdf file. i have downloaded the package 'hdf5' as it was advised on R seek. But when i try to load the file, the R console sends me an eror message:
setwd("C:/Documents and Settings/Karine/Bureau/data/")
#install.packages('hdf5')
library("hdf5")
sea_ice <- hdf5load("asi-s6250-20090704-v5i.hdf", load =
2011 Aug 25
2
Bold in expression in Y label
Hi all:
I need to put bold font in the y label, which is an expression at the same
time
When putting font.lab=2 in plot, it only puts bold font for the x axis
label.. what should I do? Thanks very much
plot(jitter(c(1, 4, 7, 9, 11, 13), a=0.1), y = Bllim.m, xlab = "Week", ylab
= expression(paste("B removal rate", " (mg/m"^{3}, "-d)")),font.lab=2, ylim
=
2011 Dec 01
1
transform data.frame holding answers --> data.frame holding logicals
Hello
Hello
I have a data frame, x, holding 5 persons answering the question which
cars they have used:
# the data frame
x <- as.data.frame(
matrix(
c('BMW', '', '',
'Mercedes', 'VW', '',
'Skoda', 'VW', 'BMW',
'', '', '',
'VW', 'Skoda',
2014 Sep 08
2
Samba4 AD -- Mac OS X clients uid:gid numbers not consistent
I have setup a Zentyal 3.2 Samba4 AD. I am using RSAT to administer
the AD server.
Windows7 and Linux (CentOS) clients are able to join the AD; uid/gid
of directories/files show up as per the definitions in Samba4.
With Mac OS X clients, there is a problem. The OS X nodes are able
to join the domain (quite a few blogs on this subject). The AD
connection shows green button.
The AD user is
2012 Mar 27
14
[Bug 47965] New: I can't modify brightness with nVidia 1000m Quadro
https://bugs.freedesktop.org/show_bug.cgi?id=47965
Bug #: 47965
Summary: I can't modify brightness with nVidia 1000m Quadro
Classification: Unclassified
Product: xorg
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: medium
Component:
2018 May 22
4
Pasar palabras de una lista a una variable del dataframe
Buenas tardes,
Tengo una lista de 600 palabras. Quiero saber cuántas de esas palabras
aparecen en cada observación de mi variable "texto". La variable "texto"
es de tipo caracter. ¿Cómo lo haríais?
Muchas gracias.
2018 May 23
2
Pasar palabras de una lista a una variable del dataframe
Muchas gracias Carlos,
Me da error al hacerlo. Mi variable donde quiero que localice las palabras
de la lista tiene más de una palabra, no se si puede ser por eso.
Gracias
El Mar, 22 de Mayo de 2018, 20:15, Carlos Ortega escribió:
> Hola,
>
> Aquí tienes un ejemplo (reproducible)...
>
> #-----------------------
>> # Generar nombres de mujer
>> library(randNames)