Displaying 20 results from an estimated 30000 matches similar to: "Cloud Function Error"
2006 Nov 05
3
struggling to plot subgroups
Hi Folks,
I have data that looks like this:
freq gender xBar
1000 m 2.32
1000 f 3.22
2000 m 4.32
2000 f 4.53
3000 m 3.21
3000 f 3.44
4000 m 4.11
4000 f 3.99
I want to plot two lines (with symbols) for the two groups "m" and
"f". I have tried the following:
plot(xBar[gender=="m"]~freq[gender=="f"]) followed by
2008 Apr 04
2
NA vs. <NA>
Dear R-Helpers,
Why does R show character missing values in vectors as NA and when
stored in a data frame as <NA>? I've searched but did not find an
explanation.
Thanks,
Bob
> gender <- c("f","f","f",NA,"m","m","m","m")
> gender
[1] "f" "f" "f" NA "m" "m"
2014 Apr 02
3
Typeof for character vector in dataframe returns integer
Hi ,
I want to know is this behavior expected and why is that ? Need some help
gender <- c("F", "M", "M", "F", "F", "M", "F", "F")
> age <- c(23, 25, 27, 29, 31, 33, 35, 37)
> df<- data.frame(gender,age)
> typeof(df[[1]])
[1] "integer"
2010 Sep 01
2
ggplot2 multiple group barchart
hi there.. i got a problem with ggplot2.
here my example:
library (ggplot2)
v1 <- c(1,2,3,3,4)
v2 <- c(4,3,1,1,9)
v3 <- c(3,5,7,2,9)
gender <- c("m","f","m","f","f")
d.data <- data.frame (v1, v2, v3, gender)
d.data
x <- names (d.data[1:3])
y <- mean (d.data[1:3])
pl <- ggplot (data=d.data, aes (x=x,y=y))
pl
2005 Nov 17
2
[Rd] Scan data from a .txt file
[Re-directing to R-help, as this is more appropriate there.]
I tried copying the snippet of data into the windows clipboard and tried it:
> dat <- read.table("clipboard", header=T)
> dat
Name Weight Height Gender
1 Anne 150 65 F
2 Rob 160 68 M
3 George 180 65 M
4 Greg 205 69 M
> str(dat)
`data.frame': 4 obs.
2023 Nov 04
2
I need to create new variables based on two numeric variables and one dichotomize conditional category variables.
I might have factored the gender.
I'm not sure it would in any way be quicker. But might be to some extent
easier to develop variations of. And is sort of what factors should be
doing...
# make dummy data
gender <- c("Male", "Female", "Male", "Female")
WC <- c(70,60,75,65)
TG <- c(0.9, 1.1, 1.2, 1.0)
myDf <- data.frame( gender, WC, TG )
#
2006 Dec 08
2
trouble with cloud output to bmp when in loop
I have some data that I need to view in various 3-D clouds. To better see
the cloud structure on a 2-D screen I would like to output a bunch of bmp
files with clouds at slightly different angles, then run them through an
external program to animate them. But I'm having trouble getting cloud()
from the lattice package to output to bmp files. Oddly, this is only a
problem when outputting
2004 Jan 30
1
lines in 3d-cloud plot (lattice)
Hi all,
I'd like to plot a set of data (x,y,z) as 3D-cloud, and add several line
plots to the same 3D graph:
Two questions:
1) How do I connect points to get a line?
> cloud(z~x*y,data=d,zlim=c(0,1)) # works
> cloud(z~x*predict(l),data=d,zlim=c(0,1),type="l") # type="l" doesn't
Warning message:
type = l not implemented, consider using
2019 Apr 03
2
cloud-init in virt-builder images
I've noticed that none of the images from virt-builder have cloud-init
in them by default. The documentation reads to me as if the OS vendor's
official cloud images are the ones used as the sources for the generated
images but I'm assuming this is wrong.
I know for a fact CentOS's cloud images from
https://cloud.centos.org/centos/7/images/ and Ubuntu's from
2020 Apr 13
2
cloud-init libvirt
is there any way to use cloud-init configs in python libvirt?
cloud-init require to create an iso, which seems that ovirt support
cloud-config: https://red.ht/2K1gBkn
But how can I do that by python libvirt?
I know I can mount iso by python libvirt to the VM, but the process of
creating iso file is the problem which if it is possible to enter the
cloud-config commands by libvirt could be better
2007 May 27
1
Problem while working with SPSS data
Dear all R users,
I got a strange problem while working with SPSS data :
I wrote following :
library(foreign)
data.original = as.data.frame(read.spss(file="c:/Program Files/SPSS/Employee
data.sav"))
data = as.data.frame(cbind(data.original$MINORITY, data.original$EDUC,
data.original$PREVEXP, data.original$JOBCAT, data.original$GENDER))
colnames(data) = c('MINORITY',
2009 Oct 19
3
"Error: object 'cloud' not found"
Hi,
I installed the lattice package so I can plot 3D "cloud" scatterplots:
> install.packages("lattice")
But (after successfully installing from the Berkeley mirror), R insists it
cannot find the cloud function, part of the lattice package:
> cloud
Error: object 'cloud' not found
What did I do wrong?
Thanks!
PT
--
View this message in context:
2011 Aug 25
1
Syntax for a three-level logistic model
Dear People at R help, I am trying to figure out the syntax for a three-level logistic model with a single random effect (intercept):
Data Collected
My data consist of three levels: level 1 is four setting for each student (setting nested within student), and each student is registered in one of 14 universities (students nested within university). More detailed:
A. 2,479 students who have a
2006 Sep 12
1
lattice cloud and conditional axis limits
I'm using the 'cloud' function in the 'lattice' package to produce
multi-panel 3D scatter plots. The range of the values used vary much
between each panel (especially on the z axis), so I wish the axis limits
to be calculated based on the (conditional) data.
Here's a minimal example:
library(lattice)
z=1:200
x=runif(200)
y=runif(200)
s=factor(rep(c(1,2),each=100))
2024 Jan 10
1
CentOS box images at Vagrant Cloud give 404
Hi,
At Vagrant Cloud there are "box" images for stream8 and stream9 [1]. At
least they are supposed to be there.
The download links on the detail pages, for example for stream9
20230727.1 [2] are redirected to cloud.centos.org, however they give an
404 error.
Possibly the centos Vagrant Cloud page is not kept up to date with the
actual box images that are now present on
2017 Jul 13
2
Update of cloud-init in CentOS 7 Extras
> On 13 Jul 2017, at 01:55, Johnny Hughes <johnny at centos.org> wrote:
>
> On 07/12/2017 02:02 PM, Pierre Riteau wrote:
>> Hello,
>>
>> The version of cloud-init packaged in CentOS 7 Extras is rather old (0.7.5, which was released in 2014). It is missing some functionality that we would like to use, as well as important bug fixes.
>> Before I tackle
2013 Aug 06
1
file system resizing with cloud-init on centos/redhat??
Hi,
Has any one used resizefs module with cloud-init on centos/redhat before? How to call it with #cloud-config user data, do I need to give it any parameters? I googled cloud-init, but it is pretty difficult to find a manual/book on this, and mostly they are Ubuntu based.
If possible, I'd like to use a same image/AMI to boot up instances(VMs) with different disk size setup, and let
2014 Jul 14
1
Cloud Images
Any chance of a refresh of the cloud image (http://buildlogs.centos.org/centos/7/cloud/) and including cloud-init and the repos ?
With this, we can start asking our end users to give CentOS 7 a spin on the cloud..
Thanks
Tim
2017 Jul 12
2
Update of cloud-init in CentOS 7 Extras
Hello,
The version of cloud-init packaged in CentOS 7 Extras is rather old (0.7.5, which was released in 2014). It is missing some functionality that we would like to use, as well as important bug fixes.
Before I tackle rebuilding the package myself, I would like to know if there is a plan to update extras to a newer cloud-init version, or if has anyone has already updated cloud-init and would be
2006 Dec 01
1
cloud() question
Hello,
I am trying to plot lines in 3 dimensions from a multiple linear model
to illustrate the interaction of two of the explanatory variables. I'm
trying to use the cloud function (though I'm open to a different
function if an easier one exists). I keep getting the error message:
Error in cloud(lmPeHa061201, data = PeHa061201, cex = 0.8, main =
"Table 99: PeHa", :