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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
4c78c60e4d1be70c708d229bf831be730be3de1b | 7f25d453a80f55795830a282c70fecb1336f2d49 | /man/oneParamPlot.Rd | 2a63e967ce1e3828b8b1a98f84e7ae0dc07e1c5a | [] | no_license | acgerstein/diskImageR | 2ad6382ffd7b87adacf80ea05b007fc277659ee8 | 60817781292e9fd088de337c136e63002a6f8f49 | refs/heads/master | 2023-08-31T17:49:19.538196 | 2023-08-24T15:10:13 | 2023-08-24T15:10:13 | 29,325,026 | 6 | 6 | null | 2023-08-18T15:59:02 | 2015-01-16T00:25:09 | HTML | UTF-8 | R | false | true | 3,055 | rd | oneParamPlot.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/oneParamPlot.R
\name{oneParamPlot}
\alias{oneParamPlot}
\title{Used to plot a single parameter}
\usage{
oneParamPlot(
projectName,
type,
param = "RAD20",
ymin = 0,
ymax = 100,
width = 6,
height = 4,
xlabels = "line",
xlabAng... |
b0a1628b296287be956a8029c01c6e8bdf28d18d | caf361bdbc2459187fb58fae876bad5497e532a1 | /man/process.Rd | d3c5c74e978789d7d21476e5168b2913dfe11567 | [
"MIT"
] | permissive | ddiez/scmisc | 35efffabe859ddc6ac9c2c20f00d283a376def44 | f19819e7e736cfd167fd4b0c29d7290d66ab961a | refs/heads/master | 2023-08-17T04:08:03.971880 | 2023-08-06T13:35:17 | 2023-08-06T13:35:17 | 180,719,852 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,096 | rd | process.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/process.R
\name{process}
\alias{process}
\alias{process.Seurat}
\title{process}
\usage{
process(x, ...)
\method{process}{Seurat}(
x,
assay = NULL,
dims = 1:10,
algorithm = 1,
resolution = 0.6,
nfeatures = 2000,
metric = "cosine... |
bd02c20a3d9271348a684699f5e23c931351d095 | 2c0e460a0d1a229640da96cd4a1bb2f1ba2ab8b7 | /man/gp_mse_othermodel.Rd | 68461692a9d4550c6c6039633ec36c7592dcc330 | [
"MIT"
] | permissive | ensley/gpcovr | d24aa981d485e06e54d9e8de1776c388e1a02af3 | 8d96197b965e9807f7b9c17fc4fed7c34163617a | refs/heads/master | 2021-05-08T17:25:39.116358 | 2018-01-30T02:41:46 | 2018-01-30T02:41:46 | 119,471,663 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 730 | rd | gp_mse_othermodel.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/process_output.R
\name{gp_mse_othermodel}
\alias{gp_mse_othermodel}
\title{Optimally predict points using an arbitrary covariance model and find the
mean squared error}
\usage{
gp_mse_othermodel(gpEst, model)
}
\arguments{
\item{gpEst}{A \cod... |
06c5d4a04b20cffcff130f9ecbfc761602d5b0b5 | 51f78fdbe81750ce5b0b270527c28d83f93e3a22 | /TestFile.R | 4fd0207109c1b14da524f7f034195a9d75f309c2 | [] | no_license | tkarishma25/IT497 | 2b7d86c4645e62a55d1f5929d44a045e54d9fa27 | a39231f11e751a95c501b0d9d572acab83a3508c | refs/heads/master | 2021-05-03T20:37:55.007611 | 2016-10-19T20:58:10 | 2016-10-19T20:58:10 | 71,396,071 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 102 | r | TestFile.R | df <- read.table("http://en.wikipedia.org/wiki/List_of_cities_proper_by_population")
head(df)
tail(df) |
dec36d379af0767c64f42623603222c9d4705754 | 55d60dce45c675777d67b1975398f9ed7442c45e | /man/split_nrange.Rd | 5168a2807fac65a5353671b4fce812c5d7b2bbf2 | [
"MIT"
] | permissive | overdodactyl/mRclwhip | 2c77de810b87fd412ffa9dc77ad301b0b6911435 | 7f5ba4f1414c92068b4e651ddcf38a8a99cfe995 | refs/heads/master | 2023-07-08T08:33:43.928531 | 2023-06-28T18:38:32 | 2023-06-28T18:38:32 | 219,841,535 | 1 | 0 | null | null | null | null | UTF-8 | R | false | true | 683 | rd | split_nrange.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/split_nrange.R
\name{split_nrange}
\alias{split_nrange}
\title{Split character vector of N (low, high) into three columns}
\usage{
split_nrange(.data, col, remove = TRUE)
}
\arguments{
\item{.data}{A tbl.}
\item{col}{Column to separate}
\it... |
6b5b8f3a76c650780f87450c9be8c9c896f20a05 | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/drake/examples/build_graph.Rd.R | e7417ec749605eb1f109f86101b1c3df70894fec | [] | 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 | 187 | r | build_graph.Rd.R | library(drake)
### Name: build_graph
### Title: Deprecated function 'build_graph'
### Aliases: build_graph
### Keywords: internal
### ** Examples
# See ?drake_config for examples.
|
4d0d2fb02c89c4df4e7518b8cbbd5b27394073ac | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /kcpRS/R/kcpRS_workflow.default.R | 37264fa36c41e76824f7ff7396f06401bedbd7dc | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | false | 3,150 | r | kcpRS_workflow.default.R | #' @export
kcpRS_workflow.default <- function(data,
RS_funs = c("runMean", "runVar", "runAR", "runCorr"),
wsize = 25,
nperm = 1000,
Kmax = 10,
... |
fa22af462cdbe5c8f18946b5fe9ff771c652466a | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/mrfDepth/examples/projdepth.Rd.R | a34792fed2437c840bb0e862b59ca994be1ccbf1 | [] | 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 | 1,204 | r | projdepth.Rd.R | library(mrfDepth)
### Name: projdepth
### Title: Projection depth of points relative to a dataset
### Aliases: projdepth
### Keywords: multivariate
### ** Examples
# Compute the projection depth of a simple two-dimensional dataset.
# Outliers are plotted in red.
if (requireNamespace("robustbase", quietly = TRUE))... |
901a29d64420f578f36d99c9bad4127d47f0976e | 5a221ae7a3c5431579e461772f87443aa58493ba | /nimbleSCR/man/dbernppAC.Rd | c3c63fcad350dad85303c045eab8554ec6c4093a | [] | no_license | torbjore/nimbleSCR | 0200949946e6668c5e7d98c205778e9b8ed9cd3a | 61264c603a725856fb150e3357c43b48758c4743 | refs/heads/master | 2023-08-28T11:53:16.676865 | 2021-11-13T22:06:27 | 2021-11-13T22:06:27 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 3,145 | rd | dbernppAC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dbernppAC.R
\name{dbernppAC}
\alias{dbernppAC}
\alias{rbernppAC}
\title{Bernoulli point process for the distribution of activity centers}
\usage{
dbernppAC(
x,
lowerCoords,
upperCoords,
logIntensities,
logSumIntensity,
habitatGrid... |
45c46693187a079ab68b0c55805ab3ea3bf6fba2 | 15bfe89b3c2fc88eb656093976e36497dcd4ba4f | /R/spread_each.R | 51cab23d520b30fc0657ad3d9ed9c369e20a67e7 | [
"MIT"
] | permissive | halpo/tidymargins | a39c59cfa82dfa3c2c59452f0275505972657264 | 136cf1585d35fc2a200ca7a28582ee9e9808ca9f | refs/heads/master | 2020-06-18T21:52:11.441212 | 2019-09-05T17:45:07 | 2019-09-05T17:45:07 | 196,463,637 | 4 | 0 | null | null | null | null | UTF-8 | R | false | false | 6,375 | r | spread_each.R | #' Spread multiple variables
#'
#' This is a multiple variable version of the function
#' [tidyr::spread()].
#'
#' @inheritParams tidyr::spread
#' @param ... the columns to act as the values to spread out.
#' @param . The separator between the key levels and the value column names.
#' @param sep the character to use ... |
7b2b46bc8a772ae08fd3d568ee6e5ab97131ef15 | 994768a737bb232129cf171d6617277141459fd1 | /ui.R | 4cfea60121a483606c4212e3711d8c64c4565914 | [] | no_license | patzaw/irisGlmPred | 9d15bb25f9960831b3f940f7256eb804fc3c533f | a04601ea98a39926d31fac4d0d692b8e2944333e | refs/heads/master | 2021-01-23T19:39:01.450746 | 2018-10-28T05:50:18 | 2018-10-28T05:50:18 | 26,760,966 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 954 | r | ui.R | library(shiny)
shinyUI(pageWithSidebar(
headerPanel("Simple glm predictors of Iris species"),
sidebarPanel(
h3("Feed the predictor"),
selectInput(
inputId="feature",
label="1) Select the feature to perform the prediction",
choices=c(
"Sepal length"="Sepal.Length",
"Sepal width"="Sepal.Width",
... |
ad1e6ad43c7754e33490db04591837f3c3eec403 | e3d2f8e956c3e6bdeac4a46eb52f3d3350b1d2d8 | /presentation/A Team Has No Name/Water/App/server.R | d0989e40084c770b54130d78d2a024be06b48fc8 | [] | no_license | socalrug/hackathon-2019-05 | 2bbf6e951361476d054bb13da243784f531adbc0 | 0b40c3e51d7dbc681baf7458cbbf5e4e5f14c82f | refs/heads/master | 2022-01-25T17:52:25.465946 | 2019-05-21T15:21:41 | 2019-05-21T15:21:41 | 175,350,381 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,806 | r | server.R | shinyServer(function(input, output, session) {
imap <- reactiveVal(NULL)
observe({
if(input$area == "COUNTY") {
counties <- CAcounties$COUNTY
statcounts <- rep(0, length(counties))
violations <- ActVi[, .N, by = .(COUNTY)]
statcounts[match(violat... |
e4711cdc2bf4448ccb7ce874c649e0db43fb98a3 | 4179c1525e5fbe925044cb01ffb40e6f0c07f71c | /man/eucliDist.Rd | 84b4457c969a657bcf591eca89e0dc8d9fa62185 | [] | no_license | hetong007/SwarmSVM | 20e58c0887da3eb90483759119af3a343e9862bd | a82b7eb37d3adb51decfc98f637d9bc32ba5b652 | refs/heads/master | 2022-12-27T04:53:10.674589 | 2022-12-15T08:38:34 | 2022-12-15T08:38:34 | 36,259,233 | 15 | 8 | null | null | null | null | UTF-8 | R | false | true | 318 | rd | eucliDist.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils.R
\name{eucliDist}
\alias{eucliDist}
\title{Euclidean Distance calculation}
\usage{
eucliDist(x, centers)
}
\arguments{
\item{x}{the data matrix}
\item{centers}{the matrix of centers}
}
\description{
Euclidean Distance calculation
}
|
d7785311b58647b8c5f0ab6c29aed075f4118fa6 | 5258a7ec2449f8babf435728526a8ae9dece933e | /Justin Fungi/AMF reorg.R | d43e175054fc631cdfe2ef08d321e68fb4ff62d9 | [] | no_license | HallettLab/usda-compost | 54675ff3be2c2354ce5e9f0a3a8e310e616cacb0 | 879c5425b03668d3fa296d718594e470b21a3ef9 | refs/heads/master | 2023-09-03T15:09:42.248305 | 2023-08-07T19:30:11 | 2023-08-07T19:30:11 | 136,986,215 | 2 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,980 | r | AMF reorg.R | library(tidyverse)
library(ggplot2) #for plots
library(nlme)#for mixed effect models to test effects of treatments
library(lsmeans)#post hoc test for significance between treatments
library(vegan)
# Import csv file, call it data. Import soil moisture data, call it moisture.data
setwd("C:/Users/Owner/Desktop")
data<-r... |
0723982149fe516b6f1393263496a7f5ec17759c | 05a62c2797d2ab194e82498122e855c9b1537559 | /subclustering.R | 825bc7483cd8417cf3fe680904bb0c9df239d8e1 | [] | no_license | jdavisucd/Single-cell-multiomics-reveals-the-complexity-of-TGF-signalling-to-chromatin-in-iPSC-derived-kidney | e7a81a4b96680b11b2fca38090e05f0f085798d4 | b38f29307cd6b6a0d9af1c6c76319f638eaf10ed | refs/heads/main | 2023-04-15T22:02:18.736365 | 2022-11-03T10:50:47 | 2022-11-03T10:50:47 | 564,415,654 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,206 | r | subclustering.R | seurat <- FindSubCluster(seurat,
cluster = "Stroma 2/3_0",
algorithm = 3,
resolution = 0.5,
graph.name = "peaks_snn")
DimPlot(object = seurat, label = TRUE, repel = TRUE, group.by = "sub.cluster")
DimPlot(object = seurat, label = TRUE, repel = TRUE... |
67a06a8593481fc1b22eedf5e510e866863f8ee9 | 722e13d427cc095153233052b1f90ed138484cc3 | /man/spectra.Rd | 477bb91e6d0c3c9ef3aab4d027e8299d7362265f | [] | no_license | annakat/casper_defunct | 2eb0a261c67af7e3299c64816ec3e7113034c6dd | ed378b53ec54c104bfe66d615d944bf3622d3cfe | refs/heads/master | 2020-12-24T06:03:06.612672 | 2016-11-15T17:22:21 | 2016-11-15T17:22:21 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 654 | rd | spectra.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spectra.R
\name{spectra}
\alias{spectra}
\title{Create a spectra object}
\usage{
spectra(reflectance, wavelengths, names, meta = NULL, ...)
}
\arguments{
\item{reflectance}{N by M numeric matrix. N samples in rows. values between 0 and 1.}
\... |
85f3e34a43246339a83ecbc487322f4e13e0e6f4 | 86be8d8b3e5803515b1c693823d538717d02e4da | /asremlAIC.R | 70dda0979f68ec88801d14f956e533ea55cfceeb | [] | no_license | lisamarieharrison/R-functions-southern-ocean | 37c2aac28733af42fc8f0771ca64e3203b6cb460 | 071a808b889da8c3143a70b84179af9252173a54 | refs/heads/master | 2021-01-10T08:41:29.092535 | 2017-02-13T03:11:12 | 2017-02-13T03:11:12 | 46,317,376 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 282 | r | asremlAIC.R | asremlAIC <- function(obj) {
#calculates AIC for an asreml model
#obj = asreml model object
#returns list containing log likelihood, number of parameters and AIC
l <- obj$logl
K <- length(obj$gammas)
AIC <- -2*l + 2*K
return(list(l = l, K = K, AIC = AIC))
} |
9db34eec52def42f5c49cdf03407beec4107efff | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /highfrequency/man/selectExchange.Rd | 3faa079b6a71801c7ceb74be8f9196c8642cb671 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 984 | rd | selectExchange.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data_handling.R
\name{selectExchange}
\alias{selectExchange}
\title{Retain only data from a single stock exchange}
\usage{
selectExchange(data, exch = "N")
}
\arguments{
\item{data}{an xts or data.table object containing the time series data.... |
272057422bb0ec40d8acd73ae361bc0d1ac6b865 | 85e365dd17802995c9ac3014001fb21deedeca3b | /IS 608 Knowledge and Visual Analytics/Assignment 3/PS1/ggplot/ui.R | 34fbcf08ce083fb5f56fc1eb528fa5611fed95b7 | [] | no_license | cspitmit03/CUNY | 3ebd6ee7bcf9cedc3816038bd7cc121bf41841f3 | 483fc6763cc82baa460cdd0626b6f76b8ac312e1 | refs/heads/master | 2020-03-15T21:29:04.027464 | 2016-12-01T04:24:31 | 2016-12-01T04:24:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 632 | r | ui.R | # This is the user interface part of the script
#
library('shiny')
library('ggplot2')
setwd('/Users/Charley/Downloads/cuny/IS 608 Knowledge and Visual Analytics/Assignment 3/PS1/ggplot')
# let's create a list of potential states and years
mort_ui <- read.csv('cleaned-cdc-mortality-1999-2010.csv')
cause <- lapply(un... |
76ccc1b93e10c6bb4caa883211e6571e89832c07 | e7b4e87c79608b120e69ab7b60f156d9f0e65b42 | /cachematrix.R | 2fb93ad0dd3743972b782500b972d67aedcc8644 | [] | no_license | celinechu/ProgrammingAssignment2 | 2e3325083646475f6d7ed00d631ec37766e2db3a | aa8df8ec038092fe8f3d372b359cdfa988cd1770 | refs/heads/master | 2021-01-17T08:00:53.013802 | 2015-06-18T04:02:26 | 2015-06-18T04:02:26 | 37,572,690 | 0 | 0 | null | 2015-06-17T04:34:25 | 2015-06-17T04:34:25 | null | UTF-8 | R | false | false | 1,726 | r | cachematrix.R | ## Put comments here that give an overall description of what your
## functions do
## Write a short comment describing this function
## Function makeCacheMatrix creates a special "matrix" object that
## can cache its invese.
##
makeCacheMatrix <- function(x = matrix()) { # the function takes a matrix as input
i... |
43517247a08034380df677276629eb2b0bf596c1 | 1ddcc1392054036a2609a410a79730c16de66dd3 | /Week3/Code/PP_Lattice.R | 64feb6e4afec198f9fb61fa876dfeba1b01babad | [] | no_license | JiqiuWu/CMEECourseWork | de4bad2a2a67aa1dd5be8474a6228ef29873aee1 | 6950bd63ce095a19280e20472b8bb628dfcfe5f7 | refs/heads/master | 2020-03-30T16:05:36.070368 | 2019-09-09T20:35:03 | 2019-09-09T20:35:03 | 151,392,780 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,052 | r | PP_Lattice.R | MyData <- read.csv("../data/EcolArchives-E089-51-D1.csv", header = T, stringsAsFactors = F)
library(lattice)
library(plyr)
pdf("../results/Pred_Lattice.pdf")
densityplot(~log(Predator.mass) | Type.of.feeding.interaction, data=MyData)
graphics.off()
pdf("../results/Prey_Lattice.pdf")
densityplot(~log(Prey.mass) | Typ... |
182c8a489f42c936407230bde8906da18e5b7e82 | 23660ade69cb1c41b49a8a86e6c4197cab331ffa | /man/sgpop.Rd | dd42f7b29f2fb1eb18a14f08ce557345589fa357 | [] | no_license | FelipeJColon/SpatialDengue | e4c871557ec94a6786c683e2054e3b3958e7dff8 | a130214a52796093e6682973ba922ab7b8c04719 | refs/heads/master | 2023-05-31T18:53:40.367373 | 2020-11-26T15:46:11 | 2020-11-26T15:46:11 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 587 | rd | sgpop.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/sgpop.R
\docType{data}
\name{sgpop}
\alias{sgpop}
\title{Population of Singapore in raster format}
\format{A georeferenced raster file with pixels aligned in a 184 row, 271 column grid:
\describe{
\item{value}{number of people residing in p... |
e249527822da2e4f857a21733958cfcdb7e9eea9 | b022e68f0139455784d95133deb4cf8f487142ce | /man/predict.WGLVmix.Rd | 80df7d5f69e5987f3701efd7481dee2a804d9e10 | [] | no_license | cran/REBayes | 1e311610a28f37509d2da28f81385b17e84b4bbf | e26237baf78f2dc4bb776ae29a2ddfce68963435 | refs/heads/master | 2022-05-13T04:13:53.603760 | 2022-03-22T17:20:02 | 2022-03-22T17:20:02 | 17,681,954 | 4 | 2 | null | null | null | null | UTF-8 | R | false | true | 1,254 | rd | predict.WGLVmix.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/predict.WGLVmix.R
\name{predict.WGLVmix}
\alias{predict.WGLVmix}
\title{Predict Method for WGLVmix}
\usage{
\method{predict}{WGLVmix}(object, newdata, Loss = 2, ...)
}
\arguments{
\item{object}{Fitted object of class "GLVmix"}
\item{newdata}... |
273b2c95a43eff5bba300abb9b98f9391b3d1fb6 | 5080d3c020721003422074648d4505b5e49a8e68 | /week2.R | 229f2ddac742a8e0f024d69b419accbd10830845 | [] | no_license | kala28/Week2Demo | 2435e0922924b7d19dec677f9f786d493d7722b2 | 2b2d691b25bba5f7f4f930d1c32e65fbd7f46281 | refs/heads/master | 2021-02-17T23:46:00.283067 | 2020-03-05T12:29:15 | 2020-03-05T12:29:15 | 245,137,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 573 | r | week2.R | #adding variables
x <- 3
x
y <- 6
y
#defining whether the x is numeric or not. if true it returns to YES or NO
is.numeric(x)
#Adding two Vectors
vec1 <- c(1, 2, 4, 9)
vec4 <- c(1, 9, 6)
vect_total = vec1 + vec4
vect_total
#
vec_A <- c("Hockey", "Foootball", "baseball", "curling", "rugby", "hurling", "basketball", "... |
37764024a17b311f1285b51fc3b165b5bdc613d2 | c0c0aa2d061bb15890cfb34cd4028a2f76df1035 | /ALBERTPAPERS/Figures/FiguresWord.R | 20a335aaccbeb3a07cb400267f279dd8dc678ae9 | [] | no_license | timriffe/ViennaDiagnostics | 82f88ae2b12e416a0ba46a89eae0348b3402a34f | aafba7388ee9a7ffc053686d5f86ea4eaffc9b08 | refs/heads/master | 2020-04-12T21:36:06.831560 | 2012-12-13T08:33:54 | 2012-12-13T08:33:54 | 2,657,507 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 56,563 | r | FiguresWord.R |
# TODO: Add comment
#
# Author: Tim Riffe
###############################################################################
setwd("C:/Users/triffe/git/ViennaPaper/ALBERTPAPERS/Figures/figsW")
setwd("/home/triffe/git/ViennaDiagnostics/ALBERTPAPERS/Figures/figsW")
#install.packages("devEMF")
library(devEMF)
#inst... |
5f6e306f835ba99950b0c8802c37fd5fab8ac141 | 4537ff4f3743a1716d23b39f68e268c0680f3c78 | /linmod/spring.r | c7de7a3bca342c7b312fefa71d29b93cad990b8d | [] | no_license | arnabc74/arnabc74.github.io | 699ce4967b8a17815d75ba95f75692c3d56bb2ca | 4dc1be6abf045eacdbcbd9c918777f01dd106f70 | refs/heads/main | 2023-08-23T13:34:24.047576 | 2023-08-22T02:41:42 | 2023-08-22T02:41:42 | 249,955,696 | 0 | 2 | null | 2020-06-11T17:06:50 | 2020-03-25T11:04:50 | JavaScript | UTF-8 | R | false | false | 106 | r | spring.r | x = rep(1:10,3)
y = 2+3*x + rnorm(length(x))/3
plot(x,y)
sink('spring.txt')
data.frame(wt=x,len=y)
sink()
|
a093950d209256d7c3990182e75c314fda6862fc | 17f1b5b761a43ec178602a43f24ac72c2d5d01a9 | /hmlasso/inst/testfiles/softThresholdC/libFuzzer_softThresholdC/softThresholdC_valgrind_files/1609897526-test.R | 6d08d757bc38fb3991fff4a8a5b38f745db50a09 | [] | no_license | akhikolla/newtestfiles-2 | 3e1882e7eea3091f45003c3abb3e55bc9c2f8f56 | e539420696b7fdc05ce9bad66b5c7564c5b4dab2 | refs/heads/master | 2023-03-30T14:44:30.614977 | 2021-04-11T23:21:23 | 2021-04-11T23:21:23 | 356,957,097 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 115 | r | 1609897526-test.R | testlist <- list(g = 0, z = 2.56859788616406e-319)
result <- do.call(hmlasso:::softThresholdC,testlist)
str(result) |
cb8778cad5aa83e3fd96beb4b79ab59ba490919d | d21e26ba99c0cb19b73ebc1f3e989adb979d5826 | /R/Ω unused/excel_format_check.R | b31cba827d83e26aa81ec4f7f808091d11b280e7 | [] | no_license | chatchavan/Agora | 168b7c9c797c1053c6e00dd2f4c86888396183f0 | 547815a9915a5ad9f2a856528bdeb9a48bc031b9 | refs/heads/master | 2023-04-13T16:14:07.610749 | 2021-04-23T08:48:12 | 2021-04-23T08:48:12 | 308,588,718 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 2,381 | r | excel_format_check.R | # check formats that are used in the coding to narrow down formats that matters
library(tidyverse)
library(tidyxl)
library(fs)
paths_xlsx <-
c(dir_ls("../../04 Transcripts/Chat/", recurse = TRUE, regexp = "/..\\.xlsx$"),
dir_ls("../../04 Transcripts/Nacho/", recurse = TRUE, regexp = "/..\\.xlsx$"))
xlsx_df <- ... |
a1991c2492fa49e88a1d6a1482abaa47f856b0be | 9fa889c10187dff24aecc072949db196562da19b | /RScripts_Recession/RScript05-4_IncPovAnalysis.R | 6601bf0780f14d8c71773670f8ee2e0809b3a1e5 | [] | no_license | snandi/Project_Recession | 098ef216939ec764cd9fef1b06fd2ee6ea640ac5 | 1bdbf170e4c9491def5af541f613b0846599e119 | refs/heads/master | 2020-04-12T09:41:40.357259 | 2017-08-21T05:55:17 | 2017-08-21T05:55:17 | 41,777,027 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,024 | r | RScript05-4_IncPovAnalysis.R | rm( list = ls( all.names = TRUE ) )
rm( list = objects( all.names = TRUE ) )
#dev.off( )
########################################################################
## This script analyzes the income poverty over time. This is similar to
## RScript05-3, with the following differences
## 1. This includes interactions betw... |
1247bbefb8113ffd4cde4a48b99e44e924995edb | ec8babbad68af8930385adf3153217149dde500b | /week3/run_ncov_leaflet.R | d1fd746a0033342d968e2df5156e0651f5361e83 | [] | no_license | cemalec/BIFX551 | d7b8728865fe9bc86aef5f93422816338a38eab1 | b33807326778e3108bc871e0ccbed09b51d084f1 | refs/heads/master | 2020-12-10T03:09:25.691385 | 2020-05-05T22:00:37 | 2020-05-05T22:00:37 | 233,489,415 | 0 | 8 | null | 2020-05-16T14:46:00 | 2020-01-13T01:48:47 | HTML | UTF-8 | R | false | false | 1,723 | r | run_ncov_leaflet.R | # Description: Sample plot of ncov using leaflets
# Author: Daniel Vogel
# Date: 2/5/2020
# Install required packages for leaflet map and plotting
#install.packages("leaflet")
#install.packages("sp")
#install.packages("tidyverse")
library(leaflet)
library(sp)
## for reading .csv files
library(tidyverse)
## load da... |
2a3b08a4cf1d4772e4baca2fed4c2e01dd014add | e40d274ff6b9bd7e7f20998379f483543582c81f | /snapflex/inst/flex/flex-rsds-1.R | c0cb9f6171a20cffcebcfa393f28766fadb7c301 | [
"MIT"
] | permissive | ua-snap/snap-r-tools | 5be2dcc5171cf7289504f20e98ad3ec603e4ed57 | c3f573c2abf11633b5262c4d98cfbde39854dbf4 | refs/heads/master | 2020-03-22T05:57:29.239067 | 2019-01-08T03:11:17 | 2019-01-08T03:11:17 | 139,602,296 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 9,447 | r | flex-rsds-1.R | # @knitr setup
library(dplyr)
library(tidyr)
library(ggplot2)
library(ggpubr)
library(snapplot)
plot_theme <- get(params$snaptheme)
library(showtext)
font_add_google(params$gfont, "gfont", regular.wt = params$regular, bold.wt = params$bold)
showtext_auto()
stat_compare_means <- function(mapping = NULL, data = NULL, ... |
534ba3706800597a0090d284a57639767a7f8dd4 | 2d34708b03cdf802018f17d0ba150df6772b6897 | /googledfareportingv27.auto/man/ListPopulationRule.Rd | a581a5dea320b76c3c6d4752dcc7a6a6f749400a | [
"MIT"
] | permissive | GVersteeg/autoGoogleAPI | 8b3dda19fae2f012e11b3a18a330a4d0da474921 | f4850822230ef2f5552c9a5f42e397d9ae027a18 | refs/heads/master | 2020-09-28T20:20:58.023495 | 2017-03-05T19:50:39 | 2017-03-05T19:50:39 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 757 | rd | ListPopulationRule.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dfareporting_objects.R
\name{ListPopulationRule}
\alias{ListPopulationRule}
\title{ListPopulationRule Object}
\usage{
ListPopulationRule(floodlightActivityId = NULL,
floodlightActivityName = NULL, listPopulationClauses = NULL)
}
\arguments{... |
60929b074656f93ba513681a11b2055cd63a4902 | 135e7e481cf0c859e9708444c672f395cf87b217 | /example_query.R | 6c117f0a54fd88ac897fc51a3dcb1760170cd3ff | [
"MIT"
] | permissive | MerrimanLab/merrimanDW | 96a7d7b9d0de58c1db10db0ba3430175d6536a1d | 4354ab3dd35449bb9bb8d466c2f26d43d4f486b8 | refs/heads/master | 2021-01-21T04:31:22.976091 | 2016-06-23T05:13:05 | 2016-06-23T05:13:05 | 55,732,731 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 942 | r | example_query.R | library(RMySQL)
library(data.table)
library(dplyr)
drv = dbDriver("MySQL")
db = dbConnect(drv, default.file = '~/.my.cnf', dbname="merrimanDW_test")
dbGetQuery()
ukvariant <- dbGetQuery(db, paste('select * from dimVariant where snp in (', paste(paste0("'",kot_t1$SNP,"'"), collapse = ','),")"))
dbGetQuery(db, "sele... |
da0e53ca389e4ba94cb54e40d8c5e3cb470dfe71 | eed02ca4981c27a9b77aaec2287fb91c5ae96d98 | /R/plot-osm-basemap.R | 3181ff3e1cc2300fe2f0bf3cecc31ef41f4e4893 | [] | no_license | jhollist/osmplotr | 572dd0d6c960b933d964ca571c05d4cacd457ac9 | a47701fc10719969d3fe493cfa81ec6cc4809d98 | refs/heads/master | 2020-12-25T22:08:03.656322 | 2016-03-25T13:40:09 | 2016-03-25T13:40:09 | 54,485,836 | 0 | 0 | null | 2016-03-22T15:19:32 | 2016-03-22T15:19:32 | null | UTF-8 | R | false | false | 2,425 | r | plot-osm-basemap.R | #' plot_osm_basemap
#'
#' Generates a base OSM plot ready for polygon, line, and point objects to be
#' overlain with add_osm_objects(). NOTE: Graphics files must be closed after
#' finishing map with dev.off() or graphics.off(). Unless specified, height of
#' graphics device is automatically calculated in proportion t... |
06d0e8a42e1b8df67066e62434608d550449c5e1 | 86cb2d9a9c8aab4cfe59493d3a187a239451efd7 | /plots/typeDist.R | 9c1ad7ca558edf7fa723e983e1e9201ea86f0491 | [] | no_license | wckdouglas/tgirtERCC | 198878608cb9480847a907f7d22f5f234e791077 | fd807759c158b24d56a282bdbde3313406d9a2c1 | refs/heads/master | 2021-01-17T11:34:30.967484 | 2017-03-10T19:36:45 | 2017-03-10T19:36:45 | 41,743,074 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,484 | r | typeDist.R | #!/usr/bin/env Rscript
library(readr)
library(dplyr)
library(tidyr)
library(cowplot)
library(stringr)
library(stringi)
library(data.table)
library(RColorBrewer)
library(tgirtABRF)
datapath <- '/Users/wckdouglas/cellProject/result/countTables'
figurepath <- '/Users/wckdouglas/cellProject/figures'
smncRNA=c('misc_RNA... |
6cdcae7199aff7dadbbfbe2ab0bd3da7e1312693 | 1a47690a821bb6dffb39f4ddff9cae9f8b0708c1 | /analyses/SimWork/fit_conceptual_figure_delayeffects.R | 2c8cedbfb75222214b310036d4632c39c29bed15 | [] | no_license | mrc-ide/reestimate_covidIFR_analysis | 364d018137360f4d229281a6f794117dce00d8d0 | 075feced7d14a84d1f83b88fb8f720f5123abcc3 | refs/heads/master | 2023-04-13T20:17:30.407867 | 2021-11-15T00:12:42 | 2021-11-15T00:12:42 | 267,118,325 | 10 | 1 | null | 2021-06-03T23:17:02 | 2020-05-26T18:16:20 | R | UTF-8 | R | false | false | 12,572 | r | fit_conceptual_figure_delayeffects.R | ####################################################################################
## Purpose: Plot for Figure Showing Delays and Inference Framework
##
## Notes:
####################################################################################
library(COVIDCurve)
library(tidyverse)
library(drake)
source("R/covidc... |
f0c8a7761ab91f3cc0e93121a779048e8ccc0e64 | e9db1f5f3fd44b4e220780359eab9bdbcb1ebd3b | /Perfermance_Evaluation/plot_ROC_Epi.R | 6031fe6e587f028a8ff3fe0942b92aae40483846 | [] | no_license | programing-basic-Tutor/scripts_For_Seq | 4c49bd3a55d8add17c5ff569d1c49118219f019e | 7a74b6bda5f2a87c84bf4c18f8e66be84ea3c141 | refs/heads/master | 2022-10-10T00:29:16.452918 | 2020-05-31T02:00:43 | 2020-05-31T02:00:43 | 72,696,007 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 709 | r | plot_ROC_Epi.R | library(Epi)
data_A <- read.table("a1_MSI.txt", header=T, sep="\t")
x <- data_A$MSI_score
y <- data_A$MSI_status
z <- data_A$total_loci
rc <- ROC(form = y ~ x +z , plot="sp")
## optimal combination
opt <- which.max(rowSums(rc$res[, c("sens", "spec")]))
## optimal cut-off point
rc$res$lr.eta[opt]
ROC(form = y ~ x ... |
1b90f5eeda2d5db9924ac197bfca73587461c508 | 05884bd8afb3222aec86c6a2b363e67ed3c64590 | /toolbox/examples/safeLibraryex.R | f5c051c19e87e38c39395a16c211a6d130d62857 | [] | no_license | nmarticorena/mineria_datos | bcfbea31e6de6f292e4404068b360638ab8a3cbb | 6e3f22c2fb79fe551a5d8c94136f495638088813 | refs/heads/master | 2020-03-09T00:36:28.806062 | 2018-06-14T03:12:35 | 2018-06-14T03:12:35 | 128,492,056 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 94 | r | safeLibraryex.R | #Safe Library example:
safeLibrary(roxygen2)
# useful package to documentate your packages
|
77dff884c3c37e4944963ed1ac7f368b8982865a | 60a532d56b30e7e8d833a5f10e4e55a2c9bb7c1b | /man/demo_se.Rd | 42305e7afeca45b9532814bf0b8cdc70e8d855d8 | [
"MIT"
] | permissive | mariakalimeri/forestplot | 2d0ffa5841b700af4b05fe27c67b4a3ba7cd8e8a | fef9aeacf9096f30d065ef72f42dec696d1879cd | refs/heads/master | 2021-07-08T00:39:12.708646 | 2018-09-12T13:59:55 | 2018-09-12T14:11:30 | 126,931,329 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 707 | rd | demo_se.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/data.R
\docType{data}
\name{demo_se}
\alias{demo_se}
\title{Standard Error Values of Linear Associations of NMR-quantified Biomarkers to BMI}
\format{A data frame (tibble) with 228 rows and 2 columns:
\describe{
\item{abbrev}{Biomarker abbr... |
e9a16265cfb1009025b676c183e86ddc18fdc38f | 8c30bb622e1aa34e74b297ec519fdc88ed73f2c0 | /R/main.R | e6abdba2fbba3f1fff2003f997acd14a4aa66b52 | [
"MIT"
] | permissive | EvgenyPetrovsky/scrambler | 0023529456a9e42b83ccb8f686b7adff6fa0e322 | 1da6ddbb3e4be8ecccd9cdfc866daaaf91af4df3 | refs/heads/master | 2020-03-14T22:00:22.294237 | 2018-10-28T19:42:17 | 2018-10-28T19:42:17 | 131,810,862 | 0 | 0 | MIT | 2018-10-25T12:09:41 | 2018-05-02T06:57:07 | R | UTF-8 | R | false | false | 4,727 | r | main.R | #' Process files
#' @description This procedure scrambles all files which meet selection criteria
#' according to scramble rules
#'
#' @export
#' @param input.folder input folder, word directory by default
#' @param file.names file wildcard to select files
#' @param output.folder folder name to store results. Folder ... |
6411879795412d8fb6a026293c6fac621df6d5c1 | e12d1fe4369c0859a945bac2cb79a7a5ae0d4557 | /Article/Analysis.R | 753d24dbe7d1786a27075ecaed0d9723d1793528 | [] | no_license | sportalier/Article_Tanguy | a5b550185475fde2513b91da83cdcdd9070dda42 | 5c00048bb9cbbbdb834743f972ce3bbc76ed35df | refs/heads/master | 2021-01-25T04:01:26.027648 | 2018-04-10T18:49:53 | 2018-04-10T18:49:53 | 30,258,584 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,739 | r | Analysis.R | # Competition herbivores
# 9 March 2018
library(deSolve)
# parameters
# plant 1
a1 = 0.01;
Qv1r1 = 0.2;
Qv1r2 = 0.08;
# plant 2
a2 = 0.01;
Qv2r1 = 0.1;
Qv2r2 = 0.25;
# herbivore 1
g11 = 0.15;
g12 = 0.11; # 0.1
Qh1r1 = 0.3;
Qh1r2 = 0.2;
m1 = 0.1;
# herbivore 2
g21 = 0.09;
g22 = 0.15;
Qh2r1 = 0.2;
Qh2r2 = 0.3;
m2 = 0... |
8c268594470a9071d86e979881d9c3f5420810e3 | 2bec5a52ce1fb3266e72f8fbeb5226b025584a16 | /BiDAG/man/partitionMCMC.Rd | dace236859a56b6f985505ff60e26f0bf1bb2d62 | [] | no_license | akhikolla/InformationHouse | 4e45b11df18dee47519e917fcf0a869a77661fce | c0daab1e3f2827fd08aa5c31127fadae3f001948 | refs/heads/master | 2023-02-12T19:00:20.752555 | 2020-12-31T20:59:23 | 2020-12-31T20:59:23 | 325,589,503 | 9 | 2 | null | null | null | null | UTF-8 | R | false | true | 4,865 | rd | partitionMCMC.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/main.R
\name{partitionMCMC}
\alias{partitionMCMC}
\title{DAG structure sampling with partition MCMC}
\usage{
partitionMCMC(
scorepar,
startspace = NULL,
blacklist = NULL,
scoretable = NULL,
startDAG = NULL,
moveprobs = NULL,
ite... |
634902f2552b236d530a247942a6730851d25a8d | 645f63b45d9dcdebc8f58bd71d186525d103e621 | /LAB2/testforbeginning.R | e5ec6d1c79dd15338ead664d5e16c260360c0ff0 | [
"Apache-2.0"
] | permissive | snotman/STT864 | 7a012446534ae9258cc832066969f7c9424a7a7d | a33df1d5f09510e372f71b4d0c701148c69f330d | refs/heads/master | 2021-01-19T01:03:40.665082 | 2017-04-04T18:31:33 | 2017-04-04T18:31:33 | 87,218,835 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,330 | r | testforbeginning.R | setwd("C://Users//nan66//Documents//MSU//stt864//LAB2")
flintlead<-read.csv(file="Flint-water-lead-dataset.csv",header=FALSE)
colnames(flintlead)=c("SampleID","Zip Code","Ward", "0sec", "5sec", "120sec")
time<-c(0, 45, 120)
flintlead2<-flintlead[flintlead[,5]<1000,]
f<-function(a,b,c,i){zipcode<-which(flintl... |
3d5bd09b52aa4ba516d4a2eb30487395f69b0930 | 9ab84dba6505ff02f06b8c8a7e58fa1bdf5113a8 | /R/getESFromChiSquared.R | 23daa073d05f3672aa42de94b89b1f554fe8820e | [] | no_license | marcionicolau/StatViz | 8a32ad2b9dc2128709cff9d856989df964904faf | c7b429eb707b2f8a4e55593a8a10a999055b3ed4 | refs/heads/master | 2020-12-26T13:51:21.469518 | 2013-12-11T12:14:01 | 2013-12-11T12:14:01 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 456 | r | getESFromChiSquared.R | getESFromChiSquared <- function(ChiSquared = "", n = "")
{
install.packages("compute.es");
library(compute.es);
if(ChiSquared == "")
{
ChiSquared = "3.14";
n = "40";
}
result = chies(eval(parse(text = ChiSquared)), eval(parse(text = n)));
# result = tes(3.14, 40, 40);
lis... |
a39fa335d5a23ef9dbdb027e9782a4989cea2f9e | ad6dfcab422765ece1a3fb9d6ea427fccdc29aae | /cachematrix.R | ac14e87d849caa72ff887f288c995f3adbfc0fa3 | [] | no_license | JorgeQuereda/Programming-Assignment-2 | 68a3203f6e8084738a2271ec3c4928bca9ef4cc9 | 73b2793b18b66fb07ab9d8b3964b4a7f06a47199 | refs/heads/master | 2021-01-10T16:39:35.596503 | 2015-10-21T12:49:26 | 2015-10-21T12:49:26 | 44,635,303 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,081 | r | cachematrix.R | ## Inverts a matrix x or reads its inverse from cache memory
## makeCacheMatrix creates a "matrix" object that can cache its inverse.
## x is the input matrix
## inv is the inverse of the matrix
## get reads the value of x
## set overwrites the value of x
## getinv reads the value of the inverse
##
makeCacheMatrix <-... |
90764bc0d09e3719158ebd6b15179b82e2e65a28 | b3277733361941befd94f4b1cd0a858d9f475747 | /man/JSTOR_corpusofnouns.Rd | 686652249fb10b800a76d5806e765fbb480f736b | [
"LicenseRef-scancode-warranty-disclaimer"
] | no_license | pnandak/JSTORr | ce9299c465e6893a4f4fa3a401422a20cd565824 | 48e13a7a0c6cd41bda76f9cc98798fcc9875bb07 | refs/heads/master | 2021-01-15T10:05:38.151329 | 2014-02-05T06:19:28 | 2014-02-05T06:19:28 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,454 | rd | JSTOR_corpusofnouns.Rd | \name{JSTOR_corpusofnouns}
\alias{JSTOR_corpusofnouns}
\title{Remove all words except non-name nouns}
\usage{
JSTOR_corpusofnouns(x, parallel = FALSE)
}
\arguments{
\item{x}{object returned by the function JSTOR_unpack.}
\item{parallel}{if TRUE, apply function in parallel,
using the parallel library}
}
\value{... |
55cfa4f3e6d7473ef40ed3c58168d723018a357b | 64b9d355734ac82c30aec9cf33fc08c24def620b | /batch 8 code.R | 8103c476a04bc9dae7e0ba4ac4de58b53fb9ba48 | [] | no_license | drstatsvenu/OU-Batch-2018-19-Sem3 | a38804d54f6dca93d91cd5114152ba714d60e19c | 7ab95f3a45ffe47b9635a5524d1ee878f9ab136b | refs/heads/master | 2020-09-07T12:33:34.968803 | 2019-11-10T11:46:28 | 2019-11-10T11:46:28 | 220,781,872 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,546 | r | batch 8 code.R | getwd()
setwd("C:/DMMLT")
getwd()
###################################################
#Reading data
###################################################################
data<-read.csv('email.csv',stringsAsFactors = T, na.strings = c(""," ","NA","?",NA))
View(data)
head(data,10)
tail(data)
#Structure of Dataset... |
a11b1da8dca4830a949962972342835736b1044f | ddd3559b1f1e58944d679bcbaa813e8453eafc62 | /R/read_GPX.R | cc931d50599d045b3478f34a5937666dce32f5d3 | [] | no_license | cran/tmaptools | 8a7ce9d8ba47cc792cadf8dfe3f231f0db57f961 | d37013ad904edcc5c0dab4db1b6ad561694a64b2 | refs/heads/master | 2021-07-25T01:47:09.925914 | 2021-01-19T19:30:02 | 2021-01-19T19:30:02 | 77,929,207 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,367 | r | read_GPX.R | #' Read GPX file
#'
#' Read a GPX file. By default, it reads all possible GPX layers, and only returns shapes for layers that have any features.
#'
#' Note that this function returns \code{\link[sf:sf]{sf}} objects, but still uses methods from sp and rgdal internally.
#'
#' @param file a GPX filename (including directo... |
403e2d964082082717a0f23c2293ebbe6b9b89f2 | d1ae02ea69b02f4ccbb51b1352dbb66b11f8169d | /asn1.R | 77f5b652b55406f297e83ba26984b5db3312c282 | [] | no_license | thiyagarajans/RepData_PeerAssessment1 | 55f0ea2af94a296c6b256cd32340f9f284211d09 | 8542497533433706d7eb460b887f6ed2b46a6009 | refs/heads/master | 2021-01-17T20:23:36.005861 | 2015-06-05T07:56:19 | 2015-06-05T07:56:19 | 35,601,659 | 0 | 0 | null | 2015-05-14T08:58:44 | 2015-05-14T08:58:44 | null | UTF-8 | R | false | false | 2,289 | r | asn1.R | library(plyr)
library(dplyr)
library(ggplot2)
d1 <- read.csv("activity.csv")
d1$date <- as.Date(d1$date,"%Y-%m-%d")
#Q1
d3 <- group_by(d1, date)
d5 <- summarize(d3, sum(steps, na.rm=TRUE), mean(steps, na.rm=TRUE))
names(d5) <- c("Date", "Sum", "Mean")
hist(d5$Sum, xlab="", main="")
title(main="Total number of Steps", x... |
f1f48a2d951642b7444c40719d5e46054d4c0f5a | d0c72def22b832453eda4ecaf2d3ef350dc5fab0 | /hybrid_pipeline.R | 2c876d9bebbb3b47843826770cd7c0201804b8d6 | [] | no_license | diazrenata/ldats2020 | 9e12ac91ba4e4a172a3515880281a6632e63f7cb | 10dfafb89443a90a9c430328f52ef32058dcf443 | refs/heads/master | 2023-07-06T07:57:13.605804 | 2021-05-20T19:07:22 | 2021-05-20T19:07:22 | 294,782,847 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,706 | r | hybrid_pipeline.R | library(drake)
library(ggplot2)
library(dplyr)
source(here::here("analysis", "fxns", "crossval_fxns.R"))
source(here::here("analysis", "fxns", "hybrid_fxns.R"))
source(here::here("analysis", "fxns", "make_toy_data_objects.R"))
library(MATSS)
library(LDATS)
## include the functions in packages as dependencies
# - this... |
599ea0ae8f3f3babfb4c57ef4ff7094b613fd132 | 8052858568ded323d0bd79096c8b1d55a754818b | /tests/testthat/test-numeric_distributions.R | 787699e0131e542918c4b77639d4d3a46671db9a | [] | no_license | jmaspons/LHR | bfe77214eb16ca459a56705dad046ec823f6f9e2 | d3e48ad1c571a45b0016cd9f131d765166511bac | refs/heads/master | 2020-04-10T23:48:07.450826 | 2019-03-27T23:53:58 | 2019-03-27T23:53:58 | 161,365,369 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,762 | r | test-numeric_distributions.R | context("Class Numeric distributions (S3)")
## Check c memory management
# gctorture(on=TRUE)
# gctorture(on=FALSE)
test_that("constructor", {
expect_is(distri<- distriBinom(2, .6), "numericDistri")
expect_is(distriC<- distriBinom(distri, .3), "numericDistri")
res<- resC<- resS<- resP<- numeric()
for (i in... |
7943b34a5886a98d8a0ef75e4e25c7ec594db168 | 384c8d1f3a5b92604972b0bb3d2e1a82628d0117 | /R/prob-sim-menu.R | fafc691477f21be16605f117c45ddf933b23b823 | [] | no_license | cran/RcmdrPlugin.IPSUR | e59be088de00b3b1ce06c09001596af810e1691c | 8b19055f8dde7e5ec044ed578150f1f32369d778 | refs/heads/master | 2021-01-23T02:30:37.390231 | 2019-01-26T15:32:58 | 2019-01-26T15:32:58 | 17,693,100 | 0 | 1 | null | null | null | null | UTF-8 | R | false | false | 138,299 | r | prob-sim-menu.R | # # Last modified Feb 14, 2008
# # simulations optimized by Tyler Drombosky 2007
#
# `betaSimulate.ipsur` <-
# function ()
# {
# initializeDialog(title = gettextRcmdr("Simulate Beta Variates"))
# parameterFrame <- tkframe(top)
# locationFrame <- tkframe(top)
# if (!is.character(ActiveDataSet())) {
# ... |
ccc4a28c8d49c32140d1519e54d24c4032f99478 | ce6c631c021813b99eacddec65155777ca125703 | /R/mdlMLE.R | fa4119daf8bad162d0607ff9b19c976d6a124fea | [
"LicenseRef-scancode-warranty-disclaimer",
"LicenseRef-scancode-public-domain-disclaimer"
] | permissive | Zhenglei-BCS/smwrQW | fdae2b1cf65854ca2af9cd9917b89790287e3eb6 | 9a5020aa3a5762025fa651517dbd05566a09c280 | refs/heads/master | 2023-09-03T04:04:55.153230 | 2020-05-24T15:57:06 | 2020-05-24T15:57:06 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,142 | r | mdlMLE.R | #' @title Estimate Statistics
#'
#' @description Support function for computing statistics for left-censored data using the
#'maximum likelihood method (Helsel and Cohn, 1988).
#'
#' @importFrom survival survreg Surv
#' @param x the data to estimate, Missing values permitted and ignored.
#'Must be an object of class "... |
cd8315c71350b0cec8eabe3b9b15c467ee1ca98e | 304fe6596b84657320497f82c73bd319497faf9a | /R/HSVencoding.R | ad3c822da1398c1306ae6b75c61fb104907199ed | [] | no_license | diegosainzg/STUtility | 30e76fd1c323b3d0806e43c85ca0b05922ed2ff4 | 1817a5dab56589459e0442216cbd9ee219842be3 | refs/heads/master | 2023-07-18T12:37:37.321338 | 2021-09-08T14:06:37 | 2021-09-08T14:06:37 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 36,847 | r | HSVencoding.R | #' HSV encoded plots
#'
#' Using an HSV encoding of feature values, this functions can be used to color
#' code expression profiles of multiple features and visualize spatially.
#'
#' Using RGB encoding, we can show up to 3 features at the same time in the
#' "red", "green" and "blue" color channels. Whenever two or th... |
5e54959429184e68211614013408b831708bff21 | ec8de27b138ee4c85bfc0e6182c88e0afec68225 | /islr/04_lab_logistic_regression.r | 9a49ca6cb545b3c24546f9e75a398cb8a48bf0c3 | [] | no_license | re9ulus/books_std | 64e1bb7a69b7d49a1c2f1ef449d7a3eb00ee6307 | 83f0f48d78868855f450f03f60467acc83e38cc6 | refs/heads/master | 2020-04-15T04:47:41.404887 | 2016-11-19T18:56:56 | 2016-11-19T18:56:56 | 68,093,493 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,472 | r | 04_lab_logistic_regression.r | library(ISLR)
names(Smarket)
summary(Smarket)
pairs(Smarket)
cor(Smarket[, -9])
attach(Smarket)
plot(Volume)
# Logistic regression
glm.fit <- glm(Direction ~ Lag1 + Lag2 + Lag3 + Lag4 + Lag5 + Volume,
data=Smarket, family=binomial)
summary(glm.fit)
coef(glm.fit)
summary(glm.fit)$coef
glm.probs <- pre... |
02255f41e26895df54eb0f27524e584242d261e2 | 9773087c2ea664ab7211ad2393b2a01fdf1cf595 | /Paritala_Sravan_hw1_problem5.R | 6617194fedfed1a3dc83f42635c90bed98723d70 | [] | no_license | sra1dataninja/R | 5e940dbd031b7b1e2d39f25b4ab446d9cbb2e3e8 | 859707fb7fe3a1aa46496193e4e25676dd6e5c93 | refs/heads/master | 2020-03-12T18:43:04.795896 | 2018-04-23T23:19:50 | 2018-04-23T23:19:50 | 130,767,623 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,509 | r | Paritala_Sravan_hw1_problem5.R | ##Assume a set of the following objects: a<-"7" b<-"10" c<-2017"
##Write a script that converts a, b, and c to "7/10/2017" and stores it as an object called delivery_date.
##Convert delivery_date into a date.##Assume that 7/16/2017 is the delivery deadline.
##Show in R the difference between the delivery_deadline a... |
f38384b271a17979409831ea902685ae74478306 | 5f1f6eae7549284d6fb6ce29e4d23052b71d620a | /DataVis_R_Lab06_Shiny_DrawScatter.R | 9a1f68685fa0b834ceb964b68c32351016511ebf | [] | no_license | YangJongWon/DataVisualization | 721225192b90bbdf75311c54b2f4c260f16bf41e | ae2372630cb3a657b75b69aa0539915a7ceee126 | refs/heads/master | 2020-04-02T08:41:22.179165 | 2018-10-22T14:02:31 | 2018-10-22T14:02:31 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 48 | r | DataVis_R_Lab06_Shiny_DrawScatter.R | library(shiny)
shiny::runApp('DrawScatterPlot')
|
1e2c6591565f3ec0de5659579dac6b45fa594907 | 4e3d58e1e2165b2fd8a5c5141e9990a70914e8d9 | /man/col2value.Rd | 3f0238b0bca35b5523f50095674cbccde05c386b | [
"MIT"
] | permissive | jokergoo/circlize | d287b72d1e2cb3079068d9c36f253342fde29bf7 | 11ddb741620c44e9c566c992a4e28bb213fab19f | refs/heads/master | 2023-08-23T02:27:35.268033 | 2022-12-09T16:16:41 | 2022-12-09T16:16:41 | 9,529,406 | 884 | 156 | NOASSERTION | 2022-02-03T11:26:44 | 2013-04-18T18:56:04 | R | UTF-8 | R | false | false | 1,328 | rd | col2value.Rd | \name{col2value}
\alias{col2value}
\title{
Transform back from colors to values
}
\description{
Transform back from colors to values
}
\usage{
col2value(r, g, b, col_fun)
}
\arguments{
\item{r}{red channel in \code{\link[colorspace]{sRGB}} color space, value should be between 0 and 1. The \code{r}, \code{g} and \co... |
e280ae0e257108aef0a1d5554f89ee7c7a321e82 | 458d654dbc6c0478fb04153d88c7e7c199948cd5 | /MATH 300 Statistics Code/Section 3.4.R | 68f95eadf785f61a8317710159715a9e79506157 | [] | no_license | htphan16/Math-Stats-class-code | 07634c2bb783506deb29ab81ec67c87e69741e67 | 3cb30dda8176d734e8890547047e82f03fbdd0e9 | refs/heads/master | 2020-04-21T05:48:18.454513 | 2019-02-06T03:34:02 | 2019-02-06T03:34:02 | 169,350,567 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 347 | r | Section 3.4.R | # 3-4.8 (b)
x = c(0.7938,0.8032,0.8089,0.8222,0.8268,0.8383,0.8442,0.8490,0.8528,
0.8572,0.8674,0.8734,0.8786,0.8850,0.8873,0.8920,0.9069,0.9150,0.9243)
qqnorm(x, datax = TRUE)
qqline(x, datax = TRUE)
# 3-4.8 (c) The points on the plot seems to fall close to the straight line
# so the data look like observations... |
16b94bd70e1ad4cda09dce52eb6da3e28247cfc2 | 96990ccb6c1ade2506d0060cd64709a6f665e21d | /N-2 Repetition Cost Reliability/code.R | d010b5af38a3225b757ef43b7df16a5ff0f297c0 | [] | no_license | norberello/paperData | d46cfeb69f8ff7d3abfa8f0efb2917b592219497 | 430a4d426d4f4d8ae1dbda46590d7da08e9af869 | refs/heads/master | 2021-06-07T20:38:53.998851 | 2016-11-20T10:34:02 | 2016-11-20T10:34:02 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 24,605 | r | code.R | rm(list = ls())
setwd("~/Git/paperData/N-2 Repetition Cost Reliability")
source("functions.R")
library(dplyr)
library(ez)
library(ggplot2)
library(moments)
library(tidyr)
library(Hmisc)
library(ppcor)
# make sure the most recent version of trimr is installed
#devtools::install_github("JimGrange/trimr")
library(trim... |
ec5fc1ea32a9e30c58da9e75f931c7d97a1efe29 | 1f22aa2008d18e61f008412621472a972d8760f4 | /ATACseq/src/find_differential_peak_or_gene.r | 16f572d0a64725d9fe448e449d4aa46f0a402f71 | [] | no_license | youna2/mouse_epigenome_analysis | 2966afbfc9ab81727fb728dcef8e9cc0da2b96b7 | 5b4bbf1135210429546c96e84b7dd64186363d59 | refs/heads/master | 2020-03-26T04:54:26.037035 | 2019-04-24T19:52:14 | 2019-04-24T19:52:14 | 144,527,883 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,560 | r | find_differential_peak_or_gene.r |
p.cutoff=0.05
p.mat=NULL ##bed[,"p.value"]
fc.mat= NULL ##-bed[,"Fold"]
#### remove samples of age 26.75 months ######
if(selB6) selectsample= (TYPE=="B6" & AGE != 26.75) else selectsample= (TYPE=="NZO" & AGE != 26.75)
y0=Y[,selectsample]
y0forheatmap=bed[,selectsample]
age0=AGE[selectsample]
gender0=GENDER[selec... |
9767d07af36d574e28731c9336eabe85fb05a738 | 7a95abd73d1ab9826e7f2bd7762f31c98bd0274f | /multivariance/inst/testfiles/doubleCenterBiasCorrectedUpperLower/libFuzzer_doubleCenterBiasCorrectedUpperLower/doubleCenterBiasCorrectedUpperLower_valgrind_files/1612796396-test.R | 946d12d2b02ccdf8a1c3491f369907327cad59d6 | [] | no_license | akhikolla/updatedatatype-list3 | 536d4e126d14ffb84bb655b8551ed5bc9b16d2c5 | d1505cabc5bea8badb599bf1ed44efad5306636c | refs/heads/master | 2023-03-25T09:44:15.112369 | 2021-03-20T15:57:10 | 2021-03-20T15:57:10 | 349,770,001 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 505 | r | 1612796396-test.R | testlist <- list(n = 0L, x = structure(c(2.84809454419421e-306, 1.30294416220416e-284, 8.17853591442822e-227, 1.19601978825194e-304, 1.4916681464354e-154, 5.41108927834472e-312, 3.22057684190183e-231, 1.41131393662151e-308, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,... |
e1927013a093595edb15e389747f1ab4ef5e3756 | 4bc92e9b2ef6c43b1da7cb76621baa8fec73c66a | /exploratory-data-analysis/week1/plot1.R | 35165fe767fc59ac5152b3abb9e934f3f44522b9 | [] | no_license | aditya1kismatrao/datasciencecoursera-2 | f6f0ea6a8c87c7d0b00d97b893893e889e876d8a | 6fb76479bf8d012019420fe145e9af9ed7ab207c | refs/heads/master | 2020-03-29T13:31:37.846353 | 2016-07-13T08:20:52 | 2016-07-13T08:20:52 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 588 | r | plot1.R | data <- read.table("exdata_data_household_power_consumption/
household_power_consumption.txt",
sep=';', header=T, nrows=2075259)
data$Date <- as.Date(data$Date, '%d/%m/%Y')
data <- data[data$Date >= '2007-02-01' & data$Date <= '2007-02-02',]
plot1 <- function(data){
x <- as.... |
94050183d27982ad370e854c97872955d36fd33f | 995b7197ebed2e02ed6d1db376b9c48cc17aeb7a | /cardRA.R | 81d0023d29da6862efde144488864f6b73abf7fb | [] | no_license | lucasRemera/Cartographie | 87a70058be8f486e374cfbc6acfd8907e7c6d565 | 17fbafacaa19c49e407f4db4e506c9ce109585eb | refs/heads/master | 2020-03-11T15:13:34.172648 | 2018-05-29T14:29:17 | 2018-05-29T14:29:17 | 130,077,897 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,400 | r | cardRA.R | library(ggplot2)
load("rhone.RData",verbose = T)
load("isere.RData",verbose = T)
load("loire.RData",verbose = T)
load("ain.RData",verbose = T)
ggrhone=fortify(rhone)
ggloire=fortify(loire)
ggisere=fortify(isere)
ggain=fortify(a2) #departement in polygon format
# AR=1/cos(mean(ggisere$lat)*pi/180)
# g2=ggplot()+ geom_p... |
dd007d0099ca4c060b34127a96e91c218ea8dc3e | 3e5d8d362b3367e4ff0e152b0242b7a285d8484f | /R/resample_cifti.R | 0cd0f3a9d570be174761b2041a3f32a2b7c24a40 | [] | no_license | mandymejia/ciftiTools | d591a6e8732dd9df17dd62d959a7a808eee16bef | 7becc99a6301c47541c883739f7fb2f0f3413e60 | refs/heads/master | 2023-08-17T06:07:35.229385 | 2023-01-23T20:00:17 | 2023-01-23T20:00:17 | 241,136,369 | 30 | 10 | null | 2023-08-21T21:47:22 | 2020-02-17T15:06:01 | HTML | UTF-8 | R | false | false | 16,954 | r | resample_cifti.R | #' \code{resample_cifti} wrapper
#'
#' Calls \code{resample_cifti} using the original file names
#' listed in the \code{original_fnames} argument and the target file names
#' listed in the \code{resamp_fnames} argument.
#'
#' Currently used by read_cifti and resample_cifti.
#'
#' @inheritParams original_fnames_Param_... |
05470e3c1c099482aac48b41a4920472dcd1ce6b | 7d18e60a7da4b47b43bf9a90f0e7b47903e26c68 | /task1/submitReview/ATTEvaluation.R | 4396d0efa43653d4f19a2b5220ec421054ae8776 | [] | no_license | danranyiyu123456/Black-Swan | 74149e7667b3495b44507cac66382e637afcbd27 | 571839ff218b4b7f6dd999842b67f6230aa0c98c | refs/heads/master | 2022-11-23T03:49:52.482740 | 2020-08-01T05:52:34 | 2020-08-01T05:52:34 | 284,000,634 | 0 | 0 | null | 2020-07-31T09:53:42 | 2020-07-31T09:53:41 | null | UTF-8 | R | false | false | 793 | r | ATTEvaluation.R | ###################################################
#####The model evaluation
###################################################
mapeFunc <- function(y, yhat){mean(abs((y - yhat)/y))}
### The function for caret turning
mapeSummary <- function (data,lev = NULL,model = NULL) {
out <- mean(abs((data$obs-data$pred)/dat... |
598fe5aa6ddb3af7d0efe826ca992861b2bbc67f | ffdea92d4315e4363dd4ae673a1a6adf82a761b5 | /data/genthat_extracted_code/rfml/examples/ml.load.sample.data.Rd.R | 3d556de7f6cd5930cadcdee530cbb0a5dea66a1f | [] | 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 | 270 | r | ml.load.sample.data.Rd.R | library(rfml)
### Name: ml.load.sample.data
### Title: Load sample data set into MarkLogic server
### Aliases: ml.load.sample.data
### ** Examples
## Not run:
##D locConn <- ml.connect()
##D mlBaskets <- ml.load.sample.data(locConn, "baskets")
## End(Not run)
|
30402d9ed9a8219e821f7516b391451bdf9f9ab2 | 631c05e0a714621d4753129d9670ad4c54f3d664 | /0507_outlier.R | 6304245ffc01b545a319e76b60fe9dd33e8a661e | [] | no_license | convin305/Hankyung_academy_R | 3358fc601f3828c7e938498ec7f6e168071be507 | 4b57d37d9209d7e3a12f5086963f0dbe68a3ea61 | refs/heads/main | 2023-05-08T17:52:35.635207 | 2021-06-02T00:32:30 | 2021-06-02T00:32:30 | 372,992,880 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,609 | r | 0507_outlier.R | library(dplyr)
data <- read.csv('c:/ken/data/three_sample.csv',header=T)
data %>% head()
data %>% summary()
#데이터 정제, 전처리
data <- subset(data , !is.na(score),c(method,score))
data
#차트를 이용해서 outlier확인
plot(data$score)
barplot(data$score)
mean(data$score) #평균이 14이므로 14이상은 아웃라이어로 간주하고 제거
boxplot(data... |
b269fd100024e04f3a4c6f2ea90ac033abef68b8 | 6b3215ae22fb53df23457105f4249e2a7e56bd2e | /man/convergence_precheck.Rd | 314c98c0211b37cbedd26f29ee87ccbac6f31f1e | [] | no_license | cran/lmvar | 26f45be9ebeb93467ae389ec00f034bb8054c239 | a40d38d4d227aa3aade534bae73fb4625d4ae96d | refs/heads/master | 2021-01-22T14:15:23.807165 | 2019-05-16T09:10:10 | 2019-05-16T09:10:10 | 82,301,074 | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,266 | rd | convergence_precheck.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/convergence_precheck.R
\name{convergence_precheck}
\alias{convergence_precheck}
\title{Pre-check model matrices for convergence issues}
\usage{
convergence_precheck(y, X_mu, X_sigma)
}
\arguments{
\item{y}{Numeric, response vector y}... |
1587f57f223f53d4c08fe28fee47988302f2fd81 | 3d63d1ec4d25fabcb91300a205ab7a5642399c59 | /man/croston_fit_impl.Rd | f8ad0f6930e8e9e3fa31a41e6ea05a1fbb8e6fe4 | [
"MIT"
] | permissive | silverf62/modeltime | c98e702fc0af63c814119393b7c701886d474614 | 61eed2bfc996191cb91c0416bbfeaa62587573e1 | refs/heads/master | 2023-09-02T05:50:26.266276 | 2021-10-27T15:35:32 | 2021-10-27T15:35:32 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 614 | rd | croston_fit_impl.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parsnip-exp_smoothing.R
\name{croston_fit_impl}
\alias{croston_fit_impl}
\title{Low-Level Exponential Smoothing function for translating modeltime to forecast}
\usage{
croston_fit_impl(x, y, alpha = 0.1, ...)
}
\arguments{
\item{x}{A datafram... |
24abc8a921b1ec1dd0f9ec0d3402a887b41d3f0c | 01ecfe640427e47369c344d56d05390736b75c55 | /R-Projects/R-Logical Operations.r | 7df0a21accb4634a353e92e4cb6ae2b2e30180cb | [] | no_license | ysfkymz/R-Projects | 247790a9f5acdecb743ccfa31bdc90f8b431f359 | d1c899d217db2c05c9e40ff2e6ec5e70b7cc63d7 | refs/heads/master | 2020-06-06T11:08:47.599354 | 2019-06-19T12:04:26 | 2019-06-19T12:04:26 | 192,723,667 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 7,231 | r | R-Logical Operations.r | #R programming
#16.06.2019
#by Yusuf Kaymaz
#Logical Operators
> attach(cancer)
> sex==2
[1] FALSE FALSE FALSE FALSE FALSE FALSE TRUE TRUE FALSE FALSE FALSE TRUE
[13] TRUE FALSE FALSE FALSE FALSE FALSE TRUE FALSE FALSE TRUE FALSE FALSE
[25] FALSE TRUE FALSE FALSE FALSE FALSE TRUE FALSE FALSE TRUE FALSE ... |
c21a22ab7598059d90944fbb532763c36d85f73a | ba7639872ae549ba254b32d64291c92657fab4aa | /NewPCAMCMC/ShortPlayDiags.R | be1ef8f9dcbe92017e4ae7e2d05f53934bd4d7d5 | [] | no_license | gregvirus2/EcoEvoModelDwyerEtAl2021AmNat | 0bff9ca50c229f9a26d2634223436ae6e040992c | 38a5bad2c76089fe0942cc17e007b6f19066f4e7 | refs/heads/main | 2023-03-25T00:41:07.934531 | 2021-03-20T22:55:18 | 2021-03-20T22:55:18 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 12,054 | r | ShortPlayDiags.R |
#DataTemp = read.table("AllGA8P38YA.dat");
#DataTemp = read.table("AllGA8O29YC.dat");
#DataTemp = read.table("AllGA8O1YC.dat");
#DataTemp = read.table("AllGA8O42YC.dat");
#DataTemp = read.table("AllGA8P0YC.dat");
#DataTemp = read.table("AllGA8O5YC.dat");
#DataTemp = read.table("AllGA8O42ZC.dat");
DataTemp = ... |
7a3c2c6a38caabee5ac1a755a0fb84ab207c5d7e | 9f92822dd2bfef54670e7563e015fe75959ab4eb | /man/CMIP5_example_timeseries.Rd | 033c2ce2df86118d89e2067c2de5d57f9a1d448a | [] | no_license | cran/wux | 6ad444d96a487e36006368eb2cb54c91be5cbd53 | 77c246fbd25db73bfe318625e5dddde9bd06df3e | refs/heads/master | 2020-12-24T13:29:12.414854 | 2016-12-14T16:23:42 | 2016-12-14T16:23:42 | 27,069,676 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,035 | rd | CMIP5_example_timeseries.Rd | \name{CMIP5_example_timeseries}
\alias{CMIP5_example_timeseries}
\docType{data}
\title{
Climate change signals of example userinput for models2wux
}
\description{
This example of a WUX data.frame is the result of running
\code{userinput_CMIP5_timeseries} with \code{\link{models2wux}}.
}
\usage{data(CMIP5_example_timese... |
0bc1bcddc8fd93f9aac1bc63fc062e1959399277 | d48e34adc6063a5ca3dbfd772ad186fb93922f50 | /package/clinDataReview/man/getJsDepClinDataReview.Rd | 5e9074349c6813c23203cdd29c26576dba84938d | [] | no_license | Lion666/clinDataReview | 080832a95b74bebb595d59796758b9e8b4cf4e18 | 2876140f36c6bfe94d8626038d32b2f3f9477697 | refs/heads/master | 2023-08-05T18:55:26.658847 | 2021-10-01T16:55:27 | 2021-10-02T10:41:00 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | true | 1,073 | rd | getJsDepClinDataReview.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/miscellaneous.R
\name{getJsDepClinDataReview}
\alias{getJsDepClinDataReview}
\title{Get Javascript custom scripts required for specific
clinical data functionalities.}
\usage{
getJsDepClinDataReview(
type = c("collapsibleButton", "patientPr... |
c6c6b2961adf243bca5210db5a933020df797077 | 77b7481be4a3d80c8d44e3fc77730d177a386154 | /man/mc_state_equilibrium.Rd | 7c4e19e0adfad3607cdac83c7315af9b910888e4 | [] | no_license | HydrosystemsGroup/Weather-Generator | 05655075e66992e86e0a92d6965cb091a7a6ddc6 | 23250d2b1244a2c3c928fe301fb65197613fb201 | refs/heads/master | 2021-01-20T07:52:27.770546 | 2016-03-31T17:11:48 | 2016-03-31T17:11:48 | 90,059,517 | 6 | 1 | null | null | null | null | UTF-8 | R | false | true | 571 | rd | mc_state_equilibrium.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/mc_state_equilibrium.R
\name{mc_state_equilibrium}
\alias{mc_state_equilibrium}
\title{Compute State Equilibrium Vector of Transition Matrix}
\usage{
mc_state_equilibrium(m)
}
\arguments{
\item{m}{markov transition matrix}
}
\description{
Com... |
4e9805448cd0ef3a300b0e6a96ca4011afe96a71 | 9e8ac937c14981f229c4dfe72182ec8a6b62b461 | /profiling/2.cj_data/2.A.2_vsb_parentage.R | 5e2fac4afe060dd481d98422821b32fee9574a6f | [] | no_license | rossibarra/phasing_tests | 80da4f02ebfa85f0a84df5ba7f00ac74f67b3f7d | b7b7327a7485880e826528a993332e86177a5b1f | refs/heads/master | 2021-01-01T19:42:25.344718 | 2015-08-29T01:21:53 | 2015-08-29T01:21:53 | 39,414,352 | 0 | 3 | null | 2015-08-29T01:21:53 | 2015-07-21T00:02:05 | R | UTF-8 | R | false | false | 2,479 | r | 2.A.2_vsb_parentage.R | ### Jinliang Yang modified from VSB
### July 30th, 2015
## phasing.R
library(parallel)
library(devtools)
options(mc.cores=NULL)
load_all("~/bin/tasselr")
load_all("~/bin/ProgenyArray")
ob <- load("largedata/cj_data.Rdata")
# load sequence lengths from chromosome
sl <- read.table("largedata/refgen2-lengths.txt", col.n... |
141909eee8806e54848d19023d40d78cf244397a | df762ff9f6fa60e0657140218fdbd604b9d0d669 | /server.R | 69bb289e9069e842201371d74f3ea5a4725d3c13 | [] | no_license | sunzibinfa/DevelopingDataProductsWeek4Assigment | fe99ec7b1939c124f9b411c77bcce4a14009bf00 | 8bcec51e97bb30369dd45e9fd9cf2936f0055e29 | refs/heads/master | 2022-08-01T19:40:19.174701 | 2020-05-15T20:39:17 | 2020-05-15T20:39:17 | 264,269,471 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,284 | r | server.R | library(shiny)
library(dplyr)
# Read in data set and do process data in order to get into right format
data(EuStockMarkets)
EuStockMarkets2 <- diff(EuStockMarkets)
# Define server logic required to draw a histogram
shinyServer(function(input, output) {
output$indexPlot <- renderPlot({
# Subs... |
7d501ea07b4f2cb2ca4c95f84b1d1da088cf1c3f | ef5654db62bce3446ef12053c6149542fc1c6e66 | /man/rawMeanInterval.Rd | 8d1b73512f5656f3db3981e83e538a560fe7e37d | [] | no_license | DanielEverland/smartstats | e6392dbf7f433d84bc8faab29fe4fe6e62cd170a | f0be82545c7f3744ef069c8a43a476ee00ad98e6 | refs/heads/master | 2023-05-06T04:45:07.824212 | 2021-05-30T07:21:31 | 2021-05-30T07:21:31 | 370,746,254 | 0 | 0 | null | 2021-05-29T09:35:01 | 2021-05-25T15:43:50 | R | UTF-8 | R | false | true | 511 | rd | rawMeanInterval.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/ConfidenceInterval.R
\name{rawMeanInterval}
\alias{rawMeanInterval}
\title{Calculates the mean confidence interval without a vector}
\usage{
rawMeanInterval(mu, sd, len, alpha = 0.05)
}
\arguments{
\item{mu}{Given mean}
\item{sd}{Standard de... |
0869a470ba3aa3db8f3836083cb0199a34991247 | 7f4d3010da25ef1e82afebfd8430d9d3e05df34e | /code/waterfall.r | 996ef414479c1d5bb50c8d13d3cfff8535ee4c15 | [
"Apache-2.0"
] | permissive | jkeirstead/hygem-b | b382a796047e8c6bb1d4d95347c7835f038af72e | cada87b0f0dade6ac7b8b5a4d5b1d0bd1bbd6fa3 | refs/heads/master | 2021-01-22T11:37:52.382498 | 2013-12-19T17:08:11 | 2013-12-19T17:08:11 | 11,445,520 | 4 | 1 | null | null | null | null | UTF-8 | R | false | false | 1,831 | r | waterfall.r | ## Make a waterfall plot
## @param df a dataframe with columns labelled category (an ordered factor, such that 1 + 2 + ... + n-1 = n), value, and an additional sector column for a further split
waterfall <- function(df) {
df <- transform(df, order=as.numeric(category))
df <- arrange(df, order)
ids <- which(df$or... |
e0e8132a4f438b7c92067dd1dfad107f4a4a6726 | c53e367a5a155cfb1ee3a41e8b0351aeaa8d331d | /Biostrings/doc/MultipleAlignments.R | 90dd31a0f3114d169d0db14ddca9ed2c7f7b13a9 | [
"MIT"
] | permissive | solgenomics/R_libs | bcf34e00bf2edef54894f6295c4f38f1e480b3fc | e8cdf30fd5f32babf39c76a01df5f5544062224e | refs/heads/master | 2023-07-08T10:06:04.304775 | 2022-05-09T15:41:26 | 2022-05-09T15:41:26 | 186,859,606 | 0 | 2 | MIT | 2023-03-07T08:59:16 | 2019-05-15T15:57:13 | C++ | UTF-8 | R | false | false | 5,259 | r | MultipleAlignments.R | ### R code from vignette source 'MultipleAlignments.Rnw'
### Encoding: UTF-8
###################################################
### code chunk number 1: objectCreation
###################################################
library(Biostrings)
origMAlign <-
readDNAMultipleAlignment(filepath =
... |
8e4f237f897a7cf418ff911e84609f35e4513a2b | 20fb140c414c9d20b12643f074f336f6d22d1432 | /man/NISTpeckTOliter.Rd | d8740fd121df00a136b025ab3c6894626f1dfe5b | [] | no_license | cran/NISTunits | cb9dda97bafb8a1a6a198f41016eb36a30dda046 | 4a4f4fa5b39546f5af5dd123c09377d3053d27cf | refs/heads/master | 2021-03-13T00:01:12.221467 | 2016-08-11T13:47:23 | 2016-08-11T13:47:23 | 27,615,133 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 718 | rd | NISTpeckTOliter.Rd | \name{NISTpeckTOliter}
\alias{NISTpeckTOliter}
\title{Convert peck to liter }
\usage{NISTpeckTOliter(peck)}
\description{\code{NISTpeckTOliter} converts from peck (U.S.) (pk) to liter (L) }
\arguments{
\item{peck}{peck (U.S.) (pk) }
}
\value{liter (L) }
\source{
National Institute of Standards and Technology (NIST),... |
3235c9089f35ddddf713321f164a1cbd1a1c0906 | 0f64ac5e3d3cf43124dcb4917a4154829e7bb535 | /uncert/fm3.uncertqpV.R | b2248a563dbb480d3d5452724570022e5cae2902 | [] | no_license | wactbprot/r4vl | 8e1d6b920dfd91d22a01c8e270d8810f02cea27c | a34b1fa9951926796186189202750c71e7883f8d | refs/heads/master | 2016-09-11T02:22:39.828280 | 2014-10-07T14:37:55 | 2014-10-07T14:37:55 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,757 | r | fm3.uncertqpV.R | fm3.uncertqpV <- function(ccc){
msg <- "Calculated by fm3.uncertqpV()"
a <- abbrevList(ccc)
pfill <- getConstVal(a$cav, "fill")
uncertRes <- rep(0,length(pfill))
uDPfillList <- getSubList(a$cav, "uncertDPfill")
uPfillList <- getSubList(a$cav, "uncertPfill")
uDVList <... |
e328ba51591c800abc86a5a60ffc85480fdf54e2 | 29585dff702209dd446c0ab52ceea046c58e384e | /SemiCompRisks/R/methods.R | 8ac6ce107e3011910b3b8be6fb909588eb6b2ecd | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 102,217 | r | methods.R |
####
## PRINT METHOD
####
##
print.Freq <- function(x, digits=3, ...)
{
obj <- x
##
logEst <- obj$estimate
logSE <- sqrt(diag(obj$Finv))
value <- cbind(logEst, logSE, logEst - 1.96*logSE, logEst + 1.96*logSE)
##
dimnames(value) <- list(obj$myLabels, c( "Estimate", "SE", "LL", "UL"))
##
if... |
4d9c5a1384689e1be1c1a934755bf47b0e06a6a6 | 8679542ac6fbea927c8b5d9240238e36f708d229 | /Scripts/budget_cw.R | c7336290da033799768887c3f1c55e1222a33148 | [
"MIT"
] | permissive | tessam30/2018_Kenya | efe3e89761d43dd18feb78abec060c281818624f | 69a4c5b99f8919df13869fd52af1dc8b175cf0d5 | refs/heads/master | 2020-03-25T05:57:27.019978 | 2019-12-02T02:22:48 | 2019-12-02T02:22:48 | 143,475,397 | 0 | 0 | MIT | 2018-10-05T19:40:46 | 2018-08-03T21:37:08 | R | UTF-8 | R | false | false | 954 | r | budget_cw.R | budget_cw <-
tibble::tribble(
~`Category Code`, ~Budget_title,
0, "Uncategorized",
1, "County Assembly",
2, "Governer or County Executive",
3, "Treasury, Finance... |
9b45bb432d5dbaf81b72a9405b0f827f9462ed2d | 5c65c461a02973a2710d0913ac101a18be4c8a12 | /plot4.R | 3fe6b3f6b70e428a8254354d4a1c22f3e64c83b0 | [] | no_license | learn4bcd/ExData_Plotting1 | 17776c0fe962db535c7f995677b3ed0ef1485093 | 0a73c165856d832f9edfea1d96ce328c112a220a | refs/heads/master | 2021-01-18T18:17:55.137665 | 2014-06-08T09:44:35 | 2014-06-08T09:44:35 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,065 | r | plot4.R | ## This scripts is for plotting plot4.png,
## which shows the distributions of "Global Active Power", "Voltage",
## three different "Energy sub meterings" as well as "Global Reactive Power"
## against "datetime" from 2007-02-01 00:00:00 to 2007-02-02 23:59:00
# This function is for reading data from raw file in a m... |
ea7a70a5ebd2a70a1b0b27cc5349b715cd32200f | affb0b24f1fe0e922b9543f74f440adeed57d1e4 | /src/R/app/teamsTableDT.R | bc8e3248313832b200800e4a4dc7a4a93f83721b | [] | no_license | dnegrey/nflFamilyPicks | a09d6f8e64740cc8a4e1d83a8e38f915189c0552 | 1e9f9d9a1c8f9e9ecc4dd109d4a12e56ca696a65 | refs/heads/master | 2022-11-01T05:13:27.887200 | 2022-01-12T00:42:40 | 2022-01-12T00:42:40 | 204,978,085 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 633 | r | teamsTableDT.R | teamsTableDT <- function(x) {
y <- datatable(
data = x,
escape = FALSE,
selection = "none",
extensions = "Responsive",
options = list(
dom = "t",
pageLength = nrow(x),
ordering = FALSE,
columnDefs = list(
list(
... |
d6eb95d89505a9eece4dfd2fd822241ac588b914 | 29585dff702209dd446c0ab52ceea046c58e384e | /SAFD/R/DShistogram.R | 22b91d2af7a73d8a1707cd9ebac35ed0587f665d | [] | no_license | ingted/R-Examples | 825440ce468ce608c4d73e2af4c0a0213b81c0fe | d0917dbaf698cb8bc0789db0c3ab07453016eab9 | refs/heads/master | 2020-04-14T12:29:22.336088 | 2016-07-21T14:01:14 | 2016-07-21T14:01:14 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 5,666 | r | DShistogram.R | DShistogram <-
function(XX,limx=NA,npart=10,nl=101,pic=TRUE,pdf=FALSE){
#function makes a partition of the interval stated in xlim of nbreaks elements
#XX...fuzzy sample (list as always)
#xlim...limits of the histrogram - if NA then the max and min of the supps will be taken
#nl...number of levels
#make use ... |
27ae1c29e12370c1e2f13b022918d3cdc43aba52 | 1ceae37e7dee1bfa332742b8c0f0a593a26d89ea | /scripts/seurat_analysis_combined_timesteps.R | aff3f96a5045b5b5764b860ce368cfc9887411d2 | [] | no_license | decarlin/ChiLab_10x_mouseCardiac | 250e2047f244ef9c625060f47412dc74e21d1111 | 6fbf8dc29f8341d7990619953148f662e1d994e1 | refs/heads/main | 2023-04-29T23:56:19.924910 | 2021-05-13T18:12:56 | 2021-05-13T18:12:56 | 367,120,856 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,234 | r | seurat_analysis_combined_timesteps.R | #load some libraries that we will need
library(Seurat)
library(Matrix)
library(stringr)
library(entropy)
library(cluster)
library(RColorBrewer)
library(ggplot2)
library('monocle')
#load the data, /Users/Dan/projects/Chi_10x/age_E825/data/ is where the e8.25 data lives
pbmc.data <- Read10X("/Users/Dan/projects/Chi_10x/... |
77275c1a67dfb50b7c9d875364cc7eccbb69babf | b45c84bc8bc8a2d4d4589eb5e531875131492301 | /RScripts/bcfwa_streamline_sreach.R | d7edab18e5976d3f58cafefa67b43f1cfea04582 | [] | no_license | mattjbayly/samplecode_tmp | dc36bb92389785c3ce830fbb88cffa5016dcf069 | ea9ce8c379cc7d66c6d357fd37dbf04564637e08 | refs/heads/master | 2020-07-29T02:50:50.502613 | 2019-09-20T08:53:41 | 2019-09-20T08:53:41 | 209,638,529 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 2,622 | r | bcfwa_streamline_sreach.R | #=======================================================
# BCFWA Streamline Networking
#=======================================================
# Search upstream and downstream with the BCFWA
print("Starting........................")
print("bcfwaStreamlineUSDS........................")
tool_exec <- function(in_params, ... |
95d0f968e5a7e95b6dced24831afec1f31159b4e | d316d28886285962dfe7201038bc17b724321288 | /man/infer_bootnum.Rd | 3b4518fe71cf0316e39c221a913b0cf785004c14 | [
"MIT"
] | permissive | bartongroup/RATS | 606d4923651fc325d1d7fc806d0a0eb07f13ce99 | a356a5a199b52431cef2c8eb0ce6821151a8ef96 | refs/heads/master | 2022-06-13T22:55:19.835931 | 2022-06-03T08:59:26 | 2022-06-03T08:59:26 | 55,973,542 | 30 | 3 | MIT | 2022-06-02T12:48:09 | 2016-04-11T13:11:59 | R | UTF-8 | R | false | true | 467 | rd | infer_bootnum.Rd | % Generated by roxygen2: do not edit by hand
% Please edit documentation in R/func.R
\name{infer_bootnum}
\alias{infer_bootnum}
\title{Rule-of-thumb number of iterations.}
\usage{
infer_bootnum(boot_data_A, boot_data_B)
}
\arguments{
\item{boot_data_A}{List of tables of bootstrapped counts.}
\item{boot_data_B}{List of... |
bf5a300bb7b5eb530af8242254866d5ddd0f8478 | 16dcba576362af261592e4a94bab06f23c9f9b6e | /analysis/scripts/simOutbreak.R | dfee1b41f518895b5019c36dd1067a050429d746 | [] | no_license | confunguido/prioritizing_interventions_basic_training | 1bcaa53a20774a4a47d2ca73faa505f623c661b8 | 19911fb4f251bac67ee42c50ffb4e11137f28c6e | refs/heads/master | 2023-06-26T05:49:01.596517 | 2021-07-12T14:32:02 | 2021-07-12T14:32:02 | 384,942,119 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 27,647 | r | simOutbreak.R | ## simOutbreak.R
##
## Simulates SARS-CoV-2 transmission and interventions in a basic training setting, tracks a single
## cohort of recruits through a 12-week basic training session
##
## INPUTS: contact network built by network_BT.R, parameter values for infection processes,
## parameter values for control proces... |
b4f78817dfaa22d3ac80e3a306afda4196bc6317 | d28ae57776ef0a10c831f43cde2015b8a0e2e8dd | /R/GSEAutoAnalysis.R | a6a3d28e36890ae65c8271f927d15c189add807d | [] | no_license | Shicheng-Guo/GEO | 502db3680c9c08ea7a959e0d5b04a8119f67df8c | 22b4039d7862dc2554436c9526a67e09d49775e4 | refs/heads/master | 2021-08-28T13:16:54.268270 | 2021-08-01T01:12:29 | 2021-08-01T01:12:29 | 64,424,455 | 3 | 3 | null | null | null | null | UTF-8 | R | false | false | 3,123 | r | GSEAutoAnalysis.R | #!/usr/bin/env Rscript
# For PCA Analysis to methylation 450K dataset
# for ips methylatin 450K analysis
# setwd("G:\\geo")
source("http://bioconductor.org/biocLite.R")
biocLite("ggfortify")
library("optparse")
option_list = list(
make_option(c("-id", "--input"), type="character", default=NULL, help="GSE ID", metav... |
7a53e9e12b06b8a51c6c7853846cb3d63d17098e | aee6a655ff4c3006364e02d65782528cd9cdc46c | /winningtimetest.R | cc326fa6c402cbb439a9e9ac105fdca89a8d368a | [] | no_license | tobycrisford/parkrunanalysis | 5a5f88c0bcb91123607d65baa5fd714a4c04d102 | ce28482e68078d7c152d88d7ff500b15c4ec17d7 | refs/heads/master | 2020-12-02T08:58:25.621040 | 2020-02-25T20:20:00 | 2020-02-25T20:20:00 | 230,953,865 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 808 | r | winningtimetest.R | library(DBI)
con = dbConnect(RSQLite::SQLite(), "cambridgedata.db")
dbListTables(con)
results = dbReadTable(con, "results")
dbListFields(con, "results")
winners = results[results[["position"]] == 1,]
print(winners[1:5,])
print(length(winners[,1]))
wintime = winners[winners[["time"]] > 1000,]
print(wintime[1:5,])... |
b670a0d10a84ea730b4f106c666f99f7dfe2ed61 | a3aa573ccaee0f38e9d846509aa89599616051ab | /man/data.glass.Rd | 0a00decd838439e5e61d855c1b5e11517500ac0c | [] | no_license | toppu/PLRank | 4986818372c72a32c838c3ff6292d67eb21263f6 | a45dcb5cab61b1468be04e7b6d8e9da87de2a107 | refs/heads/master | 2021-01-13T02:03:47.113600 | 2015-07-06T08:59:54 | 2015-07-06T08:59:54 | 22,955,186 | 2 | 1 | null | null | null | null | UTF-8 | R | false | false | 336 | rd | data.glass.Rd | % Generated by roxygen2 (4.0.1): do not edit by hand
\docType{data}
\name{data.glass}
\alias{data.glass}
\title{glass dataset}
\format{A data frame with 214 observations, 9 attributes and 6 labels}
\source{
UCI respository and Statlog collection
}
\usage{
data(data.glass)
}
\description{
glass dataset
}
\examples{
data... |
afcb84ef2f09127151b17a46c082d168eda5b04b | ed2629e6745e247aaa43ffef85a777ac0ee1f158 | /Code to Clean Data.R | f399cad243d03837e25ca71a284d633a23a7cee9 | [] | no_license | MeganFantes/Midterm-Project_MA-415 | ee768ce4bb1587bea6c33036057f169efebad95c | 8a2420b6387dcd585fbb266aa580e477d9b61f24 | refs/heads/master | 2021-01-12T15:26:40.700570 | 2016-10-25T02:18:33 | 2016-10-25T02:18:33 | 71,783,908 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 8,430 | r | Code to Clean Data.R | library(stringr)
library(reshape2)
library(plyr)
# read the csv file, import it into the environment
vehicles <- read.csv("Original Data_Vehicles.csv")
# There are many variables that are given for both Fuel Type 1 and Fuel Type 2.
# We want to melt all variables given for both fuel types, so that there is on... |
6043b0efcc4c128f7cf245188ebac247c244d085 | 8ab1591ac6fb170a7bd1a421f775488061a04ebc | /s1.R | d86f25a74b0834be22a504d166e208e60c473d32 | [] | no_license | hly89/smalldata | 7e12c5eb5bce1624cd60f4fe4a49d9ca040f5def | 0c69d76b49c1687a0675bdae7de19ec80e7d3956 | refs/heads/master | 2021-01-21T10:13:16.109544 | 2014-03-04T13:08:41 | 2014-03-04T13:08:41 | null | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 1,705 | r | s1.R | # each group: 10 docs, 17 groups
totaldocs<-c(1:170)
group<-split(totaldocs,cut(totaldocs,17))
s1_training<-rbind(dtm_training[g[[1]][1:10],],dtm_training[g[[2]][1:10],])
for(groupidx in 3:length(g)){
s1_training<-rbind(s1_training,dtm_training[g[[groupidx]][1:10],])
}
s1_test<-rbind(dtm_test[g[[1]][1:10],],dtm_test... |
db68a6df095448f1e578d0fa6343665c49ef1c00 | 4df591b93824f09fbf5bb09bf8c948b797c5c00c | /plot4.r | 13f0b48d2fcd276314655350f168c01b5f80bad6 | [] | no_license | sanchal/ExData_Plotting1 | 3d231623f989897c195a05e27a73f7aa8db60ca8 | 01834cbfcdfe6b9cf26d209dd9e5451c8bac08b4 | refs/heads/master | 2020-12-31T01:47:24.502721 | 2016-04-10T20:45:00 | 2016-04-10T20:45:00 | 55,920,326 | 0 | 0 | null | 2016-04-10T20:15:22 | 2016-04-10T20:15:22 | null | UTF-8 | R | false | false | 1,921 | r | plot4.r | create_plot4 <- function()
{
#read the file with the data downloaded
dtPower <- read.table("household_power_consumption.txt", header=T, sep=";" , stringsAsFactors = FALSE)
#we are only interested in data between 2007-02-01 and 2007-02-02 , subset this data.
dtPowerSs <- ... |
99a4ee819f9e307cd5169513ed7a4a59719ac257 | a076f2e557a4f5b16892134b2189c9f9303a2a66 | /run_analysis.R | ba2b02560bd3052179b91a55c7b72a38c9d162b2 | [] | no_license | DataAbhi/GettingDataProject | 60176269b14619eae08a478326a37cf3f0497860 | b869a3caafafe2fe2e79b81783d6c98aad13d438 | refs/heads/master | 2020-03-30T16:42:25.696902 | 2016-09-18T18:27:28 | 2016-09-18T18:27:28 | 68,539,270 | 0 | 0 | null | null | null | null | UTF-8 | R | false | false | 3,991 | r | run_analysis.R | ##Coursera - Cleaning Data - Course Project
##Link for data: https://d396qusza40orc.cloudfront.net/getdata%2Fprojectfiles%2FUCI%20HAR%20Dataset.zip
##root-data directory: C:\\Data\\R\\Repo\\cleaningdata\\Cleaningdataproject\\data
##test data directory: C:\\Data\\R\\Repo\\cleaningdata\\Cleaningdataproject\\data\\test
#... |
3a47df0b8f8a7def559baa683a258d66df039605 | 386a6faa2bfa03d46b394fdd5c683d60026a8242 | /Week5/Trials.R | 241b46a8b0cc24bd7793459a806a85dfe394666e | [] | no_license | wiflore/Analytics-on-Edge | db090c7e80952bf4958bb0e0edbaefe5dc426e17 | f6c92889eb28f04bdd4a9f56418675d3486785d4 | refs/heads/master | 2021-01-21T21:05:51.116105 | 2017-05-25T01:19:04 | 2017-05-25T01:19:04 | 92,305,423 | 1 | 0 | null | null | null | null | UTF-8 | R | false | false | 4,204 | r | Trials.R | setwd("~/Dropbox/MIT Analytics/Week5")
# Install new packages
install.packages("ROCR")
library(randomForest)
library(caTools)
library(rpart)
library(rpart.plot)
library(randomForest)
library(tm)
library(SnowballC)
library(ROCR)
Sys.setlocale("LC_ALL", "C")
trials = read.csv("clinical_trial.csv", stringsAsFactors=F... |
73b78b492e06fd3f270f5ff4b3bd15cf2a33b5bc | ff9eb712be2af2fa24b28ecc75341b741d5e0b01 | /R/epoisSinglyCensored.mle.R | ea4e20be673b4d673270b742ea51bc7e35986cdd | [] | no_license | alexkowa/EnvStats | 715c35c196832480ee304af1034ce286e40e46c2 | 166e5445d252aa77e50b2b0316f79dee6d070d14 | refs/heads/master | 2023-06-26T19:27:24.446592 | 2023-06-14T05:48:07 | 2023-06-14T05:48:07 | 140,378,542 | 21 | 6 | null | 2023-05-10T10:27:08 | 2018-07-10T04:49:22 | R | UTF-8 | R | false | false | 2,735 | r | epoisSinglyCensored.mle.R | epoisSinglyCensored.mle <-
function (x, censored, censoring.side, ci, ci.method = "profile.likelihood",
ci.type, conf.level, ci.sample.size = N - n.cen, pivot.statistic = "z")
{
N <- length(x)
x.cen <- x[censored]
T1 <- x.cen[1]
n.cen <- length(x.cen)
x.bar <- mean(x[!censored])
i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.