I should give an example

for(p in 1:100)
{
    str <- paste("Task", p, sep=" ")
    task_name[p] <- str
}


## first set the random seed so we get the same results
set.seed(123)
## now produce some dummy data
dummy <- data.frame(A = sample(LETTERS[1:4], 100, replace = TRUE),
                   B = sample(c("T","F"), 100, replace = TRUE),
                   C = rnorm(100))

dummy <- cbind(dummy, task_name)

names(dummy)

plot(dummy$A, dummy$task_name)

if you look at the plot you see the task names are printed but cut off.

if I change the plot command using as.numeric I get task names with numbers.
It is still hard to interpret which number the task is referring too?

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to