This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
base <- read.csv("comm.csv", encoding = "UTF-8", header = TRUE, | |
sep = ",", row.names = NULL, | |
quote = "\"'", | |
dec = ".", | |
stringsAsFactors=FALSE) | |
x <- read.table("comm.csv", header = TRUE, sep=",", | |
quote="\"'", stringsAsFactors=FALSE, | |
fill = TRUE, | |
encoding = "UTF-8", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
out.extra = 'style = "margin:0 -200px"' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Example | |
express <- c(expression(sigma^2 == 1), | |
expression(sigma^2 == 2), | |
expression(sigma^2 == 5), | |
expression(sigma^2 == 10)) | |
# And in the chart code | |
strip = strip.custom(factor.levels = express) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
guides(fill=FALSE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\begin{cases} | |
\end{cases} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
\Big|_{0}^{x} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ggplot(data.frame(x = c(0, 1)), aes(x)) + | |
stat_function(fun=function(x){ | |
dgunit(y = x, mu = mu, phi = phi) | |
}, color = "red2", size = 1.3) + | |
guides(fill = FALSE) + | |
theme_minimal() + | |
ylab(expression("f(y)")) + | |
xlab(expression(y)) + | |
theme( | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'%!in%' <- function(x,y)!('%in%'(x,y)) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
temp = list.files(pattern="*.txt") | |
myfiles = lapply(temp, read.table, sep = ",") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
save(vanessa_da_mata , file = "vanessa_da_mata.rda") |
OlderNewer