Displaying 20 results from an estimated 7000 matches similar to: "Missing values detected when there are no missing values"
2006 Jun 18
1
how to successfully remove missing values for a repeated measures analysis
Hello ,
I am hoping for some advice. I want to run a repeated measures ANOVA. The
primary problem is that my attempt to remove missing values created a
dataset of missing values.
The data set consists of 92 rows (1 row per participant) x 186 variables.
The steps of the analysis undertaken are outlined below (#). Any assistance
is appreciated in relation to how to remove the missing values so
2006 May 08
1
performing functions on variables of different length
I am hoping for some assistance with a problem that has puzzled me.
Immediately below is the error messages I obtained when I tried to perform
two functions.
(A)
tapply(outcome,na.rm=T,grp,mean)
Error in tapply(outcome, na.rm = T, grp, mean) :
arguments must have same length
+++++++++++++++++++++++++++++++++++++++++++++++
(B)
library(nlme)
> anova(lme(outcome ~ grp * time,
2006 Jun 19
2
saving rounded numbers as a new variable in a dataframe
A basic question, but one that eludes me. I have created a new variable
$numurder, which I have rounded off. I want to save the rounded off version
of this variable to an existing datafile called 'ngri.csv' .
numurder <-c((murder*no.of.cases)/100)
[[1]]
[1] 48.952 112.073 182.160 974.610 122.140 663.432 150.856 18.988
137.925 198.045 68.930 203.148 30.056 100.955
2007 Dec 16
4
improving a bar graph
Hello,
Below is the code for a basic bar graph. I was seeking advice
regarding the following:
(a) For each time period there are values from 16 people. How I can
change the colour value so that each person has a different colour,
which recurs across each of the three graphs/tie epriods?
(b) I have seen much more sophisticated examples using lattice (e.g
each person has a separate
2009 Dec 21
3
Shutdown vmware ESX
Hi,
is there some easy way how to shut down vmware ESXi host?
We have same apc smart 1500 and I passed usb port into one virtual linux, so
it can monitor ups state via NUT.
So how can i make esx server avare of low battery? Maybe using vsphere-cli
utils?
With regards
Libor
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type:
2023 Jul 26
1
Downloading a directory of text files into R
?s 23:06 de 25/07/2023, Bob Green escreveu:
> Hello,
>
> I am seeking advice as to how I can download the 833 files from this
> site:"http://home.brisnet.org.au/~bgreen/Data/"
>
> I want to be able to download them to perform a textual analysis.
>
> If the 833 files, which are in a Directory with two subfolders were on
> my computer I could read them
2004 Sep 03
5
Lower cost router suitable for VOIP ?
Hi,
we're testing Asterisk 1 RC 2 behind ordinary router and NAT. Since we're
sharing network with web server it seems like voip packets are not coming
through fast enough (Digium demo dies after few seconds...). It's the same
if I make direct calls (passing Asterisk) so we conclude it's network
problem - it also work normally outside our router...
I wonder what solutions can we
2005 Dec 20
1
Wilcoxon Mann-Whitney Rank Sum Test in R
An earlier post had posed the question: "Does anybody know what is relation
between 'T' value calculated by 'wilcox_test' function (coin package) and
more common 'W' value?"
I found the question interesting and ran the commands in R and SPSS. The W
reported by R did not seem to correspond to either Mann-Whitney U,
Wilcoxon W or the Z which I have more
2006 Aug 06
1
ordering by a datframe date
I am hoping for some advice regarding ordering a dataframe, by date.
The dataframe is in the format below.
$story $datepub
story10 1 April 1999
story 90 1 March 2002
story 37 10 July 1985
I want to reorder the entire dataframe so the earliest story is first, and
save the reordered dataframe. The command, 'class' (datepub) reveals
$datepub is a factor variable.
I tried
2006 Aug 31
1
grep question
I am hoping for some advice as to how to modify the following syntax, so
that instead of saving all records which refer to Farrah, I select all
instances that do not include Farrah, or the word Coolum.
test <- read.csv("c:\\newdat.csv", as.is=TRUE, header=T)
sure <- test[grep('Farrah', paste(test$V3.HD, test$V3.LP, test$V3.TD)),]
2007 Jan 09
1
logistic regression in R - changing defaults
Hello,
I was hoping for some advice in changing 2 defaults in a logistic regression.
1. It looks like the first category is the reference category? In the
following syntax 'where' has 4 levels, how can I make the reference
category the third category?
model<- glm(cbind(sucesses, failures) ~ where + who + firstep + dxnarrow +
age + sex + medyear, family = binomial, data=life.use)
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
2010 Mar 12
1
Print density of 600 dpi for a plot
I have to create a plot with a print density of 600 dpi . Within R,
is there a way to determine the print density of a plot?
Any assistance is much appreciated,
regards
Bob
2009 Apr 04
1
comparing columns in a dataframe
hello,
I am hoping for some advice regarding comparing variables from 3
versions of a spreadsheet which have been combined into a single
dataframe. The aim is to identify which rows have been changed.
The dataframe contains 177 rows of data (each cell contains text).
'intersect' produced a file with 35 rows, 'union' a file with 303
rows and 'setdiff' a file with 130
2006 Sep 10
2
formatting data to be analysed using multinomial logistic regression (nnet)
I am looking into using the multinomial logistic regression option in the
nnet library and have two questions about formatting the data.
1. Can data be analysed in the following format or does it need to be
transformed into count data, such as the housing data in MASS?
Id Crime paranoia hallucinate toc disorg crimhist age
1 2 1 0 1 0 1 25
2 2 0 1 1 1 1 37
3 1 1 0 1 1 0 42
4 3 0
2011 Jan 14
1
CSV value not being read as it appears
I have a frustrating issue which I am hoping someone may have a suggestion
about.
I am running XP and R 2.12.0 and saved an EXCEL file that I was sent as a
csv file.
The initial code I ran follows.
dec <- read.csv("g://FMH/FO30122010.csv",header=T)
dec.open <- subset (dec, Status == "Open")
table(dec.open$AMHS)
I was checking the output and noticed a difference
2006 Sep 28
2
recode problem - unexplained values
I am hoping for some advice regarding the difficulties I have been having
recoding variables which are contained in a csv file. Table 1 (below)
shows there are two types of blanks - as reported in the first two
columns. I am using windows XP & the latets version of R.
When blanks cells are replaced with a value of n using syntax: > affect
[affect==""] <- "n"
there
2006 Aug 18
1
using R to perform a word count - syntax refinement and incorrect number of dimensions error
Hello,
I am hoping someone can advise me regarding an error message I received and
if needed, refine some syntax. I am wanting to calculate the word count for
each row of a dataframe. Below, I have 3 variables ("V3.PD", "V3.HD",
"V3.LP") which I want to obtain a word count for, by each row which
contains these variables.
Any assistance is much appreciated,
Bob
2008 Sep 20
2
removing a word, the following space and the next word
>Hello,
I am hoping for advice as to how I could remove all words immediately
following the words 'Mr' or 'Mr.' in a csv file. For example, the
following phrases are included in lines of text (along with other Mr)
that could be anywhere in the file: "Mr Jones ate lunch" and "Mr
Smith was tied".
I want to remove the words Jones and Smith (etc) leaving
2006 Nov 19
2
improving barplot output
Hello,
I was hoping for some advice on improving a barplot. Below is the syntax I
have used. I wanted to do two things differently How would I alter the
syntax so that (a) the y-axis finishes at 25 and not 20, and (b) 'past
ideation' and 'pastwk ideation' are coloured blue and 'past attempt' &
'past wk attempt' are coloured red ?
I was also curious as to