Error reading Skott-Knott test file in R

Asked

Viewed 57 times

2

I’m a beginner in R and I’m not being able to perform the Skott-Knott test in the Expdes.pt library.

    # expdes.pt
    library("ExpDes.pt")
    options(digits = 4)
    # with transformed data 
    dic(db$Insetiscida, db$Lagartas.log, sigF = 0.05, mcomp = 'sk', sigT = 0.05)
    
    # < media = mais eficacia no controle da praga.

While running the above program, I get error:

Error in scan(file = file, what = what, Sep = Sep, quote = quote, Dec = Dec, : line 3 Did not have 3 Elements

inserir a descrição da imagem aqui

Follows the link of data.

  • Matheus, good afternoon! Make the dataset available. The error mentioned says that line 3 does not contain 3 elements. Hug!

  • Follows the link and thanks for the help!!

  • 2

    From what I saw there is no variable called Lagartas.log and yes under the name of Lagartas.C. Try changing that name on the line dic(db$Insetiscida, db$Lagartas.C, sigF = 0.05, mcomp = 'sk', sigT = 0.05). Of course if this is all your code. For reading the xlsx I used the readxl package. Hug!

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.