blob_id stringlengths 40 40 | directory_id stringlengths 40 40 | path stringlengths 2 327 | content_id stringlengths 40 40 | detected_licenses listlengths 0 91 | license_type stringclasses 2
values | repo_name stringlengths 5 134 | snapshot_id stringlengths 40 40 | revision_id stringlengths 40 40 | branch_name stringclasses 46
values | visit_date timestamp[us]date 2016-08-02 22:44:29 2023-09-06 08:39:28 | revision_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | committer_date timestamp[us]date 1977-08-08 00:00:00 2023-09-05 12:13:49 | github_id int64 19.4k 671M ⌀ | star_events_count int64 0 40k | fork_events_count int64 0 32.4k | gha_license_id stringclasses 14
values | gha_event_created_at timestamp[us]date 2012-06-21 16:39:19 2023-09-14 21:52:42 ⌀ | gha_created_at timestamp[us]date 2008-05-25 01:21:32 2023-06-28 13:19:12 ⌀ | gha_language stringclasses 60
values | src_encoding stringclasses 24
values | language stringclasses 1
value | is_vendor bool 2
classes | is_generated bool 2
classes | length_bytes int64 7 9.18M | extension stringclasses 20
values | filename stringlengths 1 141 | content stringlengths 7 9.18M |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
a4e72b6573ef5434ab13ab53c05c65a3ef510dd0 | 3042c6d7464ff109944848fd78c6e6f1b260afb4 | /enhancer_rna/base.r | a09d94f54d29e76a025b025d43aa39ec49e251fb | [
"MIT"
] | permissive | yuifu/Hayashi2018 | b425d84471bda21b9fed4869d39c2226ad6b89d1 | 11456678e6536aac72e35c48564baaa240f344a5 | refs/heads/master | 2021-05-11T12:33:54.863946 | 2018-01-16T09:00:45 | 2018-01-16T09:00:45 | 117,661,111 | 6 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,561 | r | base.r |
# path_rdata <- "products/_02_Rdata_NEB_es_enhancer_01_extend/rdata.Rdata"
# odir_base <- "products/_03_count_ngsplot_layered_NEB__es_enhancer_01"
# pathLabel
# experiment_name <- "_01_ngsplot_NEB__es_enhancer_01"
args=(commandArgs(TRUE))
path_rdata = args[1]
odir_base = args[2]
pathLabel = args[3]
experiment_name... |
8db37797a96014924d15c87343e0d78734b40fad | c115602521d415d90914c31c3a7b160964e7d0fd | /man/getConfMatrix.Rd | 49a9b71818ca3ce687acfd15dc9cb24dbdf11a06 | [] | no_license | praneesh12/mlr | 295b5aefa72b8c56b070ac768de828d044ce0087 | 6069b98e8edb79148c005af08037ef89ea0d7cd0 | refs/heads/master | 2021-04-29T23:04:30.865508 | 2018-02-13T22:05:00 | 2018-02-13T22:05:00 | 121,545,775 | 1 | 0 | null | 2018-02-14T18:28:00 | 2018-02-14T18:28:00 | null | UTF-8 | R | false | true | 1,332 | rd | getConfMatrix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/getConfMatrix.R
\name{getConfMatrix}
\alias{getConfMatrix}
\title{Confusion matrix.}
\usage{
getConfMatrix(pred, relative = FALSE)
}
\arguments{
\item{pred}{([Prediction])\cr
Prediction object.}
\item{relative}{(\code{logical(1)})\cr
If \cod... |
b793b749d39485b65fb798319925fc51b7762e2f | 3a7a307ccbff0706bc0f3ed8411f289484eb9df5 | /Curso_R_Aula_1/Aula_1.R | 96a3341bf40b291bc3c76152df1d96b8f7039a55 | [] | no_license | vanderfsouza/cursor.github.io | 65150da7ec88eea8e3de30f9073923d0be1c722b | 461345b4fa35456ee0bd537b189e17607e3200d2 | refs/heads/master | 2020-04-09T20:56:53.980862 | 2019-04-27T14:12:12 | 2019-04-27T14:12:12 | 160,588,448 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,675 | r | Aula_1.R | ########################################
## ##
## INTRODUÇÃO AO PROGRAMA ESTATÍSCO R ##
## ##
########################################
#### Limpar Banco de Dados do R ####
ls()
rm(list=ls())
ls()
##########################
#### Operaç... |
8c8521674b73b6f3b5b76bb70b81cc89eaf852ac | e330c841b3f4e3f726dbc7e91bbb886d6186fc08 | /STUDY_INFO.R | e920f8f1fe14e3d58f545d4e1e7b87e2f66f097f | [] | no_license | crcox/SatelliteLearning | 64058c2ed933574da34c314b343a7cb3a4e5dba6 | 41080071612ead6555230ce1b4596e5930285b4c | refs/heads/master | 2020-05-30T00:26:50.687379 | 2015-03-08T23:48:42 | 2015-03-08T23:48:42 | 31,185,412 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 263 | r | STUDY_INFO.R | STUDY_INFO = list(
datadir="Spring2015/data"
# datadir="/Volumes/Data/Experiments/Behavioral/satelliteLearning/Spring2015/data"
#datadir="/mnt/RogersLab/Experiments/Behavioral/satelliteLearning/Spring2015/data"
)
save(STUDY_INFO, file='STUDY_INFO.Rdata')
|
6c45896445938aed7e73b2979506040678f11633 | 0ff06478c18026955ebf512cd3dcaef7293e1c30 | /R/hanabiPlot.R | 8998e18c30f07eb5c9041af58864db36e8c869ab | [
"CC0-1.0"
] | permissive | charles-plessy/smallCAGEqc | 83d19b21890eed9455eaca13c87455bd53f45950 | e3642f25b43314779c33388129b5d47a5a1538ec | refs/heads/master | 2021-03-13T01:36:47.956099 | 2018-01-25T04:27:20 | 2018-01-25T04:27:20 | 34,089,765 | 1 | 1 | null | 2017-03-22T05:47:31 | 2015-04-17T01:24:16 | R | UTF-8 | R | false | false | 8,294 | r | hanabiPlot.R | #' hanabi
#'
#' Rarefy data at multiple sample sizes, in preparation for plotting.
#'
#' The computation can be long, so the steps of rarefaction and plotting
#' are kept separate.
#'
#' @details The input must be a data frame, or a vector or a matrix, which
#' will be coerced into a matrix. The data must ... |
29a499995a214a6d86c4b697cffb650375eafb02 | 6249a9849904a3d584ffd4b4b0fd602d842a8d57 | /rhandsontable/rhandsontable editable table/ui.R | c5e7dd5984042a2f26fabe702b416d3621793163 | [] | no_license | kumar-sameer/R-Shinyapp-Tutorial | 737da46ffeb48db27326ed4876f58340e595d7c0 | 2d30b20212c1f1bf19f96ba8b319b110344fb816 | refs/heads/master | 2020-03-18T10:29:30.453843 | 2018-05-22T08:24:53 | 2018-05-22T08:24:53 | 134,615,528 | 0 | 1 | null | 2018-05-23T19:19:48 | 2018-05-23T19:19:48 | null | UTF-8 | R | false | false | 849 | r | ui.R | library(shiny)
# install.packages("rhandsontable") # install the package
library(rhandsontable) # load the package
shinyUI(fluidPage(
fluidRow(
titlePanel(title = "Demo rhandsontable & shiny - example app - editable data table"),
h4("rhandsontable is an htmlwidget wrapper package based on the handsont... |
1318658eb042f83474cd945fdb45a7a77a50c0c3 | 81c98978bcff538fa2343e6bf9320293c7abda27 | /lab1/part2_ggplot.R | 48a411cf6e5d86fd436e2661c9a16a1130322603 | [] | no_license | aniksh/DataAnalytics2021_Anik_Saha | 2f654312e6ca047e0a1c173b5c062a7293542765 | a2911893522b3ca05621acb4c87d73b92954b6b1 | refs/heads/master | 2023-03-05T10:43:35.642008 | 2021-02-18T21:22:53 | 2021-02-18T21:22:53 | 333,891,117 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,770 | r | part2_ggplot.R | # mtcars dataset
plot(mtcars$wt,mtcars$mpg)
library(ggplot2)
qplot(mtcars$wt,mtcars$mpg)
qplot(wt, mpg, data = mtcars)
ggplot(mtcars, aes(x=wt,y=mpg)) + geom_point()
# pressure dataset
plot(pressure$temperature, pressure$pressure, type = "l")
plot(pressure$temperature, pressure$pressure)
lines(pressure$temperature, pr... |
18688ead611b97ef50fe081769e34f5177068de1 | e9a14f3d06022ffda16ad454486d7f1f79788bc6 | /Rcpp_and_armadillo/app_roll_portf.R | 58cbba3d0be633258aecfc5ec1a15612c128766b | [] | no_license | Karagul/Algorithmic-Portfolio-Management-in-R-programming-language | 19b146847a3c003e290566b35746e339c0706449 | cbcaecb49659a33a5d3b1b4b70467fe072344331 | refs/heads/master | 2020-06-19T20:28:18.149882 | 2018-08-19T06:02:57 | 2018-08-19T06:02:57 | 196,860,196 | 1 | 0 | null | 2019-07-14T16:37:21 | 2019-07-14T16:37:21 | null | UTF-8 | R | false | false | 2,703 | r | app_roll_portf.R | ##############################
# This is a shiny app for simulating rolling portfolio
# optimization strategies, which produces an interactive
# dygraphs plot.
# Just press the "Run App" button on upper right of this panel.
##############################
## Below is the setup code that runs once when the shin... |
28951ba5e475c4532389ee26d186804c3af0fac0 | 06eff7cef9e88eaad3d9f128efd509d67c7cef87 | /man/to_ChemoSpec.Rd | 5cb0c57d4303ce8247bd7899ae850d6b6c909107 | [
"MIT"
] | permissive | anastasiyaprymolenna/AlpsNMR | 384ef42297232710175b0d25382b4247697a04e5 | c870f9aa07b4a47646f742a13152ca747608f01d | refs/heads/master | 2022-12-03T10:48:41.554384 | 2020-08-26T14:43:34 | 2020-08-26T14:43:34 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 2,573 | rd | to_ChemoSpec.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{to_ChemoSpec}
\alias{to_ChemoSpec}
\title{Convert to ChemoSpec Spectra class}
\usage{
to_ChemoSpec(nmr_dataset, desc = "A nmr_dataset")
}
\arguments{
\item{nmr_dataset}{An \link{nmr_dataset_1D} object}
\item{desc}{a description... |
a2a02c472625de578c0ed7b5976f6df121020a6b | 31b542164a8c46473af45d6dfd591c18191e8f70 | /mkt-project/src/R/Scripts/trim_wiki_eod.R | ebd1ef51282cd022385a84ba5c751942c5b66f0a | [] | no_license | saridhi/fin-ml | 4fc45dda275b4df436ffd574173ebaa5d65e5e19 | a5d60c20336807e1b388bbe12898e6452c729d76 | refs/heads/master | 2022-11-29T16:31:33.758742 | 2020-05-02T11:52:00 | 2020-05-02T11:52:00 | 161,928,872 | 2 | 0 | null | 2022-11-21T21:10:12 | 2018-12-15T17:34:50 | JavaScript | UTF-8 | R | false | false | 580 | r | trim_wiki_eod.R |
all_ts <- lapply(as.vector(trim_tickers), function(x) {
print(x)
tryCatch({
getTimeSeries(dr, ticker=x)
}, error = function(e) {
return (NULL)
})
})
dates <- index(ts)
#Script to trim wiki_eod.csv
ticker_list <- lapply(dates, function(x) {
all_volumes <- csv_contents[csv_contents$date==as.character... |
e0411b9af592ad97d4a260bf2433bf5db9ac3ad2 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.compute/man/ec2_replace_route_table_association.Rd | 8d620987b6095ba668a096124bd99685c603391f | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,348 | rd | ec2_replace_route_table_association.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ec2_operations.R
\name{ec2_replace_route_table_association}
\alias{ec2_replace_route_table_association}
\title{Changes the route table associated with a given subnet, internet
gateway, or virtual private gateway in a VPC}
\usage{
ec2_replace_... |
2723036b82437dddaba7bab031ca7cbfd904868b | cf3f5c4af0ea3b3b80d582020ceccd7efa4b4960 | /Capstone Project/Shiny app Source code/ui.R | 33054241b2915abc8a49c53334875b654f7271b6 | [] | no_license | Mrugankakarte/Coursera-Projects | 2b2f62e115598504bc3f0be4d60c78ea965ae95a | edf36e0d21aeaf1d7b647ec16279d0a64a76e477 | refs/heads/master | 2021-01-16T18:02:22.507888 | 2018-10-20T14:33:12 | 2018-10-20T14:33:12 | 78,918,933 | 0 | 2 | null | null | null | null | UTF-8 | R | false | false | 1,511 | r | ui.R | # ui.R
library(shinythemes)
fluidPage(
theme = shinytheme("slate"),
navbarPage(title = "Word Prediction!",
tabPanel("Home",
h4("This application was developed for Capstone Project of Data Science Specialization offered by John Hopkins Univer... |
eaba325b635dcf13c28a69802b1501f56b3d39a4 | 3fbd06f8bd2bd8c23e2ed0d630a0687828d9de5f | /InfluentialScores_SensitivityAnalysis/SingleNodeRemove_GRNAddLink_001To020.r | 6ef24110df05b5c0d029fef44f23dbbd58b9933b | [] | no_license | anu-bioinfo/Robust-Multilyer-BioNetworks | a2ae6b79541282761f7d757eaf94a99e90c06994 | 9e4ea0c595439f4f910ac51baf44c40f193b0f36 | refs/heads/master | 2022-11-30T19:02:38.771423 | 2020-08-07T02:30:24 | 2020-08-07T02:30:24 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,308 | r | SingleNodeRemove_GRNAddLink_001To020.r | # Sensitivity analysis after add a fraction (0.01:0.01:0.2) of links in the GRN
# Output: the final functional network size in the PPI network
library(igraph)
#g_PPI_Ori <- read.graph("PPI_Net_Num.txt", format = c("edgelist"))
g_PPI_Ori <- read.graph("PPI_NoSelfLoop_WCC.txt", format = c("edgelist"))
wccb <- clusters(... |
e1181b31b2606e71eefa34de637304676c15f1bd | e5fcf1aeff9cbfab3f19a862c7d80145ce68dbe4 | /R/plots.confints.bootpls.R | 538c4661313cc98942975210c026f8780dfa9efe | [] | no_license | fbertran/plsRglm | 7d7294101829065f4d1672d26af42b09b577464a | 058296cd0c1e1488265b87573d524a61f538809b | refs/heads/master | 2023-04-08T02:43:19.921763 | 2023-03-14T22:28:43 | 2023-03-14T22:28:43 | 18,454,150 | 16 | 6 | null | 2021-03-14T15:41:24 | 2014-04-04T22:09:56 | R | UTF-8 | R | false | false | 9,910 | r | plots.confints.bootpls.R | #' Plot bootstrap confidence intervals
#'
#' This function plots the confidence intervals derived using the function
#' \code{confints.bootpls} from from a \code{bootpls} based object.
#'
#'
#' @param ic_bootobject an object created with the \code{confints.bootpls}
#' function.
#' @param indices vector of indices of... |
c5a94c186ad148e9f5f395a32e9b713444cfd8ec | 8dbd9ecd7929913d2095f1ec10b5ee98b2ef1032 | /man/prop_10.Rd | 4cf53fcf5ac117692181c31b91b5ee6cd16da688 | [] | no_license | cran/mazeinda | 587fe727a3609f03dba44d0376d99fa7ee61f189 | 285b026ecef5f7d31d6c75a10291c39c4af1c9e9 | refs/heads/master | 2022-05-12T16:21:15.096059 | 2022-05-09T06:10:07 | 2022-05-09T06:10:07 | 117,666,015 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 357 | rd | prop_10.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/tau.R
\name{prop_10}
\alias{prop_10}
\title{p_10 estimator}
\usage{
prop_10(x, y)
}
\arguments{
\item{x, y}{vectors to be correlated. Must be numeric.}
}
\value{
p_10 estimator
}
\description{
computes estimate of parameter p_01 based on samp... |
b2a08362460ca353c27db79c5b22e23723dcddb7 | 618d4648b27ead670fdcc155a0720afefcd29ff3 | /run_analysis.R | 4b8afea1fd296afd16ee40320f3ef10bc478bdfc | [] | no_license | THJacobsen/Cleaning-peer-assignemnet | f4b78abb490e49ff04a6ef22f652b18e0ccc67af | 33df19117a20a0dd6abbb2be557e1184ed625863 | refs/heads/main | 2023-07-02T21:00:55.882317 | 2021-08-03T07:33:18 | 2021-08-03T07:33:18 | 392,201,530 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,089 | r | run_analysis.R | # First we load in some of the packages often used in this course
library(tidyverse)
library(lubridate)
library(data.table)
# We need to unzip the files. Setting the working directory where files (unzipped) are placed and then unzipping is first step
wd<-setwd("~/coursera/R data science/cleaning data/peer_folder1/C... |
3320902c42e92d5a953a4d3dda9053469177ea5c | b2be4e6387b31880b74a4c08adf6e207c1c9c33a | /mgmt_table.R | f171168d08026daea41e85aac1635ef40477cb0c | [] | no_license | michaelrahija/EAR_pilot | ed5317c4f921186cf55722fa19642cf34eba652a | f4159f7c4cb1486cc7c10babd60eab25337a61b5 | refs/heads/master | 2021-01-21T13:41:24.337796 | 2016-05-15T08:57:49 | 2016-05-15T08:57:49 | 43,822,846 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,869 | r | mgmt_table.R |
library(dplyr)
library(xlsx)
library(tidyr)
library(countrycode)
library(XLConnect)
sys <- Sys.info()
if(sys[7] == "josh"){
dir = "~/Documents/Github/EAR_pilot/"
} else if(sys[5] == "x86_64"){
dir = "~/Dropbox/FAO_ESS_STUFF/EAR_pilot" #Mac
data.dir = "~/Dropbox/FAO_ESS_STUFF/EAR_pilot_data/"
} else if (sys[5... |
a428890b53cde3127d2418c2031ae91c9bc82308 | 2c1de14b2e972f654709b85fbe1aee4d36666758 | /hw1/problem1.r | dbcf72975f4fb72f4c30bd6836ddd0c9ec27f251 | [] | no_license | antoncoding/Statiscal-Learning | d6b737d6f400debaded197d84262e8bedc779877 | fc9fdf18bbde8585f8493f1db6e45e991a0bd0b5 | refs/heads/master | 2021-04-03T02:56:24.907731 | 2018-06-11T15:59:55 | 2018-06-11T15:59:55 | 124,864,925 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,089 | r | problem1.r | options(scipen=10)
df1_train = read.csv('df1_train.csv')
df1_test1 = read.csv('df1_test1.csv')
df1_test1y = read.csv('df1_test1y.csv')
gpredict<-function(dftrain, dftest){
dftrain_a <- dftrain[,1]
dftrain_b <- data.matrix(dftrain[,2:ncol(dftrain)])
mu_a <- mean(dftrain_a)
mu_b <- colMeans(dftrain_b)
sigma_ab... |
67dcf04a5205d62906cab17c82d6609085be13b7 | db9f4506ddd16a3ef9af346a892c85a586aef4dc | /project1DA.R | 3df50c83913752a990839caea82c263b3e7fbcc6 | [] | no_license | pbshaw/ExData_Plotting1 | 568e4a98b4e7914d36ee0a5aba7adbeb28da450a | 3d52e125cb3cbd2ff82d60dd7999d3e6a816bbd1 | refs/heads/master | 2021-01-16T19:15:17.902622 | 2015-03-07T23:32:34 | 2015-03-07T23:32:34 | 31,753,519 | 0 | 0 | null | 2015-03-06T05:06:02 | 2015-03-06T05:06:01 | null | UTF-8 | R | false | false | 2,646 | r | project1DA.R | ## Common functuins used to read data files for project 1
## plotting assignment.
getDataFrame <- function()
{
## Returns data frame in format required by the plotting functions
## Will return pre-built data frame of presnt, otherwise will
## call functions to read csv file and build and store data frame
p... |
254481146ab0fe8a041ccc4ebda0ae0a7fd69a39 | bee9610b99b6e045b078a1a2503d60dba2c56e49 | /tests/testthat/test_hello.R | f8be42fadd5df630429ac3d1f8dd9007f19522f7 | [] | no_license | HLeviel/hello | 79eff30b1e376ec81375689f421136e42028e2c8 | ec523b01cabbed75f8119d98f9c1dab0e7b02ae4 | refs/heads/master | 2021-01-22T19:55:04.991115 | 2017-03-17T21:13:10 | 2017-03-17T21:13:10 | 85,263,091 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 181 | r | test_hello.R | library(testthat)
# Works with one name
expect_that(hello("Hubert"), equals("Hello Hubert"))
# Works with two name
expect_that(hello(c("Hubert", "Toto")), equals("Hello Hubert"))
|
2efd3255d748bc5af350acdf59a5330abdfee570 | 43f6d2a89e611f49d1bff870e6381fa182184ce2 | /man/binary_range_to_letter_code_list.Rd | eb1ee88b6370fcea2a48827175384e4ba183a552 | [] | no_license | pedroreys/BioGeoBEARS | 23bab5299c44b4cfa2ab0e9dbe0de4ecf2196f69 | 9aef25ebf57b854e6f02d5a3a2ca420e31833123 | refs/heads/master | 2021-01-17T17:12:08.479890 | 2013-08-04T02:35:28 | 2013-08-04T02:35:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,413 | rd | binary_range_to_letter_code_list.Rd | \name{binary_range_to_letter_code_list}
\alias{binary_range_to_letter_code_list}
\title{Convert binary presence/absence codes (1/0) to a list of text area names}
\usage{
binary_range_to_letter_code_list(tipranges_row,
areanames)
}
\arguments{
\item{tipranges_row}{row of a \code{tipranges} object.}
\item{area... |
8b50b78da0ac82ce237242f720c0cca324573399 | de7ab3b174b92a50645ab8c238775c59ace0e168 | /man/xxirt.Rd | 48d31c09d9cb6616a9c520c29c3a412c1647c9df | [] | no_license | SanVerhavert/sirt | 27f4ccc0fe55f56e0cd9b91598c22b72d48dc128 | c2ec5d6d38a53f4d081bb3011163657a9aff233a | refs/heads/master | 2021-06-29T03:23:51.834988 | 2017-09-20T14:32:48 | 2017-09-20T14:32:48 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,096 | rd | xxirt.Rd | %% File Name: xxirt.Rd
%% File Version: 0.41
%% File Last Change: 2017-03-01 19:30:55
\name{xxirt}
\alias{xxirt}
\alias{summary.xxirt}
\alias{print.xxirt}
\alias{logLik.xxirt}
\alias{anova.xxirt}
\alias{coef.xxirt}
\alias{vcov.xxirt}
\alias{confint.xxirt}
\alias{IRT.se.xxirt}
\alias{IRT.expectedCounts.xxirt}
\alias{IR... |
8d4235422b4b63d9a503acc8f482fb8959e0c99a | 78b6410be67a167fde91abb6a039847a45ce46cc | /man/perc01.Rd | 30d883085ec08bcb6469ec1c889f3c796712fbe8 | [] | no_license | reyesem/IntroAnalysis | fea3283abc4bd995339acfc7e74f2193812317e2 | 54cf3930879303fb128faf81bd1710b385300d6c | refs/heads/master | 2023-07-12T08:45:27.546965 | 2023-06-29T22:07:02 | 2023-06-29T22:07:02 | 123,822,392 | 0 | 0 | null | 2022-08-15T14:34:13 | 2018-03-04T19:42:24 | HTML | UTF-8 | R | false | true | 1,846 | rd | perc01.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/variable_summaries.R
\name{perc01}
\alias{perc01}
\alias{perc05}
\alias{perc10}
\alias{perc20}
\alias{perc80}
\alias{perc85}
\alias{perc90}
\alias{perc95}
\alias{perc99}
\alias{Q1}
\alias{Q3}
\title{Compute specific percentiles of a numeric v... |
3552b0676abb33087a0c1e9410ea4b81129e45ff | e3080268f304f7e576ef3850ba72c63ca01e1282 | /man/computeLinks.Rd | effddf717c6b33ebccb07ffb87bdc73da8e0ba9c | [] | no_license | Displayr/flipPlots | 4e176be43a2765b31986c26be930cf4eb2962dad | 4dd20ed8e87a0dfa9bf69d8a3f65de2f6a840018 | refs/heads/master | 2023-08-19T03:32:58.337048 | 2023-08-17T00:05:34 | 2023-08-17T00:05:34 | 45,726,921 | 5 | 4 | null | 2023-08-17T00:05:35 | 2015-11-07T07:26:00 | R | UTF-8 | R | false | true | 604 | rd | computeLinks.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sankeydiagram.R
\name{computeLinks}
\alias{computeLinks}
\title{computeLinks}
\usage{
computeLinks(data, weights, show.percentages = FALSE)
}
\arguments{
\item{data}{A \code{\link{data.frame}} or \code{\link{list}} of variables.}
\item{weigh... |
e38cdcf5abfc54af369d523533b615f90cae9dd0 | b1ff01ac33fb04562cf9350b0839bb01cbf7d7a4 | /man/mpspline_fit1.Rd | acf4874535b5f9bb30f5cc6331ac37d62b5a7af0 | [] | no_license | obrl-soil/mpspline2 | 330805adf86b0277bf7b1ab9629b09aa172105dd | 13268e2012446a6c8c0ac3eb5dd49fbe5c055de7 | refs/heads/master | 2023-01-21T14:28:29.904516 | 2023-01-18T07:00:15 | 2023-01-18T07:00:15 | 167,176,801 | 3 | 2 | null | 2022-03-16T23:43:44 | 2019-01-23T12:06:23 | R | UTF-8 | R | false | true | 1,296 | rd | mpspline_fit1.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mpspline.R
\name{mpspline_fit1}
\alias{mpspline_fit1}
\title{Fit spline parameters}
\usage{
mpspline_fit1(
s = NULL,
p = NULL,
var_name = NULL,
d = NULL,
vhigh = NULL,
vlow = NULL
)
}
\arguments{
\item{s}{data.frame; data for one ... |
982b95941646ba999db27a24bfd50fd70d9ec0bb | 90fd571404fa7ccbdbfb7412f198420385ff8c78 | /ML Denis/Course Materials/Section 25 - Iris Dataset/Iris (task).R | e139e7c054716f7d715cda96d109ac883b2ea3b5 | [] | no_license | guptasoumya26/Jupyter-Archives | 9416cebff92c9986610fe04e20bf308f9fda5eff | 8ed9d667e6578e6f2667334b39342e29efe037e4 | refs/heads/master | 2020-05-19T11:55:57.075604 | 2019-07-04T04:30:21 | 2019-07-04T04:30:21 | 185,002,478 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,043 | r | Iris (task).R | # We set the working directory to the folder of this file.
if (!is.null(parent.frame(2)$ofile)) {
this.dir <- dirname(parent.frame(2)$ofile)
setwd(this.dir)
}
library(data.table)
library(ggplot2)
library(caret)
# Task: What kind of plant is it?
# Say the column `Species` beforehand. Divide the data first
# in tr... |
776f4f3ffa2d8f537a04160414e5b58fc00e0e70 | 134653874008b705781b768aabfcbb1d2338d844 | /LESSON.R | c9ae7030fdc081d3a1261a8471f1264154d579ce | [
"BSD-3-Clause"
] | permissive | hlshao/politicalMoney3 | f4eefa94849080ab5e97dc88a68232c6818a2636 | a607a6254f9b27234f4a6c72f9a0ad82e80dd7bb | refs/heads/master | 2020-07-26T23:15:14.657092 | 2019-09-16T13:28:11 | 2019-09-16T13:28:11 | 208,794,447 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,583 | r | LESSON.R | #如何用資料科學研究法律與政治:誰給了誰政治獻金?給了多少?
##中央大學工作坊20190930
##邵軒磊(副教授 台師大)
###我們來練習使用「政治獻金資料集」(註一),練習使用「資料科學」方式來找出一些數字上的規律。從而使學員能夠
###1. 初步瞭解資料科學研究政治的方法。
###2.有簡易的數據與程式能力。
###3.初嚐資料科學給研究帶來的便利。
###在以下的篇幅中,學員將使用「做中學」方式回答下列問題:
###1.誰給了政治獻金,給了多少?
###2.誰收了政治獻金,得了多少?
###3.哪種特性的人會有更多政治獻金?「多」出多少?
##1. 資料讀入
library(dply... |
01854562dad8a490cdd26ade626c96ee5cbe3928 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/dobson/examples/birthweight.Rd.R | 9e5c4e326ec5ed4f432c1fe084b9fe4968158854 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 191 | r | birthweight.Rd.R | library(dobson)
### Name: birthweight
### Title: Birthweight data from table 2.3
### Aliases: birthweight
### Keywords: datasets
### ** Examples
data(birthweight)
summary(birthweight)
|
4fba2a3179ee500d6c44ef54714acad01650e0a8 | 2ff886cc39d80d7794959d9445f40816c5b9d853 | /man/Mortality.Rd | 4f918095318800d908a8299b65ef88f9efc97b6b | [] | no_license | cran/RkMetrics | 46c74216cb28f8931f35c85f0695da3687e93e8e | 569dd68009612b9e466fabb5ac8323dca023326a | refs/heads/master | 2021-01-01T19:37:38.094653 | 2017-07-29T11:43:55 | 2017-07-29T11:43:55 | 98,632,773 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,038 | rd | Mortality.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/Data_Doc.R
\docType{data}
\name{Mortality}
\alias{Mortality}
\title{Switzerland Mortality Data}
\format{A data frame with 6 columns corresponding to:
\describe{
\item{Year}{Corresponding year of data collected}
\item{Age}{Age of ... |
5ec36272c242d63756df74107e17aae2bf1d4fbf | 929c1c7a62e838e09ff576a41e96b6799d355508 | /R/getAUC.R | 93491895e0efd3e072b60233ed3c3bb2f83ad867 | [] | no_license | pjiang1105/TimeMeter | be6ac05bcda96f1089387bdde7c6f5ad66b95707 | 970970b5b3b495f789c0e6a532d9436e856300ca | refs/heads/master | 2022-02-11T07:42:49.654558 | 2022-01-27T02:23:15 | 2022-01-27T02:23:15 | 251,404,867 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 772 | r | getAUC.R | #' Area under the curve for a linear regression
#'
#' This function calculate the area under the curve for a linear regression
#'
#' @param x_start start coordinate for a linear regression
#' @param x_end end coordinate for a linear regression
#' @param slope slope of a linear regression
#' @param intercept intercept o... |
420125596cdbdb633ffb50e34c8018cda86268cc | d1c5d49a70f110df9d138296d3b45c2eadf01de6 | /arvore-randomica-credit-data.R | 7893d45f0882014611a27c4a06581c14a8d34ff9 | [] | no_license | wwenceslau/machine-learning-and-data-science-with-R | b8c1b8d5aa02ccceee9b210bcd854309ec9d8742 | 09a66dc35996f71e0f88363b95be23584d25feec | refs/heads/master | 2020-06-01T12:40:05.477850 | 2019-07-03T07:29:24 | 2019-07-03T07:29:24 | 190,781,639 | 0 | 0 | null | null | null | null | ISO-8859-1 | R | false | false | 978 | r | arvore-randomica-credit-data.R | base = read.csv("credit-data.csv")
base$clientid = NULL
#dados inconsistentes
base$age = ifelse(base$age < 0, mean(base$age[base$age > 0], na.rm = TRUE), base$age)
#dados faltantes
base$age = ifelse(is.na(base$age), mean(base$age[!is.na(base$age)], na.rm = TRUE), base$age)
#escalonamento
base[, 1:3] = scale(base[, ... |
41975c3db1138fa34dee569cae11d124f356caba | 72e15264d5adfa09d2971a869e2a89daa670dd70 | /data_analysis/scalability_analysis.R | d045d7d285d9ff7dd24b4cda54bd596b6a763224 | [] | no_license | benjaminmposnick/Fall-Detector | 9e510d48bd857526fcac1eac905c17861e90a720 | ca6136b30f56fc684efb82ca02a2b2579a85e817 | refs/heads/master | 2022-09-03T10:37:59.245298 | 2020-05-23T13:13:46 | 2020-05-23T13:13:46 | 264,302,599 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,815 | r | scalability_analysis.R | # library(ggplot2)
# Read data
oneServer <- read.csv(file="scalability_test.csv",sep=",",head=TRUE)
twoServer <- read.csv('scalability_test_2.csv', sep = ",",head=TRUE)
threeServer <- read.csv('scalability_test_3.csv', sep = ",",head=TRUE)
fourServer <- read.csv('scalability_test_4.csv', sep = ",",head=TRUE)
# Calcul... |
e3b884c6b784ebadbf96b2c6443924e845515a44 | 9f8a019d4d19bc763821361499694b606172f7f0 | /R/roxygenize.R | 4c6f87f403e4d9a68c4e024e3c5a3058714f4b83 | [] | no_license | miraisolutions/roxygen2 | 92111663d2cdb1dd5eb73ff933e10c6575078909 | 157e8913036954c6216354ef4aa6d2660b6ef95f | refs/heads/master | 2020-12-25T10:35:39.069369 | 2013-06-12T08:41:15 | 2013-06-12T08:41:15 | 10,638,946 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 3,969 | r | roxygenize.R | #' Process a package with the Rd, namespace and collate roclets.
#'
#' This is the workhorse function that uses roclets, the built-in document
#' tranformation functions, to build all documentation for a package. See
#' the documentation for the individual roclets, \code{\link{rd_roclet}},
#' \code{\link{namespace_roc... |
8b4a35ddba82facb7716088d4446a7cc46d3e781 | ff09d8ab1b517ea730d301c1fb6167f0102929b3 | /R/AoRSS.R | 4817a85b8aedbca5b51d80b7bf2519a19f4bd0f4 | [] | no_license | IMPRESSPROJECT/AoRSS | cf75cc7e5795b3b59eae4ba00406eff01760786e | e915d7cc8038027b217a7f64fb24310b3d65b0bf | refs/heads/master | 2021-04-17T04:11:28.049028 | 2021-03-02T08:58:39 | 2021-03-02T08:58:39 | 249,411,982 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,573 | r | AoRSS.R | #' @title Analysis of residual sum of squares (AoRSS)
#'
#' @description Returns the test statistic and p-value corresponding to a method of comparing a number of curves called the analysis of residual sum of squares (AoRSS). The null hypothesis of test is that the K curves can be assumed coincident.
#'
#' @param R... |
b3724f5229ca8109eb5e496564dcd1780402c53d | da9ed9e8a4a02ec680072f658201a023461737f0 | /Course 3 Week 3 Quiz.R | 74977deda85502c2fe19b01798b46fe2c23924ed | [] | no_license | SiddhantUchil/Course-3-Week-3-Quiz | 04768de3def30d97c9dacb8413ecf404ae336176 | 535e71fa2df6daf7dadf1fe6fe1884d12fa05b69 | refs/heads/master | 2022-07-21T22:42:27.307966 | 2020-05-22T18:38:00 | 2020-05-22T18:38:00 | 266,183,144 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,191 | r | Course 3 Week 3 Quiz.R | getwd()
a = read.csv("hid.csv")
library(dplyr)
library(tidyr)
a = tbl_df(a)
a
agricultureLogical = a %>% drop_na(ACR, AGS) %>% mutate(LOGICAL = ACR == 3 & AGS == 6)
agricultureLogical$LOGICAL
which(agricultureLogical$LOGICAL == TRUE)
?drop_na
df <- tibble(x = c(1, 2, NA), y = c("a", NA, "b"))
df %>% drop_na()
df %... |
65b86f0a344dc55a366382f92b65b59801053293 | f064ecae355e2eada3c7438247ba784129f8f028 | /datasciencecoursera/ml/CaretRandomForests.R | 5ec74d606ae46442f9af5d5e03983cb33f3b54ba | [
"CC0-1.0"
] | permissive | ArnulfoPerez/R | c0a1a43680dd486bd9d0f8379ae05057efcbc235 | 70fb8a57b19d86eceb7a4d5f75aec712bfebfff5 | refs/heads/master | 2022-11-06T16:00:57.404891 | 2020-06-28T07:04:19 | 2020-06-28T07:04:19 | 260,382,530 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,119 | r | CaretRandomForests.R | library(caret)
library(ggplot2)
data("iris")
names(iris)
table(iris$Species)
inTrain <- createDataPartition(y=iris$Species,p=0.7,list=FALSE)
training <- iris[inTrain,]
testing <- iris[-inTrain,]
dim(training); dim(testing)
qplot(Petal.Width,Sepal.Width,colour=Species,data = iris)
modFit <- train(Species ~ ., method="... |
bc17896c8ef646b38f5a39e981071c7057376ca8 | 9069a14191ff2e9077de348720eef82b1a8bcf42 | /2015s2-mo444-assignment-04/codes/ep4_after.R | 63f2cee227979f442eaa4c7f7cad471b2bd49f8a | [
"MIT"
] | permissive | rodneyrick/MO444-PatternRecognition-and-MachineLearning | a0fdad638922cf6b1ef4450c5ad732dc66131a71 | 5b0f9968b5b9e5c761cac48675118a9a755a5592 | refs/heads/master | 2020-04-24T01:45:41.999102 | 2016-08-26T22:32:42 | 2016-08-26T22:32:42 | 66,675,858 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,874 | r | ep4_after.R | train <- read.csv(file="D:\\MO444\\2015s2-mo444-assignment-04\\trat_200.csv", sep=",", header = FALSE, nrows=20000)
val <- read.csv(file="D:\\MO444\\2015s2-mo444-assignment-04\\trat_200.csv", sep=",", header = FALSE, nrows=20000, skip = 25001)
# original data
pca <- princomp(train[-1]) # principal components a... |
4323bcf6931942dd7446963a3968ed7ccd174489 | c31544cebf23c91ab8ed91a181a679aa15046091 | /reports/08_landuse_intensity.R | 69784064c3dec242866ffca1785a81f4be9a32e3 | [
"MIT"
] | permissive | CecSve/InsectMobile_Biomass | ea5c95b125ff2448a588c2e221345df5690a2480 | b72dfc200e14e2be109db3bf06c71824862d69ed | refs/heads/master | 2022-10-13T02:06:19.386263 | 2022-10-11T12:14:59 | 2022-10-11T12:14:59 | 229,278,989 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 28,058 | r | 08_landuse_intensity.R | #run 03mergeData script
### Load required libraries ###########################
library(cowplot)
library(ggplot2)
library(wesanderson)
library(ggpubr)
library(scales)
library(psych)
library(ggfortify)
library(lme4)
library(lmerTest)
library(effects)
library(corrplot)
library(MuMIn)
library(sjPlot)
#... |
9562651e344c425b9fa5ec3ca29a5c09823adae9 | 45a43d0bc94c0e18cbc58b45ad39d4e4a6171b7c | /rscripts/gbdrawer03.R | a6796981eae95a24d56a2ef518420593c799de09 | [] | no_license | rdosreis/rdosreis.source | a34d0dce9a4eb811905aeeddcc9c51e670364821 | aad8619786aff18a51981acb64192b2e27410115 | refs/heads/master | 2023-02-20T21:28:40.083052 | 2023-02-08T14:17:24 | 2023-02-08T14:17:24 | 221,798,187 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,532 | r | gbdrawer03.R | library(readr)
gbd_copd <- read_csv(file = here::here("data",
"IHME-GBD_2019_DATA-4fea7ca1-1.csv"))
gbd_copd$age <- factor(
x = gbd_copd$age,
levels = unique(gbd_copd$age),
labels = c(
c("Early Neonatal", "Late Neonatal", "Post Neonatal"),
unique(gbd_copd$age)[4:19... |
58e12760b71ee2ab7299ff4369692587d09a57eb | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.media.services/R/mediastore_operations.R | 8a4c14672e1e5b94979930e8c977ba5086264027 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | false | 34,318 | r | mediastore_operations.R | # This file is generated by make.paws. Please do not edit here.
#' @importFrom paws.common get_config new_operation new_request send_request
#' @include mediastore_service.R
NULL
#' Creates a storage container to hold objects
#'
#' @description
#' Creates a storage container to hold objects. A container is similar to ... |
a5866dcd659d8bad7ccd2818286b5417ef3810d8 | 0500ba15e741ce1c84bfd397f0f3b43af8cb5ffb | /cran/paws.compute/man/ec2_create_transit_gateway_route_table.Rd | bd0b662c6f4d1e4ea68f933cc2b0ff3391ba26b7 | [
"Apache-2.0"
] | permissive | paws-r/paws | 196d42a2b9aca0e551a51ea5e6f34daca739591b | a689da2aee079391e100060524f6b973130f4e40 | refs/heads/main | 2023-08-18T00:33:48.538539 | 2023-08-09T09:31:24 | 2023-08-09T09:31:24 | 154,419,943 | 293 | 45 | NOASSERTION | 2023-09-14T15:31:32 | 2018-10-24T01:28:47 | R | UTF-8 | R | false | true | 1,010 | rd | ec2_create_transit_gateway_route_table.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ec2_operations.R
\name{ec2_create_transit_gateway_route_table}
\alias{ec2_create_transit_gateway_route_table}
\title{Creates a route table for the specified transit gateway}
\usage{
ec2_create_transit_gateway_route_table(
TransitGatewayId,
... |
3c581012ca0de72eb35f44a5888702653ec6dfcb | 215702ce00728f74e3a91e605ccf3f0b4500e4bd | /R/totaltest.R | 949678237c220666ed060becbf8bb3e4973cc368 | [] | no_license | zhangyuwinnie/RPEXE.RPEXT | 25ed9b824fb8303a317004a85ddbe4e31bde9909 | 20f6bdd83584861aca2bc8fa9ad9cda8a8247567 | refs/heads/master | 2021-04-28T23:53:47.342865 | 2017-05-04T19:31:42 | 2017-05-04T19:31:42 | 77,723,694 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,037 | r | totaltest.R | #' @title total time on test
#'
#' @description Function 'totaltest' computes total-time-on-test.
#'
#' @param time event/censoring times
#' @param censor censoring status
#'
#' @usage totaltest(time,censor)
#' @return
#' time_die time points where events occur (in ascending order)
#' ttot total time on test correspon... |
deb6614b9c550a8beafce927ba2c8c0c6ebeb930 | 46384d319e28049608000800c8ce514ce1bf7316 | /man/matches_regex.Rd | dfeccdd8a37d7680c1199919ccfc550f01c75791 | [] | no_license | cran/assertive.strings | 060086017cd7163bd3040185c8498debf091c998 | 4f21ca1cb6189e3140731acfa6b320a66fb4df2a | refs/heads/master | 2021-01-21T14:08:10.443325 | 2016-05-10T10:14:32 | 2016-05-10T10:14:32 | 48,076,811 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 787 | rd | matches_regex.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/internal-string.R
\name{matches_regex}
\alias{matches_regex}
\title{Does the input match the regular expression?}
\usage{
matches_regex(x, rx, ignore.case = TRUE, ...)
}
\arguments{
\item{x}{Input to check.}
\item{rx}{A regular ex... |
2db8c462b1cdf0e963916680bbb768ba39587071 | 9ec4bb9170a6566ec0e19e3e05963187d5c0dbc3 | /man/summary.RM.Rd | 394917a0b786e23fd9ced64ef7b22c3fa0eadd30 | [] | no_license | smn74/MANOVA.RM | 4cd94f0d0e74863c733be01a2f06740faaad63e9 | 273d2f4bddc2aab5abbc99b89ffbec9e75b3da67 | refs/heads/master | 2023-02-25T12:46:41.101640 | 2023-02-08T11:47:59 | 2023-02-08T11:47:59 | 104,210,872 | 9 | 7 | null | null | null | null | UTF-8 | R | false | true | 489 | rd | summary.RM.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utility_functions.R
\name{summary.RM}
\alias{summary.RM}
\title{Summarizing an RM object}
\usage{
\method{summary}{RM}(object, ...)
}
\arguments{
\item{object}{An RM object}
\item{...}{Additional parameters (currently not used)}
}
\descripti... |
ea5483330385ee36381e30d952662eefce7a9f86 | 076d0987347891cb4e0b5c9865e489da8b323909 | /R/div.profile.r | 1c2bde22e8e0d86eeaec24349f8b1f174b28711e | [] | no_license | cylove1112/hilldiv | c3e9ebc819eb678c85c164e81321419840702882 | de70e217007f656a265e02c7fdd0e3a3617d5f6c | refs/heads/master | 2020-04-13T23:17:37.727022 | 2018-12-28T12:41:08 | 2018-12-28T12:41:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,085 | r | div.profile.r | div.profile <- function(abund,tree,order,values,hierarchy,level,log){
#Quality-check and warnings
if(missing(abund)) stop("The abundance data is missing")
if(missing(order)) {order= seq(from = 0, to = 5, by = (0.1))}
if(missing(values)) {values= "FALSE"}
if(missing(level)) {level= "gamma"}
if(missing(log)) {log= "... |
a4aa2d8a61a151fb53d228d82b5bfdde298378d9 | c036c7abbd0cb9a8ae7dae5a08d7b052637e28cd | /run_analysis.R | 7eef9d2c001e7fd28aba5cce90b7b0f884ee6614 | [] | no_license | matthewtoney/datasciencecoursera | 532bf6a040f6e114d0d2d9a50bba9f8a4743ec19 | 2466190ecd7142fe30c3c6511d12d8111b03663a | refs/heads/master | 2016-09-06T08:04:01.491898 | 2015-03-22T22:45:38 | 2015-03-22T22:45:38 | 29,829,485 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,144 | r | run_analysis.R | # 1. Merge the training and the test sets to create one data set.
#set working directory to the location where the UCI HAR Dataset was unzipped
setwd('C:/Users/Computer/Downloads/getdata_projectfiles_UCI HAR Dataset/UCI HAR Dataset')
# Read in the training data
features = read.table('./features.txt',header=FALSE); #... |
914feeead71ffb3556de940c2da8278c3bc61262 | 931fa3013fae888bd094eca978e78e2f3a0acec4 | /simulations/correlnb.R | 337be841944799382c148b06eddbb5695b853a28 | [] | no_license | LTLA/IndependentFilter2015 | 2f08ea27021668ae8184edccb6dce447f68c49a8 | e78afe3e112f19237ce24334ec84fa181821571f | refs/heads/master | 2021-05-16T10:17:49.257083 | 2019-01-01T10:15:21 | 2019-01-01T10:15:23 | 104,686,973 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,671 | r | correlnb.R | # This tests the behaviour of filtering on correlated tests with the NB mean filter.
ngenes <- 100000
design <- model.matrix(~gl(2, 3))
nlib <- nrow(design)
source("functions.R")
dir.create("results-misc", showWarning=FALSE)
# Testing the NB.
set.seed(634294)
mu <- 10
disp <- 0.1
filtrate <- 0.1
pdf("results-misc/c... |
7e8d2f8799252d583f9ceea8f8e356c75528f2f4 | f90115826c0234fbdfe7f580e6654925aa98e6b2 | /R-source/PdfRunApp.R | 2a4e9fe5d907c9c2c9beb23fa865faaae32cf078 | [] | no_license | mizma2k/FX-Git | 9272485edc4f7dfb4f12d3a4fbcaa74d9e2896d9 | b9629452419f30c4cade872928c2dcf119096b64 | refs/heads/master | 2022-12-30T23:11:03.398272 | 2020-09-09T03:40:11 | 2020-09-09T03:40:11 | null | 0 | 0 | null | null | null | null | WINDOWS-1252 | R | false | false | 1,907 | r | PdfRunApp.R | #|------------------------------------------------------------------------------------------|
#| PdfRunApp.R |
#| Copyright © 2012, Dennis Lee |
#| Assert Background ... |
58ecda5a5dbaab162f77dae625d1978da6d66cbc | 2260919a179172c731c9c0e503b324c97a01a5a7 | /Visualizations/Poster_Plot.R | f262a7a9a4b9ce1da1c65f4e6019fba9ffa5100a | [
"MIT"
] | permissive | victorfeagins/NDVIModeling | f1d34c2b2a0a0ae9ad8d73bbd48dddad02c71ad3 | 25cfece367cb257377ab3580f60b3e65944747b7 | refs/heads/main | 2023-08-22T06:01:21.174234 | 2021-10-28T14:20:56 | 2021-10-28T14:20:56 | 377,971,835 | 0 | 1 | null | 2021-06-28T20:03:55 | 2021-06-17T22:10:33 | R | UTF-8 | R | false | false | 656 | r | Poster_Plot.R |
library(ggplot2)
library(stringr)
library(dplyr)
inputdirectory <- "/projectnb/dietzelab/GOES_DataFTP/InputFilesNDVIModel/2021/"
#sitecodebook <- "/projectnb/dietzelab/vfeagins/Programming/NVDI_Modeling/GOESdownloadSites.csv"
inputfiles <- list.files(inputdirectory)
# 3 is good
# 10
inputfile = inputfiles[[10]]
df... |
85e41ae0b114d0d2fb239718213d38ecb4e0bf3f | 0e27f48be18b30d93bea36ce1182e38e1973c074 | /practicas/AB Testing Practica/Data_AB_Testing.R | 181a8b842f931d5b063a677bb0aefe3962472003 | [] | no_license | joagonzalez/ditella-ventas-marketing | d6074d12d7ee603b677cdb137103cf2f086cc431 | 6df45126d9568e4a85aaec87dfd99fcea4c7d836 | refs/heads/master | 2023-08-14T10:01:46.019752 | 2021-09-27T00:50:54 | 2021-09-27T00:50:54 | 410,687,974 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,037 | r | Data_AB_Testing.R | # load the library
#1. Prepare the dataset and load the tidyverse library which contains the relevant packages used for the analysis.
library(tidyverse)
# set up your own directory
setwd('/Users/seguram/Documents/AB Test')
# Using read.csv base import function
ABTest <- read.csv("Website Results.csv",
... |
d2113e6e1c32adbee0cac53277ee9ead2f734171 | 6cdd53ea5a130d609f9bdf3d1ebf5fd00bb10d1d | /similarity.R | a355359961b1adeb2b66cd7243a9240012737a81 | [] | no_license | lucasbic/dataIC | 73dffaa637cb3045ca9ae31ecbfb8944ee01e8c6 | 53f4ed19749f223f2df8017905794f2ac2cb37fe | refs/heads/master | 2023-04-15T09:45:42.930853 | 2021-04-22T19:17:37 | 2021-04-22T19:17:37 | 187,738,031 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,135 | r | similarity.R | ###########################################
#Arquivo: similarity.R
#Autor: Lucas Bicalho
###########################################
data_acid = read.table("data/ACIDENTES.csv", header=T, sep=";")
df = data.frame(dia_semana=weekdays(strptime(data_acid$data, "%d/%m/%Y %H:%M")),
tipo_acid=data_a... |
aea53430fe57f0d76d8304908f569695a96cf30d | 9345c3bd943697cf136ce1d66e8c954da56db0fd | /man/uwSurvival.Rd | b5afce38c08c7fdef74b746f56395320928724d2 | [] | no_license | jbirstler/biostatrpts | 20967f481a5f3f9ef630da3688260fbdb7d5ae2a | 079190440c9c20b2ffd0a692170e45742c2ba859 | refs/heads/master | 2022-06-09T19:08:39.102037 | 2020-05-06T21:10:11 | 2020-05-06T21:10:11 | 261,236,006 | 2 | 0 | null | null | null | null | UTF-8 | R | false | true | 4,697 | rd | uwSurvival.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/uwSurvival.R
\name{uwSurvival}
\alias{uwSurvival}
\title{Create Survival Chart and Table}
\usage{
uwSurvival(
survData,
statusName,
trxName,
trxControl,
timeName,
fun = NULL,
color = NULL,
pTitle = "Survival by Treatment",
y... |
d6d8a7c3763f91ffd87c8856e7ace8c3c2f03114 | c5a921726a3805663d26a2dbaa47e49497931d4e | /DataCamp/Data Analysis in R the data.table Way.R | 1b743f9a8f00529633da05f8988f8d6e4dc843e8 | [] | no_license | snowdj/cs_course | a50d07548198b4202e8abde01ec572e2cce38ab3 | fa6504cb5145d10952f4615478fa745f4b35ba13 | refs/heads/master | 2020-03-17T15:18:52.190747 | 2018-05-13T08:08:51 | 2018-05-13T08:08:51 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,954 | r | Data Analysis in R the data.table Way.R | ## 1 - Data.table novice
##--
## Create and subset a data.table
## Welcome to the interactive exercises for your data.table course. Here you will learn the ins and outs of working with the data.table package.
## While most of the material is covered by Matt and Arun in the videos, you will sometimes need to show som... |
df262d86135ffc659b386f4366b3ab83493c0223 | 26c0d024a84f6bcf461eb5f4ae97e7ca1fd9eaba | /R/trawlCast.R | 1d2d16005c18b235fe8bb36841b1313f5cbfec3a | [] | no_license | rBatt/trawlData | 11deca8341155dbd09afbdb0fcab046e4ff06c3f | 266c5cda94b78790474ed8a5b3e8a66b6bde04d8 | refs/heads/master | 2021-01-21T08:57:44.568307 | 2018-06-24T20:55:19 | 2018-06-24T20:55:19 | 44,205,244 | 8 | 3 | null | 2017-06-28T20:43:56 | 2015-10-13T21:14:11 | R | UTF-8 | R | false | false | 6,933 | r | trawlCast.R | #' Cast Trawl
#'
#' Cast a data.table of trawl data to an array
#'
#' @param x A data.table with column names to be used in \code{formula}, \code{valueName}, and potentially \code{allNA_noSamp}
#' @param formula Formula describing array dimensions, in order as would be given by \code{\link{dim}}. Passed to \code{form... |
67975ed6da0f42c817194fdbac86b785bc96db13 | e5e29b60f2111cf6998b46a80cb5e034962b2cc5 | /rstuff/rmongodb/rmongodb/man/mongo.gridfile.destroy.Rd | 87e2b1ac12294bc309d1930e037135785d4a78da | [
"Apache-2.0"
] | permissive | BigBlueBox/GoodAndBad | 24e326862a5456b673b1928ffbb14bc1c47a4d4b | 4d2b8d3de523c3595fc21aa062eddf739f6c3a20 | refs/heads/master | 2021-01-01T20:35:55.494474 | 2014-08-24T17:56:29 | 2014-08-24T17:56:29 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 917 | rd | mongo.gridfile.destroy.Rd | % File rmongodb/man/mongo.gridfs.destroy.Rd
\name{mongo.gridfile.destroy}
\alias{mongo.gridfile.destroy}
\title{Destroy a mongo.gridfile object}
\description{
Releases the resources associated with a \link{mongo.gridfile} object.\cr
These are created by \code{\link{mongo.gridfs.find}()}.
It is not absolutely necessary... |
9f7aa741278b8874ed132bc60d8dedb923ee3e5a | 12087b38abc7ab2a111d141eb32249f385d7a77f | /src/bike-load.R | 88390788da42f95bd71337da655326747ee12df7 | [
"MIT"
] | permissive | philparadis/final-report-bike-sharing | 41a3c79f0b47a7041379a32726d3b44aeaa644b4 | 2fd857e4da124d3f62390cd30ed757beca8b9995 | refs/heads/master | 2021-06-07T04:32:54.799207 | 2016-11-16T22:54:19 | 2016-11-16T22:54:19 | 67,766,766 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,652 | r | bike-load.R | # default.work.dir <- "D:/stat5703w/bike-sharing"
# hedos.work.dir <- "/proj/stat5703w/bike-sharing"
# yue.work.dir <- "C:/Users/Yue/Desktop/master's/2015 Winter/Data mining/bike-sharing"
#
# switch(Sys.info()[['user']],
# # Working directory for user "hedos"
# hedos = { work.dir <- hedos.work.dir },
# ... |
03beb18daa8bb85189a8b9b87caf318d9defe980 | fdab4f0f411b09444cbc727d7116997a21233de2 | /man/tsort.Rd | 25716ad76a5a7e8fc58b28fefc7f57510504a15e | [
"BSL-1.0"
] | permissive | Bioconductor/RBGL | 548f9313243faa7e9e3fc433ddb57cb84b62e89b | 9d7bde9cbc9db5651cdd018d26abf9acddfddb04 | refs/heads/devel | 2023-05-28T08:40:00.413700 | 2023-05-15T15:22:58 | 2023-05-15T15:22:58 | 102,150,272 | 1 | 6 | NOASSERTION | 2023-04-13T19:34:29 | 2017-09-01T20:23:47 | C++ | UTF-8 | R | false | false | 1,312 | rd | tsort.Rd | \name{tsort}
\alias{tsort}
%- Also NEED an `\alias' for EACH other topic documented here.
\title{ topological sort of vertices of a digraph }
\description{ returns vector of zero-based indices of vertices
of a DAG in topological sort order }
\usage{
tsort(x) # now x assumed to be Bioconductor graph graphNEL
}
%- may... |
e3509d02cb4cac11c52a40e40e00fb098d7b6b3a | 447b1868dcf993df08a88ca7e09bc1abcec0739e | /kaggle/sberbank/code/columns.R | d9b9d37e36b9b92739777a8f8c66590cf0f1f4b8 | [] | no_license | rareitmeyer/data_science | 5469d51800115748e8c3e6573c05a43897dac47f | a986e7fa4f86d0981692ffb7c1c386431cd717ac | refs/heads/master | 2020-05-31T21:59:33.497279 | 2017-07-30T21:02:55 | 2017-07-30T21:02:55 | 94,050,327 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 7,651 | r | columns.R | # Column groupings
predict_col = 'price_doc'
id_col = 'id'
raw_property_features <- c(
'full_sq',
'life_sq',
'floor',
'max_floor',
'material',
'build_year',
'num_room',
'kitch_sq',
'state',
'product_type'
)
raw_distance_features <- c(
'ID_metro',
'metro_min_avto',
... |
a4fda22696394df1bd340f3f85680e59c0c9c5fc | 933bd62bb736226b5d8bc29d93ca6b9be2ffe4eb | /man/PlotSaturationEstimates.Rd | 610516eb30decbd8e0f947e542efe3fe4454e03f | [] | no_license | kharchenkolab/dropestr | c2c983089961cc00bb8fa7c62e4a0f9d889e9d1c | 23d6caa8f927493bcfea2e1ac98d13fa3b21b5dc | refs/heads/master | 2022-12-13T19:50:26.715802 | 2020-09-17T02:42:02 | 2020-09-17T02:42:12 | 292,871,624 | 2 | 1 | null | null | null | null | UTF-8 | R | false | true | 430 | rd | PlotSaturationEstimates.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/quality_control.R
\name{PlotSaturationEstimates}
\alias{PlotSaturationEstimates}
\title{Plot estimated library saturation}
\usage{
PlotSaturationEstimates(preseq.estimates)
}
\arguments{
\item{preseq.estimates}{named list of results of Estima... |
55918c2527b477c63bea843e66d9e59ff374abcc | 20b1b50f86dd29003c560c2e375086946e23f19a | /gwas/hwe_replace_filters.R | f49aaf65881d959c563aee14139c2c46f0cdf6a9 | [] | no_license | ericksonp/diapause-scripts-clean | cfc3ed0433114ee756019105b364f40e03b2419d | c93a052e9d63b9f7c60f7c18c1ad004385b59351 | refs/heads/master | 2021-07-09T07:16:03.326322 | 2020-07-31T17:00:37 | 2020-07-31T17:00:37 | 170,798,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,526 | r | hwe_replace_filters.R | library(GWASTools)
library(data.table)
library(SNPRelate)
library(gdsfmt)
library(doMC)
registerDoMC(20)
library(foreach)
##this script generates a master data table with informtion about each snp that is used for filtering and for permutation analysis, including:
# of times the snp was heterozygous in a founder
... |
fa2a5e13e52f2bb2f5b87152dfc5514e28ac3dbc | 160622f50fc2fe9a6aaa3095849f7a8bd2caa496 | /R/bhit_map.R | 4b0ff6406ffc227c444c48e3ca8bcc48e1370c56 | [] | no_license | jayhesselberth/platetools | 53fd0d16deca84ec6efd0c1f838d7a9fed835a1b | 617a33fc4a3482b85fc1fd8b38dcc82a53a10176 | refs/heads/master | 2020-03-22T01:45:56.557163 | 2018-06-25T13:36:13 | 2018-06-25T13:36:13 | 139,328,253 | 1 | 0 | null | 2018-07-01T12:42:49 | 2018-07-01T12:42:48 | null | UTF-8 | R | false | false | 4,595 | r | bhit_map.R | #' Platemap to identify 'hits' following a B-score normalisation
#'
#' Produces a platemap with colours indicating wells above or below selected threshold
#' after normalising for systematic plate effects via B-score smooth. The threshold is
#' definined calculated from a z-score, i.e plus or minus standard deviations ... |
72a66301bde4b1ea42c03a29bc2d8db60a4b8df3 | 6e4616b3a160a88e67eb53ad7d61c7f743c07da0 | /Commodity code update.R | 88bd62ce0c83139991fbfdc0231359b452b60b42 | [] | no_license | FoodStandardsAgency/TradeDataVis | df3d3da0e12b174fd7b50f0fd335b34c0b2307ce | e9b13ca3113ee6213403b71611eda77c6c823a4c | refs/heads/master | 2022-10-13T08:19:29.061012 | 2022-09-28T17:46:21 | 2022-09-28T17:46:21 | 156,387,739 | 2 | 1 | null | 2022-09-28T17:46:22 | 2018-11-06T13:27:23 | R | UTF-8 | R | false | false | 6,264 | r | Commodity code update.R | # SCRIPT START ################################################################
# LIBRARY IMPORT AND CONSTANTS ================================================
if(require("readr") == FALSE) {install.packages("readr")}
library("readr")
if(require("dplyr") == FALSE) {install.packages("dplyr")}
library("dplyr")... |
d5f89257daa168238a96e92ef05e79406f0ffe9c | 3d08da73ff2cee676f5087eb86dc46ddc34a78d0 | /IGV_gistic.R | f17af8926904694d4616e5455592b0e4c088278d | [] | no_license | Jkang-alien/GISTIC2IGV | 748ec07b479b4ee177f436d81123cedcfcba9cbd | bcd681289dbc05e6e7942ab4d982c408ad4b7935 | refs/heads/master | 2021-01-10T16:33:28.331068 | 2015-11-27T04:20:07 | 2015-11-27T04:20:07 | 46,955,058 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,617 | r | IGV_gistic.R | #setwd('/home/jun/Programs/GISTIC2.0/melanoma/score.gistic/')
filenames <- list.files(path = ".", pattern = '^score_*', all.files = FALSE,
full.names = FALSE, recursive = FALSE,
ignore.case = FALSE, include.dirs = FALSE, no.. = FALSE)
for (i in filenames){
a <- read.delim(i)
index = dat... |
aca513c0f0fd1e402aee09de2a01b52eb67eb43f | 8a6cbc8bc19c939e63ceefebe3a2b2e64d690967 | /catch/catch.R | e8f90e3b5f4d5541fffc12e599f836b81a5fc847 | [] | no_license | mburgass/noba | 2cb065838009ff401822b31f022948a04922c1c5 | b6844f42cafba69ee7a943664b08f52762c47a04 | refs/heads/master | 2021-01-19T00:33:01.210045 | 2019-04-10T13:58:56 | 2019-04-10T13:58:56 | 87,182,378 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,363 | r | catch.R | closeAllConnections()
library(tidyverse)
#Read base case
read.csv("catch/bc_catch.csv") %>% select(Year, REO, GRH, HAD, SAI, RED, NCO, CAP) %>%
gather("species", "catch", 2:8) %>% mutate(scenario="fmsy1") %>% filter(Year<2016) -> bc_catch
#Read fisheries scenarios
read.csv("catch/fmsy2_catch.csv")%>% select(Year, RE... |
ad693af0eeb74dcb4ae2bbcf0f35cd1d5f6598d6 | 6663bc0d1a8729761bc42f797db498b042b18599 | /inst/scripts/roc.R | f5a5a78a5f86ea0a022a3acd1ec6d22304f2bf35 | [] | no_license | niuneo/gbcode | 61cfb5c15f0e5aeb2958de58e65ce469f32d3898 | b69be8d3033c23e423a04f81aa2c85bff75f09f1 | refs/heads/master | 2020-05-24T11:18:23.401583 | 2019-03-19T10:02:01 | 2019-03-19T10:02:01 | 187,245,627 | 1 | 0 | null | 2019-05-17T16:03:27 | 2019-05-17T16:03:27 | null | UTF-8 | R | false | false | 498 | r | roc.R | ## "INFOF422 Statistical foundations of machine learning" course
## R package gbcode
## Author: G. Bontempi
mu.p<-2
sd.p<-1
mu.n<--1
sd.n<-1
TT<-seq(-10,10,by=.05)
FPR<-numeric(length(TT))
SE<-numeric(length(TT))
R<-100000
for (tt in 1:length(TT)){
thr<-TT[tt]
DNp<-rnorm(R,mu.p,sd.p)
DNn<-rnorm(R,mu.n,sd.n)... |
47c2c67703463e1de21c240b422b0f1d5898c56f | d1ae91e3d5dcce5056b0e3d2ca76bfb50e05de2e | /auctioneda.R | 5200dba89c4f0b5580c25884e71ed6b50977ecca | [] | no_license | noahleavi11/dontgetkicked_kaggle | ec3af8509d17fb108a536c69da4a438e35d2e11b | ab4e02c264431a88b15e1b173df126487ee8e499 | refs/heads/main | 2023-01-22T08:14:19.910260 | 2020-12-08T05:16:16 | 2020-12-08T05:16:16 | 319,533,477 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,623 | r | auctioneda.R | library(tidyverse)
library(stringi)
library(mltools)
library(caret)
library(data.table)
cars <- read_csv("training.csv")
cars.test <- read_csv("test.csv")
#####################################################################################################
# Exploring data frame
#####################... |
5259df1cf195072d4e8bbac4e0c2982fc11a24d5 | 2e9faf2f73476db35ee7a72359a8979b79a86605 | /man/permuteTrees.Rd | 380d961ba77c171e83e14a62e1ec856007fd320f | [] | no_license | Hackout3/saphy | 0450efe1014b5e1d850850709ce77adb6347e923 | d588c1788a29cd9f18441f2c9ffa095b2b099d4d | refs/heads/master | 2021-01-19T07:09:56.358549 | 2016-06-23T22:42:08 | 2016-06-23T22:42:08 | 61,653,942 | 4 | 6 | null | 2016-06-24T18:52:00 | 2016-06-21T17:36:19 | R | UTF-8 | R | false | true | 675 | rd | permuteTrees.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/permuteTrees.R
\name{permuteTrees}
\alias{permuteTrees}
\title{Produces a list of permuted trees with the same tip and internal node times for bootstrapping purposes}
\usage{
permuteTrees(tree, reps = 100)
}
\arguments{
\item{tree}{a phylogen... |
3cbba51ba6578907aba3b816e4ce5c958f6b9057 | c838cd05540859304880878dec4577095be84744 | /universal-scripts/03_load-data.R | 44890a018d0d4f878305145797b9e53c1d434ec0 | [
"MIT"
] | permissive | sbw78/etc | c0ac1e5fa831cded567ee50e2c0075654b776fa7 | caa3436caed558c9be53ec27e31663fbe14ecc2f | refs/heads/master | 2023-03-21T05:48:22.273344 | 2021-03-11T18:34:28 | 2021-03-11T18:42:01 | 261,046,634 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 444 | r | 03_load-data.R | # ____________________________________________________________________________
# Load Data ####
### . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . ..
### 1. Install packages and standard custom functions ... |
b5808fdbafae21f02756389be0025b9a965de25a | b81d6e1f27954ce188000b3e051d5b3f9de2fd24 | /TITANIC_2/first_preiction.R | c37743bae64fa31a3d89c978861fa9aa887c9cb8 | [] | no_license | tanviredu/R_project | 2ee5a14e83403528653eedb9806bd5c3fdf2b41d | 604a86102d75f0e6801c3c5090510c745097d965 | refs/heads/master | 2020-05-25T22:46:24.789005 | 2019-05-22T12:09:52 | 2019-05-22T12:09:52 | 188,021,200 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,001 | r | first_preiction.R | ##first set the directory
setwd('/home/vagrant/tensorflow_machine_learning/R_TITANIC_KAGGLE_COMP/')
Titanic.train <-read.csv('data/train.csv',stringsAsFactors = FALSE,header=TRUE )
Titanic.test <- read.csv('data/test.csv',stringsAsFactors = FALSE,header = TRUE)
## adding the train flag to it
Titanic.train$IsTrainset... |
1b49f2e86ca21246e9e626861157ee92c06f62cf | 889cb74fb30712b17516e34439e773eb880e18a2 | /plot3.r | 4e2994dd3aacfc34f3c64c7fc2426b54bc06c611 | [] | no_license | yetingxu/ExData_Plotting1 | 8ac677f75ef3e9e7a0aa4a60414dc10ac0dcce9f | 1bc63d14009d4e7e760f793c8ba570a4e574047c | refs/heads/master | 2020-04-27T10:01:15.086982 | 2019-03-09T00:53:21 | 2019-03-09T00:53:21 | 174,236,971 | 0 | 0 | null | 2019-03-06T23:30:55 | 2019-03-06T23:30:55 | null | UTF-8 | R | false | false | 759 | r | plot3.r | library(sqldf)
setwd("/Users/xuy089/Downloads")
data<- read.csv.sql("household_power_consumption.txt","select * from file where Date = '1/2/2007' or Date = '2/2/2007'", sep = ";")
data$Date<-as.Date(data$Date,format = "%d/%m/%Y")
data$date_time<-with(data,paste(Date,Time))
data$date_time<-strptime(data$date_time,format... |
45d975ed89fec30ca29ed62d867dd1ad0f43866d | bd1f3cbc0ccdd145be1cc43119e728f180b85fd6 | /man/fit-distr.Rd | aa857c675299c6978e9a37e65390de2fb49dd5a9 | [] | no_license | fbreitwieser/isobar | 277118c929098690490d0e9f857dea90a42a0924 | 0779e37bf2760c3355c443749d4e7b8464fecb8a | refs/heads/master | 2020-12-29T02:20:51.661485 | 2016-05-17T17:20:00 | 2016-05-17T17:20:00 | 1,152,836 | 7 | 6 | null | 2017-03-17T15:27:24 | 2010-12-09T10:45:01 | R | UTF-8 | R | false | false | 1,283 | rd | fit-distr.Rd | \name{fit distributions}
\alias{fitCauchy}
\alias{fitTlsd}
\alias{fitNorm}
\alias{fitWeightedNorm}
\alias{fitNormalCauchyMixture}
\alias{fitGaussianMixture}
\title{Fit weighted and unweighted Cauchy and Normal distributions}
\description{
Functions to fit the probability density functions
on ratio distribution.
}... |
381f4d2cd0b2f129f92a3ef4fd6e9658b508343a | 2b51637e78bce532d8051b1bceb6ef133fabfcf8 | /L1 Normalization/Assignment2.R | ba981cc668b099eb29506cb4720be41d3c23d56b | [] | no_license | deepaksisodia/ML-Algorithms | c4c19f7b82a91252227073b1c2c4ab03265ea8dd | 5f12eb607891526b020ab2ca0e8616325dfa8330 | refs/heads/master | 2021-01-11T22:00:27.541134 | 2017-02-23T00:51:26 | 2017-02-23T00:51:26 | 78,896,415 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,347 | r | Assignment2.R | setwd("C:\\Users\\Deepak Kumar Sisodia\\Desktop\\ML Assignments\\Lasso Regression\\Assignment2")
getfeaturematrix=function(inp.data,feature.names){
inp.feature.matrix=as.matrix(inp.data[,feature.names])
inp.feature.matrix=cbind(rep(1,nrow(inp.feature.matrix)),inp.feature.matrix)
return(inp.feature.matrix)
}
... |
703bb41e02563b4cf369288d6785a9df816eb7e1 | cfec6dd88f857a84a474e275240c0888fab6d266 | /R/SourceDLM.r | ab88e4e6d5c2803fddf0eb78f4e61b78ab95662f | [] | no_license | jongguri80/DLM | e50e0a8f9f561eaada8f202d6199afaec250ed59 | a1cf6095393df813285dff98517c27cda878995e | refs/heads/master | 2020-06-25T02:20:36.531284 | 2017-07-12T01:51:30 | 2017-07-12T01:51:30 | 96,951,797 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 17,823 | r | SourceDLM.r | # This code demonstrates how to fit the DLMs in the paper
# "Distributed Lag Models: Examining Associations between the Built environment and Health"
# by Baek et al.
# The code below is in two stages:
# (1) R functions used to fit the DLM which follows closely the notations used in the eAppendix for the paper.
... |
dcff4e55be20028575264c0a49f887be465d2036 | 53f6608a8f31d2aa39fae0e899b144c98818ff54 | /man/FFDplot.Rd | aa08799e3004870cd1061f7d2976232f3c227044 | [] | no_license | ncss-tech/sharpshootR | 4b585bb1b1313d24b0c6428182a5b91095355a6c | 1e062e3a4cdf1ea0b37827f9b16279ddd06d4d4a | refs/heads/master | 2023-08-20T06:16:35.757711 | 2023-08-08T19:11:52 | 2023-08-08T19:11:52 | 54,595,545 | 18 | 6 | null | 2023-02-24T21:00:28 | 2016-03-23T21:52:31 | R | UTF-8 | R | false | true | 577 | rd | FFDplot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/FFD.R
\name{FFDplot}
\alias{FFDplot}
\title{Plot output from FFD()}
\usage{
FFDplot(s, sub.title = NULL)
}
\arguments{
\item{s}{output from \code{\link{FFD}}, with \code{returnDailyPr = TRUE}}
\item{sub.title}{figure subtitle}
}
\value{
noth... |
8a4b93313c8877a74e60a6a2d182f48ed8cb5aae | 1f926bb87c2ac41c7b77c09663023f7d2cc2aa7f | /LooPred.R | 183cb81a236ccd0bcc29701df15c4b55e4b289c7 | [
"MIT"
] | permissive | hly89/ComboPred | 8a065a70b40b3e4c271133b419c28c3699134b6a | 8e6a5bfb90b251f539b3782cb9c689702ffc559c | refs/heads/master | 2021-01-01T15:53:13.949159 | 2017-11-22T08:02:23 | 2017-11-22T08:02:23 | 97,724,212 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 959 | r | LooPred.R | # leave-one-out for predicting single compound/combination response
# rm.idx: the indexes for being left out
LooPred <- function(training.data, response, rm.idx) {
loo.ctrl <- matrix(NA, nrow = 1, ncol = 3)
colnames(loo.ctrl) <- c("id", "compound", "DSS.pred")
for(j in rm.idx) {
# remove from response data
... |
9be3a102ae5cb982ee972c45adb0ac7294252581 | 42767feddc1ebd7a799041247b408fc45729f56a | /Lab7.R | 1c102c4f63dd1626a5e767de93f8c597c5501e56 | [] | no_license | 5atish/R-code | 73047309a4ecd673acdca091fc8f4c2d57f5c87f | 955490b03abc0370ca3122270adfc0ec043a1b61 | refs/heads/master | 2020-03-24T00:06:40.382716 | 2018-08-09T10:26:41 | 2018-08-09T10:26:41 | 142,273,834 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,962 | r | Lab7.R | #####################################################################
################## 1 Principal Component Analysis ###################
#####################################################################
states <- row.names(USArrests)
states
names(USArrests)
apply(USArrests,2,mean) ## apply() function... |
7fdbcf2fcf61530363f2fb0d444df8933d79606d | aba55c7ed6c36fa9e3058378758471219a9268ad | /R_Scripts/2_1_ces65_recode.R | a017fedd1f529a8bc2e7b2fa75094d7e55878485 | [] | no_license | sjkiss/CES_Analysis | b69165323d992808a9d231448bcc3fe507b26aee | 4c39d30f81cbe01b20b7c72d516051fc3c6ed788 | refs/heads/master | 2023-08-18T15:18:44.229776 | 2023-08-07T22:49:06 | 2023-08-07T22:49:06 | 237,296,513 | 0 | 1 | null | 2020-05-07T19:19:08 | 2020-01-30T20:12:01 | R | UTF-8 | R | false | false | 7,410 | r | 2_1_ces65_recode.R |
#load data
data("ces65")
#recode Gender (v337)
look_for(ces65, "sex")
ces65$male<-Recode(ces65$v337, "1=1; 2=0")
val_labels(ces65$male)<-c(Female=0, Male=1)
names(ces65)
#checks
val_labels(ces65$male)
table(ces65$male)
#recode Union Household (V327)
look_for(ces65, "union")
ces65$union<-Recode(ces65$v327, "1=1; 5=0"... |
7e9fb27b12a6c52126fe7e2971ed25f341a1e428 | 9adc8c6da1ed43422fe584a522c94a4433464a4c | /R/LUCS_KDD_CBA.R | ea0831cb025995a16232c627bc87a991ff976206 | [] | no_license | klainfo/arulesCBA | 314206c434d8d0986baaf7f3ef27ed86ea9add1e | 627a318caa984177b7faf02db37b498bcccbc036 | refs/heads/master | 2022-04-19T08:26:11.582798 | 2020-04-20T12:50:08 | 2020-04-20T12:50:08 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,827 | r | LUCS_KDD_CBA.R | ## FIXME: Default class???
### Find java and javac
# from http://stackoverflow.com/a/34031214/470769
.Sys.which2 <- function(cmd) {
stopifnot(length(cmd) == 1)
if (.Platform$OS.type == "windows") {
suppressWarnings({
pathname <- shell(sprintf("where %s 2> NUL", cmd), intern=TRUE)[1]
})
if (!is.na... |
01544234b19dde79a0fbf1e0eb60f48b7733047e | 5520d916c652e6b1410ff869eebb2669df9d15a2 | /R/testmd.R | 2c90e358b8834561c8af34d14ae50b50309f2f01 | [] | no_license | Vin985/cruiseCompare | c2771139c55b20c4c7555214c3f0ccd34ab6b7c2 | a8603b31a164347993123982a6d54d7b93994f7b | refs/heads/master | 2021-01-13T16:29:28.895129 | 2018-11-30T20:36:00 | 2018-11-30T20:36:00 | 79,853,050 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,390 | r | testmd.R | library(ECSASconnect)
library(GeoAviR)
require(MASS)
require(knitr)
require(rgdal)
library(png)
library(grid)
require(maptools)
library(RColorBrewer)
library(dplyr)
testmd <- function(Observation.df) {
##adapt species names
Observation.df$English <- as.factor(Observation.df$English)
if (length(grep("Genus", ... |
42e2d8f359295bd0eecffe492e4cc295cf431925 | 524cb1fd419c5dcb533abffbae47061365794d1d | /percent.R | 702e89e59dd493fab54cd0b70e716ef3b8dbbd20 | [] | no_license | sarajohns19/predictive_analytics | fe24ff5e83a5496a2b99b70ccf20fba1a287e979 | 0e4d4fac793965e62cad1aceec657aa560bf0520 | refs/heads/master | 2021-01-01T18:49:59.371231 | 2017-07-26T15:18:32 | 2017-07-26T15:18:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 553 | r | percent.R | <!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>percent.R</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<style type="text/css">
html, body, #container {
height: 100%;
}
body, #container {
overflow: hidden;
margin: 0;
... |
988daa40ca7179088c24c8cef7d696d48b9d47aa | a2471def418fc7d02d76a0d54ac14fe8ca094f7e | /Measles_case.R | 6f59189a18b8972400931631c6c96e5b9a6450b3 | [] | no_license | ptcuong199/Data-Visualization | 7aa96d8d5e7dc61349ce4f3d87cad0f579d4e580 | 7039d1c94948300cc0f51dabbba565de4562a495 | refs/heads/master | 2020-05-09T18:29:08.800905 | 2019-04-14T21:34:33 | 2019-04-14T21:34:33 | 181,343,540 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,942 | r | Measles_case.R | install.packages("readxl")
library(readxl)
graph_case <- function(y) {
# Number of children aged 0-4 died from measles
measles_data <- as.data.frame(read_excel(paste(y, "Measles Cases.xlsx", sep = "_")))
# Measles 1 Coverage - The first dose is generally given to children around 9 to 15 months of age... |
684ebb36f56f6e5de65e467a72414b31e35c3e6a | a226f4b4cf54dd0e8164a727d24dca99e79e1354 | /tests/testthat/test_check4SPSS.R | b46165003dcea7acc51c425c87fba4059f566528 | [] | no_license | beckerbenj/eatGADS | 5ef0bdc3ce52b1895aaaf40349cbac4adcaa293a | e16b423bd085f703f5a548c5252da61703bfc9bb | refs/heads/master | 2023-09-04T07:06:12.720324 | 2023-08-25T11:08:48 | 2023-08-25T11:08:48 | 150,725,511 | 0 | 1 | null | 2023-09-12T06:44:54 | 2018-09-28T10:41:21 | R | UTF-8 | R | false | false | 2,348 | r | test_check4SPSS.R |
# load(file = "tests/testthat/helper_data.rda")
load(file = "helper_data.rda")
df7 <- df6 <- df5 <- df4 <- df3 <- df1
test_that("Check length of variable labels", {
df6 <- changeVarNames(df6, oldNames = c("ID1", "V1"),
c(paste(rep("a", 64), collapse = ""),
... |
a06a3db103d9743eea2abce34186bbc3643134e2 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/sbpiper/examples/plot_repeated_tc.Rd.R | f6b4db9346cc96d3905edfaeede1c85cfa917c89 | [] | no_license | surayaaramli/typeRrh | d257ac8905c49123f4ccd4e377ee3dfc84d1636c | 66e6996f31961bc8b9aafe1a6a6098327b66bf71 | refs/heads/master | 2023-05-05T04:05:31.617869 | 2019-04-25T22:10:06 | 2019-04-25T22:10:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 601 | r | plot_repeated_tc.Rd.R | library(sbpiper)
### Name: plot_repeated_tc
### Title: Plot repeated time courses in the same plot separately. First
### column is Time.
### Aliases: plot_repeated_tc
### ** Examples
data(insulin_receptor_1)
data(insulin_receptor_2)
data(insulin_receptor_3)
df <- data.frame(Time=insulin_receptor_1[,1],
... |
c4f74e4aee020ce1d2532a52f277c688b29a1ccf | 3ec39ea137d1aaa0c7106c1ae49ddf395b5fda20 | /man/standardsMetadata.Rd | 601a48c0e0bc5b83d57cdf2aa109e72295a36fac | [] | no_license | mli1/safetyGraphics | e48c5bee150926f008d6185c764a179d5a3e5a71 | 165651d98c6894646f84884d1c9f7a24336d25f7 | refs/heads/master | 2023-01-22T17:00:10.267847 | 2020-01-16T14:26:14 | 2020-01-16T14:26:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 785 | rd | standardsMetadata.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/standardsMetadata.R
\docType{data}
\name{standardsMetadata}
\alias{standardsMetadata}
\title{Standards Metadata}
\format{A data frame with 25 rows and 3 columns
\describe{
\item{text_key}{Text key indicating the setting name. \code{'--'} d... |
30e8f5678a2c8fdeb87fcc6d8b4cb22dc08986f0 | c330fafcccacc36fb40986d81773dd642d29bf1a | /sandbox/test_plot2.R | 15d1d65807a5e73be3930ef916d8855ca6f8c201 | [] | no_license | joshuaulrich/xtsExtra | 6b3153970cb466090661f41501250b184fa70c83 | e6588dd7d7cd77e14117078251f55797e51d4052 | refs/heads/master | 2021-01-19T17:41:38.504608 | 2014-12-26T18:01:34 | 2014-12-26T18:01:34 | 30,535,442 | 14 | 2 | null | null | null | null | UTF-8 | R | false | false | 4,413 | r | test_plot2.R | library(xtsExtra)
library(PerformanceAnalytics)
# library(quantmod)
source("sandbox/paFUN.R")
data(edhec)
R <- edhec[,1:4]
# basic plot with defaults
plot(R)
# assign to a variable and then print it results in a plot
x <- plot(R)
y <- addReturns()
x
class(x)
y
# small multiples, line plot of each column
plot(R, mul... |
7f2780d96f141d83f5a13f1ecbb1768ada2e2a59 | 7513790d15902b75b9ff193e1c341d13362fdf70 | /SuperFarmerDA/R/gra.R | 87eff88933321f6e1d2b8324bf8c265bced4fa03 | [] | no_license | ambroziakd/KursRprojekt2 | 2ae5f046a16b0c710beb3233ba66ebf41a2230a0 | ca96ab8d9292bdd52c90d2deb16e89ed60225400 | refs/heads/master | 2020-06-21T18:50:26.422000 | 2017-03-17T18:02:39 | 2017-03-17T18:02:39 | 74,774,696 | 0 | 1 | null | 2017-03-17T18:02:39 | 2016-11-25T16:49:44 | HTML | UTF-8 | R | false | false | 901 | r | gra.R | #' Tabela gry SuperFarmer
#'
#' Zbiór danych na którym będą wykonywane strategie gry SuperFarmer.
#' Informacje dotyczące zwierząt są zawarte w wierszach tabeli.
#'
#' Przyjęta kolejność zwierząt w tabeli game:
#' \itemize{
#' \item rabbit
#' \item small_dog
#' \item sheep
#' \item pig
#' \item big_dog
#' \... |
6c4e47e0a5b70a17add9cbb1d0616337ea571ccf | f80773d94002ece92c87f8205b24be53ce749ba7 | /man/mono.range.Rd | e491d8327f588a049a3bee73eb985ca63dbc2982 | [] | no_license | cran/MonoInc | 4f87e810662f45b837de85052a01462329b2cfc2 | 7bd94ae52f11583924ed85eb47e5ba369f0a2779 | refs/heads/master | 2020-12-24T19:37:01.496073 | 2016-05-20T22:36:53 | 2016-05-20T22:36:53 | 59,325,113 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,155 | rd | mono.range.Rd | \name{mono.range}
\alias{mono.range}
\title{
Proportion in Range
}
\description{
This function reports the proportion of entries that fall inside of the prespecified range.
}
\usage{
mono.range(data, data.r, tol, xr.col, x.col, y.col)
}
\arguments{
\item{data}{
a data.frame or matrix of measurement data
}
\item{d... |
bc05bb6c017e386f69ad89fe8fd53fcf71287a2c | bb220b454f852bc42d12c1a0c42cdf530a524060 | /bin/assoc_supp.R | 6c7d4db1234e6f5c98e893ded769fdede567fd76 | [] | no_license | RyosukeChaya/ExomeChip | 6888bdb215e8d22f2a0984cb9b6bd456e2d6d4c6 | 01b458d30238b741bc8f8e86fcc27988f6ae5c77 | refs/heads/master | 2021-06-04T12:17:37.133205 | 2016-09-03T07:36:06 | 2016-09-03T07:36:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,422 | r | assoc_supp.R | ####################################################
# By Guillermo Torres PhD.c #
# Institue of Clinical Molecular Biology (IKMB) #
# Christian-Albrechts-Universitat zu Kiel (CAU) #
####################################################
# Last update: 1 March 2015
# Created: 23 F... |
814848669796281c78fd4deee410cd2671416eb8 | 87472ccc1d880eca3808acdfb3dd34ab6631f53d | /R/writeVCF.R | afed2bd353a781c633b5aabd689821c7bcebe5b8 | [] | no_license | cran/SRMA | 30a99c997f129a0d502d8b78af6db953ebc3d4f2 | 76d894f98b2eccae81e5bb368fac3765d046084a | refs/heads/master | 2016-09-06T22:43:04.099820 | 2012-04-09T00:00:00 | 2012-04-09T00:00:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,080 | r | writeVCF.R | writeVCF<-function(srma.out, reference=NULL, target.file=''){
if(class(srma.out)!='SRMAResults') stop('An object of SRMAResults class is required.')
##header
cat('##fileformat=VCFv4.0\n', target.file, append=F, sep='')
cat(paste('##fileDate=', as.character(as.Date(Sys.time()), format='%Y%m%d') , '\n... |
f098d55c6b09aa08986e37aa18b10343f6343bf3 | 7a5cfdd8f48b6359e4a358e80e30fdec3ea78d23 | /190924 Chapter 9 Lab - Application to Gene Expression Data.r | 2735e64b4ed9bb5ea8baece3b1a5f5a8ac6c449c | [] | no_license | mare-astrorum/introduction-to-statistical-learning-practicals | 9cfa042a45eb3cf34ebb572df0285f6c9cd2d607 | ce3752f9cc8eb678d435c47dee37c4e39281a801 | refs/heads/master | 2020-09-06T19:07:37.185188 | 2019-11-08T17:42:05 | 2019-11-08T17:42:05 | 220,518,210 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 431 | r | 190924 Chapter 9 Lab - Application to Gene Expression Data.r | library(ISLR)
names(Khan)
?Khan
dim(Khan$xtrain)
dim(Khan$xtest)
length(Khan$ytrain)
length(Khan$ytest)
table(Khan$ytrain)
table(Khan$ytest)
dat = data.frame(x = Khan$xtrain, y = as.factor(Khan$ytrain))
out = svm(y~., data = dat, kernel = "linear", cost = 10)
summary(out)
table(out$fitted, dat$y)
dat.te = data.fram... |
2667703390da0bae87d92f20982c4deedd255884 | 1fbed3a7d71030c9b02b497b8214f5e90a551444 | /tests/testthat/test_GL.R | 77dd0e71dc138d7e922e083e31f5475abd431a93 | [
"MIT"
] | permissive | honglioslo/fitdistrib | f48530b031b6ecd34c1ea13b1559e1e5b8b8c33d | 77013d26857fa2990a3090bfd1315b10ff3c296d | refs/heads/master | 2021-01-12T13:18:19.314334 | 2016-10-03T10:47:59 | 2016-10-03T10:47:59 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,677 | r | test_GL.R | # Testing the GL functions
param <- c(100, 10, 0.1)
tolerance <- 0.5 # 20% tolerance on parameter estimation accuracy
expected_min <- param * (1 - tolerance)
expected_max <- param * (1 + tolerance)
test <- gl_mle(nsRFA::rand.genlogis(1000, param[1],param[2],param[3]))
test_that("gl_mle returns reasonable estimate... |
acd0b8ca8acaaa31ee875ce0385421d47de4b134 | e1b485461c40d593bb22d5d2c0e1b88308f494ec | /R/magrittr.R | 6bec086eb257518075f1287fb0646dfa34a2886d | [
"MIT"
] | permissive | tidyverse/magrittr | 59eee2624f7d59a23d7473504a87ebf250d694b6 | 21093d06e43649a72b865811188e77fc8ad87780 | refs/heads/main | 2023-08-25T01:20:58.243298 | 2023-03-08T13:30:31 | 2023-03-08T13:30:31 | 15,564,525 | 625 | 138 | NOASSERTION | 2022-08-12T07:58:20 | 2014-01-01T13:30:01 | R | UTF-8 | R | false | false | 1,785 | r | magrittr.R | #' magrittr - Ceci n'est pas un pipe
#'
#' The magrittr package offers a set of operators which promote semantics
#' that will improve your code by
#' \itemize{
#' \item structuring sequences of data operations left-to-right
#' (as opposed to from the inside and out),
#' \item avoiding nested function call... |
5ff62a6603f52706727b6dabdc7e36ef71caf7ec | f2643256c6611d7de0db96d162f594388c2c2c50 | /analyses/TamaraAnalyses.R | c3b3b9af7b9d67672e612b878ab0f96ae82e14d1 | [] | no_license | raubreywhite/trial_dofiles | e06a5b3b39e9195eda79dd33856d67c918ec4053 | eface3b83b107cf7e621b3c654e65b5cbd45b711 | refs/heads/master | 2022-06-14T03:26:17.492945 | 2022-06-02T07:27:04 | 2022-06-02T07:27:04 | 114,857,557 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,675 | r | TamaraAnalyses.R | #RColorBrewer::display.brewer.all()
###### SETUP STARTS
###################
###################
###################
# define our dates
CLINIC_INTERVENTION_DATE <- "2018-09-27"
CLINIC_CONTROL_DATE <- "2018-09-27"
# define the folders
tryCatch({
setwd("X:/data processing/trial_dofiles")
}, error=function(err){
set... |
50ff19bc37d29da62cfe9aa1a6f42107da848173 | 1c8af3d5cfb731fbdb6b14cbb51d337b291520ef | /scr/0.0 Load data and clean.R | a3516c7807d2701b24882f4a6b6bd9f2caa5b9ec | [
"LicenseRef-scancode-public-domain"
] | permissive | rjcommand/FISH_6002_major_assignment | d117dc49806c0d96f268320f4f865871b59af98e | d6cebbe8a65dd0ff4a239d8a17da2b59a9e8afdf | refs/heads/master | 2020-07-24T08:06:16.419817 | 2019-12-13T00:07:58 | 2019-12-13T00:07:58 | 207,858,318 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,016 | r | 0.0 Load data and clean.R | #### Tuna catch data
#### Rylan J Command
#### Created Spet 24 2019
## 0.0 Load in data
catch <- read.csv("data/cdis5016-all9sp.csv", header = TRUE)
View(catch)
## Variables list
# SpeciesCode: Three letter code corresponding to each species
# YearC: Calendar year
# Decade: Years collated into decades (1950, 1960... ... |
d241fc2a96343cb04408524530db8a28c7ce3fc6 | 571960b1277327568b646b594d872e883c5d4cca | /man/pow.curve.Rd | 8f7148afb32eec924b7f4c5811eef86cda8c0ff7 | [] | no_license | CClingain/powermlm | 72071ee75ffdd28419842b0bd67e95ac672d2b08 | 2b0ccb2e236ce0852fa7df7daa2496f2f1902f03 | refs/heads/master | 2020-04-21T14:40:35.272329 | 2019-02-07T21:11:07 | 2019-02-07T21:11:07 | 169,643,025 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,008 | rd | pow.curve.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/pow.curve.R
\name{pow.curve}
\alias{pow.curve}
\title{Power Curve with Varying Alphas}
\usage{
boot.power(model, n, id, group1, group2, data)
}
\arguments{
\item{model}{vector containing the lmer formula}
\item{n}{number of bootstrap samples... |
c6efac2e94d6f6b28696d7c16b9e365415494b70 | 2d00505c7940f1bd1dcff122aa1e8bbd5d2edea2 | /R/signature.R | 6c37ee2fd0c564d072da512da4b78b28f3dfb7be | [] | no_license | kashenfelter/RGCCTranslationUnit | cb647e6c57e78656bb196e68834d60fd664e66cd | 1bd45f5589516334afa57a75e936d2a36ff943b6 | refs/heads/master | 2020-03-23T00:32:22.815755 | 2013-04-21T21:38:45 | 2013-04-21T21:38:45 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,310 | r | signature.R | #
# The intent is to avoid an enormous amount of resolveType() calls to get the entire information
# about the types involved method dispatch. Instead, we just get the type names for use in the S4
# signatures. We will assume that the classes are going to be defined separately and relatively cheaply.
#
setGeneric("... |
ca455e0c592ca9b427129d25d5636158c3c4b585 | 529cb1a83abc345517388cdd9d3db893ca159a17 | /run_analysis.R | 16f4b5d5e614c5ded1ae43d92b4947a9c3a4258e | [] | no_license | chucareer/DataCleaning | 1e479042a8a8d651643d934794459dc2c5e45b4e | a086d1dc75e71979321969350e09578d0c4e2894 | refs/heads/master | 2021-01-10T19:55:16.349076 | 2014-07-11T19:13:49 | 2014-07-11T19:13:49 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,963 | r | run_analysis.R | ## Create one R script called run_analysis.R that does the following:
## 1. Merges the training and the test sets to create one data set.
## 2. Extracts only the measurements on the mean and standard deviation for each measurement.
## 3. Uses descriptive activity names to name the activities in the data set
## 4. Appro... |
18ef8e24362d59cf34752387f684f2e3c87ce7ab | baaf7d6c4636acce3b675be5384753afaf12cebc | /functions/visualization_functions.R | cb0a66c772072f05b1e77bd0565bf50d237a1c53 | [] | no_license | r3fang/am_geneBasis | ce44a77cc1f2efced8f52d82f8da4e11856a1155 | 362e2c54229ba04d28fd0e7025eaa37acfa0895c | refs/heads/main | 2023-08-25T10:33:46.356344 | 2021-10-18T14:20:07 | 2021-10-18T14:20:07 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 10,248 | r | visualization_functions.R | celltype_atlas_E8.5_colors = c("Epiblast" = "#635547", "Primitive Streak" = "#DABE99", "Caudal epiblast" = "#9e6762", "PGC" = "#FACB12",
"Anterior Primitive Streak" = "#c19f70", "Notochord" = "#0F4A9C", "Def. endoderm" = "#F397C0", "Gut" = "#EF5A9D",
"Nascent mesode... |
bb35ff5015bf4b1903fc1d67efed0f5a7a31aa1c | 67de61805dd839979d8226e17d1316c821f9b1b4 | /R/MxCommunication.R | 60c367597926c94d8c3fb80883c6618a735cd639 | [
"Apache-2.0"
] | permissive | falkcarl/OpenMx | f22ac3e387f6e024eae77b73341e222d532d0794 | ee2940012403fd94258de3ec8bfc8718d3312c20 | refs/heads/master | 2021-01-14T13:39:31.630260 | 2016-01-17T03:08:46 | 2016-01-17T03:08:46 | 49,652,924 | 1 | 0 | null | 2016-01-14T14:41:06 | 2016-01-14T14:41:05 | null | UTF-8 | R | false | false | 2,556 | r | MxCommunication.R | #
# Copyright 2007-2016 The OpenMx Project
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable ... |
fb9ce6a16b90bf8da4becd0b80cd51b840d19ce0 | 02f24f0d8eaed72b4cb8b4ceb98d731eef1ee5c8 | /man/expr.Rd | 14248298de00e7d401788f46cde3387d1d81b3d0 | [
"MIT"
] | permissive | bradleycolquitt/phyloRNA | 78c24ea7d0e6f2df6f6a6e7a31702694518a837a | d7dc3bf1daace8fe884558b14ae735051d5e6ff0 | refs/heads/master | 2023-07-23T06:55:16.094078 | 2021-08-31T23:14:46 | 2021-08-31T23:14:46 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,956 | rd | expr.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/expression.r
\name{expr}
\alias{expr}
\alias{expr_read10x}
\alias{expr_read10xh5}
\alias{expr_normalize}
\alias{expr_scale}
\alias{expr_zero_to_na}
\alias{expr_quality_filter}
\alias{expr_merge}
\alias{expr_discretize}
\title{Functions for ma... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.